[physfs] PHYSFS_enumerateFilesCallback: possible issue with Quake II .pak archives

Jay Dolan jay.t.dolan at gmail.com
Sat Feb 18 08:09:08 EST 2017


Hi there,

I'm seeing an issue where PHYSFS_enumerateFilesCallback fails to fully
process .pak archives. A good test case is the pak0.pak that comes with
Threewave CTF for Quake II. Internally, this pak file is not alphabetically
sorted (maybe the code makes some assumptions about that?).

If you ask PHYSFS_enumerateFilesCallback to enumerate the "maps" directory,
you'll only see maps/q2ctf7.bsp, skipping the 6 other entries in the pak.
In stepping through the code, it looks like the enumerator finds
"maps.list" and then bails, without iterating the remaining maps/*.bsp
entries.

I hope I've explained this clearly..

Thanks!

--
Jay Dolan
508-415-1866
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20170218/60c8d064/attachment.html>


More information about the physfs mailing list