PCSX2 - Widescreen Game Patches
(08-29-2017, 10:44 PM)PsxFan107 Wrote: I'm curious about something. When you add the cheats to ps2rd are you converting them into raw format from the pnach or are you directly using the pnach?

Yes, I'm converting them into raw format. (To be precise, the codes in PNACH files are already in raw format, so not much conversion is needed - only removing the PCSX2 specific commands and making sure the code types are correct.)

And of course a master code needs to be added (I tried all three master codes found by "Mastercode finder"; I believe the main() master code didn't work at all).
Reply

Sponsored links

(08-30-2017, 12:07 AM)No.47 Wrote: Yes, I'm converting them into raw format. (To be precise, the codes in PNACH files are already in raw format, so not much conversion is needed - only removing the PCSX2 specific commands and making sure the code types are correct.)

And of course a master code needs to be added (I tried all three master codes found by "Mastercode finder"; I believe the main() master code didn't work at all).

Removing the commands is what I meant by converting them to raw. Are you using a tool to do that or are you doing it yourself?
Reply
(08-30-2017, 12:09 AM)PsxFan107 Wrote: Removing the commands is what I meant by converting them to raw. Are you using a tool to do that or are you doing it yourself?

In this case I used a tool ("PNACH converter"), because it saved some time.
I tried your latest version of the R&C 2 patch in this form:


Code:
//gametitle=Ratchet & Clank - Going Commando
//comment=Widescreen hack by PsxFan107

// Mastercode
9011CD48 0C0472FA

// DWORD Code patching routine
200c0000 3c1b000c
200c0004 df7100a8
200c0008 14510005
200c0010 8f7100b8
200c0014 ac71ffb4
200c0018 8f7100bc
200c001c ac71ffc8
200c0020 df7100b0
200c0024 14510009
200c002c 8f7100c0
200c0030 ac71ff84
200c0034 8f7100c4
200c0038 ac71ff88
200c003c 8f7100c8
200c0040 ac71ff94
200c0044 8f7100cc
200c0048 ac71ffac
200c004c 0804c747
200c0050 fc62fff8

// WORD Code patching routine
200c0054 3c1b000c
200c0058 8f7100a8
200c005c 14510005
200c0064 8f7100b8
200c0068 acb1ffb8
200c006c 8f7100bc
200c0070 acb1ffcc
200c0074 8f7100b4
200c0078 14510009
200c0080 8f7100c0
200c0084 acb1ff84
200c0088 8f7100c4
200c008c acb1ff88
200c0090 8f7100c8
200c0094 acb1ff94
200c0098 8f7100cc
200c009c acb1ffac
200c00a0 0804c753
200c00a4 aca2fffc

// Refrence WORD/DWORD for widescreen
// Note: The patching routine uses this to patch an address before this in memory.
200c00a8 c6030200
200c00ac 4600a306

// Refrence WORD/DWORD for HUD fix
// Note: The patching routine uses this to patch an address before this in memory.
200c00b0 468010a0
200c00b4 c7a40030

// Replacement WORDs for widescreen
200c00b8 0c030034
200c00bc 14400007

// Replacement WORDs for HUD fix
200c00c0 3c013f40
200c00c4 4481f000
200c00c8 461e0002
200c00cc 14600008

// Hor FOV recalulation routine
// This routine checks if an unpatched HOR FOV currently resides in ram,
// by iterating through a list and patching the value if a match is found.
200c00d0 c77e0114
200c00d4 3c01000c
200c00d8 3421012c
200c00dc 277b0118
200c00e0 c46000b0
200c00e4 103b0007
200c00e8 c7620000
200c00ec 277b0004
200c00f0 46020032
200c00f4 4500fffb
200c00fc 461e0003
200c0100 e46000b0
200c0104 461e0002
200c0108 46010002
200c010c 3c1b000c
200c0110 03e00008

//Hor scale
200c0114 3f400000

// Unpatched Hor FOV values
200c0118 3f214633
200c011c 3f2147ae
200c0120 3f1eb852
200c0124 3f1ff770
200c0128 3ed40764

// Jump to DWORD patching routine
20131d14 08030000

// Jump to WORD patching routine
20131d44 08030015

//Force built-in widescreen
e0010101 001a7bb2
001a7bb1 00000001
Reply
Ok, one more thing. Would it be possible for you to post screenshots of what you are seeing in each game?
Reply
At which locations?

As I've written, both R&C 2 and 3 are vert- and hor+ at different sections of the game (you can trust me on this, but if you still want "proof" I can take photos...).
Reply
The locations which you described to me in writing in your earlier post.
Reply
This is how R&C3 looks when the first level is loaded (hor+):

[Image: attachment.php?aid=63662]

Couple of steps left for better comparison (still hor+):

[Image: attachment.php?aid=63663]

After progressing to the first cutscene and going back to the same spot (vert-):

[Image: attachment.php?aid=63664]


Attached Files Thumbnail(s)
           
Reply
That is quite bizarre. The only thing I can think of is that for some reason the routine can't read any the unpatched HOR values except for the first, which would cause the issues you describe. I am truly at a loss for what might be causing this.
Reply
(08-29-2017, 11:22 PM)PsxFan107 Wrote: Because of what you removed, both patches do absolutely nothing. Both ratchet 2 and 3 end up being in vert- when the built in widescreen is enabled.

Fix for vert-, is to not enable 16x9 from the options, or to have this option in the patch enabled

Fix for Hort+, is nothing, it seems perfectly fine, I mean that is not a big problem

After using the patches I fixed so that they work with the pnach patcher, the 16x9 in game option does not expand the viewable area, it cuts off the top of the screen, that is what you call "vert-" that is really false.  The Screen is not moved down at all, it just cuts off the top of the screen, and zooms in a little, okay? (this is also what No.47 screenshots are showing)

Guess this is problem solved, that brings me back to the post you are quoting.  Just remember, "Unlimited Saga" is also not a perfect Widescreen, an that is perfect and fine.

?I did not remove the Widescreen Patch entry, that is still being applied along with the hud fix, I only deleted the sections that conflicted with pnach patcher and therefore would not allow a ps2 iso to be patched from the program

?Good Job on the patches, they are an improvement over the original in the official archive?

?
I don't have any proof the patches are doing nothing after the values I removed are gone, so I guess they are doing something after all
Reply
(08-30-2017, 02:48 AM)psalmsamuel Wrote: Fix for vert-, is to not enable 16x9 from the options, or to have this option in the patch enabled

Fix for Hort+, is nothing, it seems perfectly fine, I mean that is not a big problem

After using the patches I fixed so that they work with the pnach patcher, the 16x9 in game option does not expand the viewable area, it cuts off the top of the screen, that is what you call "vert-" that is really false.  The Screen is not moved down at all, it just cuts off the top of the screen, and zooms in a little, okay? (this is also what No.47 screenshots are showing)

Guess this is problem solved, that brings me back to the post you are quoting.  Just remember, "Unlimited Saga" is also not a perfect Widescreen, an that is perfect and fine.

?I did not remove the Widescreen Patch entry, that is still being applied along with the hud fix, I only deleted the sections that conflicted with pnach patcher and therefore would not allow a ps2 iso to be patched from the program

?Good Job on the patches, they are an improvement over the original in the official archive?

?
I don't have any proof the patches are doing nothing after the values I removed are gone, so I guess they are doing something after all

If you're using just the pnachs you posted, then they aren't doing anything because the entries in the pnachs except for your control modification are writing to a completely blank memory region.

The game isn't zooming in. The game is literally recalculating its vertical FOV by .75 when the widescreen option is turned on. I know this because I have seen the game's code and know exactly what it's doing. Your claim about a zoom is false.

I have attached two images, one with widescreen on and one without. These clearly show the vertical stretch.

Oh and by the way, if the patch was working as it should, the game should be vertically stretched beyond what the in-game widescreen does when the built-in widescreen is off .

@No.47 try adding this code to the patch and let me know what the bolt count is after the cutscene. (When the game becomes vert-)

Code:
200C00FC E4400460


Attached Files Thumbnail(s)
       
Reply




Users browsing this thread: 17 Guest(s)