Skip to content
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

Fatal Zero formating #386

Open
wants to merge 3 commits 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
43 changes: 22 additions & 21 deletions patches/SCKA-20023_56ABF4C6.pnach
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
gametitle=Fatal Frame 2 (Project Zero 2) (K)(SCKA-20023)
gametitle=Fatal Frame II: Crimson Butterfly * NTSC-K * SCKA-20023 * 56ABF4C6
// Project Zero II: Crimson Butterfly

[Widescreen 16:9]
gsaspectratio=16:9
comment=16:9 widescreen hack by nemesis2000 and devina40 (NTSC-K by Arapapa)
author=nemesis2000 & Devina - ported by arapapa

//16:9 widescreen by nemesis2000
// 16:9 widescreen by nemesis2000
patch=1,EE,00336ECC,word,3F400000

//FMV's fix by nemesis2000
// FMV fix by nemesis2000
patch=1,EE,001E4844,word,3C013F40
patch=1,EE,001E4848,word,0C07918E
patch=1,EE,001E484C,word,44811800
Expand All @@ -23,24 +24,24 @@ patch=1,EE,001E46EC,word,01C02820
patch=1,EE,001E46F0,word,E4830030
patch=1,EE,0033AA58,word,0000006A

//Lens Flare's fix
//B000BD27 00000000 0c9a8b93
patch=1,EE,0014f69c,word,3c013f40 //00000000
patch=1,EE,0014f70c,word,44810800 //00000000
patch=1,EE,0014f710,word,46016302 //00000000
// Lens Flare's fix
// B000BD27 00000000 0c9a8b93
patch=1,EE,0014f69c,word,3c013f40 // 00000000
patch=1,EE,0014f70c,word,44810800 // 00000000
patch=1,EE,0014f710,word,46016302 // 00000000

//(0c053da7)
patch=1,EE,0013a10c,word,0c053da7 //0c053da8
patch=1,EE,0013a194,word,0c053da7 //0c053da8
patch=1,EE,0013a1fc,word,0c053da7 //0c053da8
patch=1,EE,0013a274,word,0c053da7 //0c053da8
// (0c053da7)
patch=1,EE,0013a10c,word,0c053da7 // 0c053da8
patch=1,EE,0013a194,word,0c053da7 // 0c053da8
patch=1,EE,0013a1fc,word,0c053da7 // 0c053da8
patch=1,EE,0013a274,word,0c053da7 // 0c053da8

//Dither Effect Off
//12004054 1800838e
//patch=1,EE,0019ec5c,word,10000012

//Focus Effect Off
//a82e080c 2d282002
//patch=1,EE,0020b1d4,word,00000000 //0c080ea8
// ==========

[Disable Dither effect]
// 12004054 1800838e
patch=1,EE,0019ec5c,word,10000012

[Disable Focus effect]
// a82e080c 2d282002
patch=1,EE,0020b1d4,word,00000000 // 0c080ea8
61 changes: 33 additions & 28 deletions patches/SCPS-56008_BCF04BF3.pnach
Original file line number Diff line number Diff line change
@@ -1,44 +1,49 @@
gametitle=Fatal Frame (Project Zero) (K)(SCPS-56008)
gametitle=Fatal Frame * NTSC-K * SCPS-56008 * BCF04BF3
// Project Zero

[Widescreen 16:9]
gsaspectratio=16:9
comment=16:9 widescreen hack by nemesis2000, pgert and devina40 (NTSC-K by Arapapa)
author=nemesis2000, pgert and Devina - ported by arapapa

//16:9 widescreen by nemesis2000
patch=1,EE,00189E54,word,3C013F40 //3C013F80
// 16:9 widescreen by nemesis2000
patch=1,EE,00189E54,word,3C013F40 // 3C013F80

//cutscenes by pgert
patch=1,EE,001856D4,word,3C013F40 //3C013F80
// cutscenes by pgert
patch=1,EE,001856D4,word,3C013F40 // 3C013F80

//Cut-scene render fix
//0045013c 00208144 280040e6
patch=1,EE,001856c8,word,3c0145C0 //3c014500
// Cut-scene Render fix
// 0045013c 00208144 280040e6
patch=1,EE,001856c8,word,3c0145C0 // 3c014500

//FMV's fix by nemesis2000
// FMV fix by nemesis2000
patch=1,EE,001822B8,word,24027100
patch=1,EE,001822C8,word,24027100
patch=1,EE,001822D0,word,24091E00

//Lens Flare's fix
//Modified based on PAL (0,875 instead of 0,75) - better.
patch=1,EE,00137154,word,3C013F12 //3c013f00
patch=1,EE,00135b10,word,3C01428C //3c0142a0
patch=1,EE,00135bf4,word,3C01410C //3c014120
patch=1,EE,00135bbc,word,3C014128 //3c014140
patch=1,EE,00135b78,word,3C0141A8 //3c0141c0
// Lens Flare's fix - Modified based on PAL (0,875 instead of 0,75) - better.
patch=1,EE,00137154,word,3C013F12 // 3c013f00
patch=1,EE,00135b10,word,3C01428C // 3c0142a0
patch=1,EE,00135bf4,word,3C01410C // 3c014120
patch=1,EE,00135bbc,word,3C014128 // 3c014140
patch=1,EE,00135b78,word,3C0141A8 // 3c0141c0

//Remove effects (Memory Hack)
//6666f643 0000803f 0000803f
//patch=1,EE,2035210C,extended,00000000 //blurry bloom
//00002044 0000e043 0000803f 0000803f 00000000 00000000 (10)
//patch=1,EE,2035258C,extended,00000000 //dark filter
//00002044 0000e043 0000803f 0000803f 00000000 00000000 (8)
//patch=1,EE,2035241C,extended,00000000 //post process and noise
// HUD Y-FoV
//patch=1,EE,0015dd74,word,3c013ec0 // 3c013f00

//No interlacing by asasega
//patch=1,EE,20234e64,extended,00000000
// ==========

//HUD Y-Fov
//patch=1,EE,0015dd74,word,3c013ec0 //3c013f00
[Disable Blurry Bloom effect]
// 6666f643 0000803f 0000803f
patch=1,EE,2035210C,extended,00000000

[Disable Dark Filter effect]
// 00002044 0000e043 0000803f 0000803f 00000000 00000000 (10)
patch=1,EE,2035258C,extended,00000000

[Disable Post-Process and Noise effect]
// 00002044 0000e043 0000803f 0000803f 00000000 00000000 (8)
patch=1,EE,2035241C,extended,00000000

[No-Interlacing]
author=asasega
patch=1,EE,20234e64,extended,00000000
168 changes: 87 additions & 81 deletions patches/SLES-50821_22E91837.pnach
pgert marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
gametitle=Project Zero
gametitle=Project Zero * SLES-50821 * PAL-M5 * 22E91837
// Fatal Frame

// Due to missing renderingfixes, black stripes can show up on ghosts, spirits and photos.

[Widescreen 16:9]
gsaspectratio=16:9
author=ElHecht, nemesis2000 and pgert
comment=Widescreen Hack
// ==========
// pgert@180129
// http://forums.pcsx2.net/Thread-PCSX2-Widescreen-Game-Patches?pid=240786#pid240786
// ==========
comment= Project Zero * SLES-50821 * PAL-M5 * 22E91837
comment=- Widescreen & HD pnach by pgert.
comment=- Credits to ElHecht & nemesis2000.
author=nemesis2000 & pgert

// ==========
// 16:9 support.
// ==========
patch=1,EE,00185B40,word,3C0145C0 // 3C014500 - HD-rendering fix for 00185B4C.
patch=1,EE,00185B4C,word,3C013F40 // 3C013F80 - X-axis of Cutscenes (including IntroCutscenes).
patch=1,EE,0018A2CC,word,3C013F40 // 3C013F80 - X-axis of GamePlay.
// ==========

// Flashlight 16:9 Widescreen hack, ported by pgert from the NTSC-U pnach by nemesis2000,
// and modified so that the values are altered with half of the regular amount
// (0,875 instead of 0,75) - better.
Expand All @@ -27,76 +19,98 @@ patch=1,EE,00135B80,word,3C0141A8 // 3C0141C0
patch=1,EE,00135BC4,word,3C014128 // 3C014140
patch=1,EE,00135BFC,word,3C01410C // 3C014120
patch=1,EE,0013715C,word,3C013F12 // 3C013F00
// ==========

// 16:9 Cinematics hack by nemesis2000.
patch=1,EE,00182730,word,24027100 // 24026C00 - X-axis placement of Cinematics.
patch=1,EE,00182740,word,24027100 // 24026C00 - X-axis placement of Cinematics.
// - 6C00h = 27648d : width of Cinematics = 640d : 27648 + 1600 - 640/2 = 28160 : 28160d = 7100h
patch=1,EE,00182748,word,24091E00 // 24092800 - width of Cinematics.
// - 2800h = 10240d : width of Cinematics = 640d : 10240 - 1600 - 640*1.5 = 7680 : 7680d = 1E00h
//==========
// ==========
// 16:10 support
// ==========
// patch=1,EE,00185B40,word,3C0145C0 // 3C014500 - can't be set to 3C0145AD.
// patch=1,EE,00185B4C,word,3C013F55 // 3C013F80
// patch=1,EE,0018A2CC,word,3C013F55 // 3C013F80

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

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

patch=1,EE,00185B40,word,3C0145C0 // can't be set to 3C0145AD.
patch=1,EE,00185B4C,word,3C013F55
patch=1,EE,0018A2CC,word,3C013F55

// Flashlight 16:10 Widescreen hack, ported by pgert from the NTSC-U pnach by nemesis2000,
// and modified so that the values are altered with half of the regular amount
// (0,91666665 instead of 0,8333333) - better.
// patch=1,EE,00135B18,word,3C014293 // 3C0142A0
// patch=1,EE,00135B80,word,3C0141B0 // 3C0141C0
// patch=1,EE,00135BC4,word,3C014130 // 3C014140
// patch=1,EE,00135BFC,word,3C014113 // 3C014120
// patch=1,EE,0013715C,word,3C013F0C // 3C013F00
// ==========
patch=1,EE,00135B18,word,3C014293
patch=1,EE,00135B80,word,3C0141B0
patch=1,EE,00135BC4,word,3C014130
patch=1,EE,00135BFC,word,3C014113
patch=1,EE,0013715C,word,3C013F0C

// Cinematics hack by nemesis2000, ported to 16:10 by pgert.
// patch=1,EE,00182730,word,24027080 // 24026C00 - X-axis placement of Cinematics.
// patch=1,EE,00182740,word,24027080 // 24026C00 - X-axis placement of Cinematics.
patch=1,EE,00182730,word,24027080
patch=1,EE,00182740,word,24027080
// - 7100h = 28160d : 28160 + 640 = 28800 : 28800d = 7080h
// patch=1,EE,00182748,word,24091F00 // 24092800 - width of Cinematics.
patch=1,EE,00182748,word,24091F00 // 24092800 - width of Cinematics.
// - 1E00h = 7680d : 7680 + 256 = 7936 : 7936d = 1F00h
// ==========

// ==========
//15:10 (MS Surface Book) support.
// ==========
// patch=1,EE,00185B40,word,3C0145C0 // 3C014500
// patch=1,EE,00185B4C,word,3C013F64 // 3C013F80
// patch=1,EE,0018A2CC,word,3C013F64 // 3C013F80
// ==========

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

patch=1,EE,00185B40,word,3C0145C0
patch=1,EE,00185B4C,word,3C013F64
patch=1,EE,0018A2CC,word,3C013F64

// Flashlight 15:10 Widescreen hack, ported by pgert from the NTSC-U pnach by nemesis2000,
// and modified so that the values are altered with half of the regular amount
// (0,94444445 instead of 0,8888889) - better.
// patch=1,EE,00135B18,word,3C014297 // 3C0142A0
// patch=1,EE,00135B80,word,3C0141B5 // 3C0141C0
// patch=1,EE,00135BC4,word,3C014135 // 3C014140
// patch=1,EE,00135BFC,word,3C014117 // 3C014120
// patch=1,EE,0013715C,word,3C013F08 // 3C013F00
// ==========
patch=1,EE,00135B18,word,3C014297
patch=1,EE,00135B80,word,3C0141B5
patch=1,EE,00135BC4,word,3C014135
patch=1,EE,00135BFC,word,3C014117
patch=1,EE,0013715C,word,3C013F08

// Cinematics hack by nemesis2000, ported to 15:10 by pgert.
// patch=1,EE,00182730,word,240270AB // 24026C00 - X-axis placement of Cinematics.
// patch=1,EE,00182740,word,240270AB // 24026C00 - X-axis placement of Cinematics.
patch=1,EE,00182730,word,240270AB
patch=1,EE,00182740,word,240270AB
// - 7100h = 28160d : 28160 + (640*(16/15)) = 28843 : 28760d = 70ABh
// patch=1,EE,00182748,word,24091F11 // 24092800 - width of Cinematics.
patch=1,EE,00182748,word,24091F11 // 24092800 - width of Cinematics.
// - 1E00h = 7680d : 7680 + (256*(16/15)) = 7953 : 7953d = 1F11h
// ==========

// ==========
// Optional SpecialFixes.
// ==========
// patch=1,EE,0011C58C,word,3C013F40 // 3C013F00 - required for the display of the glimmering star of a hidden collectible.
// patch=1,EE,0011C5BC,word,3C013F40 // 3C013F80 - size (aspect ratio) of the glimmering star of a hidden collectible.
// patch=1,EE,0011DF3C,word,3C014510 // 3C014500 - detail-richness of the purple smoke dispatching a door-seal.
// patch=1,EE,0013BF98,word,3C014220 // 3C0141C8 - detail-richness of the blue spirit-torch.
// ==========
// patch=1,EE,0011D604,word,3C014510 // 3C014500 - HD-fixes for GameMenu, GamePlay & CameraView.
// patch=1,EE,001B5F84,word,3C013C82 // 3C013C80 - corrects the display of the Camera TargetTracker (due to 0011D604).
// patch=1,EE,002039B4,word,3C014410 // 3C0143A0 - X-axis placement of photos (affected by 0011D604).
// patch=1,EE,002039C0,word,3C014438 // 3C014360 - Y-axis placement of photos (affected by 0011D604).
// - An unfixed side-effect of 0011D604 is that the graining-effect in GameMenu & CameraView disappears.
// ==========

[No-Interlacing]
gsinterlacemode=1
author=a_NUb_iS
// Search pattern: 3829050008004264 (little endian)
// Search mask: ffffffffffffffff
patch=1,EE,00235664,word,00000000 // 64420008

[No-Interlacing]
author=wagrenier
patch=1,EE,0010ba94,word,00000000
patch=1,EE,0010bac0,word,00000000
patch=1,EE,00173620,word,00000000
patch=1,EE,001829b0,word,00000000

[Disable Blurry Bloom effect]
author=ported by br4zil from NTSC-U
patch=1,EE,00350C0C,word,00000000

[Disable Dark Filter effect]
author=ported by br4zil from NTSC-U
patch=1,EE,0035108C,word,00000000

[Disable Post-Process and Noise effect - gameplay]
author=ported by br4zil from NTSC-U
patch=1,EE,00350F1C,word,00000000

[Disable Post-Process and Noise effect - menus]
author=ported by br4zil from NTSC-U
comment=Makes main menu bland looking
patch=1,EE,0035905C,word,00000000

// ==========
// Notes (by pgert).
Expand All @@ -112,23 +126,15 @@ patch=1,EE,00182748,word,24091E00 // 24092800 - width of Cinematics.
// patch=1,EE,0035c760,word,3EA6AA8F // 3ED05532 - Y-axis of Cutscenes (including IntroCutscenes).
// - 3ED05532h = 0,4069f : 0.8 * 0.4069 = 0,32552 : 0,32552f = 3EA6AA8Fh
// ==========


[No-Interlacing]
description=Attempts to disable interlaced offset rendering.
gsinterlacemode=1
//Remove Interlacing
patch=1,EE,00235664,word,00000000
//Lens Flare's fix
patch=1,EE,0013715C,word,3C013F2B
patch=1,EE,00135B18,word,3C014270
patch=1,EE,00135BFC,word,3C0140F0
patch=1,EE,00135BC4,word,3C014110
patch=1,EE,00135B80,word,3C014190

[Remove Post Processing]
comment=Remove Post Processing effects
patch=1,EE,00350C0C,word,00000000 //blurry bloom
patch=1,EE,0035108C,word,00000000 //dark filter
patch=1,EE,00350F1C,word,00000000 //post process and noise in-game
patch=1,EE,0035905C,word,00000000 //post process and noise on menus, optional, makes main menu bland looking.
// patch=1,EE,0011C58C,word,3C013F40 // 3C013F00 - required for the display of the glimmering star of a hidden collectible.
// patch=1,EE,0011C5BC,word,3C013F40 // 3C013F80 - size (aspect ratio) of the glimmering star of a hidden collectible.
// patch=1,EE,0011DF3C,word,3C014510 // 3C014500 - detail-richness of the purple smoke dispatching a door-seal.
// patch=1,EE,0013BF98,word,3C014220 // 3C0141C8 - detail-richness of the blue spirit-torch.
// ==========
// patch=1,EE,0011D604,word,3C014510 // 3C014500 - HD-fixes for GameMenu, GamePlay & CameraView.
// patch=1,EE,001B5F84,word,3C013C82 // 3C013C80 - corrects the display of the Camera TargetTracker (due to 0011D604).
// patch=1,EE,002039B4,word,3C014410 // 3C0143A0 - X-axis placement of photos (affected by 0011D604).
// patch=1,EE,002039C0,word,3C014438 // 3C014360 - Y-axis placement of photos (affected by 0011D604).
// - An unfixed side-effect of 0011D604 is that the graining-effect (dark filtering)
// in GameMenu & CameraView disappears.
// ==========
Loading
Loading