elishacloud / Silent-Hill-2-Enhancements

A project designed to enhance Silent Hill 2 (SH2) graphics and audio for the PC. It also includes scripts to build or modify SH2 audio files (SFX, BGM and Dialog).
http://www.enhanced.townofsilenthill.com/SH2/
zlib License
557 stars 41 forks source link

Can't see the main menu / no surround sound #32

Closed Mkilbride closed 4 years ago

Mkilbride commented 6 years ago

I installed to my documents as per your guides instructions. I followed your guide, setting up indirectsound (Wonderful program, I've used it in a few others over the years, especially the F.E.A.R games and helps restore great audio.)

It launches. I have to use Wine though because I'm using a NVIDIA GPU. Abit annoying, but oh well.

Game loads to main menu, but there's nothing there. I see the menu backrounds, but no options. I can however, still select them and even get into the game itself or E3 trailers or the option menu. But it's all guess work.

The default controls on my DS4 are really strange as well. Square to select and when I try moving I seem to always be moving in the opposite direction for some reason.

I have a 5.1 surround system connected via HDMI Audio through a A/V receiver on my GPU. It shows Hardware being used in the options menu, but says Stereo. Trying to change it, it won't save, and I am only getting Stereo audio.

So the two main issues - no Surround Sound and no main menus, options don't seem to save in-game either.

Full specs

8700K 1080 Ti (398.36 because the latest ones have issues for Monster Hunter World) 32GB RAM 1TB SSD Windows 10 64-bit Professional

My ini file:

https://pastebin.com/Br9D6hW8

My directory(not using Reshade or xinput):

https://i.imgur.com/wcNwH7F.png

To get the game to run at all, I had to put it into Windows XP Compatibility mode and disable DPI scaling by application.

Appears to have been this:

https://github.com/elishacloud/Silent-Hill-2-Enhancements/issues/30

Replacing the .exe with the non multi-lingual one fixed it. However I still can't get Surround Sound.

Here's a dsound log, if it helps anyone:

https://pastebin.com/JfqM4ByL

Polymega commented 6 years ago

Hi @Mkilbride ,

Game loads to main menu, but there's nothing there. I see the menu backrounds, but no options.

This has been resolved for all future people who download the fix packages. You can also fix this yourself by following the steps on this post: https://github.com/elishacloud/Silent-Hill-2-Enhancements/issues/20#issuecomment-417506612

The default controls on my DS4 are really strange as well. Square to select and when I try moving I seem to always be moving in the opposite direction for some reason.

I haven't played/tested this game using DS4 (only an Xbox 360 controller) so I unfortunately can't assist with this. @seagull may be able to help, as he got the game to work using DS4.

It shows Hardware being used in the options menu, but says Stereo. Trying to change it, it won't save, and I am only getting Stereo audio.

So long as it says hardware is being used then IndirectSound (simulated surround sound) is working for the game. Despite not being able to change the sound method to anything other than Stereo, I still have the surround sound effect with my setup when IndirectSound is in use.

So, despite it saying Stereo is being used, do you still have the surround sound effect when using IndirectSound?

Mkilbride commented 6 years ago

In other games, I do. In this I am stereo only. Nohing is coming out of my rear channels.

Also I didn't play much, but I just got the map, went to the foggy area down the steps and my characters hair turned black. As well as his shirt and pants and shoes. His coat was still fine. I attempted to a take a screenshot, only to crash the game.

seagull commented 6 years ago

Hi; 1) Download the Lavendy Xi driver to enable force feedback. 2) Grab DS4Windows and set it up so it treats your PS4 controller like an Xbox pad. 3) Source a copy of Xpadder (I will not be providing links) and set it up thus: image 4) Use attached keyconf.dat (stick it in the install directory, replacing the original). keyconf.zip

That should get you more or less set up.
Cheers - seagull

Mkilbride commented 6 years ago

Having troubles with the game resetting my controls on boot if I switch to using Steam Overlay. ( I want to stream it via Steam Link to my TV)

I have to disable Steam DS4 support so I can use the triggers. But each time I restart the game, they reset to the defaults. Also I was getting really weird slowdowns with Steam Link, but probably had to do with that Wine3D stuff. Though on PC it doesn't look much better. I know this is a 30FPS title, but yikes.

Controls seem to be saving for now, but before they kept resetting. No idea why. Still limited to Stereo as well.

Also not sure if it's just me or not, but the fog seems...excessive? There are times my entire screen is nothing but fog and I can't even see my character.

Polymega commented 6 years ago

Also not sure if it's just me or not, but the fog seems...excessive? There are times my entire screen is nothing but fog and I can't even see my character.

That extreme?! That's not normal/default. You can change fog values in the d3d8.ini file.

Mkilbride commented 6 years ago

I guess it is normal, I was looking online. Seemed excessive to me ah well. My only issues remaining now are no surround sound and for some reason characters are losing their lighting or something. As mentioned above, after cutscenes, characters hair often turns black or other parts of them like it lost textures. No clue. It's a fresh install of the game with a fresh mod. Wine3D related is all I can guess. Wish I didn't have to use it.

Changing

SET DX_CONFIG_3D_SOUND_HARDWARE to 5 seems to give me surround sound, but it almost feels like Multi Channel Stereo as in it's just duplicating the front speakers. I read it doesn't support LFE (Subwoofers), which is really too bad. The only thing playing out of the rear speakers is footsteps. No music. Voices appear to be coming from front L&R, not Center. It also resets to 2 upon exit of the game.

Hunk4TH commented 5 years ago

Hi;

1. Download the [Lavendy Xi driver](http://lavendy.net/special/driver/xi/index.html) to enable force feedback.

2. Grab [DS4Windows ](https://github.com/Ryochan7/DS4Windows) and set it up so it treats your PS4 controller like an Xbox pad.

3. Source a copy of Xpadder (I will not be providing links) and set it up thus:
   ![image](https://user-images.githubusercontent.com/241834/44949474-ff01cb80-ae29-11e8-8310-b51382729ebe.png)

4. Use attached keyconf.dat (stick it in the install directory, replacing the original).
   [keyconf.zip](https://github.com/elishacloud/Silent-Hill-2-Enhancements/files/2342723/keyconf.zip)

That should get you more or less set up. Cheers - seagull

Sorry to get off topic. But you've gotten force feedback working with SH2?

seagull commented 5 years ago

Yeah, it works fine with the setup above. Windows 10 x64.

Hunk4TH commented 5 years ago

Yeah, it works fine with the setup above. Windows 10 x64.

Strange I can't get it to work. I'm also running Windows 10 x64. Using the Windows 7 force feedback driver. Could you please tell me what else you have setup? Like DS4Windows etc? You can pm me if that's easier?

seagull commented 5 years ago

I don't think Github has any sort of PM support. Besides, the instructions I posted are really all the information I have. I use a Sony DS4 USB adaptor and DS4Windows to locate it, I use the default settings so it thinks it's an Xbox pad, and then I turn force feedback on in the game options. This is as verbose as it gets I'm afraid.

Hunk4TH commented 5 years ago

I don't think Github has any sort of PM support. Besides, the instructions I posted are really all the information I have. I use a Sony DS4 USB adaptor and DS4Windows to locate it, I use the default settings so it thinks it's an Xbox pad, and then I turn force feedback on in the game options. This is as verbose as it gets I'm afraid.

Oh ok thanks for the info anyway! Still no luck but it isn't a big deal.

Polymega commented 5 years ago

I purchased a Logitech RumblePad 2 today from eBay (found one new for $20!). I expect to have it sometime by the end of this week/early next week.

It's a 100% Direct Input (dinput) controller so it should theoretically work with SH2 PC out of the box, without any issue. This particular controller has vibration support, too, so I'm going to test and see if vibration still works if using an "old school" PC controller (non-Xinput one) without having to install the Xi Lavendy driver, first.

The only downside is I won't be able to use both the left joystick and d-pad as movement pads. One will move James and the other can have actions assigned to it. However, there's a "Mode" button on the controller that will swap the functions of these two (that FAQ is for another controller but the Mode button does the same thing on the RumblePad 2) so, if I ever wanted to control James with the d-pad, I can hit the Mode button and do just that.

I'll let you know my results once I get it and play around with it.

It'd still be ideal to get Force Feedback (vibration) to work for Xbox 360/One controllers on this game as most PC gamers nowadays use these controllers. But I'm just curious to see how an old-school gamepad will fare.

image

seagull commented 5 years ago

Consider using XPadder. Not uniformly – mix-and-match between the game's joypad input and the program, so it thinks you're using a hybrid of inputs – so you can map the digital buttons to movement keys and the analogue sticks to movement. That's what I did.

Polymega commented 5 years ago

I'll be honest: In not opposed to Xpadder but I'd prefer not to have to launch a separate piece of software each time to use a controller. I'm looking for a true "launch the game and go" type of thing.

And I pretty much play SH2 with the d-pad using tank controls so the loss of the left joystick isn't as detrimental as it could be for me.

That, and this is mostly a pure testing thing in regards to vibration. 'Cause I'm curious why it stopped working for certain configs and want to see if an old school gamepad still works out the gate.

Hunk4TH commented 5 years ago

Awesome hopefully it'll work! I use a DS4 pad and it too is a direct input controller. I even tried it by it self to no avail far as rumble goes. However it works just fine in SH3 so I'm not sure what the deal is.

I know it used to work for me a few years ago using a 360 controller and that force feedback driver.

EDIT I got it to work now using the x86 driver instead of x64.

Polymega commented 5 years ago

I wonder if the way the vibration code was written for SH2 wasn't fully up-to-snuff (written to a specific standard) and that's why it borked from a supposed Windows update mid last year? And perhaps it was written more solidly for SH3 PC which is why it still works there?

I'm not a programmer to save my life so I'm just fully speculating here...

Hunk4TH commented 5 years ago

I wonder if the way the vibration code was written for SH2 wasn't fully up-to-snuff (written to a specific standard) and that's why it borked from a supposed Windows update mid last year? And perhaps it was written more solidly for SH3 PC which is why it still works there?

I'm not a programmer to save my life so I'm just fully speculating here...

That's a good question but like I said above I got it to work by uninstalling the x64 force feedback driver and installing the x86 one. Not sure why it makes it a difference unless it's because SH2 is a 32bit app? Shame SH2 and SH3 can't get the same custom controller mod treatment that the GTA games have gotten :P

Polymega commented 5 years ago

Going back to your previous post:

However it works just fine in SH3 so I'm not sure what the deal is.

Did you mean for SH3 PC your controller has/had vibration without having to use the Force Feedback driver?

Hunk4TH commented 5 years ago

Going back to your previous post:

However it works just fine in SH3 so I'm not sure what the deal is.

Did you mean for SH3 PC your controller has/had vibration without having to use the Force Feedback driver?

I'm not exactly sure as I always had the driver installed but also use Xinput Plus for SH3. However when using Xinput Plus in SH2 even when using the driver and DS4Windows vibration doesn't work.

Polymega commented 5 years ago

I'm not exactly sure as I always had the driver installed but also use Xinput Plus for SH3. However when using Xinput Plus in SH2 even when using the driver and DS4Windows vibration doesn't work.

Maybe that is the case after all: The way Direct Input vibration was written for SH2 PC wasn't fully correct which is why it broke, but for SH3 PC it can still work when using Xinput Plus?

Shame SH2 and SH3 can't get the same custom controller mod treatment that the GTA games have gotten :P

I wonder if one of the GTA modders would help us if we paid them a commission for their work? @Hunk4TH , would you know of any one who specializes in restoring controller functionality for games including vibration? That's my biggest obstacle: I can't find anyone online who does this type of work/modding. It's either a very specialized thing or simply not done much at all...

Maybe @ThirteenAG knows someone who would be interested in helping us for a commission, as he's active in the GTA modding scene?

Hunk4TH commented 5 years ago

You might be right about SH2's vibration being a lil broken. It's definitely a mystery as to why it doesn't work with Xinput Plus. I'm gonna try SH4 too as it too didn't work with Xinput Plus.

Sadly I don't know anyone like that. It would probably be best to ask in the GTA community as they've done an amazing job with things suchs as Ginput etc.

Polymega commented 5 years ago

Perfect. Searching for "Ginput" led me to its creator, Silent, over at the GTA Forums. I've messaged them asking if they'd be interested in helping us out with this game. :) With a username like "Silent" I'm hoping they'd be interested in helping restore Silent Hill 2 PC's controller functionalities. Fingers crossed!

AeroWidescreen commented 5 years ago

Silent is on Github as well. https://github.com/CookiePLMonster

Polymega commented 5 years ago

Very nice. This man has been around the block; he's involved with a lot of game improvement projects and also ThirteenAG's UAL and d3d8to9. Here's hoping we can pick his brain for controller issues and maybe other things for SH2 PC as well then!

elishacloud commented 4 years ago

Closing this out.