← [Chapter 4] | [Chapter 6] → |
This section explains the tools that have been included in the library.
SRL2NDS
generates a file equivalent to an NDS file from an SRL file (the official ROM image) and its corresponding libsyscall_c.bin
file. NDS files are the files created by piracy devices when they extract ROM images.
The libsyscall_c.bin
file is required to run SRL2NDS
.
The libsyscall_c.bin
file is a system call binary that corresponds to the SRL file and is used for clone booting. This file's content differs for different software. It is issued to licensees by Nintendo along with the 4-digit Game Code and other information after the proposal has been submitted.
Work with the licensee to get these from Nintendo's Licensing department.
Place libsyscall_c.bin
in the same folder as srl2nds.exe
and run the following command from the command prompt.
srl2nds.exe
C:\srl2nds>srl2nds.exe NDSGAME.SRL NDSGAME.NDS
SRL2NDS Ver 0.20
Copyright 2008 NetAgent Co., Ltd.
Converting. Please wait...
Conversion successful.
C:\srl2nds>
The makesav
tool generates save files for piracy devices from the save files used by genuine ROM cartridges.
Run the following command from the command prompt.
makesav.exe
C:\makesav>makesav.exe NDSGAME.BIN NDSGAME.SAV 0
MAKESAV Ver 0.20
Copyright 2008 NetAgent Co., Ltd.
Conversion successful.
C:\makesav>
Depending on the type of piracy device, the unused region value is different, so you must use a run-time argument to set an appropriate value.
Use .sav
as the extension for R4, DSTT, and EzFlash. (Example: TESTGAME.sav
)
Use .0
as the extension for M3 Real, G6 Real, iTouch, and M3 Sakura. (Example: TESTGAME.0
)
Depending on the type of piracy device, the unused region value is different, so you must use a run-time argument to set an appropriate value.
Type of Piracy Device or Unofficial Emulator | Save Extension | Value | Unused Region Setting Value |
---|---|---|---|
R4DS | *.SAV |
1 | 0xFF |
DSTT | *.SAV |
1 | 0xFF |
Supercard DSOne | *.SAV |
1 | 0xFF |
CycloDs | *.SAV |
1 | 0xFF |
DSLinker | *.SAV |
1 | 0xFF |
K6 | *.SAV |
1 | 0xFF |
F-CARD | *.SAV |
1 | 0xFF |
NO$GBA (unofficial emulator) | *.SAV |
1 | 0xFF |
EzFlashV | *.SAV |
0 | 0x00 |
M3Real | *.0 | 1 | 0xFF |
G6Real | *.0 | 1 | 0xFF |
iTouch | *.0 | 1 | 0xFF |
M3 Sakura | *.0 | 1 | 0xFF |
On R4DS and similar piracy devices, the maximum save file size is restricted to 512 KB. To use a larger save file, you must use a separate program to avoid the 512 KB restriction.
By default, NO$GBA uses compressed save files, so you must change it to use uncompressed save files.
Near the 46th line of NO$GBA.INI
, change "SAV/SNA File Format == Compressed"
to "SAV/SNA File Format == Raw"
. After you have changed this setting, you can use your converted save files.
The DS-CCC tool checks whether modules in the SRL file have been correctly compressed.
Run the following command from the command prompt.
Messages are in English by default. You can switch to Japanese messages with the -lang=jpn
option.
DS-CCC -lang=jpn
In version 0.02 and later, if any modules are excluded from compression using the -l
option of compstatic(.TWL)
, the ID numbers of those excluded overlay modules are output.
C:\ds-ccc>DS-CCC.exe -lang=eng NDSGAME.SRL
DS-CCC (DS CODE COMPRESS CHECKER) Ver 0.02
Copyright NetAgent Co., Ltd.
[INFO] ARM9 static modules are compressed.
[INFO] ARM9 overlay modules are compressed.
However, the modules having the ID numbers below are excluded from compression. ID :1, 2,
C:\ds-ccc>
← [Chapter 4] | [Chapter 6] → |
CONFIDENTIAL