nds-bootstrap
nds-bootstrap copied to clipboard
Modified timestamp (for sav file) is automatically updated without being saved in the game
Console Configuration: New Nintendo 3DS (v11.15.0-47) - Luma 10.2.1 TWiLight Menu++ Version: v23.4.0 TWiLight Menu++ Theme: Theme: Regular White DSi
Expected behaviour
For existing saves files, when starting a game no matter for which roms, the existing file (saves) should not automatically update the modified file timestamp. It should behave exactly like emulators on Windows or macOS. This means the modifed file timestamps for save files are not updated when the user only opens the game.
Actual behaviour
For example, when I open an existing NDS rom, the existing save file for the NDS rom is automatically updated. I don't like this behavior because I only have the rom open and generally not saved in the game.
Steps to reproduce
- File info: test.nds (Modified: 2008-03-04 09:37:04), test.sav (Modified: 2021-07-14 05:07:29)
- Copy rom and the existing sav file to SD card.
- Insert the SD card to 3DS.
- Now only start the game and do not save in the game.
- Connect the SD card to a Windows or macOS device and open the standard file manager.
- File info: test.nds (Modified: 2008-03-04 09:37:04), test.sav (Modified: 2022-01-21 03:00:08)
Note: Created timestamp I have also checked and here there are no problems.
That's because it is not possible to change the modified date while in-game, without modifying the lib used for reading and writing files.
That's because it is not possible to change the modified date while in-game, without modifying the lib used for reading and writing files.
Thanks for the quick feedback. This behavior I discovered with TWiLight Menu++ is exactly like the R4 cartridge from www.r4ids.cn.
Now I have tested mGBA 0.9.3 (3DS version) - https://mgba.io/downloads.html - for my GBA games and there is no problem.
Is there a way from your side to fix this problem?
Would already be fixed, if I knew how. Unfortunately, I don't.