The Daily Click ::. Forums ::. Klik Coding Help ::. File Packing
 

Post Reply  Post Oekaki 
 

Posted By Message

Brian Haase (FSP)



Registered
  22/01/2005
Points
  691
30th May, 2005 at 00:48:27 -

So i'm trying to get back to work on Bomb Squad, but I keep fighting this level editor. It looks awesome, it's going to be terribly useful, but getting it designed right is a bastard.

The problem i'm looking at right now is that every level it creates needs TWO files. One is an array dump, the array just dumps its collection of integers to a .arr file. Unforunetly, I also need level settings and configurations. Which means at the least, an .ini file.

I don't really like the idea of two files floating around though. Is there some way I can pack them together into one? I really, REALLY don't want to try dumping the array to the INI. Stuffing the INI into the array isn't possible because of the integers (I need to save strings for the config). So obviously, were talking about a third format.

I looked at the zip object. It looks pretty good, but it doesn't seem to EXTRACT from archives - Something I thought was really weird. It can set a password, it can archive files. It just doesn't seem to extract them for some reason. It can delete them too. Weird.

What other ways could I do this?

 
Current Projects:
Bomb Squad (Total Progress - 3%)
:: Current Task Progress: 40%
:: Current Task - Level Editor Shell

CUBE



Registered
  04/12/2004
Points
  283
30th May, 2005 at 07:13:32 -

I think there's an extension called the UNzip object that can extract them

EDIT: I found the link http://www.clickteam.info/extensions/extview.php?id=153

Image Edited by the Author.

 
n/a

Brian Haase (FSP)



Registered
  22/01/2005
Points
  691
30th May, 2005 at 09:57:50 -

Excellant, thanks!

 
Current Projects:
Bomb Squad (Total Progress - 3%)
:: Current Task Progress: 40%
:: Current Task - Level Editor Shell
   

Post Reply



 



Advertisement

Worth A Click