Jump to content

Archive Format?


Mitovo

Recommended Posts

Hello,


Was just wondering. Many/most engines I see utilize a kind of custom file format which acts like a "package" or archive of the various assets used in a game. I'm guessing they're encrypted or compressed in a way that makes them tougher to unpack/hack open.


Does T3D support something like this? Or, has anyone ever done anything like that with this engine?


Thanks!

Link to comment
Share on other sites

Yes.

By the way the Quake "pk3" format does not really make the game harder to "hack", you can tell your system those are zip files and suddenly you can browse them like normal folders.

 

Indeed. In fact, the pk3 format is one I was thinking of in particular, as well as what the Unreal engine uses, etc. In some cases, though, they are a custom format and aren't so easily opened. But that's beside the point of my question.


I was thinking more in terms of organization, where instead of having folders that are basically art/music/asset dumps, they're more organized.


There's another engine I've used that utilizes a kind of "virtual folder" system which I really like. Outside of the engine/editor, it looks like a single file with a custom extension. Inside the editor, though, it's an entire hierarchy of folders and files the engine uses. I suppose it's effectively like having an entire folder hierarchy archived into a single file, which is then opened by the engine/editor. Whatever the mechanics behind it, it's a cleaner, more organized presentation that I really like.

Link to comment
Share on other sites

pk3 does not seem to be a special format, I remember renaming them to .zip and I could browse them like folders or other archive files and open and close items out of it. Other games have much more complicated archive formats.

 

Indeed. PK3 is one of those "just rename it to .zip" deals. But some are actually custom formats with some kind of archiving algorithm (or something similarly implemented by some smart person) where you can't simply rename it, etc.


I'm thinking more of the latter.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...