[Bug 46558] win64 dotnet Space Engineers fractal noise generation broken

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 2 18:22:09 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=46558

--- Comment #9 from Zebediah Figura <z.figura12 at gmail.com> ---
(In reply to BabbleBones from comment #8)
> Issue has been found!
> 
> The game decodes a 16 bit grayscale png and uses that for height information
> on the planets. Somehow the png may be getting truncated on read.
> 
> What it truncates into I am not sure but it may be an 8 bit value that would
> wrap around and swing the terrain generation in crazy directions.
> 
> Saving the images back to disk as 8 bit grayscale png seems to solve the
> issue.
> Please see: https://github.com/ValveSoftware/Proton/issues/1792
> 
> How is png conversion from 16bpc gray to 8bpc gray handled? Is it an
> external lib or internal implementation?

Nice find!

I would expect that would go through windowscodecs, and that would then go
through libpng internally.

To confirm, can you try native windowscodecs (e.g. by `winetricks -q
windowscodecs`) and see if that fixes the issue?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list