Jump to content
Sign in to follow this  
  • entries
    72
  • comments
    38
  • views
    22376

Not bad.

Sign in to follow this  
mozie

397 views

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.
Sign in to follow this  


2 Comments


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!