GZDoom 4.5.0, 64-bit build on Linux.
Trying to load a pk3 with [ or ] for sprite frames results in an error, for example:
R_InstallSpriteLump: Bad frame characters in lump VILE%5E8
The frame doesn't get loaded. There isn't a problem with those frames when they're loaded from a wad.
Using [ or ] elsewhere also gives problems, for example in Decorate sprite definitions. I can't easily try a Windows build right now but I suspect that it might be a problem only in Linux.
Here's a test pk3 with an arch-vile recoloured red. (Walking frames omitted to meet the filesize limits.)
[Linux?] Square bracket characters in pk3s not recognized
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
[Linux?] Square bracket characters in pk3s not recognized
- Attachments
-
filenametest.pk3
- (236.41 KiB) Downloaded 19 times
- Player701
-
- Posts: 1710
- Joined: Wed May 13, 2009 3:15 am
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: [Linux?] Square bracket characters in pk3s not recognize
There are no [ or ] characters in your sprite names. Both 7-Zip and Windows Explorer show me filenames starting with "VILE%5". Probably a quirk of your ZIP archiver, but I'm not sure. It doesn't look like a GZDoom bug to me.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [Linux?] Square bracket characters in pk3s not recognize
Yes, this looks like a ZIP tool producing DOS-safe file names. Nothing that can be fixed on the engine side.
Re: [Linux?] Square bracket characters in pk3s not recognize
Oh weird, it was just SLADE. Good to know though, thanks.
Oddly, the ^ frames got percent-encoded too, but loaded fine...
EDIT: In case anyone else experiences this problem and sees this post: In SLADE, go to Preferences -> General -> uncheck "Use percent encoding if needed outside of Wad Archives"
Oddly, the ^ frames got percent-encoded too, but loaded fine...
EDIT: In case anyone else experiences this problem and sees this post: In SLADE, go to Preferences -> General -> uncheck "Use percent encoding if needed outside of Wad Archives"
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49226
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [Linux?] Square bracket characters in pk3s not recognize
What's the point of that option? AFAIK no Doom port needs it.
Re: [Linux?] Square bracket characters in pk3s not recognize
This option is off by default AFAIK. It was added because Doomsday Engine needs it; while the default behavior is to do what ZDoom expects.