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!
Filelists of an added .zip package?
-
- Posts: 18
- Joined: Wed Jun 08, 2005 3:14 am
Filelists of an added .zip package?
onGameDev - Game development with some "umph"!
Blog of a Wanderer - The trials of a nomadic programmer.
Blog of a Wanderer - The trials of a nomadic programmer.
-
- Posts: 18
- Joined: Wed Jun 08, 2005 3:14 am
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? :/
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.
Blog of a Wanderer - The trials of a nomadic programmer.
-
- Posts: 18
- Joined: Wed Jun 08, 2005 3:14 am
Ah, I see. That's tedious if you have a lot of objects. :)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.
Yes I have. That's what I mentioned in my original post.Anonymous wrote:Habe you trie: createFileList ( )
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.
Blog of a Wanderer - The trials of a nomadic programmer.
-
- Posts: 69
- Joined: Wed Mar 30, 2005 8:16 am
- Location: Keerbergen, Belgium
-
- Posts: 18
- Joined: Wed Jun 08, 2005 3:14 am
I would have, but it wouldn't have benefitted anybody else, since the solution was specific to the way that my project works. Sorry. :/after-life wrote:can you please post how you did it so other people can benefit from it?
onGameDev - Game development with some "umph"!
Blog of a Wanderer - The trials of a nomadic programmer.
Blog of a Wanderer - The trials of a nomadic programmer.