1
\$\begingroup\$

This question already has an answer here:

So say I take an example from Telltale games, they pack all their file assets into ttarch files, now I guess this is a custom file format that allows many file assets such as dds, jpg, bik, wav, 3ds etc to be packed into one file.

So someone has worked out how to explore these ttarch files and inside as you would imagine there are hundreds of files each with non standard file extensions(apart from the lua files) such as d3dtx, d3dmesh, vers, spline, style, scene, there are also lua files which we all know.

The d3dtx files will be dds, jpg, bmp etc, so do you actually encrypt a dds file in this way, can someone enlighten me on the process of file encryption/packing files together?

\$\endgroup\$

marked as duplicate by Josh Sep 30 '14 at 16:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \$\begingroup\$ There are quite a lot of games which simply use common archive formats like zip (easy to do because libraries are readily available) and give their files some cryptic extension so it's not blatantly obvious. \$\endgroup\$ – Philipp Sep 30 '14 at 16:54
  • \$\begingroup\$ But these are not common. \$\endgroup\$ – user3333072 Sep 30 '14 at 16:57
  • \$\begingroup\$ So you are not asking about how people do this in general but about this one file format in particular? How does that help you as a game developer? \$\endgroup\$ – Philipp Sep 30 '14 at 16:58
  • \$\begingroup\$ A file is just bits on the disk. You just write the bits you want (the images, sounds, et cetera) into a file in the order you want, probably with some bookkeeping information up front to tell you where you are going to put things for when you read them back later. It's a pretty broad topic in terms of the number of different ways to do things, but basically they are all variants of the same. \$\endgroup\$ – Josh Sep 30 '14 at 17:00

Browse other questions tagged or ask your own question.