DCxDemo / THPS2-Cumulative-Patch

Cumulative Patch for Tony Hawk's Pro Skater 2 PC
https://discord.gg/vTWucHS
GNU General Public License v3.0
37 stars 1 forks source link

Patch on Wine #29

Closed SanZamoyski closed 2 years ago

SanZamoyski commented 2 years ago

Hi!

I'm using Wine on linux to play THPS2. I tried Windows XP in VirtualBox but as far as I understand it won't work since VB does not support DirectX 7 (dxdiag confirms that, only 8 and 9 are supported) - I get blank screen. Also tried vmware, but it was uplayable. So, everything seems to work on wine at least widescreen and gameplay but, when I select ie. THPS1 levels I get THPS2 only. I installed THPS2 from iso, th2patch_v4prev2.7z, th2_content_pack.7z, and crack.

I don't know where to look for anything more.

THPCERR.LOG TH2_OPT.CFG.txt

Thanks in advance!

DCxDemo commented 2 years ago

try to use dinput.dll from the latest release here, i think it might be related to the fact the old release relies on .net launcher that accesses thawk2.exe process, that might not work properly on linux, not like that ever intended to be run on linux anyways, but if it'll work, thats great. latest one patches level names in the dll, so probably it will work since you say widescreen works, but gaps/newtex names weren't moved to dll yet so that particular functionality definitely wont work.

SanZamoyski commented 2 years ago

Unfortunately, it didn't help. Any way to debug it somehow? THPCERR.LOG

I have .Net 4.0 or 4.5 installed in Wine.

SanZamoyski commented 2 years ago

I've found that I need to force dll with widescreen from THPS3. Tried that with THPS2 - it won't start. These are debug messages: thps2-forcedll.txt

DCxDemo commented 2 years ago

Figured out this happens when sqlite can't access patch\thps.db. if you're able to test it on your side, please make sure your path\thps.db is not a 0 bytes file and check if this dll changes anything. for now the assumption is wine handles path differently, thus game can't find the file. dinput.zip

SanZamoyski commented 2 years ago

Yes! It works well now. thps.db was non-zero size (80 KiB), but replacing dll worked.

Thank You!