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

Alright, I took a look and it looks like it is the number of files that's causing the problem.
See, what it does at the moment is it checks the first byte to see how many files it needs, then it requests enough memory to hold for each file:
An integer for BEGIN
An integer for SIZE
A string for NAME

But I just tested it by putting an exception catcher and it failed to allocate the memory, so I'll have to re-work the way I do it. I think what I'll do is make it only store the details for one file in memory at a time. So basically it will work through every file and print the details individually.

As for extraction, that works fine on my Windows computer for Layout_y.nif00003.ROF, so I'm not sure what the best way to make it work on a Mac is...
__________________
:
I'LL GET MAH STABBIN KNIFE!

Reply With Quote