[Duplicate] Not properly FILTERing Plutonia Music

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Not properly FILTERing Plutonia Music

Postby Scuba Steve » Wed Apr 29, 2020 9:32 am

https://drive.google.com/open?id=14ljkA ... iONSGn2QXr (Should play Plutonia community title song)

This work in every previous build, but the latest SVN builds are not properly filtering Plutonia music as set up here. I have not noticed the same issue with TNT.
Scuba Steve
 
Joined: 27 Mar 2004

Re: Not properly FILTERing Plutonia Music

Postby _mental_ » Thu Apr 30, 2020 4:11 am

The filter for Plutonia is doom.id.doom2.plutonia. The sample uses doom.id.doom2.tnt.
Also, every previous build doesn't tell us anything. Please post exact version number(s).
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Not properly FILTERing Plutonia Music

Postby Scuba Steve » Thu Apr 30, 2020 6:21 am

Link updated. It includes a filter for TNT and Plutonia. In the current build, TNT plays the title music properly, Plutonia does not.

The last version I was using before trying the recent build was compiled mid-march, version number gzdoom-x64-g4.4pre-100-g0c04cddd2
Scuba Steve
 
Joined: 27 Mar 2004

Re: Not properly FILTERing Plutonia Music

Postby Scuba Steve » Sat May 02, 2020 2:25 pm

I've been testing this and it seems it is not properly filtering ANY music and instead using the original tracks instead of the tracks in the FILTER folder.
Scuba Steve
 
Joined: 27 Mar 2004

Re: Not properly FILTERing Plutonia Music

Postby 3saster » Sat May 02, 2020 8:20 pm

How strange. On gzdoom-x64-g4.4pre-313-g331f3d85d, the filters do not seem to work for the file (or added stuff) in PK3 format, but if it is extracted to a folder, and run that way, it DOES work.
User avatar
3saster
 
Joined: 11 May 2018
Location: Canada

Re: Not properly FILTERing Plutonia Music

Postby 3saster » Sat May 02, 2020 10:16 pm

Found the cause of the problem. When reading from the PK3, lump->Fullname lacks the prefix filter/ that should be at the front (so it reads doom.id.doom.plutonia/file instead of filter/doom.id.doom.plutonia/file as it should be), causing GZDoom to think there are no lumps in there when there are. As mentioned before, this does not occur if a folder is loaded instead.

I don't know how to fix this on GZDoom side, but it seems to have something to do with the library for reading zip files. Since the Filter folder is the only thing at top level, it seems to ignore that folder altogether and start one step in (since, from a navigational perspective, that folder does nothing). If anything at all is added to the root of the pk3 (even a blank text file), so that the Filter folder is not the only thing at that level, it correctly parses the filters. Thus, my guess is this issue lies in how GZDoom is reading the compressed archive.

EDIT: Problem seems unique to zip files; 7z does not have this problem either.
User avatar
3saster
 
Joined: 11 May 2018
Location: Canada

Re: Not properly FILTERing Plutonia Music

Postby 3saster » Sun May 03, 2020 1:46 pm

Fixed in a528290. Can be closed now.
User avatar
3saster
 
Joined: 11 May 2018
Location: Canada

Re: Not properly FILTERing Plutonia Music

Postby Warden » Fri Jun 18, 2021 1:24 am

I believe this is still broken. I created a pk3 to autoload that changes the default skill choice of doom/heretic/hexen/strife to 4 (UV), but when the top level file is solely a 'filter' folder, none of the MAPINFO lumps get loaded. If I add any random blank entry to the top level, it works correctly.
You do not have the required permissions to view the files attached to this post.
Warden
 
Joined: 24 May 2020

Re: Not properly FILTERing Plutonia Music

Postby Graf Zahl » Fri Jun 18, 2021 1:33 am

That's the top level folder eradicator at play - needed for directly launching Github repo downloads. It maybe should not erase a 'filter' folder.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Not properly FILTERing Plutonia Music

Postby Graf Zahl » Wed Aug 11, 2021 7:00 am

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests