Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sacred Gold New Issues #300

Closed
ghost opened this issue Apr 22, 2024 · 4 comments
Closed

Sacred Gold New Issues #300

ghost opened this issue Apr 22, 2024 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 22, 2024

Hi, thanks everything is working fine but couple of new problems arises:
1.ResolutionScarle option in menu is broken whenever I go up/down with App(1) or Display(1) settings the graphic artifacts starts to appear like characters disappear/appearing suddenly,even crashing the game and combine with DisplayFilter = bilinear(100) it will look something like this:
20240422_140215
It only effects loading screen and characters.
2. By choosing RenderColorDepth 32 characters shadows bug out, doesn't happen with old version.
pureHD-2024-04-22-12-53-11-17
pureHD-2024-04-22-12-53-31-02
3.Also minimap is bugging when choosing dwarf class, doesn't happen with others characters, side note it only cause issues with fog of war enable not if it's transparent.
pureHD-2024-04-22-13-13-55-53
DDrawCompat-pureHD.log
P.S. Pure HD is mod for Sacred Gold Edition, basically making playable in widescreen and you can find at SacredGoldPcgamingwiki website, in case if you wonder why there is PureHD Log.

@narzoul
Copy link
Owner

narzoul commented May 2, 2024

I cannot reproduce the first 2 issues. Can you give some more info on how to reproduce them? What are your settings for DDrawCompat and Sacred (Settings.cfg)? Are these issues also present if you don't use the overlay? What if you don't use pureHD? By "characters" do you mean player models or text?

The last one I can reproduce, assuming you mean the transparent triangle at the bottom of the map. But that looks the exact same without DDrawCompat too. Are you sure it's not just a bug in the game? Do you have any evidence that it didn't always look that way?

@ghost
Copy link
Author

ghost commented May 2, 2024

So a quick update about these issues.
First Issue is completely solved by using these settings:

DDrawCompat version 0.5.2.
AlternatePixelCenter = on
Antialiasing = msaa2x(7)
BltFilter = point
ColorKeyMethod = auto
ConfigTransparency = alpha(90)
DepthFormat = 24
DisplayFilter = bilinear(100)
FontAntialiasing = app
FpsLimiter = off
RenderColorDepth = 32d10
ResolutionScale = display(1)
ResolutionScaleFilter = bilinear
SpriteDetection = point
SpriteFilter = point
SpriteTexCoord = round(-2)
StatsPosX = right

So basically solved.
Second issues is happening due to DepthFormat if I go say 16 or 32, then the issues with shadow occurs, if choosing 24, then there's no issue whatsoever.
And third issue is just a game bug like you said, happens only with dwarf character, other characters aren't affected by it and only happens at started location for dwarf, but as soon as you leave the area, it goes away, again happen in the vanilla game, and even occurs with PureHD, so no fault with DDrawCompat.

In conclusion only Depth Format is broken with character shadows at 16 or 32 setting, again sorry for confusion.
DDrawCompat-pureHD 0.5.2..log

@narzoul
Copy link
Owner

narzoul commented May 2, 2024

Second issues is happening due to DepthFormat if I go say 16 or 32, then the issues with shadow occurs, if choosing 24, then there's no issue whatsoever.

Ok, you initially wrote RenderColorDepth, that's why I couldn't reproduce it.

The game uses stencil buffers for the shadows (and maybe other things), which is only available with 24 bit depth formats. So both 16 and 32 bit depth buffers will break stencil buffering effects. There's nothing that can be done about it. There shouldn't be any need to tinker with this setting anyway.

@ghost
Copy link
Author

ghost commented May 3, 2024

Oh, I see, in that case it complete closes my issue, thanks for your help.

@ghost ghost closed this as completed May 3, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant