How to make Nintendo DS emulator option – example 1.
For
example, consider DeSmuMe SVN r4069 x86
http://tv-games.ru/up/down/file/emuls/nds/EmuCR_DeSmuMe_r4069_x86.rar
NDS memory
map:
MainRAM
is 02000000- 02400000 (4Mb)
http://dev-scene.com/NDS/Tutorials_Day_2#Main_Memory
We'll find a zero address
using the built-in memory editor (memory viewer).
DeSmuME without a pointer to zero address (speed access to memory is faster without the pointer):, as well as those emulators:
Sony PlayStation - ePSXe
DreamCast, Sega Naomi 1/2, Sammy Atomiswave – Demul (zero address
fixed at 2C000000)
SNES – Bsnes, ZSNESWin
Nes – VirtualNes (older versions), puNes, Bsnes, Nintendulator 0.975 beta
9-12-11
Nintendo 64 – 1964, emu-1964, (zero address fixed at 20000000)
PC Engine/Turbografx/CD – Mednafen,
PCEjin
Arcade emulator ZiNc (Capcom
ZN1/ZN2 based on PSX hardware)
Wonderswan Color, NeoGeo Pocket/Color - Mednafen
Killer Instinct 1/2 – Ultra64 emu
Atari Jaguar – Jagulator
Atari 8-bit, Atari 5200 - Altirra
and
others
ArtMoney can select emulator options
automatically when loading of ArtMoney table. You can
view MD5 file hash in "Process Information" window.
Start
the DeSmuMe emulator.
Next, open the Process Information and check
MD5 hash
Now run
Tokyo Beat Down (U), wait until first level is
loading, then press Pause button.
Open up
your memory window (Tools – View Memory). Select View mode - Words
Exact value search (value
at address 02000000 is E7FFDEFFh), type integer 4 byte.
Now change a value at address 02000000 to another value (here it is 11122112h). Then go back to ArtMoney, click the
"Filter" button, enter value 11122112h and click OK button. This
result is a zero address of emulation
DeSmuMe r4069;DeSmuME_VS2008.exe;N;d5ee44273c2efbd6ceeddf0926464787
;MainRAM 4Mb;02000000;00D38048;400000
Emulator option contains a version of the emulator, MD5 checksum, EXE file name, bytes order, emulator virtual zero address (base address, start of RAM, RAM base), zero address and size of this memory area.
It's
necessary to test emulator option on games in two different Windows versions. I made this emulator option in Windows 7 , check the options on
the XP SP3
Tokyo
Beat Down (U) http://www.artmoney.ru/tables/NintendoDS/Tokyo%20Beat%20Down%20(U).amt
Windows
7
Commando
– Steel Disaster (U)
http://www.artmoney.ru/tables/NintendoDS/Commando%20-%20Steel%20Disaster%20(U).amt
Windows
XP SP3:
Teenage
Mutant Ninja Turtles 3 – Mutant Nightmare (U)
http://www.artmoney.ru/tables/NintendoDS/Teenage%20Mutant%20Ninja%20Turtles%203%20-%20Mutant%20Nightmare%20(U).amt
Windows
XP SP3