You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2022-06-04 16:14:00

Kuri
Member
Registered: 2022-06-04
Posts: 3

Cant save using in game saving or save states or save state as

Hi, I am new to Desmume and when i opened my rom in it showed me this message:

Could not get read/write access to the battery save file! The file will not be saved in this current session.
Choose Config > Path Settings and ensure that the SaveRam directory exists and is available for read/write access.

I checked the the path settings and it just shows me:

SaveRam

Auto save   . /Battery
Im/export   . /SramImportExport

I can play pokemon platinum but when i try to save in game, it just says that it did save, but it still starts over from the beggining when i open it again. When i tried to use save state, it said: error saving in slot 1 (or something like that). when i tried to use save state as, it created a file but when i clicked  load state from, it couldnt find the file or when i clicked load state from, nothing happened.

I have extracted Desmume ( im using Desmume 0.9.13 x64 on Windows 10 ) onto desktop and i have tried to delete it and dowland it again but the message still appears.
btw i have WinRaR installed, could that be the problem?

Offline

#2 2022-06-04 21:14:34

someone
Member
Registered: 2009-01-07
Posts: 78

Re: Cant save using in game saving or save states or save state as

Is that "Battery" directory exists in executable folder? Is there any files there? Can you create files there?

Offline

#3 2022-06-05 00:17:40

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: Cant save using in game saving or save states or save state as

your username has non-english characters in it, therefore the path the desktop (and the desmume directory and the battery subdirectory) has non-english characters in it, therefore despite 100s of bugs filed and fixed about things like this in desmume, there are still more problems. don't use a username with a non-english character in it (don't use spaces either) and you can avoid a lot of problems with this software and many others.

should be fixed in https://github.com/TASEmulators/desmume … bce32e63dc but only someone unwise enough to use a username with a non-english character in it can test it for sure

Offline

#4 2022-06-05 15:08:39

Kuri
Member
Registered: 2022-06-04
Posts: 3

Re: Cant save using in game saving or save states or save state as

Thank you for your reply, but im not sure witch user do you mean and how can i test the code that you have sent me, again, im really new to all of this. Btw i cant find ˝Battery˝ directory in any of my folders.

Offline

#5 2022-06-05 18:56:37

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: Cant save using in game saving or save states or save state as

I mean your windows username. The battery directory doesn't exist because it can't be created. Test the code this way:
1. https://github.com/TASEmulators/desmume … ld_win.yml
2. search for the commit I said would fix it and click it
3. download the artifact which should be linked at the bottom

Offline

#6 2022-06-06 13:49:19

Kuri
Member
Registered: 2022-06-04
Posts: 3

Re: Cant save using in game saving or save states or save state as

The in game saving works now! Thank you very much for your help!

Last edited by Kuri (2022-06-06 13:49:44)

Offline

#7 2023-05-09 16:05:28

Atiopx
Member
Registered: 2023-05-09
Posts: 3

Re: Cant save using in game saving or save states or save state as

Hi, i know this is a bit too late but i have the same problem and i cant download the commit because it is too old
What can i do ?

Offline

#8 2023-05-10 01:41:30

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: Cant save using in game saving or save states or save state as

visit desmume.org/download/ and follow the link to nightly builds

Offline

#9 2023-05-10 14:35:44

Atiopx
Member
Registered: 2023-05-09
Posts: 3

Re: Cant save using in game saving or save states or save state as

i downloaded the release but how can i update desmume ?
When i open it, it says that windows cant access to the file and maybe i am not allowed to use it

Last edited by Atiopx (2023-05-10 17:23:47)

Offline

#10 2023-05-10 21:10:15

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,169

Re: Cant save using in game saving or save states or save state as

you don't update desmume. here's what you do instead. this solves all your problems in one. you get the message about access (can't even be bothered to transcribe the error message exactly? how much do you really care about this?) because you chose to put desmume in a ridiculous location like program files or c:\ perhaps. Use your desktop, you know you have access to that.
1. MOVE all current desmume files to a directory on your desktop.
2. delete the exe and ini file (make backups first)
3. replace desmume.exe with new one

Offline

#11 2023-05-11 09:50:05

Atiopx
Member
Registered: 2023-05-09
Posts: 3

Re: Cant save using in game saving or save states or save state as

sorry for the error message, it was not in english and i didn't wanted to use google translate, so here is the full message (google translate) :
Windows cannot access the specified device, path, or file.
  You may not have the appropriate permissions to access the item
I created a folder on my desktop and putted in the release. Then, i deleted the original desmume (im not sure about what i did)
I still have the same message

Offline

Board footer

Powered by FluxBB