show all files in a pak file

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Howker
Posts: 51
Joined: Thu Jan 22, 2009 4:40 pm

show all files in a pak file

Post 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.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: show all files in a pak file

Post 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.
Post Reply