Page 1 of 1

show all files in a pak file

Posted: Fri Nov 04, 2011 12:09 pm
by Howker
Hey there!
I added a pak file to the file archive, and now I need a for loop going through each file in the pak archive. How can I do this
thanks.

Re: show all files in a pak file

Posted: Fri Nov 04, 2011 1:55 pm
by hybrid
Get the file list and iterate over all files. Most archives won't give you directory entries, so you get a full file list immediately. Otherwise descend to directories and iterate.