Skip to content

Conversation

@Terria-K
Copy link
Contributor

@Terria-K Terria-K commented Apr 1, 2024

I have been working on improving the filesystem API for FortRise, and now I wanted to try and see if the content loading would improved. I wanted the filesystem API to be more usable and friendlier to use, so it will allows the other mods to have a working zip format to be used in released, so the user doesn't need to extract a file, or delete and extract a file because folders cannot be overwritten, only the files. This is will also allows for optimization like the hot reloading won't work if its in the zip format because it doesn't make sense to have hot reloading in released mods anyway.

This new filesystem API also allows the mods look inside of other content mods allowing this archer loader mod to load the archers in other mod if provided a designated way on where the archers should be loaded. This can actually be done before, but the API is hard to use.

Implementation:

  • Call all the FortRise.IO API instead of System.IO.
  • Load other archers from the other mods.
  • Load atlas and spriteData from Atlas and Atlas/SpriteData folder.

Testing:

  • Archers
  • SFX
  • Wings
  • Layers

This PR needs #7 first to be pushed first

@Terria-K
Copy link
Contributor Author

Two more testing to go, and also this implementation is now on FortRise v5.0 since ModIO is on v5.0

@Terria-K
Copy link
Contributor Author

Everything seems to works out now, but haven't released the v5.0 yet so I'll stay it as a draft

@Terria-K Terria-K marked this pull request as ready for review January 31, 2025 16:01
@Terria-K
Copy link
Contributor Author

Terria-K commented Feb 2, 2025

Actually, I put it on draft for now for improvements

@Terria-K Terria-K marked this pull request as draft February 2, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant