[Scummvm-tracker] [ScummVM :: Bugs] #14482: TLJ: Texture mods with unusual names not loading
ScummVM :: Bugs
trac at scummvm.org
Tue Aug 8 20:35:58 UTC 2023
#14482: TLJ: Texture mods with unusual names not loading
----------------------------+----------------------------------
Reporter: gordonfreeman01 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Stark
Version: | Resolution:
Keywords: | Game: The Longest Journey
----------------------------+----------------------------------
Comment (by gordonfreeman01):
Based on my analysis so far, it looks like when the common ScummVM unzip
code is being called to extract a texture with special characters (in this
case "puppær.dds"), the special character is being incorrectly set in the
texture's name variable, leading to issues for debugging (Visual Studio
shows "invalid characters in path" instead of the value) and the game
itself (the texture renders as blank). When attempting to force the
correct character via debugger during load, it renders correctly though so
this seems like a bug with the unzip function specifically as the variable
can store the value correctly. Here's how the filename shows up in the
debug log when attempting to write its loaded name:
Attempting to load texture puppr.dds
If anyone has experience with the unzip function and why this would
happen, it would be helpful to find a fix.
--
Ticket URL: <https://bugs.scummvm.org/ticket/14482#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list