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.
show all files in a pak file
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: show all files in a pak file
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.