Difference between revisions of "Packing system"
From KlayGE
(Created page with "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 syst...") |
Gongminmin (Talk | contribs) m (1个修订) |
(No difference)
|
Revision as of 05:55, 28 March 2011
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.