Modding[CODE] Tony Hawk Project 8 Debug Menu TU2 [RGH/JTAG]
Posted:

Modding[CODE] Tony Hawk Project 8 Debug Menu TU2 [RGH/JTAG]Posted:

XeCrippy
  • Rated Awesome
Status: Online
Joined: May 12, 20167Year Member
Posts: 1,860
Reputation Power: 1164
Status: Online
Joined: May 12, 20167Year Member
Posts: 1,860
Reputation Power: 1164
I'm working on adding some of the tony hawk games to my tool but I thought I'd share this for now. I've spent the last couple of hours trying to figure out how to reverse it and finally worked it out

Code
uint patchAddress_1 = 0x823A5F68;
uint patchAddress_2 = 0x8244D8F8;
uint patchAddress_3 = 0x8244D8FC;
uint patchAddress_4 = 0x8244D900;

uint patch_1 = 0x480A7990;
uint patch_2 = 0x993FFFF1;
uint patch_3 = 0x39400007;
uint patch_4 = 0x4BF5866C;


patch for xex
#TONY HAWK PROJECT 8 | TITLE UPDATE 2
# ============================================================================
.set HookPt1, 0x823A5F68 #- 0x8000    # Address where to inject code 
.set HookPt2, 0x8244D8F8          # Address to inject code pt2
.set test_i, 0xFFFFFFF1   # variable for -15
# ============================================================================


.long HookPt1               # Address where to inject code
.long (1f - 0f) / 4         # Calculate the size of the block using the labels

0:
    b HookPt2 - (HookPt1)     
1:

.long HookPt2
.long (1f - 0f) / 4

0:
   stb %r9, test_i(%r31)
   li %r10, 7
   b HookPt1 - (HookPt2 + 4)
1:


# DO NOT INSERT ANYTHING BELOW THIS POINT!!!
# ============================================================================
        .long 0xffffffff
        .end
# ============================================================================


Images



**Forgot to mention, you have to write the code when you first load the game befoee pressing start on the main screen or selecting a storage device
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS