diff --git a/ActionReplayCodeTypes.txt b/ActionReplayCodeTypes.txt index b7917a8..474e668 100644 --- a/ActionReplayCodeTypes.txt +++ b/ActionReplayCodeTypes.txt @@ -4,6 +4,8 @@ # CTRPluginFramework # ############################### +Those codes are all supported by CTRPF Beta 0.4.1 and higher. + ============== INFO ============== @@ -75,11 +77,6 @@ D9000000 XXXXXXXX – (32bit) sets data to [XXXXXXXX+offset] DA000000 XXXXXXXX – (16bit) sets data to [XXXXXXXX+offset] & 0xFFFF DB000000 XXXXXXXX – (8bit) sets data to [XXXXXXXX+offset] & 0xFF -Patch Code: --------------- -EXXXXXXX YYYYYYYY - Copy Y bytes (Z) to [XXXXXXX + offset] -ZZZZZZZZ ZZZZZZZZ - Input Codes: ---------------- DD000000 XXXXXXXX – if KEYPAD has value XXXXXXXX execute next block (see SPECIAL KEY CODE for values) @@ -121,7 +118,7 @@ DF000001 00020001 - Copy data #2 to offset #2 DF000002 00020000 - Copy data #1 to storage #1 DF000002 00020001 - Copy data #2 to storage #2 -Custom Codes: +Arithmetic Codes: --------------- F0000001 0000000X - Toggle float mode for F1, F2, F3, F4, F5 (X: 0 to disable, 1 to enable) F1XXXXXX YYYYYYYY - *(XXXXXX + offset) += YYYYYYYY @@ -136,10 +133,33 @@ F9000000 00000000 - NOT - data = ~data FA000000 YYYYYYYY - Left shift - data <<= YYYYYYYY FB000000 YYYYYYYY - Right shift - data >>= YYYYYYYY +Patch Code: +-------------- +EXXXXXXX YYYYYYYY - Copy Y bytes (Z) to [XXXXXXX + offset] +ZZZZZZZZ ZZZZZZZZ + +Copy Code: +-------------- FC000000 YYYYYYYY - Copy YYYYYYYY bytes from [offset#2] to [offset#1] + +Hook Code: +-------------- +FD0000WX YYYYYYYY - Create a hook at offset to custom code (ZZZZ), YYY is code size in bytes +ZZZZZZZZ ZZZZZZZZ + +W - Manual Return (don't allow the assisted bx lr), set 1 to enable (default: 0) +X - Don't Execute Overwritten Instruction Before custom code, set 1 to enable (default: 0) +See more informations below + +FD100000 YYYYYYYY - Disable a hook at address YYYYYYYY if exists + +Search Code: +-------------- FE00XXXX YYYYYYYY - Search pattern (Z) from offset to offset + Y, XXXX is pattern size (in bytes) ZZZZZZZZ ZZZZZZZZ Next block of code is executed if the pattern is found and offset is updated with the address +Generator Code: +----------------- FFXXXXXX YYYYYYYY - data = random number between XXXXXX and YYYYYYYY =================== @@ -168,3 +188,12 @@ SPECIAL KEYPAD CODE 0x20000000 CPad-Left 0x40000000 CPad-Up 0x80000000 CPad-Down + +Note about the hook system: +---------------------------- +- A hook can only be created if the target address isn't already hooked +- All hooks created by a code will be disabled when the code is disabled in the menu (or edited using the builtin code editor) +- With default parameters (and except for instructions which are PC dependent), the overwritten instruction is executed before executing the custom code (ZZZZ) +- A maximum of 90 enabled hooks is available in same time +- No need for a code cave, the code will be placed into CTRPF's memory (so you can do really long code) +- Without Manual Return bit enabled, LR is changed before jumping to the custom code, so you can return to the hook manager which will restore LR before returning to the game diff --git a/Cheats/Kirby's Dream Land (GB VC) (USA)/0004000000041700.txt b/Cheats/Kirby's Dream Land (GB VC) (USA)/0004000000041700.txt new file mode 100644 index 0000000..c8661c5 --- /dev/null +++ b/Cheats/Kirby's Dream Land (GB VC) (USA)/0004000000041700.txt @@ -0,0 +1,12 @@ + + +[Inhale From Anywhere(Enemies and Items)] +D3000000 08000000 +20814863 00000000 +20814877 00000000 +D2000000 00000000 + +[Hit Anywhere] +D3000000 08000000 +208143F1 00000000 +D2000000 00000000 diff --git a/Cheats/Kirby's Dream Land 2 (GB VC) (USA)/000400000007DB00.txt b/Cheats/Kirby's Dream Land 2 (GB VC) (USA)/000400000007DB00.txt new file mode 100644 index 0000000..f777121 --- /dev/null +++ b/Cheats/Kirby's Dream Land 2 (GB VC) (USA)/000400000007DB00.txt @@ -0,0 +1,33 @@ + + +[Inhale From Anywhere] +D3000000 08000000 +208025CE 00000000 +208025EF 00000000 +D2000000 00000000 + +[Hit Anywhere] +D3000000 08000000 +208026F5 00000000 +20802714 00000018 +D2000000 00000000 + +[Invincibility] +D3000000 08000000 +208027B8 000000C9 +D2000000 00000000 + +[Don't Get Move By Water Currents] +D3000000 08000000 +20823255 000000C9 +D2000000 00000000 + +[Disable Autoscroll] +D3000000 08000000 +20822E68 000000FA +D2000000 00000000 + +[Break Blocks With Breath] +D3000000 08000000 +20803BDC 00000000 +D2000000 00000000 diff --git a/Cheats/Stella Glow (EUR)/000400000017C700.txt b/Cheats/Stella Glow (EUR)/000400000017C700.txt index a6d9ee9..0de7886 100644 --- a/Cheats/Stella Glow (EUR)/000400000017C700.txt +++ b/Cheats/Stella Glow (EUR)/000400000017C700.txt @@ -3,10 +3,18 @@ [Max Gold] 080D4450 05F5E0FF -[Infinite Free Time] +[Free Time x3] 080D4440 00000000 080D4444 00000000 +[Free Time x2] +080D4440 00000001 +080D4444 00000001 + +[Free Time x1] +080D4440 00000002 +080D4444 00000002 + [Max Play Coins] 102F66B4 000003E7 @@ -365,4 +373,4 @@ DC000000 0000001E D1000000 00000000 D0000000 00000000 D0000000 00000000 -D2000000 00000000 \ No newline at end of file +D2000000 00000000 diff --git a/Cheats/The Legend of Zelda (NES VC) (USA)/000400000006F100.txt b/Cheats/The Legend of Zelda (NES VC) (USA)/000400000006F100.txt index 35b3fc5..7ff42e0 100644 --- a/Cheats/The Legend of Zelda (NES VC) (USA)/000400000006F100.txt +++ b/Cheats/The Legend of Zelda (NES VC) (USA)/000400000006F100.txt @@ -34,3 +34,31 @@ D0000000 00000000 [Reset Amount of Rupees] 2884CCCD 00000000 + +[Hit Anywhere] +D3000000 08000000 +208513C3 00000000 +208513F8 000000AD +20812F6D 00000000 +D2000000 00000000 + +[Walk Faster] +D3000000 08000000 +208173A7 000000A9 +208173A8 800000B0 +00000000 00000000 + +[Invincibility] +D3000000 08000000 +2085130A 00000060 +D2000000 00000000 + +[Easier Lost Woods(Go left 4 times.)] +D3000000 08000000 +20850D0E 00000000 +D2000000 00000000 + +[Dark Rooms Are Always Lit] +D3000000 08000000 +208143B0 000000C0 +D2000000 00000000