Skip to content

Commit 166d245

Browse files
committed
Add SpyHunter Widescreen and 50/60 FPS patches
1 parent 2f7055e commit 166d245

File tree

2 files changed

+45
-7
lines changed

2 files changed

+45
-7
lines changed

patches/SLES-50268_B5BF9785.pnach

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
gametitle=Spy Hunter (PAL) (SLES-50268)
2+
3+
[Widescreen 16:9]
4+
gsaspectratio=16:9
5+
author=Souzooka
6+
description=16:9 3D
7+
8+
// Replace a call to vkWindow::getPixelAspectRatio with our own constant value
9+
patch=0,EE,20285084,extended,3C013FF3 // lui at,0x3FF3 // 1.8984375f
10+
patch=0,EE,20285088,extended,44810000 // mtc1 at,f00
11+
12+
[50 FPS]
13+
author=Souzooka
14+
description=Runs the game at 50 FPS; 180% EE Cycle Rate recommended
15+
16+
// NOTE: Player car is slightly less grippy at 60fps
17+
18+
// NOP out a wait loop
19+
patch=0,EE,202AC81C,extended,00000000 // nop
20+
21+
// When on top of an enemy oil slick, the player's steering direction is multiplied by a constant value each frame
22+
// This is the multiplier and is modified to behave similarly to 30fps (this was the same original value on NTSC and PAL, so eh)
23+
patch=0,EE,20110C70,extended,3C013F9C // lui at,0x3F9C
24+
patch=0,EE,20110C74,extended,3421CCCD // ori at,at,0xCCCD
25+
patch=0,EE,20113FA4,extended,3C013F9C // lui at,0x3F9C
26+
patch=0,EE,20113FA8,extended,3421CCCD // ori at,at,0xCCCD

patches/SLUS-20056_E3ADA82E.pnach

+19-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
1-
gametitle=Spy Hunter (SLUS-20056)
1+
gametitle=Spy Hunter (NTSC-U) (SLUS-20056)
22

33
[Widescreen 16:9]
44
gsaspectratio=16:9
5-
description=Widescreen Patch (16:9) by Monsterjamp
5+
author=Souzooka
6+
description=16:9 3D
67

7-
//FOV
8-
patch=1,EE,20393FD0,word,3F400000
8+
// Replace a call to vkWindow::getPixelAspectRatio with our own constant value
9+
patch=0,EE,20288774,extended,3C013FA0 // lui at,0x3FA0 // 1.25f
10+
patch=0,EE,20288778,extended,44810000 // mtc1 at,f00
911

10-
//Prevents objects from disappearing from sides of screen
11-
patch=1,EE,2196FE00,word,3F0CCCCD
12-
patch=1,EE,2196FDE0,word,BF0CCCCD
12+
[60 FPS]
13+
author=Souzooka
14+
description=Runs the game at 60 FPS
1315

16+
// NOTE: Player car is slightly less grippy at 60fps
1417

18+
// NOP out a wait loop
19+
patch=0,EE,202AFECC,extended,00000000 // nop
20+
21+
// When on top of an enemy oil slick, the player's steering direction is multiplied by a constant value each frame
22+
// This is the multiplier and is modified to behave similarly to 30fps
23+
patch=0,EE,20110D18,extended,3C013F9C // lui at,0x3F9C
24+
patch=0,EE,20110D1C,extended,3421CCCD // ori at,at,0xCCCD
25+
patch=0,EE,2011404C,extended,3C013F9C // lui at,0x3F9C
26+
patch=0,EE,20114050,extended,3421CCCD // ori at,at,0xCCCD

0 commit comments

Comments
 (0)