NitroHax: Difference between revisions
From GameBrew
More actions
No edit summary |
No edit summary |
||
| Line 38: | Line 38: | ||
In addition to the standard Action Replay DS code types described on [http://doc.kodewerx.org/hacking_nds.html#arcodetypes EnHacklopedia's Action Replay DS page], Nitro Hax supports the following custom codes. | In addition to the standard Action Replay DS code types described on [http://doc.kodewerx.org/hacking_nds.html#arcodetypes EnHacklopedia's Action Replay DS page], Nitro Hax supports the following custom codes. | ||
CF000000 00000000 (Code list end) | CF000000 00000000 (Code list end.) | ||
Code used internally to specify the end of the cheat code list. It does not need to be specified manually. | Code used internally to specify the end of the cheat code list. It does not need to be specified manually. | ||
CF000001 xxxxxxxx (Relocate cheat engine) | CF000001 xxxxxxxx (Relocate cheat engine.) | ||
Relocate the cheat engine to address xxxxxxxx. The cheat engine and all data are moved to the given address, which should be accessible from the ARM7. | Relocate the cheat engine to address xxxxxxxx. The cheat engine and all data are moved to the given address, which should be accessible from the ARM7. | ||
CF000002 xxxxxxxx (Hook address) | CF000002 xxxxxxxx (Hook address.) | ||
Change the hook address to xxxxxxxx. The hook should be a function pointer that is called regularly. | Change the hook address to xxxxxxxx. The hook should be a function pointer that is called regularly. | ||
By default the ARM7's VBlank interrupt handler is hooked. This code overrides the default. | By default the ARM7's VBlank interrupt handler is hooked. This code overrides the default. | ||
C100000x yyyyyyyy (Call function with arguments) | C100000x yyyyyyyy (Call function with arguments.) | ||
Call a function with between 0 and 4 arguments. The argument list follows this code, which has the parameters: | Call a function with between 0 and 4 arguments. The argument list follows this code, which has the parameters: | ||
* x - Number of arguments (0 - 4) | * x - Number of arguments (0 - 4) | ||
| Line 59: | Line 59: | ||
12345678 00000000 | 12345678 00000000 | ||
C200000x yyyyyyyy (Run ARM/THUMB code) | C200000x yyyyyyyy (Run ARM/THUMB code.) | ||
Run ARM or THUMB code stored in the cheat list: | Run ARM or THUMB code stored in the cheat list: | ||
* x - 0 = ARM mode, 1 = THUMB mode | * x - 0 = ARM mode, 1 = THUMB mode | ||
| Line 71: | Line 71: | ||
This will run the code AAAAAAAA BBBBBBBB CCCCCCCC in ARM mode. The E12FFF1E (bx lr) is needed at the end to return to the cheat engine. | This will run the code AAAAAAAA BBBBBBBB CCCCCCCC in ARM mode. The E12FFF1E (bx lr) is needed at the end to return to the cheat engine. | ||
C4000000 xxxxxxxx (Scratch space) | C4000000 xxxxxxxx (Scratch space.) | ||
Provide 4 bytes of scratch space to safely store data. Sets the offset register to point to the first word of this code. | Provide 4 bytes of scratch space to safely store data. Sets the offset register to point to the first word of this code. | ||
Storing data at [offset+4] will save over the top of xxxxxxxx. | Storing data at [offset+4] will save over the top of xxxxxxxx. | ||
C5000000 xxxxyyyy (Counter) | C5000000 xxxxyyyy (Counter.) | ||
Each time the cheat engine is executed, the counter is incremented by 1. | Each time the cheat engine is executed, the counter is incremented by 1. | ||
If (counter & yyyy) == xxxx then execution status is set to true, else it is set to false. Based on Trainer Toolkit code. | If (counter & yyyy) == xxxx then execution status is set to true, else it is set to false. Based on Trainer Toolkit code. | ||
C6000000 xxxxxxxx (Store offset) | C6000000 xxxxxxxx (Store offset.) | ||
Stores the offset register to the address xxxxxxxx. Based on Trainer Toolkit code | Stores the offset register to the address xxxxxxxx. Based on Trainer Toolkit code | ||
D400000x yyyyyyyy (Dx Data operation) | D400000x yyyyyyyy (Dx Data operation.) | ||
Performs the operation Data = Data ? yyyyyyyy where ? is determined by x as follows: | Performs the operation Data = Data ? yyyyyyyy where ? is determined by x as follows: | ||
* 0 - add | * 0 - add | ||
Revision as of 11:34, 8 September 2021
| Nitro Hax | |
| File:Nitrohaxds.png | |
| General | |
|---|---|
| Author(s) | Chishm |
| Type | Other |
| Version | 0.94 |
| Licence | GPLv3 |
| Links | |
| Download | |
| Website | |
| Source | |
<htmlet>adsense</htmlet>