What I am trying to do, is condense many images and files that belong together into one file.
Have you considered saving it as a standard image format - e.g. PNG?
Each "glob" file would contain the user sprite sheets, user background tile sheets, user midi files, user made scripts, and user created maps ...
The goal is to easily share data with users over a socket server / client , and add a layer of security to user generated material.
The issues I have to deal with:
1: All user generated material is unique
2: All user generated maps must be accessible to other users using socket server / client
3: All user generated content has to have some sort of protection to make it harder to steal.
4: Normal formats will be .png - .midi
5: Custom formats will be .scr ( custom scripting language i have developed(hashmap) ) - .ovw ( over world map( 2d array) ) - .map ( map files 5 layer 2 array ) - .sho ( shops (hashmap) ) - .itm ( items ( hashmap ) ) - .npc ( NPCs ( hashmap ) ) - .que ( quests ( hashmap ) ) - .eve ( events ( hashmap ) ) - .pls (player statistics ( hashmap ) )