Silent-Hill-2-Enhancements icon indicating copy to clipboard operation
Silent-Hill-2-Enhancements copied to clipboard

Worked last year, now doesn't work at all.

Open JJOldaker opened this issue 2 years ago • 46 comments

Last year I installed all the enhancements and everything and really enjoyed playing a bit during Halloween time but I quit playing til last week when I thought I'd see what had changed with the enhancements. Obviously now it's very much automated and after updating I get nothing, the EXE file seems to crash immediately and I have no idea why. I backed up the entire game last year to a disk and even last year's version also seems to crash immediately now on my current setup. Renaming the d3d8.dll to another name gets the game to run albeit just the original game with no enhancements. Here's the attached d3d8.log: d3d8.log I'm running the latest Windows 10 on a Ryzen 5 2600X with an AMD RX580 video card. The funny thing is I copied it exactly as it is now with the latest enhancements to my fiancee's old AIO PC with an I3 3220 and no graphics card and the game ran flawlessly albeit probably at 15 frames per second!! I am not sure what else to try as it gives no errors whatsoever, just never comes up.

JJOldaker avatar Sep 13 '22 23:09 JJOldaker

Sorry you're having issues. Can you also share a snapshot of the contents inside the game's main folder?

Polymega avatar Sep 14 '22 00:09 Polymega

image image

JJOldaker avatar Sep 14 '22 00:09 JJOldaker

Thanks. Our project has changed quite a bit over the years, including dropping older supplemental software in favor of newer ones. Back before our installer, you'd have to keep up with project updates to know which files to remove before downloading/using the newer packages we provide. Since it's been a while since you've last updated the project, it looks like the newer supplemental software is conflicting with the older software.

You want your directory to look something like this. Remove these files/folders from the directory and see if that fixes things:

\reshade-shaders\
d3d8.dat
d3d8.dll.deleteonnextlaunch
d3d9.dll
d3d9.ini
d3d9.log
DefaultPreset.ini
dsound.ini
dsound.log
dxgi.log
ReShade Filter - SH2 PC PS2.ini
ReShade.ini
ReShade.log
ReShade_sh2pc.ini
sh2_affinity_shortcut.exe
sh2pc.2
sh2pc.bak
Squizy_Silent_Hill_2_Resolution_v1.0.exe

Polymega avatar Sep 14 '22 00:09 Polymega

The same exact result with those files deleted. Oh and seem to be missing d3d8.cfg when comparing to the file list on the website.

JJOldaker avatar Sep 14 '22 01:09 JJOldaker

d3d8.cfg is created by our project upon first launch of the game with using our project. If you rename sh2pc.exe to something else, such as sh2.exe, does it launch then? If not, you can change its name back to sh2pc.exe.

Polymega avatar Sep 14 '22 01:09 Polymega

No, seems to have the same result no matter what the name.

JJOldaker avatar Sep 14 '22 01:09 JJOldaker

Okay, we may need to get @elishacloud's input on this when he's available.

Polymega avatar Sep 14 '22 01:09 Polymega

@JJOldaker, can you try disabling the shaders and see if that helps. If not can you upload a new log file?

elishacloud avatar Sep 16 '22 01:09 elishacloud

If you mean setting all the shader options to 0 in the d3d8.ini and trying I did that and no change. d3d8.log

JJOldaker avatar Sep 16 '22 04:09 JJOldaker

What is the date on that log? It is not complete. The game has not even started.

Try disabling the "Admin privilege checker".

image

elishacloud avatar Sep 16 '22 04:09 elishacloud

Seemed to take longer to crash though the same result in the end. Log file is a lot longer this time. d3d8.log

JJOldaker avatar Sep 16 '22 06:09 JJOldaker

I noticed there is a missing SH2EEsetup.dat file in this folder. This means that the setup tool did not run for this folder. Can you try running it again and reinstalling everything in this folder?

elishacloud avatar Sep 16 '22 15:09 elishacloud

Okay reran the setup as you suggested and it still didn't run. I noticed the log file was now very short again (stopping at the compat layer part) so went back in and again disabled the admin privilege checker. Tried running the game again, but did not work. This time though the log file is a little different I think: d3d8.log

JJOldaker avatar Sep 16 '22 16:09 JJOldaker

This time though the log file is a little different I think:

The next step in the log would be Hooking the FileSystem APIs...

I have a totally random thing for you to try. Temporarily remove dsound.dll and dsoal-aldrv.dll from the game's directory. Does it launch for you then? If not, you can place those files back in the game's directory.

Polymega avatar Sep 16 '22 17:09 Polymega

No, it didn't launch, basically the same result. d3d8.log

JJOldaker avatar Sep 16 '22 17:09 JJOldaker

Ok, I added some additional logging so we can see where it is failing. Can you use this file, just unzip it into the game folder and they try running the game again and send us the log file.

With additional logging: d3d8.zip

elishacloud avatar Sep 16 '22 18:09 elishacloud

I'm so sorry I didn't get the usual email that there was a reply. I just happened to come back here on a whim to make sure there wasn't a reply. I will try this later as I am working right now and as soon as I do I will reply again probably later tonight.

JJOldaker avatar Sep 22 '22 21:09 JJOldaker

Okay got off work really early so got a chance to run it. Here's the log file:

d3d8.log

JJOldaker avatar Sep 22 '22 22:09 JJOldaker

This is weird. Try disabling the following options:

  • AutoUpdateModule
  • RestoreVibration

elishacloud avatar Sep 22 '22 22:09 elishacloud

No change but here's the new log file.

d3d8.log

JJOldaker avatar Sep 22 '22 22:09 JJOldaker

It looks like the module is fully loading now. Can you check if the game works without the module? Try renaming d3d8.dll to something else to see if the game works correctly on its own.

elishacloud avatar Sep 22 '22 23:09 elishacloud

Yes, the game does run with that file renamed but it's I think the vanilla game that way. I'm not sure if I mentioned it before but it always ran without the enhancements.

JJOldaker avatar Sep 22 '22 23:09 JJOldaker

Ok, then we will need to figure out which option in the module is causing the issue.

Try this update. Everything is disabled here: d3d8.zip

elishacloud avatar Sep 22 '22 23:09 elishacloud

UseCustomModFolder = 0 is the problem. Setting this to 1 causes the game to not run.

JJOldaker avatar Sep 23 '22 01:09 JJOldaker

Maybe there is something unexpected in the sh2e folder. Can you try setting UseCustomModFolder = 1 and renaming the sh2e folder?

elishacloud avatar Sep 23 '22 01:09 elishacloud

Can you rename the sh2e folder to something random, then create a new sh2e which is empty, and set UseCustomModFolder = 1 to see if that works?

Polymega avatar Sep 23 '22 01:09 Polymega

Neither of those options work. It won't run when that setting is at 1 with the folder gone or empty.

JJOldaker avatar Sep 23 '22 01:09 JJOldaker

Ok, I see. Can you try with the attached debug build and upload the log files for me?

Debug build: d3d8.zip

elishacloud avatar Sep 23 '22 01:09 elishacloud

d3d8.log The game did load with those 2 files though.

JJOldaker avatar Sep 23 '22 01:09 JJOldaker

Sorry, maybe I sent you the wrong build on accident. Can you try again with this debug build?

Debug build: d3d8.zip

elishacloud avatar Sep 23 '22 01:09 elishacloud