..:: PCSX2 Forums ::..

Full Version: No interlacing codes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(03-26-2022, 12:50 AM)Agrippa Wrote: [ -> ]Gran Turismo 4 PAL Progressive Patch
SCES-51719
CRC - 44A61C8F
Code:
// progressive flag (write 0x1 at 0xA57E70).
patch=1,EE,000FF000,word,24020001
patch=1,EE,000FF004,word,3C0300A5
patch=1,EE,000FF008,word,34637E70
patch=1,EE,000FF00c,word,AC620000
patch=1,EE,000FF010,word,08128308
patch=1,EE,000FF014,word,000422C2
patch=1,EE,004A0C18,word,0803FC00 // 000422C2
// force SCE_GS_PAL video mode every time (when the progressive flag is set, the 480p mode is turned on instead by default)
patch=1,EE,001074A0,word,24050003 //8E050004
// change sceGsResetGraph arguments when the progressive mode is set. These patches are essential when playing on a real hardware (half of the screen is only visible, otherwise):
// SCE_GS_INTERLACE
patch=1,EE,0061868C,word,00000001 // 00000000
// SCE_GS_FIELD
patch=1,EE,00618694,word,00000000 // 00000001
// no interlacing patch for menu and movies (delete this if you play on a real hardware)
patch=1,EE,004A2A2C,word,0000102D // 80A202C0

This patch enables the progressive mode left in-game and forces the full-height PAL output to avoid timing issues. If you are playing on the PS2, you can force the 576p mode through GSM (field flipping may be needed to fix the playback of videos). PS2 on PS3 emulators are forcing the 576p mode by default (if upscaling turned off). Patch was applied through PS2 Patch Engine and tested with PS2 software emulator on PS3.

Based on the @CookiePLMonster patch available here:
https://forums.pcsx2.net/Thread-No-inter...#pid620650
Thank you for your research!

EDIT: I wrote a hook for patching the progressive flag, as the PS2 Patch Engine fails to patch that address. Because of the self-modifying code, the Patch Engine hook is lost after the splash screen and the game nullify the patch a moment later.

Maybe I'm doing something wrong, but my screen is flickering really bad with this patch. It looks like flickering from alternating lines in non progresssive output without deinteracing filter. It's almost as bad as the 50 Hz flickering you see in the neon tubes at the hardware store or supermarket.

Edit:
I found the culprit, it's the games dithering that's still rendering at alternating lines. That's bad, because im playing in software rendering mode, so I can't disable dithering.
What flickering are you talking about? Dithering has nothing to do with it (although it is often enabled in the progressive mode). This game suffers from aliasing issues, which are more apparent with the progressive output (because the interlaced does use a 2x vertical FSAA). They could be reduced further if you use the HW renderer with higher internal resolution.
(04-01-2022, 06:05 PM)Agrippa Wrote: [ -> ]What flickering are you talking about? Dithering has nothing to do with it (although it is often enabled in the progressive mode). This game suffers from aliasing issues, which are more apparent with the progressive output (because the interlaced does use a 2x vertical FSAA). They could be reduced further if you use the HW renderer with higher internal resolution.

It's flickering like hell and it stops flickering if I disable dithering. It's definitely progressive, I'm getting the full 512 lines, it only flickers with dithering on. 

Edit:

I've made a gif to show what I'm talking about. You can even see the alternating lines of the dithering, if you zoom in.

[Image: ezgif-1-76fcfab274.gif]

It's like the image is progressive but the dithering is still interlaced and rendered with alternating lines.
It is not a patch issue. That is how it does look like in the NTSC version too, at least with the PCSX2.
Ok, then the game is unplayable in software mode or hardware mode with dithering. I can't stand the flickering for 5 minutes without getting seizures.

Looks like I'll have to play with hardware rendering and disabled dithering then.

Edit:

I tried the NTSC version and it's there too but you dont really regconize it. It's barely noticeable due to the higher refresh rate.
anyone? please

(03-11-2022, 03:33 PM)RasmusTa Wrote: [ -> ]the pnach woks perfect on ps3 without the 60fps enabled it even increased the performance much better then original but only 1 issue ,the resolution and cutscenes were squished and incorrect
is it possible to fix it  ?
I apologize for asking, but why does ICO NTSC in it's 240p flicker? Is it "240p but actually 480i"?

Also, none of the codes here seem to work, yet I see https://github.com/libretro/pcsx2/blob/m...lacing.txt that it has a no-interlace support, help?

I'm using nemesis2000 pnach with some image improvements and 60fps if that is the issue.
(04-17-2022, 03:37 PM)2mg Wrote: [ -> ]I apologize for asking, but why does ICO NTSC in it's 240p flicker? Is it "240p but actually 480i"?

Also, none of the codes here seem to work, yet I see https://github.com/libretro/pcsx2/blob/m...lacing.txt that it has a no-interlace support, help?

I'm using nemesis2000 pnach with some image improvements and 60fps if that is the issue.

That is how the game was programed it was common for early ps2 titles.

try using this hack

https://forums.pcsx2.net/Thread-No-inter...#pid624123

just edit the 6F8545DB file paste the code save, and activate the code for ico -NTSC-U version
(04-17-2022, 07:27 PM)Red-tv Wrote: [ -> ]That is how the game was programed it was common for early ps2 titles.

try using this hack

https://forums.pcsx2.net/Thread-No-inter...#pid624123

just edit the 6F8545DB file paste the code save, and activate the code for ico -NTSC-U version

I found out 60fps (via pnach and/or debug Framestep 1) doesn't work with no-interlacing. Any help with this?

Also, what do you mean with "activate the code for ico -NTSC-U", isn't it automatically activated when Cheats are enabled?

PS: Does PCSX2 have on the fly NTSC <> PAL switch?
(04-18-2022, 03:04 AM)2mg Wrote: [ -> ]I found out 60fps (via pnach and/or debug Framestep 1) doesn't work with no-interlacing. Any help with this?

Also, what do you mean with "activate the code for ico -NTSC-U", isn't it automatically activated when Cheats are enabled?

PS: Does PCSX2 have on the fly NTSC <> PAL switch?

try using this code

//No-Interlacing
patch=1,EE,0013CAD0,word,30420000
patch=1,EE,001144AC,word,30420000