Views: 6,911,062 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 04-24-24 11:52 PM |
Guest: |
0 users reading Battery Save Issue [SOLVED] | 1 bot |
Main - General - Battery Save Issue [SOLVED] | Hide post layouts | New reply |
lonelyVoxel |
| ||
Member Normal user Level: 7 Posts: 1/10 EXP: 1400 Next: 48 Since: 12-12-18 Last post: 1934 days ago Last view: 1801 days ago |
Hey there, I'm having an issue with trying to import a save from DeSmuMe to Melon. My process has been to take the .dsv from DeSmuMe, trim it where it says to, then save it as a .sav file. However, when I boot up the game, Kingdom Hearts re:Coded, it tells me that the save data is corrupt on the file select menu. I tried messing with some of the text in there, but that's only made the game freak out and not even want to go past an error screen. It could be because DeSmuMe has weird stuff going on with battery saves, but hopefully that doesn't make things fully incompatible. I do have save states from DMM that I could try to use too, but I don't know if those are at all compatible with Melon. I'm currently using Melon 0.7 as 0.7.1 wasn't wanting to run for me, and I can provide any files or further information needed to help as well.
EDIT: I have fixed the issue! I tried opening the file in an online hex editor and noticed that once the DMM footer was removed that a spot was missing on the bottom line. I filled it in with FF, as the save file was entirely that value for a long while before that. After launching in Melon, the save file was completely intact! I hadn't used the second slot, however, and its save data is read as corrupt, but I achieved what I wanted. |
Arisotura |
| ||
Big fire melon magical melon girl Level: 56 Posts: 252/887 EXP: 1343093 Next: 55083 Since: 03-28-17 From: France Last post: 7 hours ago Last view: 5 hours ago |
probably what caused your issue is that your file was one byte too short. melonDS detects the save type based on the file size, so it needs to be exactly a power of two. ____________________ Kuribo64 |
lonelyVoxel |
| ||
Member Normal user Level: 7 Posts: 2/10 EXP: 1400 Next: 48 Since: 12-12-18 Last post: 1934 days ago Last view: 1801 days ago |
That makes a lot of sense. I'm not sure if this is true of all .dsvs but it looks like the first pipe in the DeSmuMe footer should be replaced with something after the entire footer is deleted for it to be truly compatible. If it's relevant to you to have a solution people can try for save file transfers I can see if this is a pattern. I saw someone with a similar problem in another thread so that might be a general troubleshooting recommendation you can put if you haven't already. |
extherian |
| ||
Member Normal user Level: 8 Posts: 10/12 EXP: 2047 Next: 140 Since: 09-02-17 Last post: 1137 days ago Last view: 1421 days ago |
DeSmuME can export .sav files natively by selecting "Export Backup Memory" from the File menu while a game is running. Unfortunately, DeSmuME often creates the wrong file size and it can't be read in melonDS. Out of the four ROMs I exported .sav files from, only two could be successfully imported into melonDS.
That said, try exporting a .sav file from Kingdom Hearts re:Coded using DeSmuME and see if it works. |
lonelyVoxel |
| ||
Member Normal user Level: 7 Posts: 3/10 EXP: 1400 Next: 48 Since: 12-12-18 Last post: 1934 days ago Last view: 1801 days ago |
Posted by extherian Exporting from File --> Export Backup Memory worked without a hitch, with the second file being empty rather than corrupt. I'm now wondering if the error I experienced last night {and possibly that others have experienced} came from Notepad {or DeSmuMe} somehow losing a byte, as this time I put the .dsv directly into the hex editor rather than the .sav I made it into by simply trimming the footer, and now instead of the footer's first pipe starting at 0x0000FFFF, it's now at 0x00010000. I'm just going to chalk that up to either my error or Notepad interpreting something wrong due to the encoding. I'm thinking the practical advice here would be to recommend the use of a hex editor instead of a text editor to snip footers from .dsv files or to just press that export button. |
Arisotura |
| ||
Big fire melon magical melon girl Level: 56 Posts: 254/887 EXP: 1343093 Next: 55083 Since: 03-28-17 From: France Last post: 7 hours ago Last view: 5 hours ago |
saving binary files with Notepad is a bad idea, it turns all zero bytes into 0x20, wrecking the file ____________________ Kuribo64 |
lonelyVoxel |
| ||
Member Normal user Level: 7 Posts: 4/10 EXP: 1400 Next: 48 Since: 12-12-18 Last post: 1934 days ago Last view: 1801 days ago |
Posted by StapleButter Welp, you learn something new every day. Now I know to just go with the online hex editor I've found if I need to do that, though maybe I should actually install a program that works better with binary files if I'm going to continue messing around with these. |
Arisotura |
| ||
Big fire melon magical melon girl Level: 56 Posts: 257/887 EXP: 1343093 Next: 55083 Since: 03-28-17 From: France Last post: 7 hours ago Last view: 5 hours ago |
you can get XVI32, it's good for files not too big
(don't go opening DVD ISOs in it, it tries to store the whole file in RAM) ____________________ Kuribo64 |
Mauricio |
| ||
Newcomer Normal user Level: 2 Posts: 1/1 EXP: 44 Next: 2 Since: 12-21-18 Last post: 1951 days ago Last view: 1951 days ago |
@lonelyVoxel thank you, by reading you I was able to fix my savegame file. |
lonelyVoxel |
| ||
Member Normal user Level: 7 Posts: 5/10 EXP: 1400 Next: 48 Since: 12-12-18 Last post: 1934 days ago Last view: 1801 days ago |
Glad I could help! |
Main - General - Battery Save Issue [SOLVED] | Hide post layouts | New reply |
Page rendered in 0.030 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 96/96, time: 0.015 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |