txt_for_dir for models in resource / wrs files ?

Posted By: Reconnoiter

txt_for_dir for models in resource / wrs files ? - 05/07/17 18:39

Hi,

Is something like txt_for_dir that also works with the resource/wrs file? Basically I want to publish my editor program and it needs to be able to create a list of the names of all models + sprites in the folder (both loose and within the resource file) so the user can place these in the editor.

(if not I will store it in a string array or such)
Posted By: Ezzett

Re: txt_for_dir for models in resource / wrs files ? - 05/07/17 19:18

No. You need to know the file names beforehand. If it were possible to list all files inside the WRS you could write a general WRS unpacker in like ten lines of code.
Posted By: Reconnoiter

Re: txt_for_dir for models in resource / wrs files ? - 05/07/17 20:44

That makes sense, thanks for quick reply.
© 2024 lite-C Forums