View Single Post
  #1  
Old 16-03-2022, 20:38
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,222 Times in 2,312 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by Gehrman View Post
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
Attached Files
File Type: 7z example.7z (3.23 MB, 63 views)
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Gehrman (17-03-2022)
Sponsored Links