Views: 6,847,715 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 04-18-24 12:25 PM |
Guest: |
0 users reading Request - SRL ROM file compatibility | 1 bot |
Main - Development - Request - SRL ROM file compatibility | Hide post layouts | New reply |
FellFromTheSky |
| ||
Melon seeds Normal user Level: 7 Posts: 5/8 EXP: 952 Next: 496 Since: 06-12-19 From: None Last post: 1478 days ago Last view: 314 days ago |
I was able to dump some NDS games, like Mario Kart DS, from a Wii U.
However those games are in SRL file format. Could you make this file format playable in melonDS. This file format is working in DeSmuME so maybe you can look at them code. Thanks. |
Arisotura |
| ||
Big fire melon magical melon girl Level: 56 Posts: 469/884 EXP: 1334609 Next: 63567 Since: 03-28-17 From: France Last post: 3 hours ago Last view: 3 hours ago |
SRL files are the same format as NDS files, they just have a different extension.
melonDS should list .srl files in its ROM open dialog. if not, you can always change the extension. ____________________ Kuribo64 |
FellFromTheSky |
| ||
Melon seeds Normal user Level: 7 Posts: 6/8 EXP: 952 Next: 496 Since: 06-12-19 From: None Last post: 1478 days ago Last view: 314 days ago |
I tried to change the extension but the game was stuck on blank screen (not loading at all).
However it was working fine in DeSmuME. EDIT : I was able to make SRL game work in melonDS : Step 1 (Optional) - If you want, rename the .srl ROM it to .nds. Step 2 Uncheck the "Boot game directly" option in "Emu settings" menu. Step 3 (Optional) - Load the .srl in melonDS trough drag n drop or "Open ROM" menu. Step 4 - Enjoy ! In DeSmuME, it will work even if the game isn't launched trough firmware : "Boot from firmware (like the NDS)" option could be checked or unchecked and the game will work. I think it's because DeSmuME have native compatibility with SRL files but not melonDS. So melonDS need to launch the game trough the NDS firmware. |
Arisotura |
| ||
Big fire melon magical melon girl Level: 56 Posts: 470/884 EXP: 1334609 Next: 63567 Since: 03-28-17 From: France Last post: 3 hours ago Last view: 3 hours ago |
that doesn't make much sense, SRL files are the same format as NDS files. there's something weird going on there. I'm gonna contact you via PM to work this out. ____________________ Kuribo64 |
Arisotura |
| ||
Big fire melon magical melon girl Level: 56 Posts: 471/884 EXP: 1334609 Next: 63567 Since: 03-28-17 From: France Last post: 3 hours ago Last view: 3 hours ago |
mh, I see
there's something up with the secure area yeah, that is it. the secure area is encrypted, which is problematic during a direct boot. the ROM works fine when doing a full firmware boot. ____________________ Kuribo64 |
FellFromTheSky |
| ||
Melon seeds Normal user Level: 7 Posts: 7/8 EXP: 952 Next: 496 Since: 06-12-19 From: None Last post: 1478 days ago Last view: 314 days ago |
So, any idea for fixing it?
I've 4 ideas : A- Check the code of DeSmuME to know how they fixed this. B- Boot the firmware without displaying it, when it's booted go to directly to the game (maybe by doing 2 "virtual" mouse click). C- Add code that can decrypt secure area. Maybe DSi SRL Extractor? D- Use a database of already decrypted ROMs secure area and use those ones instead of the encrypted ones. |
Arisotura |
| ||
Big fire melon magical melon girl Level: 56 Posts: 472/884 EXP: 1334609 Next: 63567 Since: 03-28-17 From: France Last post: 3 hours ago Last view: 3 hours ago |
I fixed it already, actually
basically the loading process in melonDS went like * if doing a direct boot, copy the ARM9 and ARM7 binaries to RAM * if needed, re-encrypt the secure area (which is required for a full firmware boot) as such, ROMs that were already encrypted could be loaded fine when booting from the firmware, but not when doing a direct boot, because it would be copying the encrypted secure area to RAM instead of decrypting first ____________________ Kuribo64 |
FellFromTheSky |
| ||
Melon seeds Normal user Level: 7 Posts: 8/8 EXP: 952 Next: 496 Since: 06-12-19 From: None Last post: 1478 days ago Last view: 314 days ago |
Ok. |
Main - Development - Request - SRL ROM file compatibility | Hide post layouts | New reply |
Page rendered in 0.056 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 90/90, time: 0.023 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |