I've another internal component for my IRC client and photogallery in an usable state.
It's a component that allows you to use some sort of container files, think the .pak files in Quake and Halflife (maybe Steams GCF, except that they arent extracted on the fly), including internal folder structures. Since it caches the folder tree in memory, you can load multiple containers and let files in same virtual locations override each other based on filedate, handy for issuing patch files intended to override files in the original containers.
Myself I'm currently using it in a site gallery I host for someone else, storing all thumbnails and full size pictures of an event in its own container and generate the gallery HTML on the fly. One file per event is easier to manage than a crapload of pictures and thumbs.
If anyone could use such a thing, please tell me, so I'll have a reason to finalize it for the general public and test it some more (instead of slacking around and doing nothing).
Scenarios for such a component:
- A .NET based game that needs to load tons of different files, but wants them all together in a container.
- An application using resources hosted outside the executable, but wants them in a single place,
- Ability to load multiple containers and allow file overriding, e.g. for issuing patches.
- ???
What you get with the simple V1.00:
- The ability to open files and get a readonly Stream by an absolute path.
- A command line tool that can generate containers, incl. simple diff based on the archive file attribute.
What'll come with V1.01:
- The ability to search and request folder objects of specific subfolders in the container and perform relative path file requests on them.
- Importing of existing containers into the cmdline tool, to diff based on the file date.
What'll come with V1.02:
- The ability to perform a SHA-1 integrity check on a container.
- MSBuild task.
- You tell me.
What'll come with V1.03:
- The ability to unload a container (actually recreating the folder tree without the container to be unloaded).
Question
Glowstick
I've another internal component for my IRC client and photogallery in an usable state.
It's a component that allows you to use some sort of container files, think the .pak files in Quake and Halflife (maybe Steams GCF, except that they arent extracted on the fly), including internal folder structures. Since it caches the folder tree in memory, you can load multiple containers and let files in same virtual locations override each other based on filedate, handy for issuing patch files intended to override files in the original containers.
Myself I'm currently using it in a site gallery I host for someone else, storing all thumbnails and full size pictures of an event in its own container and generate the gallery HTML on the fly. One file per event is easier to manage than a crapload of pictures and thumbs.
If anyone could use such a thing, please tell me, so I'll have a reason to finalize it for the general public and test it some more (instead of slacking around and doing nothing).
Scenarios for such a component:
- A .NET based game that needs to load tons of different files, but wants them all together in a container.
- An application using resources hosted outside the executable, but wants them in a single place,
- Ability to load multiple containers and allow file overriding, e.g. for issuing patches.
- ???
What you get with the simple V1.00:
- The ability to open files and get a readonly Stream by an absolute path.
- A command line tool that can generate containers, incl. simple diff based on the archive file attribute.
What'll come with V1.01:
- The ability to search and request folder objects of specific subfolders in the container and perform relative path file requests on them.
- Importing of existing containers into the cmdline tool, to diff based on the file date.
What'll come with V1.02:
- The ability to perform a SHA-1 integrity check on a container.
- MSBuild task.
- You tell me.
What'll come with V1.03:
- The ability to unload a container (actually recreating the folder tree without the container to be unloaded).
Link to comment
Share on other sites
1 answer to this question
Recommended Posts