Difference between revisions of "Packing system"
From KlayGE
Gongminmin (Talk | contribs) m (1个修订) |
Gongminmin (Talk | contribs) m (moved Packing System to Packing system) |
(No difference)
|
Latest revision as of 04:59, 25 March 2012
From KlayGE 3.6, packing system employed 7zip as packing format. Before using it, make sure that 7z.dll from 7zip is in your system.
Usage
KlayGE’s packing system can be used unifiedly via ResLoader. The naming rules is seperate outside path and inside path by “//”. If a package has password, add “|” and the password after is outside path. For example, if there’s a package folder/example.7z, which has a password abcd. A file’s inside path is ex1/ex2/test.cpp, then it’s full path is:
folder/example.7z|abcd//ex1/ex2/test.cpp
though this path, ResLoader can load and decompress this file from the package to a ResIdentifier object.