Packing system

From KlayGE
Jump to: navigation, search

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.


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:


though this path, ResLoader can load and decompress this file from the package to a ResIdentifier object.