Page 1 of 1

Widescreen support need help

Posted: Sat Jun 13, 2015 4:26 am
by psxfan107
I was tinkering around with the game last night and managed to make this happen:

Image
Image


Here's the problem though. Part of it is an edit to game.exe and the other part is a ram edit that must be made during gameplay (If the edit is made early the result is Vert-).
I would like to make this a hard patch to the game., but I'm out of ideas at this point.

Re: Widescreen support need help

Posted: Mon Jun 15, 2015 11:40 pm
by Skylabh
Driver widescreen, this is interesting.

Re: Widescreen support need help

Posted: Thu Jun 18, 2015 6:14 am
by cleone
Finally someone is getting somewhere with this. There's already been a widescreen hack for Driver 1 on PS1, but it looked like sh*t. Somehow you managed to prevent the map from getting stretched which is damn impressive. By ram edit what do you mean? Some games you need to hexedit the exes to get widescreen going, NFS: ProStreet was like that with its last patch where they removed most of the screen resolutions.

Re: Widescreen support need help

Posted: Thu Jun 18, 2015 6:08 pm
by psxfan107
I mean editing a value in live "Random Access Memory". Also, what widescreen hack are you referring to for the playstation?

Re: Widescreen support need help

Posted: Thu Jun 18, 2015 11:38 pm
by cleone
psxfan107 wrote:I mean editing a value in live "Random Access Memory". Also, what widescreen hack are you referring to for the playstation?
Is there like a batch script you can write to do the RAM value automatically? Tell me how you did it maybe I can help.

http://forums.pcsx2.net/Thread-PSOne-Wi ... hes?page=3

Re: Widescreen support need help

Posted: Fri Jun 19, 2015 6:08 am
by psxfan107
No there isn't a batch script. The ram address 012EFEE8 (edited through cheat engine) contains the value in question and the edit to game.exe is just after offset 1F410. Also, I made that hack for the playstation and the reason it looks bad is because of the limitations of game itself.

An additional oddity which I noted is this: Not only must it be edited during gameplay, but the "rear view mirror" must be turned on.

Re: Widescreen support need help

Posted: Fri Jun 19, 2015 9:16 am
by cleone
psxfan107 wrote:No there isn't a batch script. The ram address 012EFEE8 (edited through cheat engine) contains the value in question and the edit to game.exe is just after offset 1F410. Also, I made that hack for the playstation and the reason it looks bad is because of the limitations of game itself.

An additional oddity which I noted is this: Not only must it be edited during gameplay, but the "rear view mirror" must be turned on.
Holy sh*t wow I didn't realize you were the maker of it hahahah that's ironic. Yes I know the pax has limitations. Gran turismo 2 in wide screen was EXTREMELY bad. But there's gotta be a way to initiate the cheat engine with some script. I don't know anything about them. Let me do some research. Do you have to be in game or can you do it while the game is at say the main menu? While you may not have a way to hard code, there should be a way to automate it, like a timed batch script. What's the name of this cheat engine?

Re: Widescreen support need help

Posted: Fri Jun 19, 2015 10:23 am
by psxfan107
You didn't realize it was the same person even though the usernames were EXACTLY the same? Also, what part of
psxfan107 wrote: Part of it is an edit to game.exe and the other part is a ram edit that must be made during gameplay.
did you not understand? I already mentioned TWICE that the edit MUST BE MADE DURING GAMEPLAY which you obviously neglected to read. I was able to make a small trainer with an auto script, but there are a few problems with it and thus I'm not happy with it. The issues are that the game gets zoomed in after restarting a mission and there are rendering issues along the far edges of the screen which are an eyesore.

Also, that's not gran turismo 2, its ridge racer type 4. I would appreciate it if stopped with the off topic critisim, that's not why I started this thread.

Re: Widescreen support need help

Posted: Fri Jun 19, 2015 9:44 pm
by cleone
psxfan107 wrote:You didn't realize it was the same person even though the usernames were EXACTLY the same? Also, what part of
psxfan107 wrote: Part of it is an edit to game.exe and the other part is a ram edit that must be made during gameplay.
did you not understand? I already mentioned TWICE that the edit MUST BE MADE DURING GAMEPLAY which you obviously neglected to read. I was able to make a small trainer with an auto script, but there are a few problems with it and thus I'm not happy with it. The issues are that the game gets zoomed in after restarting a mission and there are rendering issues along the far edges of the screen which are an eyesore.

Also, that's not gran turismo 2, its ridge racer type 4. I would appreciate it if stopped with the off topic critisim, that's not why I started this thread.
No need to jump down my throat just trying to get all the damn facts here. I'm not criticizing you, some old games are just not meant to have wide screen thus look awful when someone tries to override it. Its damn impressive you figured out wide screen hacks for the psx, I'm not criticizing you at all and I'm sorry if you took my comments the wrong way.

No I did not pay attention to the usernames sorry, and as for Gran turismo 2 I was talking about epsxes wide screen, they have a built in wide screen for some games on mobile and it looked awful. They just recently added it and its really bad. I still prefer the 4:3 because of off screen drawing issues.

As for restarting a mission causing zoom I didn't know about that. I know you said an exe edit and a cheat engine. The exe edit is easy because then it doesn't need to be scripted.

As for rendering near far edges of screen, that's what happened with gran turismo 2. Many old games that were not designed for widescrbeen stop rendering walls and objects at the outsides of the screen.

Some old games just can't have wide screen added to them without looking bad, but its always awesome to see someone trying, which its really impressive you got this far. The problem with trying to auto script it is how is the script supposed to know you are in game? Unless you use a key to run it?

Again, sorry if you took my comments as criticism, there's nothing to criticize about what you are doing. I honestly have a lot of respect for what you are trying to do thus trying to figure it out and see if there's any way I can help you figure out how to automate it.

Now here's one more question. I need to reinstall driver PC but if I remember correctly, the game menu is in 640x480 and can't be changed right? Does your auto script detect the resolution change or did you change one of the resolution options with the hex edit? I can see how a restart fucks it up as there is no screen resolution change there and it resets the cheat.

Re: Widescreen support need help

Posted: Sun Nov 08, 2015 5:16 am
by Silent
While I realize this is a bump, feels like it has a point. Hopefully the OP still frequents the boards.

Couldn't the part requiring a memory hack on runtime be overcome by injecting custom code inside the process? I mean, if the hack was to ship game.exe (which IMO makes sense in such an old game), it could also link against some custom DLL containing extra code if this needs it.

Still, this looks damn cool!

Re: Widescreen support need help

Posted: Mon Nov 23, 2015 9:15 am
by cleone
Silent wrote:While I realize this is a bump, feels like it has a point. Hopefully the OP still frequents the boards.

Couldn't the part requiring a memory hack on runtime be overcome by injecting custom code inside the process? I mean, if the hack was to ship game.exe (which IMO makes sense in such an old game), it could also link against some custom DLL containing extra code if this needs it.

Still, this looks damn cool!
Yeah, I have no experience with actually doing this but if the code could somehow be injected into a DLL, it could work. Unfortunately I don't think the OP is still around.

Still really incredible he pulled that off though.

Re: Widescreen support need help

Posted: Thu May 26, 2016 12:35 pm
by somebodynamed
*bump* i got the game running in widesceen at 1920 x 1080 thanks to this guy [youtube]
[/youtube] all i need to know is how to fix the FOV

Re: Widescreen support need help

Posted: Sat Jul 30, 2016 1:36 am
by hemi
somebodynamed wrote:*bump* i got the game running in widesceen at 1920 x 1080 thanks to this guy [youtube]
[/youtube] all i need to know is how to fix the FOV
It didn't work for me. I applied all the steps from the video tho!

Re: Widescreen support need help

Posted: Sun Aug 07, 2016 7:46 pm
by helegad
That method worked for me, although if you don't want to hex edit your config.dat, you need to be able to test 1600x1200 okay so you can save the config. I couldn't (monitor is 1920x1080), so I had to compare hex values to find the right ones to set. Here's his method; the video is a bit slow.
Code: Select all
open game.exe in hex editor
find 4006 (xxxxB004) hex
change to 8007xxxx3804
find 4006 again
change to 8007
find 40060000B004 hex
change to 800700003804


1366x768 --- 5605 and 0003
1440x900 --- A005 and 8403
1680x1050 --- 9006 and 1A04
1920x1080 --- 8007 and 3804
1920x1200 --- 8007 and B004