I'll update again soon once there's been more time to translate, but for now so the pages all are up to date and such at least
5.9 KiB
| lang | layout | section | category | title | description |
|---|---|---|---|---|---|
| fr-FR | wiki | ds-index | reference | ROMs originales | Information related to retail DS games |
Anti-piratage
AP (abréviation de anti-piratage) est une méthode utilisée par les développeurs pour imposer des achats légitimes et empêcher le piratage. Cela peut être contourné soit depuis le lanceur, soit depuis la ROM elle-même.
- For nds-bootstrap's purposes, you can load an
.ipsfile in order to circumvent said patches. This.ipsfile will be patched inside nds-bootstrap, so you can keep the ROM files intact. A pack of.ipsfiles are automatically included with TWiLight Menu++. - Avec Wood R4, ces correctifs sont inclus dans le logiciel. Vous n'aurez pas besoin de modifier la ROM elle-même.
In case there isn't a .ips file for your ROM or your software didn't patch your ROM, you can try directly modifying the ROM itself using nds-scene tool
Cloneboot
Cloneboot is when a game sends it's own loaded ARM7 and ARM9 binaries to another console. It is used by DS Download Play for single-card multiplayer. Though, not all games that have single-card multiplayer uses cloneboot.
Currently, nds-bootstrap's cloneboot patches is broken due to the ARM7 and ARM9 binaries being patched, which makes the RSA signatures invalid.
Save Files
Nintendo DS cartridges have 4 known save types:
- EEPROM - Mémoire programmable effaçable en lecture seule
- FLASH
- FRAM - Mémoire d'accès aléatoire ferroélectrique
- NAND - NOT-AND
Though rare, there are DS Cartridges with NAND based saves: WarioWare DIY & Jam with the Band (USA)/Daigasso Band Brothers
There are different formats to use depending on the loader, but nds-bootstrap uses the raw .sav format. If you use a different format, here is a website you can use to convert it: http://www.shunyweb.info/convert.php
Assembly
Assembly is the native language used for all DS software. Assembly code comes in the form of either ARM or THUMB instructions. THUMB instructions are a subset of the ARM instructions. THUMB is useful to save memory bandwidth as it uses 16-bit instrcutions over the regular 32-bit instructions that ARM uses. You can find more info on Assembly instructions, as well as a lot more technical information for the DS and DSi, at gbatek.
Lecture DMA de la carte
Card DMA (stands for Direct Memory Access) is a more efficient way to read cartridge data than by software. Lorsqu'il n'y a pas de données disponibles, le code peut toujours être exécuté. In software cartridge data reads, polling the register to see if there is new data wastes times. C'est le moyen privilégié d'accéder aux données.
Vous pouvez repérer un jeu qui utilise DMA dans no$gba en activant le log DMA sur ARM9. Un accès DMA à la carte utilise AF000001 comme troisième paramètre.
- Par exemple :
DMA2 : 04100010 023C18C0 AF000001
Action Replay Cheats
Action Replay cheat codes are codes that allow you to make low-level programmable changes in the memory region of your favorite game(s). These changes range from simple value tweaks to extremely advanced ASM tweaks, both of which can alter the experience of the game(s) being played altogether.
Flashcards can take advantage of cheat codes by using cheat databases. Cheat functionality is integrated within the flashcard kernel respectively. The following kernels can utilize cheats:
- Wood R4 (
usrcheat.dat) - YSMenu (
usrcheat.dat)
Homebrew/digital based solutions can also take advantage of the cheat databases, the software currently available can use the following:
- NitroHax (
cheats.xml)- NitroHax lets you use cheats with real game cards from a flashcard. The engine used here loads the entire cheats.xml database into the Nintendo DS's limited RAM and tries to manage things from there. This imposes a serious limit on how many cheats you can have, as NitroHax will not load a cheats.xml file past 2.4 MB
- NitroHax3DS (usrcheat.dat fork) (
cheats.xmlorusrcheat.dat)- NitroHax3DS is a version of NitroHax that runs from the system's SD card on DSi or 3DS. The original version uses cheats.xml with the same 2.4 MB limit as the original NitroHax, but there is also a fork that loads cheats from a usrcheat.dat database with no size limitation
- TWiLight Menu++ (
usrcheat.dat)- TWiLight Menu++ reads the
usrcheat.datand sends off the enabled cheat values to another file, which nds-bootstrap picks up - The cheat engine used in nds-bootstrap is based on the one used in NitroHax. However, due to the cheat file containing only enabled cheats for that specific title, there is only a limit to how many cheats can be enabled, not a limit on the database size
- Bootstrap 4 DS (the nds-bootstrap version used on flashcards) does not support cheats, due to not having enough RAM and the limitations of the Memory Expansion Pack
- TWiLight Menu++ reads the
For the most complete cheat database, we recommend using the one made by DeadSkullzJr titled DeadSkullzJr's Cheat Database.
Cheat codes generally have types A through E, and here is a description of them:
- The 0xE code type is a 32-bit code type that allows you to make multiple writes in many consecutive addresses all at once. Essentiellement, c'est comme le type de code d'écriture de la RAM 32 bits (0x0), sauf qu'il n'y a pas d'adresses listées à la suite des valeurs que vous voulez écrire. Au lieu de cela, le type de code 0xE est programmé pour se brancher automatiquement à partir d'une adresse de départ, puis déterminer les adresses à écrire. À partir de là, il vous suffit de donner le montant à écrire pour qu'il fasse le travail.