PCSX2 - Widescreen Game Patches
(04-17-2020, 07:13 AM)PsxFan107 Wrote: @Racast Please post the addresses and a save state.

Save state
My current patch looks like this:
Code:
patch=1,EE,203A8358,word,3F400000 //vertical size
patch=1,EE,203A8354,word,3F266666 //horizontal size
patch=1,EE,203A8340,word,00000000 //address that tries to return everything to its original value, tried to freeze to no avail
patch=1,EE,203A8344,word,00000000 //same as above
patch=1,EE,203A8350,word,FFF1FFF1 //x pos, no problem here
patch=1,EE,203A8352,word,FFF1FFF1 //y pos, no problem here too


203A8340 and 203A8344 seems to be what causes the trouble. I can fix it in cheat engine by finding out what writes to them and then replacing several "mov[ecx],edx" with "code that does nothing" (the same process as described here) but I don't know how to integrate this into the patch.
Reply

Sponsored links

Great to see this thread is still active!

@PsxFan107: Could you give Deus Ex a try, too? Smile Over the years there have been some more or less unsuccessful tries -- maybe the following addresses found by arapapa can serve as a starting point:

(09-03-2017, 01:02 AM)arapapa Wrote: Deus Ex: The Conspiracy has multi elf (SLUS_201.11 & DeusEx.elf)

Code:
patch=1,EE,200c0000,extended,c4400000
patch=1,EE,200c0004,extended,3c013f40
//patch=1,EE,200c0008,extended,34210000
patch=1,EE,200c000c,extended,4481f000
patch=1,EE,200c0010,extended,461e0002
//patch=1,EE,200c0014,extended,e49e00fc
patch=1,EE,200c0018,extended,0804bf6b

patch=1,EE,e0010043,extended,00100008
patch=1,EE,2012fda8,extended,08030000

I would gladly help testing!

Best regards
Reply
(04-17-2020, 02:52 PM)Racast Wrote: Save state
My current patch looks like this:
Code:
patch=1,EE,203A8358,word,3F400000 //vertical size
patch=1,EE,203A8354,word,3F266666 //horizontal size
patch=1,EE,203A8340,word,00000000 //address that tries to return everything to its original value, tried to freeze to no avail
patch=1,EE,203A8344,word,00000000 //same as above
patch=1,EE,203A8350,word,FFF1FFF1 //x pos, no problem here
patch=1,EE,203A8352,word,FFF1FFF1 //y pos, no problem here too


203A8340 and 203A8344 seems to be what causes the trouble. I can fix it in cheat engine by finding out what writes to them and then replacing several "mov[ecx],edx" with "code that does nothing" (the same process as described here) but I don't know how to integrate this into the patch.

The game soft-locks when I load the save you uploaded. Can you provide another working one please?
Reply
(04-19-2020, 12:42 AM)PsxFan107 Wrote: The game soft-locks when I load the save you uploaded. Can you provide another working one please?

I probably messed up something with the debug mode. Here's another one and a memcard: https://mega.nz/file/YExFXSgB#P1IIaYkmzq...Ki-Amil6Z8
If savestate doesn't work, load up the save and run into any enemy on the same location.
Reply
(04-19-2020, 01:29 AM)Racast Wrote: I probably messed up something with the debug mode. Here's another one and a memcard: https://mega.nz/file/YExFXSgB#P1IIaYkmzq...Ki-Amil6Z8
If savestate doesn't work, load up the save and run into any enemy on the same location.

Thanks!

So, to explain what is happening, the game is updating the HUD at certain times during gameplay (during an attack, etc.) due to graphical changes and thus reloads the dimensions and coordinates of the HUD objects into ram. Therefore this adjustment of the HUD requires an assembly (ASM) hack which means modifying the games code.

Here is the ASM hack I made to fix the HUD object.

Code:
patch=1,EE,2034DB28,word,45010027
patch=1,EE,2034DB9C,word,3C013F26
patch=1,EE,2034DBA0,word,34216666
patch=1,EE,2034DBA4,word,AE01054C
patch=1,EE,2034DBA8,word,3C013F40
patch=1,EE,2034DBAC,word,AE010550
patch=1,EE,2034DBB0,word,2401FFF1
patch=1,EE,2034DBB4,word,A6010548
patch=1,EE,2034DBB8,word,A601054A
patch=1,EE,2034DBBC,word,3C0F003A
patch=1,EE,2034DBC0,word,25ED7E08
patch=1,EE,2034DBC4,word,46021103
patch=1,EE,2034DBC8,word,3C18003B
patch=1,EE,2034DBCC,word,2708B0A0


And just a note, never EVER use cheat engine to debug an emulated game because, case and point, it causes bad things to happen. The assembly code that cheat engine shows you is that of the emulator itself (the stuff your computer understands) instead of the assembly of the emulated machine (PS2). This is where PCSX2's built-in debugger (Debug -> Open Debug Window...) comes in handy. However, it is best not to try using the debugger unless you have at least some knowledge of MIPS assembly (PS2's assembly language).

@No.47  I tried Deus Ex a few times and no luck, sorry!
Reply
(04-19-2020, 03:31 AM)PsxFan107 Wrote: @No.47  I tried Deus Ex a few times and no luck, sorry!

Thanks anyways!
It seems the Unreal Engine 1 games are basically impossible to patch... which is quite strange considering UE1 on PC is so flexible Blink
Reply
@PsxFan107
Thank you so much, you're a godsend! This is far beyond my capabilities.
I hate to ask after you already did everything but can this hack be easily adjusted? The HUD size in my patch was just a rough draft, I later changed...
Code:
patch=1,EE,203A8354,word,3F266666
to...
Code:
patch=1,EE,203A8354,word,3F1CAC08

Meanwhile I did some progress, the game is starting to look good now.
[Image: Untitled-3.1587328133.jpg]
[Image: Untitled-2.1587326339.jpg]

There is still a lot of work left to be done, but everything else seems pretty straightforward, just time-consuming.
Reply
@PSXfan107 Hey so, I have a request.

The widescreen patch you made for Ratchet & Clank: Going Commando (US version) doesn't seem to work on the Greatest Hits version because it contains a revision, all the other NTSC-U R&C games don't have a revision except for this one.

I renamed the .pnach file to use the Greatest Hits version's CRC which is B3A71D10, and the widescreen patch worked! However, some functions of the codes didn't work like locking the aspect ratio option to 16:9, and possibly more. Can you please take a look to see what offsets they changed to make sure this does work 100% with v2.00?
Reply
@Racase Generally speaking, no, ASM hacks are typically not easily adjustable. However in this case what you want is this:

Code:
Change

patch=1,EE,2034DB9C,word,3C013F26
patch=1,EE,2034DBA0,word,34216666

to

patch=1,EE,2034DB9C,word,3C013F1C
patch=1,EE,2034DBA0,word,3421AC08

@icup321 Didn't know about the revision. Please PM me the S*US file from your copy of the game, and I'll look in to it.
Reply
(03-29-2019, 07:36 AM)GoneAyywire Wrote: Widescreen fixes for GTA San Andreas introduces sky box bug when you drive at high speed (Likely because of increased FOV).

[Image: gnFOISG.jpg]

Can it be fixed?

Anybody? I'm still waiting for this to be fixed.
Reply




Users browsing this thread: 14 Guest(s)