Not bad.

Published September 18, 2005
Advertisement
Ok, that was too easy... I love the mornings!! Coffee is my best friend until about noon, when my stomach starts to boil and I have to switch over to something like water, pop, or juice. But for the two hours I have left before that happens, I will work on removing an item from the file, and inserting at a point in the index other than the end.

It just seems like that was way too easy. I just moved the decompression function into item class, because it has the DataBlock stored in itself now. After that it just became a matter of looping throught the array a few times to get the data I needed, in the order I need it. I'm thinking that removing an item from the "file" will just be a removal from the ArrayList, and overwrite the existing file, or save as new. Pretty much same thing with the insertion-at-index, I should be able to easily do that to the ArrayList, and again just overwrite or save as new from the updated list.

Maybe I will make it to adding recompression with different level today, who knows. I guess I will upload source and exe files later tonight when I feel I'm done for the day.

I still have to determine type code from file extention too, but here is a screenie for you.
C5RICON.TGA is the file I imported into the original archive.

Uploaded with release, and debug builds, with source code, and required DLL files.
Previous Entry Its a little better.
Next Entry I love the morning!
0 likes 2 comments

Comments

Laz
Your journal icon scares me
September 18, 2005 12:24 PM
mozie
You don't like bears?
September 18, 2005 03:51 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Not bad.

1146 views

Zoned out.

1021 views

more

1101 views

Slow down champ.

917 views

I'll be back

880 views

Busy.

1036 views

oh teh noes!!

923 views
Advertisement