[Linux?] Square bracket characters in pk3s not recognized

Bugs that have been investigated and resolved somehow.

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.
Post Reply
plums
Posts: 38
Joined: Sun Sep 15, 2013 12:22 am

[Linux?] Square bracket characters in pk3s not recognized

Post by plums »

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.)
Attachments
filenametest.pk3
(236.41 KiB) Downloaded 19 times
User avatar
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

Post by Player701 »

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
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

Post by Graf Zahl »

Yes, this looks like a ZIP tool producing DOS-safe file names. Nothing that can be fixed on the engine side.
plums
Posts: 38
Joined: Sun Sep 15, 2013 12:22 am

Re: [Linux?] Square bracket characters in pk3s not recognize

Post by plums »

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"
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
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

Post by Graf Zahl »

What's the point of that option? AFAIK no Doom port needs it.
Gez
 
 
Posts: 17939
Joined: Fri Jul 06, 2007 3:22 pm

Re: [Linux?] Square bracket characters in pk3s not recognize

Post by Gez »

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.
Post Reply

Return to “Closed Bugs [GZDoom]”