Game Development Community

dev|Pro Game Development Curriculum

genEpak V1.4 out for TGEA 1.8.1 and T3D

by Marton Szucs · 11/05/2009 (10:43 am) · 11 comments

www.crispysoft.com/Image/genEpak2.jpg

The genEpak is updated.

Major changes:
The new version supports cached DTS files in T3D!
Redesigned file structure, faster reading, faster file searching, faster decoding, faster
initializing, smaller memory consumption, more stable than prev version.

Thanks for all people, who reports bugs and weakness of genEpak.



What is this and how it works?


You can generate a pak file easy with a command line tool.
Copy the generated file to your project directory, near the scriptsAndAssets folder.
When you run your product, the windows file handler try to read the files from encrypted pakfile first.
If it not success, the file read from the standard scriptsAndAssets folder.
You need a minimal programming knowledge to install this package, download the instruction manual from here:

PDF user guide without code modification help

Owners can update it for free of course.
You can buy genEpak from: www.crispysoft.com/prod_genepak.html for the price of pizza.


More genEpak informations:
genEpak first release blog
genEpak 1.3 release blog
Kerry Enfinger's Gui blog


#1
11/05/2009 (2:06 pm)
1:
What is the type of encryption that this uses it sounds like it is just a passworded zip file like the .pk3 format that quake basedgames used. which is easily hackable passworded or not.

2:
How are updates handeled. I dont see anything reguard read order alterations based on file naming. For instance lets say I was useing you product and I released my game and the assets are in a file.epk. Well when I update my game if there is one file in there I dont want to replace the whole 2GB .epk file. So add a new .epk file with the update how does the engine know to use the file from the new .epk file instead of from the the original one? In older quake based games this was done numericly with the file name where the file was always grabed from the pk3 file that had the highest number. for instance if I had:

file_001.pk3
file_002.pk3
file_003.pk3

then the files in in file_003.pk3 would have usage priority if the same file existed in more than one pk3 file.

I dont see anything in your system that handles this.

3:
also if I'm not mistaken " been a while wince I messed with anything quake." the pk3 system gave complete override authority to the actual folders. so if a file existed in the pk3 file and existed in the one in the folder would be used. This allowed for users to mod files and have them in the directory and be used. It appears you are going the other direction and eliminating the ability to mod. I was curious as to why?
#2
11/05/2009 (4:34 pm)
How do existing 1.3 purchasers download the new update?
#3
11/05/2009 (5:20 pm)
John: you can download the new version from www.crispysoft.com.
#4
11/05/2009 (7:06 pm)
Hmm well I guess you wernt interested ina ansering a few questions from someone that was interested in buying your product.
#5
11/05/2009 (8:56 pm)
James, sorry but I had to go to the shop with my girlfriend. but I'm back:

1. I'm using a very very simple encryption (data+long random key+short user password). Because the game loads the files from HD when the game is running, slow decoding is not option. It's not a passworded zip.

2. genEpak is updated every 2 weeks, because I'm using it in my game.
I was plan the update system in to genEpak, but the prev version had some bugs, and I had no time(other works). I see this is an important feature, and I will finish it in this month. (I need this feature in to my game too).

3. Modding is fun, I will do this feature too, if somebody need it.

I hope, this will helps you in your choice.
#6
11/06/2009 (1:12 pm)
How long would I receive updates if I purchased now?
#7
11/06/2009 (2:34 pm)
forever, updates are free for genEpak.
#8
11/07/2009 (1:01 pm)
plz.. genEpak V1.4 Torque3D Document update plz..

i dont know what to do with genEpak..

i really dont how to package DataFile..
#9
11/07/2009 (4:05 pm)
Hi,
You will found a .pdf file in your zip.
a simple howto:
1. copy the winEpak.cpp/.h to your engine/source/platformWin32 directory
2. do engine source modifications, (source modification steps in genEpak_v1_4.pdf, not in genEpak_info.pdf)
3. rebuild your project
4. a simple test for the T3D example project:
a. move your art directory and genEpak.exe into an empty directory,
b. move back your terrain .dds files
i. create the art/terrain and move back the .dds file
c. run this command: genEpak.exe n test 1122334455667788 art
d. set the password and pak file name in winEpak.cpp
e. move the test.epk back to the fpsexample.exe
f. run the project, and you will see, the game will runs with pak.
If you have any problem, please contact me.

Marton
#10
11/07/2009 (11:17 pm)
what is "genEpak.exe n test 1122334455667788 art" command?

where i locate that command

and why move directory "art/terrain" in action 'b. move back your terrain .dds files'

i dont understand your Epak Mechanism..
#11
11/08/2009 (11:21 am)
Gwang Hyun Kim: I created a little step by step docs for pak file generation with images.
You can download the document from here:

www.crispysoft.com/download/genEpak_pak_file_gen_appendix.pdf