[THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

General discussion about modding in all thps games.
Cypher
Posts: 1
Joined: Tue Nov 21, 2017 11:18 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Cypher » Tue Nov 21, 2017 11:24 pm

First of all awesome patch!!!! :D

This game brings back memories :) but i have no music, any idea why? I haven't changed the tracklist, and haven't changed the location of the music folder. Ambient and sfx is fine, just no music.

This is my log, maybe it has some info i don't see myself: https://pastebin.com/NuQWkqkp

EDIT: nevermind, should learn to run as administrator
Catar4x
Posts: 66
Joined: Sat Nov 24, 2012 4:39 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Catar4x » Sun Jan 14, 2018 5:05 am

Tried the latest patch version, if I start the game without my 360 wireless controller connected, the game crashs at startup. :S
Deleting the dinput fix the startup but crash in-game.

Code: Select all

PCINPUT_Load
InitDirectInput()
ASSERT!: H:\TonyHawk\Pc2\Pc\PcInput.cpp(988):   Unable to create a joystick object.
Demo
Posts: 454
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Demo » Sun Jan 14, 2018 4:53 pm

Catar4x wrote:Tried the latest patch version, if I start the game without my 360 wireless controller connected, the game crashs at startup. :S
Deleting the dinput fix the startup but crash in-game.


Can't confirm this on my side, I get this:

Code: Select all

PCINPUT_Load
InitDirectInput()
ASSERT!: H:\TonyHawk\Pc2\Pc\PcInput.cpp(994):   No joystick attached on this system


Does it still crash when you only launch THawk2.exe directly without dll?
Catar4x
Posts: 66
Joined: Sat Nov 24, 2012 4:39 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Catar4x » Sun Jan 14, 2018 7:23 pm

It crashed due to my wii controller adaptater plugged in (no luck), my bad.

I don't know if you have theses bugs :
- without "additional skaters styles", Private Carrera is still named as Bam Margera
- Bam Margera has Private Carrera voice with "additional skaters styles" (logic, but could it be modified?)

Do you know where is stored the main menu music? Can't find it, thanks.

I tried the new widescreen hack thirteenAG, he managed to get a mini wheel working, don't know if it still planned to fix it?
Anyway I play in 640x480 with the resolution overriden in 1080p by dgVoodoo DirectX Wrapper, that's okay.
Demo
Posts: 454
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Demo » Sun Jan 14, 2018 9:33 pm

Catar4x wrote:I don't know if you have theses bugs :
- without "additional skaters styles", Private Carrera is still named as Bam Margera
- Bam Margera has Private Carrera voice with "additional skaters styles" (logic, but could it be modified?)

it's cause 0x00538BB8=Bam Margera* is in global patch.

male grunts for carrera slot
0x00538CF4=(int32)160

some kind of skater flags i guess, regular skaters only have it as 0/1, while secret skaters have different values here.

Catar4x wrote:Do you know where is stored the main menu music? Can't find it, thanks.

it's the most heavy wav file in thps2\audio

Catar4x wrote:I tried the new widescreen hack thirteenAG, he managed to get a mini wheel working, don't know if it still planned to fix it?
Anyway I play in 640x480 with the resolution overriden in 1080p by dgVoodoo DirectX Wrapper, that's okay.

he scales it down, so it's visible. i'm not a fan of black stripes though.
Catar4x
Posts: 66
Joined: Sat Nov 24, 2012 4:39 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Catar4x » Sun Jan 14, 2018 11:33 pm

Thanks! Can't find that wav file, in audio folder I only have the "Terrains" folder.
Demo
Posts: 454
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Demo » Sun Jan 14, 2018 11:40 pm

Catar4x wrote:Thanks! Can't find that wav file, in audio folder I only have the "Terrains" folder.

well you should unpack all.pkr first. it's called thpsshell4.wav
Demo
Posts: 454
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Demo » Mon Jan 15, 2018 2:27 am

A WIP update, preview of v4. Expect bugs.

* XInput vibration support
* Separate saves for every game.
* Logarithmic fog scale slider, in 10-750 range.
* Ability to use separate tracklist for every game.
* Missing music bug should be fixed now.
* Some patches are moved to proxy dll and are applied without launcher now.
* Added menu thumbnails for levels in data\ui, not complete yet.
* Looping 1 second for ambient tracks should be fixed now.
* Fixed R3 behaviour, doesn't loop through tracks while pressed anymore.
* Moved most settings in th2_opt.cfg
* Minor changes in launcher behaviour, it will create ini files if it doesn't exist.
* Added a batch script to uninstall patch (be careful if you edit something, as it completely deletes patch folder).

http://levelmod.webatu.com/misc/th2patch_v4prev.7z

Major difference in this release is that now I use SQLite database to store most of the data in a convinient way. Most level related data from levelpatch is stored in thps.db and sountrack is stored in music.db. To import custom soundtrack, download this:

http://levelmod.webatu.com/misc/th2patc ... t_music.7z
Demo
Posts: 454
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Demo » Thu Jan 18, 2018 1:01 am

Rather cheap way to enable mini-wheel.
unpack this to th2 folder: http://levelmod.webatu.com/misc/wheelfix.7z
and add this to [global] in levelpatch.ini: 0x005313CC=sxwheel.bmp*
Catar4x
Posts: 66
Joined: Sat Nov 24, 2012 4:39 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Catar4x » Fri Jan 19, 2018 8:47 pm

Can't get the mini wheel to be read, even as admin :

THPS2/data/sxwheel.bmp
THPS2/newbmp/sxwheel.bmp

Code: Select all

      Shell Screen: 0 - MAIN_MENU
   TEX too big. Better be used by D3DSprite...
      PCopen of data\sxwheel.bmp failed

      PClseek with fd = -1

      PClseek with fd = -1

ASSERT!: H:\TonyHawk\Pc2\fileio.cpp(978):   PClseek failed for sxwheel.bmp, size -1, error -1

File sxwheel.bmp not foundASSERT!: H:\TonyHawk\Pc2\Image.cpp(801):   Unsupported bpp value
ASSERT!: H:\TonyHawk\Pc2\Image.cpp(804):   Unlikely width value 338491736
ASSERT!: H:\TonyHawk\Pc2\Image.cpp(883):   No D3D Texture Loaded!!!
Exception C0000005 at 4D7114 :Access Violation
Demo
Posts: 454
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Demo » Fri Jan 19, 2018 10:06 pm

Catar4x wrote:Can't get the mini wheel to be read, even as admin :

game thinks file's not there.
double check paths (ini datapath?) and permissions.
try to change =sxwheel* in levelpatch to some other bmp that you already have there in data folder (if any), for a test

Image
Catar4x
Posts: 66
Joined: Sat Nov 24, 2012 4:39 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Catar4x » Sat Jan 20, 2018 12:28 am

Well the issue comes from :

I have a second THPS2 folder and the game rely on the original folder installed from what I see (for the bmp, rest i don't know).
Demo
Posts: 454
Joined: Mon Aug 15, 2011 2:20 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Demo » Sun Jan 28, 2018 10:22 pm

v4prev2 changes:
* Added Input tab
- Vibration toggle
- Big Drop toggle
- a button to remove directinput binds
* Changed extra styles logic, additional skaters are now selectable in the launcher and will repace Officer Dick in game (no more female grunts for Bam, hehe)
* College now has most gaps except lip ones, fixed some sounds
* Los Angeles will not crash now, original sounds are partially filled with similiar th2 sounds
* mini-wheel fix included

Content updates:
* Added Fin K. L. to skaters pack
* Added Hawk style D textures
* Added Burnside 2x textures
* Added some College textures

Download: http://levelmod.webatu.com/misc/th2patch_v4prev2.7z
Catar4x
Posts: 66
Joined: Sat Nov 24, 2012 4:39 pm
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Catar4x » Fri Feb 02, 2018 11:18 pm

here's my bug report :
- actived vibration became very very low (360 wireless), I use this driver to enable vibration on old games without trouble (up to thaw)
https://www.reddit.com/r/trucksim/comme ... r_xbox360/
- mini wheel flicker (could you extract the one of ThirteenAG?)
- Heat 1 animation on freeskate for Downhill THPS3
Tony
Posts: 1
Joined: Fri Feb 09, 2018 12:52 am
Contact:

Re: [THPS2][PC] Cumulative patch (Widescreen, FPS unlock, etc.)

Postby Tony » Fri Feb 09, 2018 12:53 am

Hey, for some reason the download link isn't working. Could you post a mirror please? :D

Return to “Other THPS games modding”

Who is online

Users browsing this forum: No registered users and 1 guest