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 ] Save files keep getting deleted (Steam version) #459

Closed
ArhumMK opened this issue Jun 28, 2022 · 16 comments
Closed

[ FF7 ] Save files keep getting deleted (Steam version) #459

ArhumMK opened this issue Jun 28, 2022 · 16 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ArhumMK
Copy link

ArhumMK commented Jun 28, 2022

I'm using FFNx-v1.12.0.0 on a fresh Steam Install of the game, No mods installed.

This has happened to me twice now. Starting the game up after a while it shows there are no saves available and upon checking the save directory, save00.ff7 is missing. It happened once when I had cloud saving enabled in the launcher, so I disabled it and started a new playthrough and it happened again, lost about 6 hours of playtime. (The game also only allows me to save in in "Save 1" slot, it says "Invalid save file!" if i try to save in the other slots, if that has any relation to this)

It's strange as I haven't found a way to reproduce it on command but saves don't immediately get deleted, As I've saved multiple times and closed and reopened the game several times to test if it happens again. It has only happened when starting the game after some time has passed in between.

This could be happening randomly, or maybe some part of the Savefile preservation feature failed? I just don't know how this is happening (My Internet is stable and was always online, this bug has occurred with Cloud saving on and off). I've attached the log, but not sure if this is helpful.

Thank you.
FFNx.log

Update: Under the FF7 Enhancements "MODDER OPTIONS" section I changed the save_path from "save" to "" as the comment says it does not work with the Steam version. Now I am able to access Save 2, 3 and other blocks. Maybe this is causing it?

Update 2: Nope it happened again, completely random?? Booted the game and Save 1's saves disappeared, but the one I saved on Save 2 is available. I give up: FFNx.log

@ArhumMK ArhumMK added the bug Something isn't working label Jun 28, 2022
@julianxhokaxhiu
Copy link
Owner

I've pushed a tentative patch which I think should solve this issue. Please consider trying any canary >= 1.12.0.40

@julianxhokaxhiu julianxhokaxhiu self-assigned this Jun 30, 2022
@julianxhokaxhiu julianxhokaxhiu added this to the 1.13.0 milestone Jun 30, 2022
@ArhumMK
Copy link
Author

ArhumMK commented Jun 30, 2022

I've pushed a tentative patch which I think should solve this issue. Please consider trying any canary >= 1.12.0.40

Will do, thanks for looking into this!

I did try v1.11.0.0 for a few hours after the post then switched back to current and yeah the issue has been the same across both versions and totally random, sometimes it's fine, sometimes both saves go missing, sometimes it's one of them. And it seems to be deleted when launching the game, and maybe- not sure but sometimes after closing the game too. Hope this info helps, thanks.

@ArhumMK
Copy link
Author

ArhumMK commented Jul 1, 2022

Regret to inform you it happened again. It was going fine at first, with the latest canary build. Then I Copied my backup saves back and the saves got deleted twice in a row, Third time copying back it didn't delete. seems to happen randomly on launching or closing of the game.
FFNx.log

Update: It now gets deleted every time I boot, when I launch through steam (gets deleted as soon as the launcher appears) So this issue might still be related to the steam integration features.

@julianxhokaxhiu
Copy link
Owner

I did some personal test on this scenario and I am not able to replicate the issue. As long as you install the Steam release of FFNx, you should be fine. I did 5 launches ( cold ones, closing even the launcher ), did some saves in different spots, closed the game, closed the launcher and repeating the overall process. No save files were lost and the metadata files in the steam user profile folder was updated correctly.

The only suggestion I can give to you is ensure you've disabled the cloud saves feature in the FF7 launcher.

Cheers!

@ArhumMK
Copy link
Author

ArhumMK commented Jul 3, 2022

Welp, I have tried fresh installs again and I'm out of Ideas, Cloud saving is indeed turned off in the launcher but I am logged into my Square account, does that have any effect? In the FFVII save folder in Documents, "cloud_feature_setted" file appears regardless of cloud turned on or off. and the files in the cache folder is also regularly modified, do these have any effect on this issue? Thanks again for testing this issue, seems like it might be something on my end I haven't managed to figure out.

@julianxhokaxhiu
Copy link
Owner

I'm not sure where that files comes from but looks like you have the cloud saving feature enabled. FYI this is how it should look like in the launcher:
image

@ArhumMK
Copy link
Author

ArhumMK commented Jul 3, 2022

It was disabled like that in the launcher yes.
I've reinstalled the game again and this time let the vanilla game load, sync saves and then disable cloud saving again, followed by installing FFNx (canary) again. This time it isn't deleting saves on launch for now, hopefully this fixed it.

Edit: happened again haha, truly out of ideas now.

@julianxhokaxhiu
Copy link
Owner

I thought you did that step already, as it is stated in the installation instructions: https://github.com/julianxhokaxhiu/FFNx/blob/master/docs/how_to_install.md#2013-steam-release

Glad you managed to find your way out.

@ArhumMK
Copy link
Author

ArhumMK commented Jul 11, 2022

Sorry if this annoys you, but just putting this here that the same issue is still present, I have tried absolutely everything, Completely clean installs step-by-step etc. All I've gathered is that it happens as soon as the launcher is opened, Offline, or Online, With Cloud Saving disabled before and after installation of FFNx. Unsure if FFNx is causing this alone or in conjunction with the launcher's 'forced' save-deleting behavior even if cloud saving is disabled. It is very strange that this is repeatedly (and randomly) happening for me.

Apparently this can happen when there is a metadata mismatch, but I don't touch my save folder at all unless deleted so I don't see how the metadata magically doesn't match sometimes.

@julianxhokaxhiu
Copy link
Owner

Check when that happens if this log message is present on the FFNx.log: https://github.com/julianxhokaxhiu/FFNx/blob/master/src/metadata.cpp#L184

@ArhumMK
Copy link
Author

ArhumMK commented Jul 11, 2022

Yup this line is present every time I've checked the log now and then. Here's me saving multiple times at the same save point, then exiting the game; Save was deleted next time I launched: FFNx.log

@julianxhokaxhiu
Copy link
Owner

Did you follow the installation steps making sure you run at least the game once as it comes from Steam with the Cloud option disabled? Tbh I don't know what to think about. If FFNx does its job on the metadata patching, either your file is not updated ( which means permission problems and/or OS problems on your own side ) or you have multiple steam profiles so FFNx is not always using the right path.

Either way is a configuration/behavior problem on your own side. I'm sorry, I am not able to reproduce this issue nor the log does something wrong. Everything works as expected, on the code side.

@ArhumMK
Copy link
Author

ArhumMK commented Jul 11, 2022

I have followed the steps each time yes.

I Understand this is an issue on my end. I'm just puzzled as to why this is still happening after trying every possible tweak, even more so the fact that sometimes the save files Don't get deleted and work fine. Truly random. Thanks for the continued support. I'll stick to vanilla for now and try this again in the future and hopefully some Windows update or hell, magic itself fixes this later on lmao.

@julianxhokaxhiu
Copy link
Owner

If you use 7th Heaven you get all the benefits of Steam without the Steam launcher issues. If I were you I'd give that a spin.

@ArhumMK
Copy link
Author

ArhumMK commented Jul 11, 2022

Thanks will do, didn't know it had steam support until now.

Also about FFNx, If I were to delete the launcher and then rename "ff7_en.exe" to "FF7_Launcher.exe" , would that cause any issues with the steam achievements feature? If not, this skips opening the launcher and boots straight into the game through steam, fixing the save deletion issue as no need to open the launcher.

@julianxhokaxhiu
Copy link
Owner

No idea, that's the original FF7 Steam code which was never touched nor reverse engineered AFAIK.

With 7th you can safely use FFNx and have Steam Achievements as well, so it's a win-win on your side.

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