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

Save not recognized #5

Open
charmich0802 opened this issue Jan 3, 2025 · 10 comments
Open

Save not recognized #5

charmich0802 opened this issue Jan 3, 2025 · 10 comments

Comments

@charmich0802
Copy link

image
it keeps saying that the save isn't a file
image

@qhgz2013
Copy link
Owner

It's probably an external reason (the save file C:\Users\mclun\Documents\Dyson Sphere Program\Save\saveeeeee.dsv does not exist, or python could not read this file due to some odd permission problems). Can you copy this save file to other place like D:\save.dsv and parse it? If this error happens again, attach a file explorer screenshot showing this file is located right there.

@charmich0802
Copy link
Author

Image

Image

Image

Image

@qhgz2013
Copy link
Owner

Probably a duplication of #6 . Update the latest code to fix this assertion error.

@charmich0802
Copy link
Author

Code updated. error still occurs

Image

Image

Image

@charmich0802
Copy link
Author

This does the same thing no matter which save i input

@qhgz2013
Copy link
Owner

qhgz2013 commented Feb 4, 2025

Image
Right click your dsv save file, then click the Properties and view this panel, make sure the Location: C:\Users\your_user_name\...\xx.dsv exactly match the location printed after your assertion error. (Especially check your user name mclun, maybe you have multiple users configured in your windows system?)

@charmich0802
Copy link
Author

oh, it's looking in the C drive for a documents folder, my documents folder is on the D drive. Also i am the only user on this computer.

Image

Now getting a different issue, it can find the file but errors after that.

Image

Image

@qhgz2013
Copy link
Owner

The version of GameData was changed from 11 to 12 since 0.10.32.25552. You probably tried parsing an outdated game save. Recommended instructions:

  1. Update the game to latest version, load the game save in game, and re-save it.
  2. Also update the parser code (if necessary)

This kind of version assertions are designed to figure out whether the save format structure is correct or not. Also, parsing save files with the modded game may not work (like the save compression mod).

@charmich0802
Copy link
Author

Unfortunately, i cannot re save the game, as it is a corrupt save and will not open in game. I wanted to use this parser to find out what part of the save was broken.

@charmich0802
Copy link
Author

Image

Image

Image

Grabbed the latest version of the parser, This save was saved yesterday.

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

No branches or pull requests

2 participants