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

[ FF7 Steam ] Save files getting deleted #684

Open
maciej-trebacz opened this issue Apr 1, 2024 · 1 comment
Open

[ FF7 Steam ] Save files getting deleted #684

maciej-trebacz opened this issue Apr 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@maciej-trebacz
Copy link
Contributor

Describe the bug
Under certain circumstances FFNx fails to write metadata.xml entries correctly, leading to FF7_Launcher.exe deleting the save files on the next run.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the save directory in the file explorer
  2. Remove all saves, including the metadata.xml file
  3. Start a new game
  4. Save at the first occasion (for testing purposes preferably using Ochu to enable save anywhere)
  5. Close the game and the launcher
  6. Re-open the launcher

Expected behavior
Your save files should be untouched.

Actual behavior
Upon opening the FF7 Launcher your save files will get deleted. The reason for that is that FFNx failed to write the metadata.xml file correctly so the checksum check failed.

Additional context
Make sure you're using the original Steam FF7 Launcher.

@maciej-trebacz maciej-trebacz added the bug Something isn't working label Apr 1, 2024
@julianxhokaxhiu
Copy link
Owner

Deleting the metadata.xml is an expected behavior to have corrupted saves unfortunately, as we rely on that file.

The only solution I see here is boiler-plating the xml file in memory if not found and dump it on the folder if not found.

I remember you mentioned you have a patch being tested on your own side about this. Got any update on the matter?

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants