Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!F (SaveLoad) Added FileXT mod capability. #915

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

uniflare
Copy link

@uniflare uniflare commented Apr 24, 2022

Q A
Bug fix? no
New feature? yes
Needs wipe? no

Description:

Allows mission hosts to use the FileXT mod to save data to an external file instead of inside the profile.

  • If there is no data yet in FileXT, then it will attempt to load from the profile namespace - allows for easy migration towards FileXT.
  • If FileXT is not available, it will revert to the original profile namespace save/load system as usual.
  • Files will be stored at: ModsFolder/@FileXT/storage/KP_LIBERATION_(worldName)_SAVEGAME.savedata

Task List:

  • Add mission save/load support for FileXT mod
  • Add Parameter save/load support for FileXT mod

Successfully tested on:

  • Local MP
  • Dedicated MP

If FileXT isn't available, profileNamespace will be used.
If there is no data in FileXT, the initial load will load from the profileNamespace for easy migration.
!FT (Save/Load) Added FileXT support for parameters with auto-migration. Simplified FileXT/profilenamespace save and load functions
Apricot-ale added a commit to Apricot-ale/KP-Liberation-APR that referenced this pull request Feb 28, 2023
Apricot-ale added a commit to Apricot-ale/KP-Liberation-APR that referenced this pull request Mar 2, 2023
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.

2 participants