Vadru93 / LevelMod

THPS3 LevelMod
Other
20 stars 2 forks source link

THPS3 does not work with LevelMod #104

Closed JanekMak closed 3 years ago

JanekMak commented 3 years ago

Hi Since few days Im trying to make LevelMod work on my PC, but no success so far :(

The story goes like this: After extracting the levelmod into my THPS directory I can't play the game anymore.

When I launch the game after the intro movies I see that the welcome screen has changed (levelmod seems to work so far) but then it only blinks shortly with the root menu of the game and crashes and I'm back on my desktop with the beloved dialog box:

"Program THPS3PC has stopped working. Windows can check online for a solution to the problem. bla, bla, bla..."

What I tried already (with the generous help of Demo): I installed C++ and updated DirectX 9 removed the levelmod.lft installed the 1.01 patch extracted some more files from the latest version (LevelMod-2020.08.25.zip)

When I run the skate3.exe as a administrator nothing changes - same crash.

I tried also with this one: https://github.com/Vadru93/LevelMod/releases/tag/0bb24af and then when I try to launch skate3_debug i get an error: cant run this program because im missing the MSVCP140D.dll file

But there's something new: first thing that pops up after launching skate3.exe is brand new error" failed to enable AntiAliasing" and then intro movies and crash in the same old place.

so I changed LM_GFX_eAntiAlias=0 the AntiAlias error is gone, but still crashes when running skate3.exe

Now we are running out of ideas... What can I do next? Help!

My gpu: Mobile Intel 4 Series Express Chipset Family, GMA X4500HD My OS is Windows 7 Home Premium

Vadru93 commented 3 years ago

The antialias error is not an issue here, it’s just there so you know it failed, but after failing it will use default settings.

because im missing the MSVCP140D.dll file That’s a mistake by me, I will fix it.

Vadru93 commented 3 years ago

You can now download the dll from here: https://github.com/Vadru93/LevelMod/blob/master/LevelMod/msvcp140d.dll

JanekMak commented 3 years ago

Hi Yes, visual studio is installed - I just checked it second time now.

After downloading this msvcp140d.dll file now when I try to launch the skate3_debug.exe i get a new error:

"The application has not been started properly (0xc000007b). Click OK to finish the application"

Any clue what that means?

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Wolny od wirusów. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

śr., 17 lut 2021 o 20:38 Vidar Ekblad notifications@github.com napisał(a):

You can now download the dll from here: https://github.com/Vadru93/LevelMod/blob/master/LevelMod/msvcp140d.dll

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Vadru93/LevelMod/issues/104#issuecomment-780801833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS3P3D27JDIQQ2EPJXTHRGLS7QLMLANCNFSM4XY2KJZQ .

-- Pozdrawiam Wojciech Stecyszyn

Vadru93 commented 3 years ago

The problem is that the debug version of the dlls are not included in the redist. I will have to rewrite the skate3_debug to not use the debug version of the dlls.(Basically you are missing more than just msvcp140d.dll and only way to get all of them is for you to download visual studio compiler). I will try to fix this tomorrow.

JanekMak commented 3 years ago

I will appreciate it if you do so. I really would like to enjoy the game in level mod.

Although I don't quite understand what is going on niw with this skate 3_debug (my computer skills are pretty lame) but if you just instruct me what to do then I will follow :)

I was also thinking about just reinstalling the game. I must say that the version that I have is suspicious - I had troubles with installing it and it launches every second or third time. Do you think reinstalling would help?

On Wed, Feb 17, 2021, 23:31 Vidar Ekblad notifications@github.com wrote:

The problem is that the debug version of the dlls are not included in the redist. I will have to rewrite the skate3_debug to not use the debug version of the dlls.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Vadru93/LevelMod/issues/104#issuecomment-780897907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS3P3D7KRQS4TF23RQDJHQTS7Q7UHANCNFSM4XY2KJZQ .

Vadru93 commented 3 years ago

Well the msvcp140d is a debug dll that only exists if you install the visual studio compiler. But installing that when you will not use the compiler is kind of waste of space. If you still want to install the compiler you can do so here https://visualstudio.microsoft.com/downloads/

In the evening today, or tomorrow I will try to change it to not use debug version of dll, then the redist package will be enough.

However this will not solve your problem, it will only make it so you can launch skate3_debug and most probably crash(hopefully with some debug info that I can use to help you further).

So my suggestion is to wait until I fixed so you can launch skate3_debug without msvcp140d.dll and then (hopefully) I will get some info and can help you more.

JanekMak commented 3 years ago

Ok, I get more of the picture now. I'm in :) Thank you for your help.

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Wolny od wirusów. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

czw., 18 lut 2021 o 11:50 Vidar Ekblad notifications@github.com napisał(a):

Well the msvcp140d is a debug dll that only exists if you install the visual studio compiler. But installing that when you will not use the compiler is kind of waste of space. In the evening today, or tomorrow I will try to change it to not use debug version. Then the redist package will be enough.

However this will not solve your problem, it will only make it so you can launch skate3_debug and most probably crash(hopefully with some debug info that I can use to help you further).

So my suggestion is to wait until I fixed so you can launch skate3_debug without msvcp140d.dll and then (hopefully) I will get some info and can help you more.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Vadru93/LevelMod/issues/104#issuecomment-781256791, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS3P3D6ARDQI3S5A42DJ4J3S7TWIVANCNFSM4XY2KJZQ .

-- Pozdrawiam Wojciech Stecyszyn

Vadru93 commented 3 years ago

I still couldn't get it to compile without those dlls. But I include 2 more dlls. If you try to download latest repo it might work.

JanekMak commented 3 years ago

By latest repo you mean the latest levelmod? Can you direct me to the file? And are those 2 more included dll files already there, or I will have to get them separately?

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Wolny od wirusów. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

czw., 18 lut 2021 o 20:04 Vidar Ekblad notifications@github.com napisał(a):

I still couldn't get it to compile without those dlls. But I include 2 more dlls. If you try to download latest repo it might work.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Vadru93/LevelMod/issues/104#issuecomment-781568734, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS3P3D4MRXKPBCRYJHWAMU3S7VQE3ANCNFSM4XY2KJZQ .

-- Pozdrawiam Wojciech Stecyszyn

Vadru93 commented 3 years ago

I mean this folder https://github.com/Vadru93/LevelMod/tree/a0c7baeebdcb5820a27ff2724b93ada4de49c86b/LevelMod To download alll files just press the little down arrow next to green button called "Code" and then "download zip" bild

JanekMak commented 3 years ago

This link looks a bit different on my screen. I dont see the download option.

image

Vadru93 commented 3 years ago

The download button is only on the first page of the github project https://github.com/Vadru93/LevelMod

JanekMak commented 3 years ago

OK, I got the LevelMod-master folder extracted to my game folder - no files was replaced, only the "LevelMod-master" folder appeard in the root folder of the game. Unfortunately no change. When I try to launch skate3_debug I get the same error:

"The application has not been started properly (0xc000007b). Click OK to finish the application"

Same thing happening when I try to launch skate3_debug from the root folder of the game and the second skate3_debug that I've found deeper in the LevelMod-master/LevelMod folder.

Vadru93 commented 3 years ago

Okay let’s try again. Download the zip and extract the content of the LevelMod folder into the game folder. Not the whole zip. If you do it right it will replace files.

JanekMak commented 3 years ago

Alright, now the files are replaced.

The same error :(

Vadru93 commented 3 years ago

image So now in your game folder you have all these files? Then I don’t know which dlls you are missing, maybe you will need to download the compiler after all.

Vadru93 commented 3 years ago

Btw what windows version are you running?

DCxDemo commented 3 years ago

It was reported in the initial post:

My OS is Windows 7 Home Premium

however, it would be nice to indicate if it's 32bit or 64bit.

JanekMak commented 3 years ago

Yes, all these files are now in my game folder (along with plenty others, from previous 3 or 4 extractions and now I must say that I have a pretty mess in there - I hope this is not causing any more problems).

64bit (sorry to not mention it before)

Next step: installing compiler? Or maybe reinstalling THPS3 ?

Vadru93 commented 3 years ago

Well you can try reinstall thps3 first, then maybe you will not need compiler.

JanekMak commented 3 years ago

Can you recommend some good source of the install file? To avoid repeating my issue I would like to try different one.

Vadru93 commented 3 years ago

I know this version works https://www.myabandonware.com/game/tony-hawk-s-pro-skater-3-3rm#download

Vadru93 commented 3 years ago

I tried LevelMod now on Windows 7 x64 virtual machine. Step 1 install th3 from the link I provided. If you want music you will need to download the iso file, else use the rip file. Step 2 install 1.01 patch, also available at the link I provided. Step 3 install LevelMod base http://chapter-3.net/thps3/v2/showthread.php?tid=3141 Step 4 remove LevelMod.flt from MILES folder Step 5 download zip from github Step 6 copy contents of LevelMod folder inside ZIP into game folder and replace all files Step 7 if you still have issue try to change levelmod.ini to these settings: LM_GFX_eAntiAlias=0 LM_GFX_eBuffering=0 LM_GFX_bFiltering=0

JanekMak commented 3 years ago

Supercool! Thanks for the instruction :) Although one thing bothers me. I read in the comments that this thps3 install comes with a trojan virus ... You sure it is safe?

Vadru93 commented 3 years ago

It's the rip version and it's because of no-cd crack. It is a false positive. However if you are unsure just download the iso version it's 100% original cd content.

JanekMak commented 3 years ago

Ok, I got it! I will give it a try. But first I will continue to enjoy the game as it is now and score a few levels before I will take the risk and try to reinstall it ;)

Vadru93 commented 3 years ago

You can make a copy of the game folder and install levelmod there. Also if you don’t replace the script folder when you install levelmod base you can always play original game by renaming d3d8.dll.

JanekMak commented 3 years ago

After making a copy of a game folder and installing LevelMod there I will have two THPS3 on my PC? One normal and one with LevelMod, do I understand it well?

Vadru93 commented 3 years ago

Exactly! It’s always good to make a backup before you install or update the mod, just in case.

JanekMak commented 3 years ago

HAHA it works!! After completing the game I uninstalled it, then installed again from your link. And then did all steps (except the 7th, cause there seemed to be no need to do it). I had to change just one file ( LM_GFX_eAntiAlias=0) in levelmod.ini then configure display settings in the launcher menu and now it work just fine. Thank you so much for your patience and help.

LevelMod is supercool! Great job gentelmenzzz!!

JanekMak commented 3 years ago

Can you help me with the network play? After I enter the network play option and choose "internet" i enter this place and I don't know what to do next? How to play with other players? How to find them?

image

Vadru93 commented 3 years ago

Well there is not really an active community in this game any more. There are discord servers that you can join and some whatsapp group. You can also try finding people in forums, for example chapter-3.net

Some discord servers https://discord.gg/kGp7NrTF https://discord.gg/g4wVfnv5 https://discord.gg/wtNU7AA4 https://discord.gg/8SfAkbnZ

JanekMak commented 3 years ago

Ahh, I feel like an Indiana Jones that was trying so hard to get through the obstacles and get to the centre of the labyrinth just to realise that the chamber of treasure is empty...

So everything works fine then and when I am in the network game mode its just that ... nobody ele is there? Such a pity... I will try to find someone though

Vadru93 commented 3 years ago

Well the community kinda died when gamespy stopped working. But there are some hardcore fans still playing sometimes. Also randomly some old players will come online few times per year. Just send me a message on discord and We can play. Only problem is I don’t think I can host right now.

To be able to host you need to open ports in your router.

JanekMak commented 3 years ago

Yeah, I just played with some hardcore fan - so hardcore that he left me far behind. He was too good!

I will love to play with you. Maybe tomorrow? Maybe I could host? I dont know how, but I can try. Just tell me how?

Also I have some issues. One thing is that now game once in a while crashes during the play. Second is that when I want to play career mode after choosing the level I see the goals video (ALL GOALS COMPLETED) and then Im stuck on the last view of the goals video (PRESS O TO CONTINUE) but no button is working then. The music already plays, but I have to wait a loooong time before I can go to play mode. Then it works normally.

After launching the game i see error "Failed to enable AntiAliasing" but after clicking OK it launches the game anyway.

I loaded some of my music. I copied in my saved data but I guess this was not a cause o these issues.

Vadru93 commented 3 years ago

Controller not working is a known issue that I couldn’t fix yet: https://github.com/Vadru93/LevelMod/issues/84

To get rid of antialias message just disable antialiasing in ini file, or in levelmod settings menu.

To help you with the crash issues you will need to download visual studio compiler so you can launch game in debug mode. When you have that installed you can make a shortcut to skate3_debug and add commands -windowed -log. -log command will create a file LM_log.txt, you can send this log to me on discord. You can also disable and enable loging by typing /log in chat(only works in debug mode).

To host you will need to make sure firewall allows skate3.exe and maybe even disable firewall temporarly when you wanna host. Then to open ports you can follow this guide https://portforward.com/tony-hawks-pro-skater-3/