Filelists of an added .zip package?

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
HopeDagger
Posts: 18
Joined: Wed Jun 08, 2005 3:14 am

Filelists of an added .zip package?

Post by HopeDagger »

After adding a ZIP package via the addZipeFileArchive() function, is there any way to get a listing of the filenames of its contents? The IFileList interface isn't showing them, so I'm curious if this can be done.

Thanks!
onGameDev - Game development with some "umph"!

Blog of a Wanderer - The trials of a nomadic programmer.
HopeDagger
Posts: 18
Joined: Wed Jun 08, 2005 3:14 am

Post by HopeDagger »

I'm a bit surprised that nobody replied -- I thought that doing something like loading in everything in a PAK/ZIP package would be commonplace. :P

If this method doesn't seem to be much known, then what is everybody else using for loading in their resources? Hardcoded lists of files? :/
onGameDev - Game development with some "umph"!

Blog of a Wanderer - The trials of a nomadic programmer.
Guest

Post by Guest »

If you mean putting 6 lines of code for every object in the scene, then yes that's what I do. I dont know how to use the zip package thing.
Guest

Post by Guest »

Habe you trie: createFileList ( )
HopeDagger
Posts: 18
Joined: Wed Jun 08, 2005 3:14 am

Post by HopeDagger »

Anonymous wrote:If you mean putting 6 lines of code for every object in the scene, then yes that's what I do. I dont know how to use the zip package thing.
Ah, I see. That's tedious if you have a lot of objects. :)
Anonymous wrote:Habe you trie: createFileList ( )
Yes I have. That's what I mentioned in my original post.


Anyways, I managed to solve this problem in an alternative way. So thanks in any case for the help. :)
onGameDev - Game development with some "umph"!

Blog of a Wanderer - The trials of a nomadic programmer.
after-life
Posts: 69
Joined: Wed Mar 30, 2005 8:16 am
Location: Keerbergen, Belgium

Post by after-life »

can you please post how you did it so other people can benefit from it?

i might have another solution:
use a file reader to read a list of files to load from a single text file
HopeDagger
Posts: 18
Joined: Wed Jun 08, 2005 3:14 am

Post by HopeDagger »

after-life wrote:can you please post how you did it so other people can benefit from it?
I would have, but it wouldn't have benefitted anybody else, since the solution was specific to the way that my project works. Sorry. :/
onGameDev - Game development with some "umph"!

Blog of a Wanderer - The trials of a nomadic programmer.
Post Reply