6.0 KiB
| lang | layout | section | category | title | description |
|---|---|---|---|---|---|
| pl-PL | wiki | ds-index | reference | ROM-y detaliczne | Informacje dotyczące detalicznych gier DS |
Anti-piracy
AP (skrót od anty-piractwo) jest metodą stosowaną przez deweloperów w celu wymuszania legalnych zakupów i zapobiegania piractwu. Może to być obchodzone przez loadera lub samego ROM-a.
- 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++. - Do celów Wood R4, te patche są zawarte w samym oprogramowaniu. Nie będziesz musiał modyfikować ROM-a.
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 - Electrically Erasable Programmable Read-Only Memory (Elektrycznie Wymazywalna Programowalna Pamięć do Odczytu)
- FLASH
- FRAM - Ferroelectric Random-Access Memory (Ferroelektryczna Pamięć o Dostępie Swobodnym)
- 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 language is any low-level programming language with a strong connection between the language's instructions and the processor's instructions. On the DS, assembly code comes in the form of either ARM or THUMB instructions, THUMB instructions being a subset of the ARM instructions. THUMB is useful to save memory bandwidth as it uses 16-bit instructions over the regular 32-bit instructions that ARM uses. You can find more information on assembly instructions, as well as a lot more technical information for the DS and DSi, on GBATEK.
Card read DMA
Card DMA (stands for Direct Memory Access) is a more efficient way to read cartridge data than by software. When there isn't any data available, code can still execute. In software cartridge data reads, polling the register to see if there is new data wastes times. It is the preferred way of accessing data.
Możesz znaleźć grę używającą dma za pośrednictwem no$gba poprzez włączenie dziennika DMA na ARM9. A DMA access to the card uses AF000001 as the third parameter.
- Na przykład:
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 (fork usrcheat.dat) (
cheats.xmlbądźusrcheat.dat)- NitroHax3DS jest wersją NitroHax, która jest uruchomiana z systemowej karty SD na DSi lub 3DS. Wersja oryginalna używa cheats.xml z tym samym limitem 2.4MB jak oryginalny NitroHax, ale jest także fork, który ładuje cheaty z bazy danych usrcheat.dat bez żadnych ograniczeń pamięciowych
- 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:
- Kod 0xE jest typem kodu 32-bitowego, który pozwala Ci na wielokrotne zapisywanie w wielu kolejnych adresach jednocześnie. Zasadniczo jest on podobny do podstawowego 32-bitowego kodu zapisu RAM (0x0), poza tym, że nie ma adresów wymienionych obok wartości, które chcesz zapisać. Zamiast tego, typ kodu 0xE jest zaprogramowany do automatycznego rozgałęzienia z adresu początkowego, a następie ustalenia adresu do zapisu. Stąd musisz tylko wpisać wartość do zapisu by program odwalił robotę.