View Single Post
  #29  
01-06-2010, 11:52 AM
Gretin's Avatar
Gretin
Clakker Relic Miner
 
: Jan 2005
: Lost in Space
: 818
Blog Entries: 1
Rep Power: 21
Gretin  (167)Gretin  (167)

Hmmm, that's a bit of a pain, I didn't realise you're running a Mac. I could upload the source code (though I'd better tidy it up first, add comments etc ), but it's not doing anything particularly complex.

For extracting it pretty much just analyses the path and uses the Windows function CreateDirectory to make a folder if need be, then opens that folder and carries on doing that until it reaches the end of the path, after which it uses the standard C++ "fstream" library to write the file itself. And then it uses SetCurrentDirectory to go back to the original folder and starts the process again for the next file. But running it on a Mac, I have no idea how it translates.

I'm not sure exactly what you mean by this though:
:
REGARDLESS, I tried it out, and viewing files works like a charm. It lists them alright, except in at least this one file, that's first byte is a whopping C9. I think that because of it contains so many files it fails. I'll look into it soon.
Do you mean the first byte of the file, meaning it contains 201 files? And what does the program actually do?
__________________
:
I'LL GET MAH STABBIN KNIFE!

Reply With Quote