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
594 stars 41 forks source link

James's shadow / Lowres fonts #34

Closed Godzie closed 5 years ago

Godzie commented 6 years ago

Good day folks! First, I want to thank you for this lot of work! I've got a few questions and maybebugs about the mod. 1)For now game just ignores screen resolution from advanches option? 2)Modification should be installed on basic eu/na version of the game? Without any official patches(I can't remember is there any)? 2)James's shadow in first location looks really weird. Especially in motion: shadow01 3)About the game's font. Picture says more than words: sh2pc 2018-09-02 14-18-16

Polymega commented 6 years ago

1) Correct

2A) Correct

2B) Edit: I'm mistaken! The outdoor shadows are solid visuals.

3) This is normal. We plan to fix this sometime in the future. You can set Fix2D = 0 and FullscreenImages = 0 in the d3d8.ini file to stretch the images for the time being.

Godzie commented 6 years ago

Oh, the numbers... 2B)If I am correct HD Collection fix that. Or they just lower light intensity? 3)Sorry for misunderstanding, I didn't mean grey borders there, I have no problem with borders when they didn't mess aspect ratio. I was talking about low resolution font: lowpoly

MilkManEX commented 6 years ago

That's normal as well. It's hard to tell from the picture quality/CRT screen, but you can see it on the PS2 version here: https://i.ytimg.com/vi/l7LrQ6UVeW8/hqdefault.jpg

Can't replace textures with higher-resolution versions yet. Evidently that's in the works.

Polymega commented 6 years ago

We're not sure if it's possible yet but we definitely want to implement HD fonts, if it's possible.

AeroWidescreen commented 6 years ago

For now game just ignores screen resolution from advanches option?

With the widescreen fix enabled, yes. You can use whatever resolution your hardware supports, but you have to change it through the d3d8.ini. Look for "ResX" and "ResY'.

2)James's shadow in first location looks really weird. Especially in motion:

Anytime you're indoors or it's dark outside the shadows look much better. Basically anytime there's no fog. It was probably done to help performance if I had to take a guess.

Polymega commented 6 years ago

For now game just ignores screen resolution from advanches option?

We also have an idea to have the in-game Options menu show the resolution you set in the d3d8.ini file (and also prevent you from changing this resolution using the in-game Options menu). But because this would be such a minor adjustment, it's low on the list to implement for the time being.

Adam-Saeed commented 6 years ago

Sorry to bother you guys, but I was wondering if there's a way to decrease the spacing between the letters. image (the picture is from SH2 HD Collection, but still works as a valid example)

Polymega commented 6 years ago

Hi @Adam-Saeed ,

I was wondering if there's a way to decrease the spacing between the letters.

I'm not immediately sure if that is possible to do or not. @lakeviewhotel recently translated this game to Chinese and @belek666 has made a SH2/3/4 PC font extractor found here: https://github.com/belek666/fontsh234

Perhaps one of them might be able to answer if it's possible to adjust letter spacing or not.

elishacloud commented 5 years ago

Released an update with this fix in it. See v1.3.1340.0

AloisManas commented 5 years ago

Hello, I've encountered the same shadow issue as the OP in the SH2 EE PC version.

This issue however does not exist when I play the game on PCSX2 and I believe it didn't exist when I played the game on an actual PS2, though I'm unable to verify that at the moment.

Here are screenshots from PCSX2 (pcsx2-v1.5.0-dev-2855-g781323ff1-windows-x86), using the OGL Hardware renderer: sh2_pcsx2_01 sh2_pcsx2_02

Polymega commented 5 years ago

Interesting. I'm using 1.5.0 dev 2361 (older version) and I get this, which is the same as the PC version:

image image

I'll try and test with real PS2 hardware soon and let you know what I find there.

AloisManas commented 5 years ago

This issue seems to relate to the Accurate Date setting in the PCSX2 OGL Hardware render settings. When I set this to Off, I have the same ugly shadows like on your screenshots. But when I set this to Full the shadows look correctly.

AloisManas commented 5 years ago

Here's a screenshot from Youtube, supposedly captured on PS2: sh2_youtube_01

https://youtu.be/VUnvAuauSW4?t=11857

Polymega commented 5 years ago

Thanks for the screenshot/link! Here's another plot twist: Using the newest version of PCSX2 1.5.0 I can also set "Accurate Date" and get the improved outdoor shadows that you see, but it doesn't work for Maria's ending:

image

Weird and ultimately not a big deal (this camera cut/shadow is very brief). In any case, we can add this to our feature list as something to hopefully improve in the future. Thanks for providing info about the Accurate Date thing. Something else interesting from this:

image

The bottom line reads "Full mode is not available on Direct3D." I tested "Fast" mode on PCSX2 via Direct3D 11 (hardware) mode and it still looked fine. (SH2 PC uses DirectX 8/9.)

umbrellacorp53 commented 5 years ago

I also was curious about the shadow at the beginning as its not a great first impression. Maybe it's possible to tone the shadow down on the observation deck. The problem is identical with the soft shadows test files.

Polymega commented 5 years ago

Okay, I think I know why I thought this was normal behavior; because it is... kind of.

The PC default outdoor shadow behavior also looks like this whenever you're in East and West town. Take a look at the Motel using the latest build of PCSX2 1.5.0 (dev 3208 using OpenGL hardware mode):

image

I pulled out my PS2 and, yup, sure enough the shadows look like this when out in the town during daytime. So this shadow type only turns "solid" on the Observation Deck and both rooms for the Eddie boss fight. There might be some other rooms, but I haven't come across them yet.

Edit: Looks like this shadow type is solid and more transparent on the Leave ending (when James & Laura walk away).

AloisManas commented 5 years ago

You're right, the shadows do look different in other areas and are no longer "solid". However, I tried the OpenGL software renderer and suddenly the shadows look much smoother and better. It's not just because of the low resolution, I tried switching between the software and hardware renderers multiple times, both running at native PS2 resolution and with the software renderer it definitely looks much better.

Edit: Due to the low resolution, it's almost impossible to see the difference in a screenshot, but it's very obvious when I'm playing the game.

OpenGL software:

pcsx2 2019-07-18 01-49-04-97

OpenGL hardware:

pcsx2 2019-07-18 01-51-14-51

But like I said, it's difficult to see the difference in the screenshots.

AloisManas commented 5 years ago

I took a better screenshot with the OpenGL software renderer that shows better that the shadows are not glitched in this mode:

pcsx2 2019-07-18 19-55-47-49

Polymega commented 5 years ago

Great, thanks for scoping these areas out. We can get FrozenFish and other's thoughts on this in the near future and see if this shadows type can also get prettier along with the other shadow work we'll be getting in to.

AloisManas commented 5 years ago

Thank you so much for you hard work.

Just to be clear, this is not the same "solid" shadow type like the one you see on the Observation Deck, although it kind of looks that way in the screenshot. The shadow seems to be getting darker towards James' feet.

Polymega commented 5 years ago

The shadow seems to be getting darker towards James' feet.

Good to know. For ease of future reference I'm going to call this shadow type (whether it's solid or not) "outdoor shadow" simply because that's when we see it (with the exception of the Eddie boss fight rooms).

So, from what I understand so far, the outdoor shadow is only solid for the observation deck and Eddie boss rooms?

It does the fake depth shadow effect for the forest trek and East & West outdoor daytime town segments?

May I ask you to check the boat dock (leaving Eddie boss fight) and outside front entrance of the Hotel?

AloisManas commented 5 years ago

I don't know to be honest, I only tested the beginning of the game and it's been years since I last played the game. All I know is that the observation deck and Eddie boss room use the solid type and the whole path between observation deck and the first monster uses the second outdoor non-solid shadow type.

I can continue playing and will keep taking screenshots, or if you want me to check the areas you mentioned immediately, could you please share a memory card file that has saves close to those locations?

Polymega commented 5 years ago

Sure, here are PCSX2 memory card save files:

https://github.com/elishacloud/dxwrapper/issues/9#issuecomment-403179621

AloisManas commented 5 years ago

Thanks!

AloisManas commented 5 years ago

Both areas are using the non-solid outdoor type: pcsx2 2019-07-18 21-37-19-58 pcsx2 2019-07-18 21-38-26-76 pcsx2 2019-07-18 21-46-17-68 pcsx2 2019-07-18 21-48-42-65 pcsx2 2019-07-18 21-50-22-63

Polymega commented 5 years ago

Angela's apartment James has a solid "outdoor" type shadow:

image