Desmume Setup
Setup Desmume for RNG
This guide is for setting up Desmume on a Windows PC. Mac and Linux users can try to use Wine to run the Desmume.exe, but this is not guaranteed to work. An updated CFW (Custom Firmware) 3DS console is required to be able to dump DS game data. There are other methods for dumping DS games, but this guide will not cover those.
Tools
- Desmume v0.9.11
- Lua dlls
- Lua Scripts
- A 3DS with CFW (Custom Firmware)
- https://3ds.hacks.guide/ has instructions for installing CFW
- Latest Godmode9
- Checkpoint for the 3DS
Dumping game data
- Select
[C:] GAMECART
. - Select the
.nds
file. - Select
Copy to 0:/gm9/out
. - Exit GodMode9 and transfer the
.nds
file fromsdmc:\gm9\out
to your PC.
Extracting save
- Load Checkpoint on the 3DS.
- Dump the save from the DS cart.
- The save is then stored in
sdmc:\3ds\Checkpoint\saves
.
Setting up Desmume
- Download both Desmume and the lua dlls.
- You'll need either the 32-bit or the 64-bit dlls depending on which Desmume version you have (win32 or win64).
- Place both dlls into the same folder as the Desmume executable.
- Download the lua script for your game version.
- Open Desmume, then under
File
chooseOpen ROM
. - Open the
.nds
file extracted from the DS cart. - Under
Tools
chooseLua Scripting
, thenNew Lua Script Window...
. - Choose the Lua Script downloaded earlier.
Desmume should now be running with the game of your choosing, with an overlay displaying RNG information.
Importing a save
- Under
File
chooseImport Backup Memory...
. - Load the
.sav
extracted from the DS cart.
Exporting a save
- Under
File
chooseExport Backup Memory...
. - The
.sav
can be named and saved where you want it.
Troubleshooting
lua 51.dll was not found.
If you receive a similar error to the one above, the lua dlls are missing. Redownload the dlls and make sure they are placed into the same folder as the Desmume executable. Also, verify that the dlls match the version of Desmume you are using (32-bit or 64-bit).