Editing PS2 Custom Configs

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 14: Line 14:


=== Ape Escape 2 ===
=== Ape Escape 2 ===
{{boxcodelite|title=SCES-50885|ps2configrev=17495|code=
{{boxcodelite|title=SCES-50885|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 02 00 00 00
3D 00 00 00 57 44 00 00 0A 00 00 00 01 00 00 00
E0 E0 34 00 16 00 40 14 00 00 00 00 F0 92 19 00
E0 E0 34 00 16 00 40 14 00 00 00 00 00 00 00 00
03 00 80 14 00 00 00 00
}}
}}
Forces the game to not create mipmaps (it does fix flickering textures) and disables the blue filter used to imitate a depth of field effect in rainy levels and underwater (slowdown fix).
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x3D => 0x4457 (17495)
0x0A => 0x2
0x0A => 0x01 (1 Patch to EE memory)
0x34E0E0
    0x34E0E0, 0x14400016 (bnez loc_0063a0c4), 0x00000000 (nop)
  0x14400016 bne v0,zero,0x34E13C -> 0x00000000 nop
</syntaxhighlight>}}{{clear}}
0x1992F0
Force game to not create Mipmaps. Fix flickering textures completely.
  0x14800003 bne a0,zero,0x199300 -> 0x00000000 nop
{{ps2configrev|5744}}
</syntaxhighlight>}}


== B ==
== B ==
{{jumptosection|current=B}}
{{jumptosection|current=B}}
=== Blood Omen 2: Legacy of Kain ===
{{boxcodelite|title=SLES-50771|ps2configrev=4369|code=
3D 00 00 00 11 11 00 00 0A 00 00 00 01 00 00 00
30 24 2F 00 06 00 02 45 06 00 00 10
}}
Trick game to not produce mipmaps. Ignore Coprocessor 1 compare result, and branch (likely) always. Fixes graphical issues.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x1111 (4369)
0x0A => 0x1
0x2F2430
  0x45020006 bc1fl 0x2F244C -> 0x10000006 beq zero,zero,0x2F244C
</syntaxhighlight>}}
=== Burnout 2: POI ===
{{boxcodelite|title=SLES-51044|ps2configrev=16454|code=
3D 00 00 00 46 40 00 00 0A 00 00 00 05 00 00 00
B8 85 24 00 18 0D 80 C6 16 43 01 3C CC 85 24 00
00 00 40 E4 00 00 41 AC 04 26 26 00 80 97 80 C7
16 43 01 3C 18 26 26 00 00 00 40 E4 00 00 41 AC
B8 64 25 00 64 97 82 8F 00 00 02 24 00 00 00 00
}}
Fixes all white rendered textures/shadows (Big thanks to Maori-Jigglypuff for patch code! )
{{boxcode|float=left|title=Commands Info|ps2configrev=16454|code=<syntaxhighlight lang=bash>
0x3D => 0x4046 (16454)
0x0A => 0x5 (5 Patches to EE memory)
// Remove the whitish Car-Parts from the Racer Cars
// [Control Address and Value: 2039917C 43160000]
0x2485B8, 0xC6800D18 (lwc1 $f0, 0xD18(s4)), 0x3C014316 (lui at, 0x4316)
0x2485СС, 0xE4400000 (swc1 $f0, 0(v0)), 0xAC410000 (sw at, 0(v0))
// Remove the whitish Car-Parts from the Traffic Cars
0x262604, 0xC7809780 (lwc1 $f0, 0x9780(gp)), 0x3C014316 (lui at, 0x4316)
0x262618, 0xE4400000 (swc1 $f0, 0(v0)), 0xAC410000 (sw at, 0(v0))
// Remove whitish Reflections on Anything!!!
// (on Buildings, Bridges, Streets)
0x2564B8, 0x8F829764 (lw v0, 0x9764(gp)), 0x24020000 (li v0, 0)
</syntaxhighlight>}}
=== Burnout 3: Takedown ===
{{boxcodelite|title=SLUS-21050|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 04 00 00 00
28 5F 66 00 01 01 01 01 00 00 01 01 30 5F 66 00
41 70 00 00 00 00 00 00 3C 5F 66 00 41 A0 00 00
00 00 00 00 80 53 13 00 A8 BA 60 AC A8 BA 43 AC
13 00 00 00 00 00 00 00 60 F9 00 00 00 00 00 00
}}
Fixes slow motion bug, fixes VMC bug, and applies all speedhacks from user UlsterRose (disable bloom, fog, lower car and traffic detail). Keeps motion blur and environment maps (reflections).


== C ==
== C ==
{{jumptosection|current=C}}
{{jumptosection|current=C}}
=== Crash Bandicoot: Wrath of Cortex ===
{{boxcodelite|title=SLUS-20238|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 44 00 00 00 0A 00 00 00
02 00 00 00 80 FE 12 00 8C F2 04 0C 00 00 00 00
54 9B 24 00 14 00 62 14 14 00 00 10 0A 00 00 00
02 00 00 00 E8 03 13 00 52 F3 04 0C 00 00 00 00
F4 3C 24 00 14 00 62 14 14 00 00 10 01 00 00 00
F0 CF 16 00 12 00 00 00 01 00 00 00 90 D3 16 00
12 00 00 00 03 00 00 00
}}
Multi-version config (applies to both 1.00 and 1.01 versions). Disables fog, smoke effect and smoothing to improve the frame rate. Additionally, it does hook the function VU1_DmaGetStatus to fix the hang in the pause menu. 0x03 command is unknown - it was just copy pasted straight from the official Finding Nemo config, as the games share similar engine and, therefore, the exact pause menu problem.
{{boxcode|float=left|title=Commands Info|ps2configrev=17495|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x44 => (disable smoothing)
0x0A => 0x2 (patches for the 1.00 version)
0x12FE80 (NuRndrFx)
  0x0C04F28C jal 0x13CA30 (NuLightFogDraw) -> 0x00000000 nop
0x249B54 (LaunchObjects)
  0x14620014 bne v1,v0,0x249BA8 -> 0x10000014 beq zero,zero,0x249BA8
0x0A => 0x2 (patches for the 1.01 version)
0x1303E8
  0x0C04F352 jal 0x13CD48 -> 0x00000000 nop
0x243CF4
  0x14620014 bne v1,v0,0x243D48 -> 0x10000014 beq zero,zero,0x243D48
0x01 => 0x16CFF0 (VU1_DmaGetStatus) lw s0,-0x58E0(gp) -> 0x12 (hook for the 1.00 version)
0x01 => 0x16D390 lw s0,-0x5958(gp) -> 0x12 (hook for the 1.01 version)
0x03 => (sets something 0)
</syntaxhighlight>}}
=== Crash Twinsanity ===
{{boxcodelite|title=SLUS-20909|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 12 00 00 00 08 00 00 00
00 00 00 04 00 00 00 00 02 00 03 00 00 00 00 00
9B BF 2C B6 00 02 00 00 03 00 01 00 7C 15 2B 10
12 00 00 00 02 00 00 00 03 00 01 00 6C 19 2B 10
0A 00 00 00 03 00 00 00 30 1B 19 00 FB FF 40 54
00 00 00 00 34 1B 19 00 2F 18 71 00 00 00 00 00
38 1B 19 00 2F 10 23 02 00 00 00 00 0A 00 00 00
03 00 00 00 58 1C 19 00 FB FF 40 54 00 00 00 00
5C 1C 19 00 2F 18 71 00 00 00 00 00 60 1C 19 00
2F 10 23 02 00 00 00 00
}}
Multi-version config. First 0x12 command (taken from the GX/SOFT config) does fix the hang on the initial loading screen (VU0 interlock issue, EE execution is stalled). Second 0x12 command does add just a offset for the 2.00 version of the game, having the parameters from the first command still valid.
0x0A commands fix the in-game freezes (random ones or after loading the save). First one is for the 1.00 version, the second one for the 2.00 version. Probably the floating point accuracy issues are causing the subtracting results to deviate, trapping into the condition of branch.
{{boxcode|float=left|title=Commands Info|ps2configrev=17495|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x12 => 0x8
00 00 00 04
00 00 00 00
02 00 03 00 (type 2 subcommand, number of parameters: 3)
  00 00 00 00 (TPC register value)
  9B BF 2C B6 (CRC)
  00 02 00 00
03 00 01 00 (type 3 subcommand, number of parameters: 1)
  7C 15 2B 10 0x2B157C ctc2.i vi00,vi01 (EE memory offset with problematic stall in the 1.00 version)
0x12 => 0x2
03 00 01 00 (type 3 subcommand, number of parameters: 1)
  6C 19 2B 10 0x2B196C ctc2.i vi00,vi01 (EE memory offset with problematic stall in the 2.00 version)
0x0A => 0x3 (patch for the 1.00 version)
0x191B30
  0x5440FFFB bnel v0,zero,0x191B20 -> 0x00000000 nop
0x191B34
  0x0071182F dsubu v1,v1,s1 -> 0x00000000 nop
0x191B38
  0x0223102F dsubu v0,s1,v1 -> 0x00000000 nop
0x0A => 0x3 (patch for the 2.00 version)
0x191C58
  0x5440FFFB bnel v0,zero,0x191C48 -> 0x00000000 nop
0x191C5C
  0x0071182F dsubu v1,v1,s1 -> 0x00000000 nop
0x191C60
  0x0223102F dsubu v0,s1,v1 -> 0x00000000 nop
</syntaxhighlight>}}


== D ==
== D ==
{{jumptosection|current=D}}
{{jumptosection|current=D}}
=== Dawn of Mana ===
*Seiken Densetsu 4
{{boxcodelite|title=SLUS-21574, SLPM-66576|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 12 00 00 00 04 00 00 00
00 00 00 00 00 00 00 00 01 00 01 00 0C 00 DF 0D
2F 00 00 00 02 00 00 00
}}
Fixes graphical and sound glitches.<br>
This custom config is inspired in [https://github.com/Zarh/Get_CONFIG/blob/master/files/SLUS_215.74.CONFIG the official] from gxemu with an additional command 0x2F to fix the sound glitches
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x12 => 0x4
00 00 00 00
00 00 00 00 
01 00 01 00 (type 1 subcommand, number of parameters: 1)
0C 00 DF 0D
0x2F => 0x2 fixes sound reverb glitches
</syntaxhighlight>}}
=== Destroy All Humans! ===
{{boxcodelite|title=SLUS-20945|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 01 00 00 00
7C 82 1A 00 03 00 40 14 00 00 00 00 0E 00 00 00
24 BF 28 00 0E 00 00 00 84 C0 28 00 00 00 00 00
}}
Skips mipmapping to fix graphical glitches and fixes anal probe bug. Alpha effects are still visible through walls. This fix force exits a mipmapping-related math function, skips its calculations, and stores result as its default non-mipmapped value 1 at all times.
{{boxcode|float=left|title=Commands Info|ps2configrev=16454|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0A => 0x1 (1 patch to EE memory)
0x1A827C (force exits mipmapping function to avoid calculations)
  0x14400003 bnez v0,0x1A828C -> 0x00000000 nop
0x0E => 0x28BF24 sub.s f12,f15,f11 (fix for charged anal probe's enemy reaction)
0x0E => 0x28C084 sub.s f06,f05,f04 (fix for charged anal probe's enemy death)
</syntaxhighlight>}}
=== Destroy All Humans! 2 ===
{{boxcodelite|title=SLUS-21439|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 02 00 00 00
18 58 45 00 22 00 A0 05 22 00 00 10 24 8A 35 00
22 00 A0 05 22 00 00 10 00 00 00 00
}}
Skips mipmapping to fix graphical glitches. Alpha effects are still visible through walls. Both the 3D objects and 2D foliage mipmapping is force skipped and a mipmap related value is stored as 0 at all times.
{{boxcode|float=left|title=Commands Info|ps2configrev=16454|code=<syntaxhighlight lang=bash>
0x3D => 4457 (17495)
0x0A => 0x2 (2 patches to EE memory)
0x455818 (3D objects - force store value of 0 at 0x4558A8)
  0x05A00022 bltz t5,0x4558A4 -> 0x10000022 b 0x4558A4
0x358A24 (2D foliage - similar situation to 3D objects)
  0x05A00022 bltz t5,0x358AB0 -> 0x10000022 b 0x358AB0
</syntaxhighlight>}}
=== Dynasty Warriors 3 ===
*Dynasty Warriors 3: Xtreme Legends
{{boxcodelite|title=All|ps2configrev=15753|code=3D 00 00 00 89 3D 00 00 35 00 00 00 00 00 00 00}}
Fix blackscreen
{{boxcode|float=left|title=Commands Info|ps2configrev=15753|code=<syntaxhighlight lang=bash>
0x3D => 0x3D89 (15753)
0x35 => (enable Force Flip Field)
</syntaxhighlight>}}


== E ==
== E ==
Line 244: Line 40:
== F ==
== F ==
{{jumptosection|current=F}}
{{jumptosection|current=F}}
=== FIFA 2004 ===
{{boxcodelite|title=SLES-51953, SLES-51963|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 01 00 00 00
60 81 33 00 79 00 40 1A 79 00 00 10 0A 00 00 00
01 00 00 00 30 82 33 00 79 00 40 1A 79 00 00 10
00 00 00 00
}}
Multi-version config. Disables the generation of mipmaps.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0A => 0x1 (patch for the SLES-51953 1.00/SLES-51963 1.01 version)
0x338160
  0x1A400079 blez s2,0x338348 -> 0x10000079 beq zero,zero,0x338348
0x0A => 0x1 (patch for the 2.00 version)
0x338230
  0x1A400079 blez s2,0x338418 -> 0x10000079 beq zero,zero,0x338418
</syntaxhighlight>}}
=== Flipnic ===
*Flipnic: Ultimate Pinball
{{boxcodelite|title=SCPS-15050, SLES-52065, SLUS-21157|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 46 00 00 00 47 00 00 00
50 00 00 00 00 00 00 00
}}
Removes horizontal lines at full screen, reduces screen shakes little bit and enables pressure sensitive controls.
{{boxcode|float=left|title=Commands Info|ps2configrev=17495|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x46 => (enable L2H Improvement)
0x47 => (enable XOR CSR)
0x50 => (enable pressure sensitive controls)
</syntaxhighlight>}}
=== Forbidden Siren 2 ===
{{boxcodelite|title=SCES-53851|ps2configrev=16886|code=
3D 00 00 00 F6 41 00 00 0A 00 00 00 02 00 00 00
44 2B 2E 00 FF 49 C9 4B 00 90 44 48 4C 2B 2E 00
00 90 44 48 FF 49 C9 4B 00 00 00 00
}}
Graphic issues with Spiky Polygons
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x41F6 (16886)
0x0A => 0x2
  0x2E2B44, 0x4BC949FF (vclip vf09xyz, vf09w), 0x48449000 (cfc2    $a1, $18)
  0x2E2B4C, 0x48449000 (cfc2    $a1, $18)    , 0x4BC949FF (vclip vf09xyz, vf09w)
</syntaxhighlight>}}
=== Forever Kingdom ===
{{boxcodelite|title=SLUS-20343|ps2configrev=16454|code=
3D 00 00 00 46 40 00 00 26 00 00 00 00 DC 21 00
00 DD 21 00 00 00 00 00
}}
Fix for bridge that can't be crossed after opening.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4046 (16454)
0x26 => 0x21DC00, 0x21DD00 (Improve floats calculation)
</syntaxhighlight>}}
=== Freekstyle ===
{{boxcodelite|title=SLUS-20658|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0B 00 00 00 01 00 00 00
40 4B 04 00 C0 00 00 00 24 00 00 00 00 43 20 21
14 A0 00 02 00 00 00 00 24 05 00 01 10 C0 FF EC
24 84 00 04 3C 02 00 01 3C 01 00 01 24 90 FF FC
00 43 80 21 14 A0 00 02 00 00 00 00 24 05 00 01
10 C0 FF FC 00 00 00 00 3C 02 00 01 3C 01 00 01
26 04 00 04
}}
Port of ps2_gxemu's Rumble Racing config. Fixes black screen after Playstation 2 logo. Patch applies to function UAudIOP_UpdateEE in AUDIO.IRX file in MODULES folder. Offset on disc sector is 0xB4, but netemu requires +0xC offset adjustment. It is because the game does read sectors in a block of 2340 bytes.


== G ==
== G ==
{{jumptosection|current=G}}
{{jumptosection|current=G}}
=== Galerians Ash ===
{{boxcodelite|title=SLES-51343|ps2configrev=4369|code=
3D 00 00 00 11 11 00 00 0A 00 00 00 05 00 00 00
30 71 1E 00 00 00 00 00 50 71 01 3C 38 71 1E 00
43 01 05 46 00 28 81 44 50 71 1E 00 83 01 06 46
00 30 81 44 60 71 1E 00 C3 01 07 46 00 38 81 44
70 71 1E 00 03 00 01 46 00 00 81 44 00 00 00 00
}}
Fixes missing texts/animations. Game generate very high float number (0x7F7FFFFF) on FPU, and use it for calculations, that finally make GS Q register to get bad value, most likely interpreted as Nan. Fix force lowered float on fpu, making later calculations to fit in range.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x1111 (4369)
0x0A => 5 patches to EE
first patch replace nop with lui at, 0x7150
next 4 patches move that value to $f00,$f05,$f06,$f07
</syntaxhighlight>}}
=== Ghosthunter ===
{{boxcodelite|title=SLUS-20993|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0E 00 00 00 84 2B 29 00
0B 00 00 00 01 00 00 00 A7 06 00 00 98 02 00 00
14 00 00 00 4A 00 02 FF 48 45 88 00 4B E0 19 BF
4B EA 48 BC 4B EA 18 8C 4B E0 19 BF 4B EA 48 BC
4B EA 18 8C 4A 00 02 FF 48 45 88 00 00 00 00 00
}}
Fixes random minor flickering, and ladder bug (see: [https://www.youtube.com/watch?v=WbJzzMYQLI0] )
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0E => 0x292B84 (Improve floating point subtract accuracy)
0x0B => Disc patch for hidden elf
</syntaxhighlight>}}
=== Ghost Rider ===
{{boxcodelite|title=SLES-54317|ps2configrev=16886|code=3D 00 00 00 F6 41 00 00 40 00 00 00 00 00 00 00}}
Texture fix: white overblending ingame
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x41F6 (16886)
0x40 => (sets some value 1)
</syntaxhighlight>}}
=== Gust Engine games ===
*Ar tonelico series
*Atelier series
*Mana Khemia series
*Taishou Mononoke Ibunroku
{{boxcodelite|title=Various<br>Ported from [[PS2_Official_Configs#Mana_Khemia_2:_Fall_of_Alchemy|Mana Khemia 2: Fall of Alchemy]]|ps2configrev=16792|code=
3D 00 00 00 98 41 00 00 1B 00 00 00 15 00 00 00
04 00 00 00
}}
Fixes the black screen. 0x15 command included in addition to the GX/SOFT configs.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4198 (16792)
0x1B => (sets some value 1)
0x15 => 0x4
</syntaxhighlight>}}


== H ==
== H ==
{{jumptosection|current=H}}
{{jumptosection|current=H}}
=== Hot Wheels: World Race ===
{{boxcodelite|title=SLUS-20737|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 01 00 00 00
DC 7B 1A 00 0A BC 0A 0C 00 00 00 00 0E 00 00 00
40 E0 2A 00
}}
Fixes black screen after PlayStation 2 logo. Skips some VIF1 flag being set to avoid some infinite loops in a couple functions reading VIF1 data from DMAC (0x10009000). Fix also applies to The Italian Job (SLUS-20784 and SLES-51761).
{{boxcode|float=left|title=Commands Info|ps2configrev=16454|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0A => 0x1 (1 patch to EE memory)
0x1A7BDC (skips some VIF related flag from being set)
  0xC0ABC0A jal 0x002AF028 -> 0x00000000 nop
0x0E => 0x2AE040 sub.s f00,f00,f03 (fix for graphical glitch in cloud levels)
</syntaxhighlight>}}


== I ==
== I ==
{{jumptosection|current=I}}
{{jumptosection|current=I}}
=== Ice Age 2 The Meltdown ===
<div style="float:right;">
{{boxcodelite|title=SLUS-21307 (standard config)|ps2configrev=15753|code=
3D 00 00 00 89 3D 00 00 0B 00 00 00 01 00 00 00
31 05 00 00 8C 03 00 00 40 00 00 00 27 BD FE E0
24 06 00 6C FF BF 00 70 03 A0 20 2D 7F B0 00 80
8C B0 00 00 0C 0C 88 B5 00 00 28 2D 02 00 20 2D
0C 0A 84 CE 03 A0 28 2D 7B B0 00 80 03 A0 10 2D
DF BF 00 70 03 E0 00 08 27 BD 01 20 27 BD FF 70
24 06 00 6C FF BF 00 70 03 A0 20 2D 7F B0 00 80
8C B0 00 00 0C 0C 88 B5 00 00 28 2D 02 00 20 2D
0C 0A 84 CE 03 A0 28 2D 7B B0 00 80 03 A0 10 2D
DF BF 00 70 03 E0 00 08 27 BD 00 90 00 00 00 00
53 4C 55 53 2D 32 31 33 30 37
}}
<br>
{{boxcodelite|title=SLUS-21307 (alternative config)|ps2configrev=16740|code=
3D 00 00 00 64 41 00 00 0A 00 00 00 02 00 00 00
80 EB 2F 00 70 FF BD 27 00 FC 03 08 84 EB 2F 00
6C 00 06 24 00 00 00 00 42 00 00 00 00 F0 0F 00
10 00 00 00 E0 FE BD 27 6C 00 06 24 70 00 BF FF
2D 20 A0 03 80 00 B0 7F 00 00 B0 8C B5 88 0C 0C
2D 28 00 00 2D 20 00 02 CE 84 0A 0C 2D 28 A0 03
80 00 B0 7B 2D 10 A0 03 70 00 BF DF 08 00 E0 03
20 01 BD 27 00 00 00 00
}}
</div>
*Standard config fixes the freeze at the game logo. Function allocate too small stack, causing issues later. This patch fix it.
*Alternative config to show 0x42 command usage, as a bonus is using less code than original to do the same.
{{boxcode|float=left|title=Commands Info (alternative config)|code=<syntaxhighlight lang=bash>
0x3D => 0x4164 (16740)
0x0A => 0x2
  0x2FEB80, 0x27BDFF70  addiu $sp,-0x90,  0x0803FC00  j 0xFF000 [address of patch area from 0x42]
  0x2FEB84, 0x2406006C  li    $a2, 0x6C,  0x00000000  nop
0x42 => 0xFF000, 0x10
  0x27BDFEE0  addiu  $sp, -0x120
  0x2406006C  li      $a2, 0x6C
  0xFFBF0070  sd      $ra, 0x90+var_20($sp)
  0x03A0202D  move    $a0, $sp
  0x7FB00080  sq      $s0, 0x90+var_10($sp)
  0x8CB00000  lw      $s0, 0($a1)
  0x0C0C88B5  jal    sub_3222D4
  0x0000282D  move    $a1, $zero
  0x0200202D  move    $a0, $s0
  0x0C0A84CE  jal    sub_2A1338
  0x03A0282D  move    $a1, $sp
  0x7BB00080  lq      $s0, 0x90+var_10($sp)
  0x03A0102D  move    $v0, $sp
  0xDFBF0070  ld      $ra, 0x90+var_20($sp)
  0x03E00008  jr      $ra
  0x27BD0120  addiu  $sp, 0x120
</syntaxhighlight>}}


== J ==
== J ==
Line 471: Line 55:
== K ==
== K ==
{{jumptosection|current=K}}
{{jumptosection|current=K}}
=== Kingdom Hearts II ===
{{boxcodelite|title=SLUS-21005|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 26 00 00 00 B0 7C 1D 00
FC 85 1D 00 2F 00 00 00 02 00 00 00
}}
Fixes Hostile Program Boss issue, and sound glitches.<br>
This custom config is inspired in [https://github.com/Zarh/Get_CONFIG/blob/master/files/SLUS_210.05.CONFIG the official] from gxemu with an additional command 0x2F to fix the sound glitches
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 4457 (17495)
0x26 => 0x1D7CB0, 0x1D85FC
0x2F => 0x2 fixes sound reverb glitches
</syntaxhighlight>}}
=== Kuon ===
{{boxcodelite|title=SLUS-21007, SLES-53411, SLPS-25329|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0E 00 00 00 24 41 10 00
}}
Fixes bugged Sugoroku minigame. 0x0E does work with the COP2 macroinstructions too it seems.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0E -> 0x104124 vsubx.w vf07,vf00,vf07x
</syntaxhighlight>}}


== L ==
== L ==
{{jumptosection|current=L}}
{{jumptosection|current=L}}
=== Legacy of Kain: Soul Reaver 2 ===
{{boxcodelite|title=SLES-50196|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 01 00 00 00
80 1F 2A 00 01 00 00 00 00 00 00 00 0F 00 00 00
A0 F1 11 00 AC F2 11 00 00 00 00 00
}}
Fixes texture flickering by turning off mipmapping and appearing of missing pillar in Dark Reaver puzzle.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0A => 0x1
0x2A1F80
  0x00000001 -> 0x00000000
0x0F => 0x11F1A0, 0x11F2AC
</syntaxhighlight>}}


== M ==
== M ==
{{jumptosection|current=M}}
{{jumptosection|current=M}}
=== Mafia ===
{{boxcodelite|title=SLUS-20671|ps2configrev=15753|code=
3D 00 00 00 89 3D 00 00 09 00 00 00 05 00 00 00
B0 68 3E 00 34 A3 0F 0C 9C 90 84 8F 00 10 01 3C
08 00 02 24 B8 68 3E 00 08 00 02 24 01 00 05 24
9C 90 84 8F 10 3C 22 AC C0 68 3E 00 10 3C 22 AC
00 10 01 3C 01 00 05 24 34 A3 0F 0C B4 2B 3E 00
FF FF 02 24 0A 00 50 10 FF FF 02 24 00 00 00 00
4C F0 16 00 00 60 80 44 50 07 42 8E 00 60 80 44
0D 00 00 10 00 00 00 00
}}
Fix freeze at start. Additional two patches comparing to gxemu included here allow to avoid tlb misses in some places, and are required to finish game.
=== Mana Khemia: Alchemists of Al-Revis ===
See: [[#Gust Games (Video Game Developer)|Gust Games (Video Game Developer)]]


== N ==
== N ==
Line 547: Line 70:
== P ==
== P ==
{{jumptosection|current=P}}
{{jumptosection|current=P}}
=== Phase Paradox ===
{{boxcodelite|title=SCPS-15005|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 12 00 00 00
00 C0 0F 00 00 00 00 00 4C 00 5B 3C 04 C0 0F 00
00 00 00 00 4C 0C 7B 37 08 C0 0F 00 00 00 00 00
02 00 71 17 10 C0 0F 00 00 00 00 00 2D 18 00 00
14 C0 0F 00 00 00 00 00 00 00 23 AE 18 C0 0F 00
00 00 00 00 00 00 5B 3C 1C C0 0F 00 00 00 00 00
A6 E4 0B 08 20 C0 0F 00 00 00 00 00 00 00 7B 37
90 92 2F 00 00 00 23 AE 00 F0 03 08 E0 8A 27 00
00 00 62 AC 00 00 60 AC CC 21 2C 00 2C 00 07 3C
08 00 E0 03 D0 21 2C 00 00 00 B0 FF 20 00 BD 27
00 00 00 00
}}
Disables shadows, blur, and color overlay effects to fix frame rate/desync.
=== Project: Snowblind ===
{{boxcodelite|title=SLUS-21037|ps2configrev=1337|code=
3D 00 00 00 39 05 00 00 0B 00 00 00 03 00 00 00
69 02 00 00 78 00 00 00 04 00 00 00 10 00 00 07
45 00 00 07 00 0C 0D 00 78 05 00 00 04 00 00 00
10 00 00 07 45 00 00 07 BB 15 0D 00 F8 05 00 00
04 00 00 00 10 00 00 07 45 00 00 07 00 00 00 00
}}
Fixes mipmap/texturing issues


== Q ==
== Q ==
{{jumptosection|current=Q}}
{{jumptosection|current=Q}}
=== Quake III: Revolution ===
{{boxcodelite|title=SLUS-20167|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 02 00 00 00
98 03 2D 00 40 FF BD 27 08 00 E0 03 9C 03 2D 00
A0 00 BE 7F 00 00 00 00 00 00 00 00
}}
Breaks creation of mipmaps to fix graphical issues / flickering (ps2_netemu not support mipmapping)
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0A => 0x2
0x2D0398 (EngineTextureManager::GenerateMipMapChain)
  0x27BDFF40 addiu sp,-0xC0 -> 0x03E00008 jr ra
0x2D039C
  0x7FBE00A0 sq fp,0xA0(sp) -> 0x00000000 nop
</syntaxhighlight>}}


== R ==
== R ==
{{jumptosection|current=R}}
{{jumptosection|current=R}}
=== Radiata Stories ===
{{boxcodelite|title=SLUS-21262|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 07 00 00 00 08 00 00 00
01 00 00 00 94 4D 12 00 0A 00 00 00 01 00 00 00
18 F6 1A 00 0B 00 00 00 44 00 00 00 0A 00 00 00
04 00 00 00 04 50 12 00 FA FF 00 10 FA FF 00 14
A4 50 12 00 FA FF 00 10 FA FF 00 14 5C 20 14 00
FA FF 00 10 FA FF 00 14 54 F7 22 00 01 00 03 24
2D 18 00 00 21 00 00 00 00 00 00 00 00 00 00 00
}}
Fixes black screen and improves the frame rate by disabling the shadows rendered using the stencil buffer. Potential game protection traps are disabled too. Original patches found by Maori-Jigglypuff. Tri-Ace specific hooks are applied (0x0A for the executable decryption, 0x0B for DMA function) along with a disable smoothing command (smoothing does not work well with the tri-Ace games, causing ghosting and frame rate issues). 0x21 command does fix post battle camera inaccuracy on the second or third consecutive battle onwards.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x07 => 0x8 (XGKICK delay by 8 cycles)
0x01 => 0x124D94 lui at,0x001A -> 0x0A
0x01 => 0x1AF618 slti at,s2,0x2800 -> 0x0B
0x44 => (disable smoothing)
0x0A => 0x4
//Disable protection traps
0x125004
  0x1000FFFA beqz zero,0x124FF0 -> 0x1400FFFA bnez zero,0x124FF0
0x1250A4
  0x1000FFFA beqz zero,0x125090 -> 0x1400FFFA bnez zero,0x125090
0x14205C
  0x1000FFFA beqz zero,0x142048 -> 0x1400FFFA bnez zero,0x142048
//Disable stencil shadows
0x22F754
  0x24030001 addiu v1,zero,0x1 -> 0x0000182D daddu v1,zero,zero
0x21 => 0x0
</syntaxhighlight>}}
=== Run Like Hell ===
{{boxcodelite|title=SLES-51345|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 04 00 00 00
34 45 1D 00 0B FA 07 4B FF 02 00 4A 44 45 1D 00
FF 02 00 4A 0B FA 07 4B 20 47 1D 00 BE F8 07 4B
FF 02 00 4A 30 47 1D 00 AC F7 FE 4B 0B FA 07 4B
00 00 00 00
}}
Fixes main character flickering/texturing
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0A => 0x4
  0x1D4534 0x4B07FA0B (vmaddw.x vf8, vf31, vf7w) , 0x4A0002FF (vnop)
  0x1D4544 0x4A0002FF (vnop)                    , 0x4B07FA0B (vmaddw.x vf8, vf31, vf7w)
  0x1D4720 0x4B07F8BE (vmaddaz.x ACC, vf31, vf7z), 0x4A0002FF (vnop)
  0x1D4750 0x4BFEF7AC (vsub.xyzw vf31,vf31,vf31) , 0x4B07FA0B (vmaddw.x vf8, vf31, vf7w)
</syntaxhighlight>}}


== S ==
== S ==
{{jumptosection|current=S}}
{{jumptosection|current=S}}
=== Silent Hill 2 ===
{{boxcodelite|title=SLUS-20228|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0E 00 00 00 D4 35 17 00
0E 00 00 00 B4 53 17 00 0F 00 00 00 34 3F 17 00
54 3F 17 00 0F 00 00 00 14 5D 17 00 34 5D 17 00
50 00 00 00 00 00 00 00
}}
Fixes the missing polygons on characters (inaccuracy in function shMulMatrix) and the incorrect camera angles (inaccuracy in function sh_ecossin). Enables the pressure sensitivity for melee attack differentiation.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0E => 0x1735D4 (offset in the original version)
0x0E => 0x1753B4 (offset in the Greatest Hits version)
0x0F => 0x173F34, 0x173F54 (range in the original version)
0x0F => 0x175D14, 0x175D34 (range in the Greatest Hits version)
0x50 => (enable pressure sensitive controls)
</syntaxhighlight>}}
=== Silent Hill 3 ===
<div style="float:right;">
<br>
{{boxcodelite|title=SLUS-20622|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0E 00 00 00 34 AC 19 00
}}
</div>
Fixes camera inaccuracies.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0E => 0x19AC34 madda.s f13,f10
</syntaxhighlight>}}
=== Silent Hill: Origins ===
{{boxcodelite|title=SLES-55147, SLUS-21731|ps2configrev=16886|code=3D 00 00 00 F6 41 00 00 40 00 00 00 00 00 00 00}}
Fixes white overblending at burning house
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x41F6 (16886)
0x40 => (sets some value 1)
</syntaxhighlight>}}
=== Star Ocean: Till the End of Time ===
{{boxcodelite|title=SLUS-20488, SLUS-20891, SLES-82028, SLES-82029|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 07 00 00 00 08 00 00 00
01 00 00 00 48 09 10 00 0A 00 00 00 2E 00 00 00
72 01 00 00 44 00 00 00 50 00 00 00 00 00 00 00
}}
Fixes black screen (0x01 tri-Ace specific hook, adds a value of 1 to pass the decryption process of executable), disables smoothing (causes ghosting and frame rate problems), enables the pressure sensitivity needed for playing songs on the Dragon Bone Flute.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x07 => 0x8 (XGKICK delay by 8 cycles)
0x01 => 0x100948 daddu a0,s5,zero -> 0x0A
0x2E => 0x172
0x44 => (disable smoothing)
0x50 => (enable pressure sensitive controls)
</syntaxhighlight>}}
=== Star Wars: Battlefront II ===
{{boxcodelite|title=SLUS-21240|ps2configrev=15753|code=
3D 00 00 00 89 3D 00 00 01 00 00 00 84 B7 49 00
05 00 00 00 01 00 00 00 04 97 49 00 05 00 00 00
00 00 00 00
}}
Fixes the freeze. Works with both versions of the game.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 3D89 (15753)
0x01 => 0x49B784 lui v0,0x1000 -> 0x05 (hook for the v1.01, applies to SWBFRNT2.ELF)
0x01 => 0x499704 lui v0,0x1000 -> 0x05 (hook for the v2.01, applies to SWBFRNT2.ELF)
</syntaxhighlight>}}
=== Star Wars: Jedi Starfighter ===
{{boxcodelite|title=SLES-50371|ps2configrev=15717|code=
3D 00 00 00 65 3D 00 00 0A 00 00 00 01 00 00 00
98 33 32 00 B4 6B 11 0C 00 00 00 00 00 00 00 00
}}
Without it title calls PS2::Exit() at the end of a bonus stage.
=== Star Wars: The Clone Wars – Republic Heroes ===
{{boxcodelite|title=SLUS-21913|ps2configrev=1337|code=
3D 00 00 00 39 05 00 00 0A 00 00 00 01 00 00 00
28 33 17 00 FF FF 64 34 FD FF 64 34 00 00 00 00
}}
Fix graphical gliches, subtitles, QTE buttons, missing HUD
=== Star Wars: The Force Unleashed ===
{{boxcodelite|title=SLES-54658|ps2configrev=1337|code=
3D 00 00 00 39 05 00 00 0A 00 00 00 02 00 00 00
84 CB 17 00 FF FF 64 34 F0 FF 64 34 90 CB 17 00
FE FF 63 34 FC FF 63 34 00 00 00 00
}}
Fix graphical gliches, subtitles, QTE buttons, missing HUD
=== SRS: Street Racing Syndicate ===
Fix for the opening splash screen freeze. Compatible with both versions of the game <abbr title="The official GX config is only compatible with v1.03">v1.03 and v2.00</abbr>
{{boxcodelite|title=SLUS-20582|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 10 00 00 00
44 55 10 00 20 00 B0 7F E8 FF 03 08 68 56 10 00
F8 7E 04 0C F4 FF 03 08 A0 FF 0F 00 00 00 00 00
20 00 B0 7F A4 FF 0F 00 00 00 00 00 55 00 10 3C
A8 FF 0F 00 00 00 00 00 01 00 02 24 AC FF 0F 00
00 00 00 00 78 21 03 8E B0 FF 0F 00 00 00 00 00
02 00 43 14 B8 FF 0F 00 00 00 00 00 78 21 00 AE
BC FF 0F 00 00 00 00 00 53 15 04 08 C0 FF 0F 00
00 00 00 00 20 00 B0 7B D0 FF 0F 00 00 00 00 00
55 00 04 3C D4 FF 0F 00 00 00 00 00 01 00 02 24
D8 FF 0F 00 00 00 00 00 78 21 82 AC DC FF 0F 00
00 00 00 00 F8 7E 04 0C E0 FF 0F 00 00 00 00 00
68 21 80 AC E8 FF 0F 00 00 00 00 00 9C 15 04 08
15 00 00 00 04 00 00 00 0B 00 00 00 01 00 00 00
5D 01 00 00 68 06 00 00 14 00 00 00 00 00 00 00
0C 04 7E A8 00 00 00 00 00 00 00 00 10 40 FF FC
0C 04 7E A8 00 00 00 00 00 00 00 00 00 00 00 00
10 40 FF FB 01 00 00 00 40 55 10 00 1B 00 00 00
01 00 00 00 68 56 10 00 1C 00 00 00 00 00 00 00
}}
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
.
..
...
</syntaxhighlight>}}


== T ==
== T ==
{{jumptosection|current=T}}
{{jumptosection|current=T}}
=== Tales of the Abyss ===
<div style="float:right;">
<br>
{{boxcodelite|title=SLUS-21386|ps2configrev=15717|code=
3D 00 00 00 65 3D 00 00 0E 00 00 00 F4 21 29 00
}}
</div>
Fixes the freeze at the Choral Castle.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x3D65 (15717)
0x0E => 0x2921F4 add.s f00,f11,f00
</syntaxhighlight>}}
=== Tenchu: Wrath of Heaven ===
{{boxcodelite|title=SLUS-20397, SLES-50679|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 04 00 00 00
0C 66 17 00 00 00 A2 A0 00 00 00 00 28 66 17 00
00 00 A2 A0 00 00 00 00 C8 C9 2D 00 A6 00 60 10
A6 00 00 10 88 F6 1A 00 2C 00 40 10 2C 00 00 10
07 00 00 00 08 00 00 00
}}
Stops the storing of some bytes to GIF channel on DMAC (0x1000A000) in function dma2Exec to prevent freezing when values are bad. Additionally skips shadow and mist rendering to fix slowdown.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0A => 0x4
0x17660C (first byte)
  0xA0A20000 sb v0,(a1) -> 0x00000000 nop
0x176628 (second byte)
  0xA0A20000 sb v0,(a1) -> 0x00000000 nop
0x2DC9C8 (skips shadow rendering)
  0x106000A6 beq v1,zero,0x2DCC64 -> 0x100000A6 b 0x2DCC64
0x1AF688 (skips mist rendering)
  0x1040002C beq v0,zero,0x1AF73C -> 0x1000002C b 0x1AF73C
0x07 => 0x8 (XGKICK delay by 8 cycles, taken from GX config)
</syntaxhighlight>}}
=== Tokyo Extreme Racer 3 ===
{{boxcodelite|title=All regions|ps2configrev=17041|code=
3D 00 00 00 91 42 00 00 48 00 00 00 01 00 00 00
F0 49 02 00 00 00 00 00
}}
Fix screen jumps
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
Vsync Delay -> No IPU 150,000
</syntaxhighlight>}}
=== True Crime: NYC ===
{{boxcodelite|title=SLUS-21106|ps2configrev=15753|code=
3D 00 00 00 89 3D 00 00 27 00 00 00 D8 2A 41 00
50 2E 41 00 00 00 00 00
}}
Fixes freeze when something in 3D appearing
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x3D89 (15753)
0x27 => 0x412AD8, 0x412E50
</syntaxhighlight>}}


== U ==
== U ==
Line 863: Line 88:
== V ==
== V ==
{{jumptosection|current=V}}
{{jumptosection|current=V}}
=== Valkyrie Profile 2: Silmeria ===
{{boxcodelite|title=SLES-54644|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 1F 00 00 00
78 6E 3D 00 31 00 60 10 31 00 00 10 D0 5A 11 00
A8 00 B3 8F 00 00 00 00 24 6C 24 00 36 00 01 46
30 00 01 46 28 7C 2B 00 2A 08 83 02 00 00 01 64
7C 0A 10 00 FA FF 00 10 FA FF 00 14 B4 0B 10 00
FA FF 00 10 FA FF 00 14 64 0C 10 00 FA FF 00 10
FA FF 00 14 3C 53 14 00 FA FF 00 10 FA FF 00 14
D4 39 42 00 00 00 64 AC 00 00 60 AC B4 33 42 00
00 00 56 8C 00 00 16 24 68 35 42 00 00 00 56 8C
00 00 16 24 20 37 42 00 00 00 56 8C 00 00 16 24
5C 9F 49 00 A4 6E 12 0C 00 00 00 00 94 09 43 00
FA FF 00 10 00 00 00 00 FC 09 43 00 FA FF 00 10
00 00 00 00 54 1A 43 00 00 00 43 AC 00 00 40 AC
B0 7B 39 00 F9 FF 40 14 00 00 00 00 70 BE 3A 00
17 00 60 1C 17 00 00 10 1C F1 3A 00 FA FF 00 10
00 00 00 00 B4 F2 3A 00 FA FF 00 10 00 00 00 00
74 F3 3A 00 FA FF 00 10 00 00 00 00 84 54 3C 00
FA FF 00 10 00 00 00 00 7C FA 3C 00 FA FF 00 10
00 00 00 00 6C 22 3D 00 20 00 20 14 20 00 00 10
54 45 3D 00 FA FF 00 10 00 00 00 00 B4 CF 3A 00
2E 00 20 10 2E 00 00 10 64 D4 3A 00 2E 00 20 10
2E 00 00 10 9C D0 3A 00 50 00 20 10 50 00 00 10
3C D2 3A 00 50 00 20 10 50 00 00 10 3C D5 3A 00
02 00 03 64 00 00 03 64 A4 1A 43 00 02 00 03 64
00 00 03 64 07 00 00 00 08 00 00 00 01 00 00 00
08 98 2B 00 0B 00 00 00 01 00 00 00 28 09 10 00
0A 00 00 00 44 00 00 00 00 00 00 00
}}
Fixes the black screen and fully disable game protection, shadows, in-battle ghosting, and enable frame skipping in towns to fix performance issues. Game protection and shadow disable codes found by Maori-Jigglypuff. Smoothing is disabled in the config to prevent ghosting issues. Two hooks are applied: the 0x0A does add a value of 1 to pass executable's decryption process. The 0x0B hook does apply to some DMA function.
{{boxcode|float=left|title=Commands Info|ps2configrev=16454|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0A => 0x1F
//Enable frame skipping in towns
0x3D6E78
  0x10600031 beqz v1,0x3D6F40 -> 0x10000031 beqz zero,0x3D6F40
//Disable ghosting
0x115AD0
  0x8FB300A8 lw s3,0xA8(sp) -> 0x00000000 nop
//Disable shadows
0x246C24
  0x46010036 c.le.s $f0, $f1 -> 0x46010030 c.f.s $f0, $f1
0x2B7C28
  0x0283082A slt at,s4,v1 -> 0x64010000 daddiu at,zero,0x0
//Disable protection traps
0x100A7C
  0x1000FFFA beqz zero,0x100A68 -> 0x1400FFFA bnez zero,0x100A68
0x100BB4
  0x1000FFFA beqz zero,0x100BA0 -> 0x1400FFFA bnez zero,0x100BA0
0x100C64
  0x1000FFFA beqz zero,0x100C50 -> 0x1400FFFA bnez zero,0x100C50
0x14533C
  0x1000FFFA beqz zero,0x145328 -> 0x1400FFFA bnez zero,0x145328
//Disable timebomb and memory scanning
0x4239D4
  0xAC640000 sw a0,(v1) -> 0xAC600000 sw zero,(v1)
0x4233B4
  0x8C560000 lw s6,(v0) -> 0x24160000 addiu s6,zero,0x0
0x423568
  0x8C560000 lw s6,(v0) -> 0x24160000 addiu s6,zero,0x0
0x423720
  0x8C560000 lw s6,(v0) -> 0x24160000 addiu s6,zero,0x0
//Disable save game corruptor
0x499F5C
  0x0C126EA4 jal 0x49BA90 -> 0x00000000 nop
//Disable protection traps, timebomb and memory scanning after the battle
0x430994
  0x1000FFFA beqz zero,0x430980 -> 0x00000000 nop
0x4309FC
  0x1000FFFA beqz zero,0x4309E8 -> 0x00000000 nop
0x431A54
  0xAC430000 sw v1,(v0) -> 0xAC400000 sw zero,(v0)
0x397BB0
  0x1440FFF9 bnez v0,0x397B98 -> 0x00000000 nop
0x3ABE70
  0x1C600017 bgtz v1,0x3ABED0 -> 0x10000017 beqz zero,0x3ABED0
0x3AF11C
  0x1000FFFA beqz zero,0x3AF108 -> 0x00000000 nop
0x3AF2B4
  0x1000FFFA beqz zero,0x3AF2A0 -> 0x00000000 nop
0x3AF374
  0x1000FFFA beqz zero,0x3AF360 -> 0x00000000 nop
0x3C5484
  0x1000FFFA beqz zero,0x3C5470 -> 0x00000000 nop
0x3CFA7C
  0x1000FFFA beqz zero,0x3CFA68 -> 0x00000000 nop
0x3D226C
  0x14200020 bnez at,0x3D22F0 -> 0x10000020 beqz zero,0x3D22F0
0x3D4554
  0x1000FFFA beqz zero,0x3D4540 -> 0x00000000 nop
0x3ACFB4
  0x1020002E beqz at,0x3AD070 -> 0x1000002E beqz zero,0x3AD070
0x3AD464
  0x1020002E beqz at,0x3AD520 -> 0x1000002E beqz zero,0x3AD520
0x3AD09C
  0x10200050 beqz at,0x3AD1E0 -> 0x10000050 beqz zero,0x3AD1E0
0x3AD23C
  0x10200050 beqz at,0x3AD380 -> 0x10000050 beqz zero,0x3AD380
0x3AD53C
  0x64030002 daddiu v1,zero,0x2 -> 0x64030000 daddiu v1,zero,0x0
0x431AA4
  0x64030002 daddiu v1,zero,0x2 -> 0x64030000 daddiu v1,zero,0x0
0x07 => 8 (XGKICK delay by 8 cycles)
0x01 => 0x2B9808 slti at,s2,0x2800 -> 0x0B
0x01 => 0x100928 sqc2 vf3,(v0) -> 0x0A
0x44 => (disable smoothing)
</syntaxhighlight>}}


== W ==
== W ==
{{jumptosection|current=W}}
{{jumptosection|current=W}}
=== Whiplash ===
{{boxcodelite|title=SLES-51958|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 01 00 00 00
84 D5 25 00 07 00 02 45 07 00 00 10 00 00 00 00
}}
Trick game to not produce mipmaps. Fix graphical issues.


== X ==
== X ==
{{jumptosection|current=X}}
{{jumptosection|current=X}}
=== Xenosaga Episode I: Der Wille zur Macht ===
{{boxcodelite|title=SLUS-20469|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 0A 00 00 00 02 00 00 00
20 F5 24 00 E0 FF BD 27 08 00 E0 03 24 F5 24 00
2D 30 80 00 00 00 00 00 0E 00 00 00 94 24 32 00
0E 00 00 00 90 2B 32 00 41 00 00 00 00 00 00 00
}}
Fixes black and white cutscene appearing as black screen by disabling filter, fixes freeze in Beach of Nothingness cutscene, and fixes immoveable character (and camera inaccuracy) in "AGWS Parts Shop & Foundation Robot Academy" segment.
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x3D => 0x4457 (17495)
0x0A => 0x2 (2 patches to EE memory)
0x24F520 (DefocusMainType09 - responsible for black and white cutscene filter)
  0x27BDFFE0 addiu sp,sp,-0x20 -> 0x03E00008 jr ra
0x24F524
  0x0080302D daddu a2,a0,zero -> 0x00000000 nop
0x0E => 0x322494 sub.s f01,f01,f10 (in function UnduCheckSub for AGWS Parts Shop bug)
0x0E => 0x322B90 sub.s f00,f00,f02 (in function UnduCheckSubCrossCheck for AGWS Parts Shop bug)
0x41 => ignores D_ENABLEW writes from EE (fix for freeze in Beach of Nothingness cutscene)
</syntaxhighlight>}}


== Y ==
== Y ==
{{jumptosection|current=Y}}
{{jumptosection|current=Y}}
=== Yakuza ===
{{boxcodelite|title=SLUS-21348|ps2configrev=17495|code=
3D 00 00 00 57 44 00 00 10 00 00 00 08 B3 1A 00
08 B3 1A 00 00 00 00 00
}}
Fix loading screen freeze after battles in chapter 3, 7, 10 (more?)
{{boxcode|float=left|title=Commands Info|code=<syntaxhighlight lang=bash>
0x10 => 0x1AB308 div.s f00,f12,f13, 0x1AB308 div.s f00,f12,f13
</syntaxhighlight>}}


== Z ==
== Z ==
{{jumptosection|current=Z}}
{{jumptosection|current=Z}}
<!-- Hidden Table Of Contents, it was just a temporal help for wiki editors to review the page, but not intended to be displayed permanently
__TOC__
-->


{{Games}}{{Reverse engineering}}<noinclude>[[Category:Games]]</noinclude>
{{Games}}{{Reverse engineering}}<noinclude>[[Category:Games]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)