@ Ralf@gc-forever need help

Game Hacks, Trainers, Cheats

Moderator: Ralf@gc-forever

Post Reply
User avatar
hangmanhorror
Posts: 2
Joined: Tue May 20, 2025 11:03 pm

@ Ralf@gc-forever need help

Post by hangmanhorror » Tue May 20, 2025 11:22 pm

Hi Ralf@gc-forever

i need your help since you're the best person to ask !
i need to convert the PAL widescreen gecko code of Darkened Skye to NTSC version,
i need it because the US version is the one that we can play with retroachievements.

I tried to convert it myself for the past two days, but i'm not good enough.

I hope you can help

$16:9 Widescreen
04002FC0 8001006C
04002FC4 3C808006
04002FC8 6084E5BC
04002FCC 7C040000
04002FD0 4082000C
04002FD4 C00BB220
04002FD8 EFC007B2
04002FDC 38800000
04002FE0 4806A924
04002FE4 C009B220
04002FE8 EC0007B2
04002FEC D0010008
04002FF0 4806AC60
0406D900 4BF956C0
0406DC4C 4BF95398
0406DC50 D01F0254
Ralf@gc-forever
Posts: 3858
Joined: Sun Mar 16, 2014 9:31 am

Re: @ Ralf@gc-forever need help

Post by Ralf@gc-forever » Wed May 21, 2025 5:15 pm

I don't have the US version, so I can't help you very much here. However, to port the 16:9 code to NTSC-U region you'll need good game hacking and PPC ASM skills.

Code: Select all


16:9 Aspect Ratio (Widescreen)

80002FC0: 8001006C  lwz   r0,108(r1)      ; r0: caller function address
80002FC4: 3C808006  lis   r4,- 32762      ; r4: aspect ratio function address (0x8006e5bc)
80002FC8: 6084E5BC  ori   r4,r4, 58812
80002FCC: 7C040000  cmpw  r4,r0           ; aspect ratio function address == caller function address ?
80002FD0: 4082000C  bne-  0x80002fdc      ; no
80002FD4: C00BB220  lfs   f0,-19936(r11)  ; yes, f0: 0.75, r11: 0x80160000 (0x8015b220: 3F400000; 0.75)
80002FD8: EFC007B2  fmuls f30,f0,f30      ; f30: x aspect ratio * 0.75
80002FDC: 38800000  li    r4,0
80002FE0: 4806A924  b     0x8006d904

8006D900: 4BF956C0  b     0x80002fc0


80002FE4: C009B220  lfs   f0,-19936(r9)   ; f0: 0.75, r9: 0x80160000
80002FE8: EC0007B2  fmuls f0,f0,f30       ; f0: x aspect ratio * 0.75
80002FEC: D0010008  stfs  f0,8(r1)
80002FF0: 4806AC60  b     0x8006dc50

8006DC4C: 4BF95398  b     0x80002fe4
8006DC50: D01F0254  stfs  f0,596(r31)

User avatar
hangmanhorror
Posts: 2
Joined: Tue May 20, 2025 11:03 pm

Re: @ Ralf@gc-forever need help

Post by hangmanhorror » Wed May 21, 2025 9:04 pm

i don't have a clue what this all means, but thanks anyways for the answer
Post Reply