Skip to content

Project Zero 2 (PAL) - Undub support #583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 151 additions & 0 deletions patches/SLES-52384_9D8206D3.pnach
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
gametitle=Project Zero II: Crimson Butterfly (Undub v1.0) * SLES-52384 * PAL-M5 * 9D8206D3
// same serial-code as 9D87F3AF - the regular version.
// Fatal Frame II: Crimson Butterfly

// This game might have some problems with the Cinematics,
// regardless of resolution or patches, however this pnach is not the cause of that.

[Widescreen 16:9]
gsaspectratio=16:9
author=nemesis2000

patch=1,EE,0018F090,word,3C013F40 // 3C013F80 - X-axis of GamePlay (including Cutscenes). - 16:9
patch=1,EE,00340DDC,word,3F400000 // 3F800000 - X-axis of GamePlay (initial Aspect value) - 16:9
patch=1,EE,00210DC4,word,00000000 // 0C0845A4 - corrects the Cutscenes focus.

// Flashlight Widescreen hack.
patch=1,EE,0013B1DC,word,0C0541DB // 0C0541DC
patch=1,EE,0013B264,word,0C0541DB // 0C0541DC
patch=1,EE,0013B2CC,word,0C0541DB // 0C0541DC
patch=1,EE,0013B344,word,0C0541DB // 0C0541DC
patch=1,EE,0015076C,word,3C013F40 // 00000000 - 16:9
patch=1,EE,001507DC,word,44810800 // 00000000
patch=1,EE,001507E0,word,46016302 // 00000000

// Cinematics hack.
patch=1,EE,001E9308,word,E49E0030 // 0200202D
patch=1,EE,001E930C,word,0200202D // FFA20068
patch=1,EE,001E9310,word,FFA20068 // FFA30070
patch=1,EE,001E9314,word,FFA30070 // 0C05E542
patch=1,EE,001E9318,word,0C05E542 // FFA50090
patch=1,EE,001E931C,word,FFA50090 // 0220102D
patch=1,EE,001E9320,word,0220102D // DFB000B0
patch=1,EE,001E9324,word,DFB000B0 // DFB100B8
patch=1,EE,001E9328,word,DFB100B8 // DFBF00C0
patch=1,EE,001E932C,word,DFBF00C0 // 03E00008
patch=1,EE,001E9330,word,03E00008 // 27BD00D0
patch=1,EE,001E9334,word,27BD00D0 // 00000000
patch=1,EE,001E947C,word,10400003 // 10400004
patch=1,EE,001E9484,word,10000002 // 10000003
patch=1,EE,001E948C,word,8F84C00C // 00000000
patch=1,EE,001E9498,word,4481F000 // 00000000

// FMV-values.
patch=1,EE,001E9490,word,3C013F40 // 8F84C00C - width (1.0f = 640). - 16:9
patch=1,EE,00344BD8,word,0000006A // 00000000 - x-pos = (640-640*ratio)/(2*ratio) int. - 16:9

// ==========

[Widescreen/16:10]
gsaspectratio=Stretch
author=nemesis2000 & pgert

patch=1,EE,0018F090,word,3C013F55 // - 16:10
patch=1,EE,00340DDC,word,3F555555 //
patch=1,EE,00210DC4,word,00000000

// Flashlight Widescreen hack.
patch=1,EE,0013B1DC,word,0C0541DB
patch=1,EE,0013B264,word,0C0541DB
patch=1,EE,0013B2CC,word,0C0541DB
patch=1,EE,0013B344,word,0C0541DB
patch=1,EE,0015076C,word,3C013F55 // - 16:10
patch=1,EE,001507DC,word,44810800
patch=1,EE,001507E0,word,46016302

// Cinematics hack.
patch=1,EE,001E9308,word,E49E0030
patch=1,EE,001E930C,word,0200202D
patch=1,EE,001E9310,word,FFA20068
patch=1,EE,001E9314,word,FFA30070
patch=1,EE,001E9318,word,0C05E542
patch=1,EE,001E931C,word,FFA50090
patch=1,EE,001E9320,word,0220102D
patch=1,EE,001E9324,word,DFB000B0
patch=1,EE,001E9328,word,DFB100B8
patch=1,EE,001E932C,word,DFBF00C0
patch=1,EE,001E9330,word,03E00008
patch=1,EE,001E9334,word,27BD00D0
patch=1,EE,001E947C,word,10400003
patch=1,EE,001E9484,word,10000002
patch=1,EE,001E948C,word,8F84C00C
patch=1,EE,001E9498,word,4481F000

// FMV-values.
patch=1,EE,001E9490,word,3C013F55 // - 16:10
patch=1,EE,00344BD8,word,00000040 //

// ==========

[Widescreen/15:10]
gsaspectratio=Stretch
author=nemesis2000 & pgert

patch=1,EE,0018F090,word,3C013F64 // - 15:10
patch=1,EE,00340DDC,word,3F638E39 //
patch=1,EE,00210DC4,word,00000000

// Flashlight Widescreen hack.
patch=1,EE,0013B1DC,word,0C0541DB
patch=1,EE,0013B264,word,0C0541DB
patch=1,EE,0013B2CC,word,0C0541DB
patch=1,EE,0013B344,word,0C0541DB
patch=1,EE,0015076C,word,3C013F64 // - 15:10
patch=1,EE,001507DC,word,44810800
patch=1,EE,001507E0,word,46016302

// Cinematics hack.
patch=1,EE,001E9308,word,E49E0030
patch=1,EE,001E930C,word,0200202D
patch=1,EE,001E9310,word,FFA20068
patch=1,EE,001E9314,word,FFA30070
patch=1,EE,001E9318,word,0C05E542
patch=1,EE,001E931C,word,FFA50090
patch=1,EE,001E9320,word,0220102D
patch=1,EE,001E9324,word,DFB000B0
patch=1,EE,001E9328,word,DFB100B8
patch=1,EE,001E932C,word,DFBF00C0
patch=1,EE,001E9330,word,03E00008
patch=1,EE,001E9334,word,27BD00D0
patch=1,EE,001E947C,word,10400003
patch=1,EE,001E9484,word,10000002
patch=1,EE,001E948C,word,8F84C00C
patch=1,EE,001E9498,word,4481F000

// FMV-values.
patch=1,EE,001E9490,word,3C013F64 // - 15:10
patch=1,EE,00344BD8,word,00000028 //

// ==========

[Disable Dither effect]
patch=1,EE,001A1904,word,10000012 // 54400012

[Y-axis adjustment]
author=pgert
description=Puts the Y-axis value to that of 50 Hz-mode, when having 60 Hz-mode.
patch=1,EE,0018F09C,word,3C013F80 // 3C013F60 - Y-axis of GamePlay (including Cutscenes).
patch=1,EE,00340DE0,word,3F800000 // 3F600000 - Y-axis of GamePlay - initial Aspect value.

// ==========
// Notes (by pgert).
// ==========
// patch=1,EE,2040A48C,extended,3F400000 // 3F800000 - X-axis of GamePlay - original hack, by ElHecht.
// patch=1,EE,2040A490,extended,3F666666 // 3F800000 - Y-axis of GamePlay - original hack, by pgert.
// patch=1,EE,001795F4,word,3C014370 // 3C0143A0 - X-axis placement of Cinematics, HUD & CameraTemplate, including the circle.
// patch=1,EE,0018C95C,word,3C013EEA // 3C013F00 - GamePlay Zoom.
// ==========
// patch=1,EE,0017ACD0,word,3C0144C0 // 3C014500 - Rendering hack for Cutscenes, GSdx HW & SW mode - made obsolete by 00210DC4.
// patch=1,EE,001F9FF8,word,3C014450 // 3C0143A0 - X-axis placement of photos (affected by 0017ACD0).
// patch=1,EE,001FA000,word,3C014438 // 3C014360 - Y-axis placement of photos (affected by 0017ACD0).
// ==========
3 changes: 2 additions & 1 deletion patches/SLES-52384_9D87F3AF.pnach
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
gametitle=Project Zero II: Crimson Butterfly * SLES-52384 * PAL-M5 * 9D87F3AF
// same serial-code as 9D8206D3 - the Undub version.
// Fatal Frame II: Crimson Butterfly

// This game might have some problems with the Cinematics,
// regardless of resolution or patches, however this pnach is not the cause of that.
// regardless of resolution or patches, however this pnach is not the cause of that.

[Widescreen 16:9]
gsaspectratio=16:9
Expand Down