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

cannot save game #10

Open
kerekobar opened this issue Mar 17, 2024 · 4 comments
Open

cannot save game #10

kerekobar opened this issue Mar 17, 2024 · 4 comments

Comments

@kerekobar
Copy link

kerekobar commented Mar 17, 2024

hello there, when i want to save the game, i get the error

  • Failed to open file '_SAVE000.DAT' for writing.

i tried to save in portable or in normal mode, but without any changes.

it will be very good if you help me solve this problem
photo_2024-03-17_11-23-59

@codeflorist
Copy link
Collaborator

hmm, that's weird. probably some problem regarding file system permissions.

using portable mode (dunedynasty.cfg is in the same folder as the executable), the saves are written in the save subfolder of the game directory. when not using portable mode, they are written in the personal data directory (see here).

it is weird, that both are not working. at least the personal data directory should be writable.

do you maybe have existing save-files, that are read-only?

which system/package are you using (win32/64, linux, macos-x64_86/ARM)?

@kerekobar
Copy link
Author

win64/86(hope not to confuse)—win10
today I will check if the parameter readonly, will be in touch!

@kerekobar
Copy link
Author

do you maybe have existing save-files, that are read-only?

no, pal
and problem still exist

@codeflorist
Copy link
Collaborator

i've tested both the win32 and win64 executables on Windows 10 64bit - both in portable mode and normal mode. unfortunately i was not able to reproduce your problem.

some more causes / solutions i can think of:

  • try to completely delete the folder C:\users\<your user>\AppData\Roaming\Dune Dynasty and restart the game in non-portable mode (without a dunedynasty.cfg residing in the program folder).
  • if you are using the win64 executable, try if it works with the win32 one.
  • do you have any uncommon characters or extreme length in your windows-username or the path where Dune Dynasty is residing?
  • a good guess would also be, that some kind of security software or setting is preventing Dune Dynasty from writing files on your system - i.e. keeping it in some kind of quarantine.
  • maybe there is a problem with the original game data files. Dune Dynasty requires the EU v1.07 release.
  • finally you could try launching dunedynasty.exe as Administrator and see if it works then.

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