![]() | ||
Views: 1,458,888 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 01-19-21 06:02 AM |
Guest: |
0 users reading .sav question | 1 bot |
Main - General - .sav question | New reply |
foolishgrunt |
| ||
Newcomer Normal user Level: 3 Posts: 1/2 EXP: 94 Next: 34 Since: 01-07-18 Last post: 1107 days ago Last view: 251 days ago |
My understanding is that melonDS generates raw .sav files, and it's also my understanding that Drastic generates raw files as well, albeit with a different extension (.dsv). I know in the past that I ahve been able to import drastic saves into Desmume by first renaming the drastic save from .dsv to .sav and importing, however I have no such success doing to same and opening the file in melonDS. Has anybody else tried it? |
Arisotura |
| ||
![]() Big fire melon magical melon girl Level: 45 ![]() Posts: 163/654 EXP: 624305 Next: 35859 Since: 03-27-17 From: France Last post: 4 days ago Last view: 10 hours ago |
DraStic might be appending shit at the end of the file. Check that the file size is an exact power of two. ____________________ Kuribo64 |
foolishgrunt |
| ||
Newcomer Normal user Level: 3 Posts: 2/2 EXP: 94 Next: 34 Since: 01-07-18 Last post: 1107 days ago Last view: 251 days ago |
Hm. Well, it's not *quite* exact - it's 512.1 kb (524,410 bytes as opposed to 524,288). So you may be right, thanks. I'll see if I can track down any useful information from Drastic. |
Arisotura |
| ||
![]() Big fire melon magical melon girl Level: 45 ![]() Posts: 165/654 EXP: 624305 Next: 35859 Since: 03-27-17 From: France Last post: 4 days ago Last view: 10 hours ago |
You probably need to open it in a hex editor and trim the extra shit at the end. melonDS expects exact savefile sizes. ____________________ Kuribo64 |
oshawottuhh |
| ||
Newcomer Normal user Level: 2 Posts: 1/1 EXP: 32 Next: 14 Since: 03-19-18 Last post: 1036 days ago Last view: 1036 days ago |
instead of a hex editor, try this one: (it works perfectly for me | currently using melonDS 0.6b)
https://gbatemp.net/threads/nds-save-converter-v2-6-alpha.306224/ just open offline save converter 2. select save file type to NDS. select your game save file of whatever format. (Ex: Pokemon White Version 2.dsv*) .......*if .dsv, then select the source format to DeSmuME. select target format to Raw Format. (that's .sav file) select the size to whatever you like. (mostly, pokemon b2/w2 save file size was 512 kilo-bytes - 4 mega-bits) then convert it. |
ctown |
| ||
Newcomer Normal user Level: 2 Posts: 1/1 EXP: 25 Next: 21 Since: 04-01-19 Last post: 658 days ago Last view: 657 days ago |
@oshawottuhh
Thank you but that unfortuantly is only available for Windows. It does not work well on Wine. If anyone is confused on what exactly needs to be deleted to use a Drastic save file in melonds: 1) Open any Hex Editor. A) I used Okteta which is easily available on most Linux distributions. Bless and jeet are Linux alternatives. B) DxD is a safe choice on Windows. 2) Open the file in your hex editor. Go straight to the VERY end of the file. You will find this message:
3) Delete this message. Delete exactly what I quoted. This will also shorten the file by 122 bytes to make it the size melonds and flash cards want. A) In Okteta, I had to uncheck the option "Overwrite Mode" in the Edit options to be able to delete anything. 4) Save. 5) Rename the save file. A) It has to be the same name as the ROM. B) The extension has to be changed to .sav C) Put the sav file in the same folder as the nds file Takes about 30 seconds after you do it right once. I only ever used a Hex Editor once (Smash Bros Brawl releated!) I do not understand the point of Drastic and DeSmuMe adding such a weird message to the save file in the first place. edit: I'm sorry that I didn't see how old this thread was. I thought the post above mine was just a week old; not a year and a week old. I found this thread using Google and just decided to update it with a solution that worked for me. |
Main - General - .sav question | New reply |
Page rendered in 0.019 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 89/89, time: 0.015 seconds. ![]() © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |