Quote:
Originally Posted by Gehrman
|
Sorry for late response but here's an example.
in the generate folder, you'll get the example of how database would be created.
Code:
xtool.exe generate -mre4lfs "game\*" "game\*" lfs.xtl
You'll notice that the unpacked data and the original data is the same, that's because this tool accepts game files as they are and doesn't need to extract additional streams.
Note: Chunk size is should be the same size as the largest stream/file
then in precompress folder is where you need to transfer the generated database file from generate folder to precompress folder (
lfs.xtl)
Look in xtool.ini to see how the program should be configured based on the information you provided.
Code:
[re4lfs]
Encode=re4lfs.exe <filein>.lfs <fileout>.pack
Decode=re4lfs.exe <filein>.pack <fileout>.lfs
Results of the samples you provided
Code:
Compressed 5 files, 2,853,066 => 6,511,766 bytes. Ratio 228.24%
Compression time: cpu 0.02 sec/real 1.06 sec = 1%. Speed 2.70 mB/s