16:9 Patches for every THPS PC Game

General discussion about modding in all thps games.
Cla
Posts: 21
Joined: Fri Sep 30, 2011 4:30 am
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby Cla » Fri Sep 30, 2011 6:44 pm

kõvanikumees wrote:easy'st way is create new menulink and add qb key screen_setup_widescreen (724B374D) or ex. go queen bee -> gamemenu_options and change create_gamma_menu to create_gamma_menu2 etc, then go camera.qb and change screen_setup_widescreen to create_gamma_menu, then go game and open gamma menu and you see display going to widescreen and save game and go change in queen bee all back old.
Can you please upload the files with these changes already done?

I keep trying to do this, but everytime I try to save the file, I keep getting told that "access is denied" even though I'm running the program as Admin.

(EDIT: yes I just noticed the fix. I'll update later if it actually works)

EDIT 2: Alright it worked. Thanks a bunch, kõvanikumees. :D
ImageImage
Cla
Posts: 21
Joined: Fri Sep 30, 2011 4:30 am
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby Cla » Sat Oct 08, 2011 1:39 am

quazz wrote:For THPS4/THUG1/THUG2:

Open Gamemenu.qb (THPS4/THUG1) or gamemenu_pause.qb (THUG2) in a hex editor

Replace IsXbox with IsPs2 in the space above adjust gamma.

Done!
I've been trying to do this for THUG2. (well, using QBLauncher rather than HEX editor) But the game remains unchanged. I even completely removed the line for the "Adjust Gamma" option and IT'S STILL THERE IN GAME. I even put the line for the Widescreen Option in it's own line, (ie. not an IF statement so it should show up no matter what) and it's still no where to be found in the game.

What am I doing wrong? I've uploaded my edited gamemenu_options.qb. Please look at it and/or test and tell me what I've done wrong.

Thanks.

EDIT: Oh yeah that reminds that I'm confused about these instructions because the IsXbox thing is actually in gamemenu_options, not gamemenu_pause. Did I miss something here or was it just a typo on quazz's part?
Attachments
gamemenu_options qb.zip
Attempt at making THUG2 widescreen.
(10.32 KiB) Downloaded 244 times
ImageImage
Anteara
Posts: 268
Joined: Thu Oct 14, 2010 2:55 am
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby Anteara » Sat Oct 08, 2011 2:28 am

I haven't checked your script but if it's correct and it still doesn't work , it means you haven't dummied the pre.
Cla
Posts: 21
Joined: Fri Sep 30, 2011 4:30 am
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby Cla » Sat Oct 08, 2011 3:21 am

I figured it was something stupid going on, but I'm afraid I don't understand what it means to "dummy the pre". And Google doesn't get it either...

http://www.google.com/search?q=dummy+the+pre
http://www.google.com/search?q="dummy+the+pre"
ImageImage
Anteara
Posts: 268
Joined: Thu Oct 14, 2010 2:55 am
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby Anteara » Sat Oct 08, 2011 11:41 am

http://thps-mods.com/forum/viewtopic.php?f=22&t=655

My tutorial here shows you how to dummy the pre. just disregard the bits about the blur and just do the dummy part.

just look under "How to dummy Qb_scripts.prx"
Cla
Posts: 21
Joined: Fri Sep 30, 2011 4:30 am
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby Cla » Sat Oct 08, 2011 7:48 pm

Thank you very much Anteara and WEBM. Now the problem I have is that in-game the Screen Mode menu is blank. (I click it, but only thing in this submenu is "Done") Is there any else I have edit besides gamemenu_options.qb?
ImageImage
Cla
Posts: 21
Joined: Fri Sep 30, 2011 4:30 am
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby Cla » Sun Oct 09, 2011 5:30 pm

Ok. I figured it out. In gamemenu_options.qb, there's this part:

Code: Select all

   :i if $IsPS2$
      :i switch  ($ingame_screen_mode$)
         :i case $standard_screen_mode$
            :i $mode$ = %s(8,"Standard")
            :i endcase
         case $widescreen_screen_mode$
            :i $mode$ = %s(10,"Widescreen")
            :i endcase
         case $letterbox_screen_mode$
            :i $mode$ = %s(9,"Letterbox")
            :i end_switch
      
      :i call $theme_menu_add_item$ arguments
         $text$ = %s(16,"Display Setting:")$extra_text$ = %GLOBAL%$mode$$pad_choose_script$ = $create_display_menu$
   :i endif
You need to change $IsPS2$ to $IsXbox$ here.
ImageImage
buvk
Posts: 3
Joined: Tue Jan 10, 2012 4:19 am
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby buvk » Wed Jan 11, 2012 4:10 am

i can't for the life of me figure out how to get thps4 running in 16:9.
would someone be able to send me a pre-modified gamemenu.qb with the necessary changes made, or maybe dumb down the instructions a little bit for a total thps modding newb?

i've already tried hex editing the file, and replaced 8A83D786 with 4901414C in the space above adjust gamma.
Stealer
Posts: 1
Joined: Sun Sep 23, 2012 2:06 am
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby Stealer » Sun Sep 23, 2012 2:09 am

kõvanikumees wrote:= fat skaters,

easy'st way is create new menulink and add qb key screen_setup_widescreen (724B374D) or ex. go queen bee -> gamemenu_options and change create_gamma_menu to create_gamma_menu2 etc, then go camera.qb and change screen_setup_widescreen to create_gamma_menu, then go game and open gamma menu and you see display going to widescreen and save game and go change in queen bee all back old.

sorry my shitty english,,
Fat(standard):
http://www.upload.ee/image/621421/THAW_ ... -44-68.jpg
Widescreen:
http://www.upload.ee/image/621422/THAW_ ... -31-47.jpg

It took me whole hour to figure out with your, it seems, incorrect manual.

The all what I had to do is to decompile the following file using qb_old.exe:
Tony Hawk's Underground 2\Game\Data\scripts\game\menu\gamemenu_options.qb

Then find the following string:
$$pad_choose_script$ = $create_gamma_menu$

And replace it with:
$$pad_choose_script$ = $screen_setup_widescreen$

Finally, compiling it back and just clicking "ADJUST GAMMA" in options menu will result in changing your screen to wide.

Also you can replace the "ADJUST GAMMA" to "WIDESCREEN MODE" from the following string to make it look more perfectly:
$text$ = %s(12,"ADJUST GAMMA")$id$ = $menu_gamma
_ENunn_
Posts: 106
Joined: Fri Apr 04, 2014 12:21 am
Location: Providence, KY, USA
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby _ENunn_ » Sat Jul 04, 2015 7:27 am

buvk wrote:i can't for the life of me figure out how to get thps4 running in 16:9.
would someone be able to send me a pre-modified gamemenu.qb with the necessary changes made, or maybe dumb down the instructions a little bit for a total thps modding newb?

i've already tried hex editing the file, and replaced 8A83D786 with 4901414C in the space above adjust gamma.


YES PLEASE UPLOAD THE FILES PRE-MODIFIED!! He needs it for THPS4, I need it for THUG. :/

C'MON UPLOAD THEM ALREADY!! :D

And yes, I do know this is a 3+ year old thread. :/
lol hi
_ENunn_
Posts: 106
Joined: Fri Apr 04, 2014 12:21 am
Location: Providence, KY, USA
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby _ENunn_ » Sun Jul 05, 2015 12:10 am

I can't find 0x0000D5FE. How do I find it in HxD?
lol hi
_ENunn_
Posts: 106
Joined: Fri Apr 04, 2014 12:21 am
Location: Providence, KY, USA
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby _ENunn_ » Sun Jul 05, 2015 1:21 am

Hmm...this is what I get when I find 0000D5FE.

Wait, that's supposed to happen? Hold on.

Ok nevermind that. I replaced the hex codes, but the Adjust Gamma menu is still there and no Screen Mode option is there!
Attachments
bandicam 2015-07-04 18-19-18-095.jpg
bandicam 2015-07-04 18-19-18-095.jpg (266.32 KiB) Viewed 2639 times
lol hi
_ENunn_
Posts: 106
Joined: Fri Apr 04, 2014 12:21 am
Location: Providence, KY, USA
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby _ENunn_ » Sun Jul 05, 2015 1:57 am

I'm sorry, but I am really, REALLY confused after reading it. :|
lol hi
Demo
Posts: 436
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby Demo » Sun Jul 05, 2015 2:00 am

there are widescreen patches via directx hook for every pc thps by thirteenag.
just unpack, set your preferred resolution in ini file and enjoy.

https://thirteenag.github.io/widescreen_fixes_pack#sec5

too bad he didn't really fix thps3.
_ENunn_
Posts: 106
Joined: Fri Apr 04, 2014 12:21 am
Location: Providence, KY, USA
Contact:

Re: 16:9 Patches for every THPS PC Game

Postby _ENunn_ » Sun Jul 05, 2015 2:07 am

Demo wrote:there are widescreen patches via directx hook for every pc thps by thirteenag.
just unpack, set your preferred resolution in ini file and enjoy.

https://thirteenag.github.io/widescreen_fixes_pack#sec5

too bad he didn't really fix thps3.


Oh Demo, you know I don't have a beast pc! Seriously, one time I installed it it lagged like hell. idk if it was this or another one.

I did find one yesterday, but I can't use it with mods like 666 Mod, etc. That's why I posted here to get it working.
lol hi

Return to “Other THPS games modding”

Who is online

Users browsing this forum: No registered users and 1 guest