[gef2fa6487 regression]ANIMDEFS error on load

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
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

[gef2fa6487 regression]ANIMDEFS error on load

Post by Edward-san »

When I run gzdoom with DoomRPG, I get this error which didn't appear before the directory fix commit:

Code: Select all

*lots of warnings*

ANIMDEFS: Can't find FIRESK00
2020-01-12 20:47:24.460793+0100 gzdoom[30046:3204639] Script error, ":animdefs.txt" line 11:
Unknown texture FIRESK99
Command line to run:

Code: Select all

gzdoom -iwad DOOM2.WAD -file DoomRPG/DoomRPG

I suppose this can only be reproduced if the DoomRPG source at github is downloaded in the wads path.

[edit]Full log before and after the change:
Spoiler: before
Spoiler: after
so the number of warnings increased drastically.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [gef2fa6487 regression]ANIMDEFS error on load

Post by _mental_ »

It had nothing to do with ANIMDEFS. It's just directory traversal was broken on non-Windows platforms. Fixed in 7092a0a.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [gef2fa6487 regression]ANIMDEFS error on load

Post by Graf Zahl »

Ugh. How long has that bug been there? It apparently never got noticed because that code wasn't used for critical operations before.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: [gef2fa6487 regression]ANIMDEFS error on load

Post by drfrag »

Since "- fixed: The directory scanner for reading a directory into the WAD file system and ScanDirectory were not Unicode capable on Windows." i think.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [gef2fa6487 regression]ANIMDEFS error on load

Post by Graf Zahl »

I mean, since when was the bug in the code that _mental_ fixed. This is old stuff that has always been there, I just replaced the existing directory scanner in the WAD manager.
Post Reply

Return to “Closed Bugs [GZDoom]”