Open nuxa17 opened 3 weeks ago
More tests:
_wfwd/savelist.bin
creates a 512kb save file.__rpg/savesize.bin
to _wfwd
creates a 8kb save file._wfwd/savelist.bin
with __rpg/savesize.bin
and renaming it creates a 512kb save file.The format of savesize.bin
and savelist.bin
is different, but I wanted to try it out just in case. On the other hand, when using the original kernel, you can change the save size manually. Changes per game are stored in __rpg/gamedata.bin
which uses the same format as savelist.bin
.
Edit: The save config stored in __rpg/gamedata.bin
matches the one stored in __wfwd/savelist.bin
, confirming that the problem is not the file itself.
Tested with two more games of the same save size according to __wfwd/savelist.bin
:
These games generate a 8kb save file using the Flashcart Loader.
After formatting the SD to a cluster size of 32kb, the generated save file for Pic Pic has a size of 512 bytes. The original kernel still creates a file of 512kb, and nds-bootstrap generates the save files with correct sizes.
The issue persists in v27.11.1
What could be done is for TWLMenu++ to create the save file instead of the flashcard kernel, but then afaik, YSMenu saves it's per-game settings at the end of the .sav
file, so it probably won't work properly for flashcards which use YSMenu as the flashcard kernel.
Judging by the variation of sizes depending of the card's format, I'm worried that there could be more issues with this particular loader. A temporary solution could be to detect if this particular loader is in use, and generate the saves if that's the case.
Either way, I will be performing more tests to see if there are any more problems, specifically with reading and writing.
A save file of an incorrect size is being created for Pic Pic, making it impossible to save.
Flashcard or Exploits? Ace3DS+ clone (X in 1 games), Ace3DS+ R4iLS 1.62 Base Console: Nintendo 3DS XL, 11.17.0-50E
TWiLight Menu++ Version: v27.11.0 TWiLight Menu++ Theme: Tested with Nintendo 3DS and DSi themes
Expected behavior
Pic Pic has a save file of size 64kb. When using the original kernel without TWiLight Menu++, the created save file has a size of 512kb (probably a default size, see Notes). Both of them work correctly. When using TWiLight Menu++ with Autoboot and Flashcart Loader, the save file should be created with the same size.
Actual behavior
When using TWiLight Menu++ with Autoboot and Flashcart Loader, the created save file has a size of 8kb.
Steps to reproduce
Tests
Notes