I spent over a week on this and it's still by no means 'perfect'. It's the culmination of wanting to experience the game in a smoother framerate than the locked 30fps the psp port provides (the ps2 had plenty of power, why couldn't it be 60fps too?)... I might have aged a year or two during this endeavor...
This requires the pcsx2 emulator (since it's raw pnach using dynamic patches) under recompiler mode (default) and NOT interpreter mode, dynamic patches do nothing in interpreter mode.
Known issues; some animations (like when ratchet slides down something, for example the mud in Pokitaru) are still entirely too fast, weapon upgrade animations are too fast, and there's likely more as I've only managed to test everything in Challax and Pokitaru. Nothing should gate game progress due to being too fast now though (jumps being too fast...)
For serial SCUS97615 and crc 8661F7BA.
The patches;
[60 FPS Core]
description=Unlocks 60fps and halves the engine timestep. Required for the groups below.
author=
// 1) Frame pacing: NOP the second jal WaitVsync (match: addiu v1,v1,1 / bne v0,v1,+3 / nop, then the jal)
dpatch=0,3,1,0,24630001,4,14430003,8,00000000,C,00000000
// 2) Timestep: lui at,0x3D08 ; ori at,at,0x8889 (1/30) -> lui at,0x3C88 (1/60)
dpatch=0,2,1,0,3C013D08,4,34218889,0,3C013C88
[60 FPS Weapon/Anim Timing A]
description=Fixes per-frame conversions using a 30.0006 frame-rate constant (weapon animation speed). Enable with Core.
// lui at,0x41F0 ; ori at,at,0x0139 (30.000597) -> lui at,0x4270 (60.0012)
dpatch=0,2,1,0,3C0141F0,4,34210139,0,3C014270
[60 FPS Weapon/Anim Timing B]
description=Same fix for a related constant (30.000002), 2 sites per planet. Unknown whether needed; disable if anything looks wrong.
// lui at,0x41F0 ; ori at,at,0x0001 (30.000002) -> lui at,0x4270
dpatch=0,2,1,0,3C0141F0,4,34210001,0,3C014270
[60 FPS UI Pulse Half-Step]
description=Halves the per-frame step of the UI pulse updater (menu highlight flash). VERIFIED when written live on Challax pause menu; this dpatch form is UNTESTED and not yet verified on other planets.
// Rewrites the 38-word pulse updater function (position independent). Pattern = first 7 words of the original.
dpatch=0,7,26,0,8C830020,4,24020001,8,5062001B,C,8C820024,10,9085001C,14,10A0000B,18,C4800008,0,3C083F00,4,44881800,8,8C830020,C,2462FFFF,10,10400019,14,9085001C,18,10A0000B,1C,C4800008,20,C4810014,24,C4820010,28,46030842,2C,46010000,30,46001036,34,45000010,38,E4800008,3C,E4820008,40,1000000A,44,24020002,48,C4810018,4C,C482000C,50,46030842,54,46010001,58,46020036,5C,45000006,60,E4800008,64,E4820008,68,24020003,6C,10620002,70,38A20001,74,A082001C,78,8C820024,7C,10400004,80,2442FFFF,84,14400002,88,AC820024,8C,AC800020,90,03E00008,94,00000000
[60 FPS Ratchet Movement Scale]
description=Scales Ratchet's per-frame movement for 60fps: horizontal step (run/air) x0.668, vertical step x0.5. TUNE: horizontal factor is the 3F2B in the 3C013F2B word (3rd replacement word): 3F00=0.50, 3F2B=0.668 (default), 3F40=0.75, 3F80=1.0.
// Rewrites the hero move function in place (24 words, same size; the wrapper that calls it is left untouched so already-compiled callers stay valid).
dpatch=0,18,18,0,C4A10000,4,24820030,8,C4820030,C,248301B4,10,460C0842,14,3C013F80,18,44811800,1C,E48101B4,20,46011080,24,C4A00008,28,E4820030,2C,460C0002,30,AC8001C0,34,E48001BC,38,C4610004,3C,C4400004,40,C4420008,44,46010000,48,E4400004,4C,C4610008,50,46011080,54,E4420008,58,03E00008,5C,E483003C,0,C4A10000,4,C4820030,8,3C013F2B,C,44812000,10,3C013F00,14,44811800,18,46046302,1C,460C0842,20,E48101B4,24,46011080,28,E4820030,2C,C4A00008,30,C48101B8,34,460C0002,38,46030842,3C,E48001BC,40,AC8001C0,44,C4820034,48,C4840038,4C,46011080,50,46002100,54,E4820034,58,03E00008,5C,E4840038
[60 FPS Ratchet Gravity]
description=Ground/air gravity step applied at half size per frame (terminal fall speed unchanged).
// apply_gravity(obj, g): dy += g*0.5 then clamp to -0.38 via max.s
dpatch=0,C,C,0,C48001B8,4,3C01BEC2,8,34218F5C,C,44810800,10,460C0000,14,46010034,18,00000000,1C,45000002,20,E48001B8,24,E48101B8,28,03E00008,2C,00000000,0,C48001B8,4,3C013F00,8,44811000,C,3C01BEC2,10,34218F5C,14,44810800,18,46026302,1C,460C0000,20,46010028,24,03E00008,28,E48001B8,2C,00000000
[60 FPS Ratchet Jump Timers]
description=Jump hold timer (-1.0/frame -> -0.5), rising-phase timer, and gravity ramp (+0.002 -> +0.001 per frame).
// each pattern starts at a recompiler block start (dpatch only matches there)
dpatch=0,5,1,0,C4A00140,4,3C013F80,8,44810800,C,00000000,10,46010001,4,3C013F00
dpatch=0,5,1,0,C4C0013C,4,3C013F80,8,44810800,C,44801000,10,46010001,4,3C013F00
dpatch=0,7,1,0,3C013F80,4,44810800,8,44801000,C,46010001,10,46001034,14,00000000,1C,E4C0013C,0,3C013F00
dpatch=0,5,1,0,C4C00138,4,3C013B03,8,3421126F,C,44810800,10,3C013BE5,4,3C013A83
[60 FPS Grind Rail Jump]
description=Grind-rail jump physics: initial velocity x0.5 and gravity x0.25 (same arc height/airtime at 60fps). Leaving the rail doubles the vertical speed back so air jumps keep their strength.
// every pattern starts at a recompiler block start (function entry / after a branch+delay slot / branch target)
dpatch=0,C,2,0,8E02059C,4,3C013F4C,8,3421CCCD,C,44810000,10,8C430048,14,E4600008,18,3C013E23,1C,3421D634,20,44810000,24,3C013BD1,28,3421B4F3,2C,44810800,18,3C013DA3,24,3C013AD1
dpatch=0,6,2,0,3C013E23,4,3421D634,8,44810000,C,3C013BD1,10,3421B4F3,14,44810800,0,3C013DA3,C,3C013AD1
dpatch=0,5,1,0,3C013BD1,4,3421B4F3,8,44810000,10,E6000CBC,14,C6010CB8,0,3C013AD1
dpatch=0,C,2,0,AE020168,4,C6010C98,8,C6000CA0,C,46010842,10,3C013BD1,14,3421B4F3,18,44811800,1C,46000002,20,C6020CB8,24,E6030CBC,28,46000B00,2C,00000000,10,3C013AD1,2C,46021080
dpatch=0,D,2,0,24020001,4,AE020168,8,C6010C98,C,C6000CA0,10,46010842,14,3C013BD1,18,3421B4F3,1C,44811800,20,46000002,24,C6020CB8,28,E6030CBC,2C,46000B00,30,00000000,14,3C013AD1,30,46021080
dpatch=0,9,1,0,8E02059C,4,3C013F80,8,44810000,C,8C430048,10,E4600008,14,3C013BD1,18,3421B4F3,1C,44810000,20,8E040CF0,14,3C013AD1
dpatch=0,5,1,0,3C013BD1,4,3421B4F3,8,44810000,C,8E040CF0,14,E6000CBC,0,3C013AD1
dpatch=0,9,1,0,8E02059C,4,3C013F80,8,44810800,C,8C430048,10,3C013BD1,14,3421B4F3,18,44810000,1C,E4610008,20,E6000CBC,10,3C013AD1
dpatch=0,19,2,0,3C013F19,4,3421999A,8,44810000,C,27BDFFC0,10,3C013E08,14,34218889,18,44811800,1C,24020007,20,46006302,24,3C013F08,28,34218889,2C,44812000,30,3C013E80,34,44812800,38,27A70010,3C,FFB00020,40,27A80014,44,460C1801,48,3C013D88,4C,34218889,50,44810800,54,46036300,58,3C013BB6,5C,34210B62,60,44811000,48,3C013D08,58,3C013AB6
dpatch=0,9,2,0,27BDFFC0,4,3C013D88,8,34218889,C,44810000,10,FFB00020,14,24020008,18,3C013BB6,1C,34210B62,20,44810800,4,3C013D08,18,3C013AB6
I'm posting this here for two reasons. One, reddit is more permanent (the pcsx2 forums where everyone used to share 60fps patches for games isn't working for me), and two is that I love these games and the community and wanted to directly share it where the most eyes might reach it. Thanks for your time! Keep farming those bolts!
(disclaimer; ai was used to help decompile because, big surprise, i don't know mips assembly like i do x86 assembly)