Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18-07-2018, 11:48
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,687
Thanks: 1,106
Thanked 7,333 Times in 2,836 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Cyberavater View Post
You can change between Xtool or ztool. Just change precomp version.Attachment 22349
But i suggest to use MASK method instead and define files. Otherwise you will "xtooling" all files inside a folder, not only the ones that get inflated, but also for example video files and such, which don't have any streams (except for flash swf's, they have zlib streams).
__________________
Haters gonna hate
Reply With Quote
Sponsored Links
  #2  
Old 18-07-2018, 11:54
Fabioddq's Avatar
Fabioddq Fabioddq is offline
Die Hard Member
 
Join Date: Oct 2011
Location: Earth
Posts: 1,221
Thanks: 336
Thanked 2,147 Times in 427 Posts
Fabioddq is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
But i suggest to use MASK method instead and define files. Otherwise you will "xtooling" all files inside a folder, not only the ones that get inflated, but also for example video files and such, which don't have any streams (except for flash swf's, they have zlib streams).
Any tutorial for this? You can use Hellblade to demonstrate? Just for me show the way in the future.
I will appreciate. Thanks.

Last edited by Fabioddq; 18-07-2018 at 12:03.
Reply With Quote
  #3  
Old 18-07-2018, 12:06
Cyberavater Cyberavater is offline
Registered User
 
Join Date: Jul 2018
Location: Universe
Posts: 23
Thanks: 4
Thanked 1 Time in 1 Post
Cyberavater is on a distinguished road
Quote:
Originally Posted by Fabioddq View Post
Any tutorial for this? You can use Hellblade to demonstrate? Just for me show the way in the future.
I will appreciate. Thanks.
I'm also new to this will share when I learn more.
Reply With Quote
  #4  
Old 18-07-2018, 12:13
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,687
Thanks: 1,106
Thanked 7,333 Times in 2,836 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Fabioddq View Post
Any tutorial for this?
Here is a short tutorial for using xtool with MASK:
Open Arc.groups with notepad(++)

Search for "$xStream"

There you write
1) files by file masks (*.png, *.pak, etc.) (subfolders will be included)
2) files by their full file names (f.e. File.dat, File.png, etc.) (for this the mentioned files must be present in root folder or any folder you select with Input in UltraARC GUI)
3) full file names with paths (f.e. Folder\File.pak, Folder1\Folder2\File.pdf)
4) file masks with paths (f.e. FolderA\FolderB\FolderC\*.wav)

Personally i using a mix by 1 and 2 only. But 3 and/or 4 are possible too.

Just make sure you have no duplicants (delete them), otherwise arc will skip them

Save the file

Open Config0.inf
search for "MASK = Example", replace "Example" with
Code:
LZ3/$xstream=xZ1+srep+LZ3/$void=0/$binkpack=bpk

LZ3 is lzma:a1:mfbt4:256m:fb273:mc1000000000:lc8 (the first method is the "main method", means, all files which aren't defined in masks or disabled masks will be compressed with this)
xZ1 is xZlib 
0 is zero compression (just storing, good for mp4 videos and other not compressable files)
bpk is for bik/bk2 videos
If you only need xtool, remove "/$void=0/$binkpack=bpk"
If you need some other masks too, add them and put files inside arc.groups in their respective sections. Note that between each mask there must be a "/" to seperate them.

You can also write the methods in full lenghts, example:
Code:
srep+4x4:b128mb:lzma:a1:mfbt4:64m:fb273:mc1000000:lc8/$xstream=xZLib+srep+lolz:d128mb
PS: It could be that you must add something to Arc.ini in CIU folder if you use Xtool with UltraARC (because i just have seen that UltraARC not use xprecomp anymore), otherwise you will get something like "unsuported compression method".
Just open Arc.ini in CIU and add the following to the end (or somewhere)

Code:
[External compressor:xZLib,xOodle,xLZ4,xLZO,xZSTD]
header    = 0
unpackcmd = xtool.exe d:precomp:t75p - - <stdin> <stdout>

[External compressor:xCriLayla]
header    = 0
unpackcmd = xtool.exe d:precomp:t50p - - <stdin> <stdout>
__________________
Haters gonna hate

Last edited by KaktoR; 18-07-2018 at 12:28.
Reply With Quote
The Following 4 Users Say Thank You to KaktoR For This Useful Post:
Fabioddq (18-07-2018), mausschieber (18-07-2018), Simorq (18-07-2018), Stor31 (19-07-2018)
  #5  
Old 18-07-2018, 12:28
Cyberavater Cyberavater is offline
Registered User
 
Join Date: Jul 2018
Location: Universe
Posts: 23
Thanks: 4
Thanked 1 Time in 1 Post
Cyberavater is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Here is a short tutorial for using xtool with MASK:
Open Arc.groups with notepad(++)

Search for "$xStream"

There you write
1) files by file masks (*.png, *.pak, etc.) (subfolders will be included)
2) files by their full file names (f.e. File.dat, File.png, etc.) (for this the mentioned files must be present in root folder or any folder you select with Input in UltraARC GUI)
3) full file names with paths (f.e. Folder\File.pak, Folder1\Folder2\File.pdf)
4) file masks with paths (f.e. FolderA\FolderB\FolderC\*.wav)

Personally i using a mix by 1 and 2 only. But 3 and/or 4 are possible too.

Save the file

Open Config0.inf
search for "MASK = Example", replace "Example" with
Code:
LZ3/$xstream=xZ1+srep+LZ3/$void=0/$binkpack=bpk

LZ3 is lzma:a1:mfbt4:256m:fb273:mc1000000000:lc8 (the first method is the "main method", means, all files which aren't defined in masks or disabled masks will be compressed with this)
xZ1 is xZlib 
0 is zero compression (just storing, good for mp4 videos and other not compressable files)
bpk is for bik/bk2 videos
If you only need xtool, remove "/$void=0/$binkpack=bpk"
If you need some other masks too, add them and put files inside arc.groups in their respective sections. Note that between each mask there must be a "/" to seperate them.

You can also write the methods in full lenghts, example:
Code:
srep+4x4:b128mb:lzma:a1:mfbt4:64m:fb273:mc1000000:lc8/$xstream=xZLib+srep+lolz:d128mb
PS: It could be that you must add something to Arc.ini in CIU folder if you use Xtool with UltraARC (because i just have seen that UltraARC not use xprecomp anymore), otherwise you will get something like "unsuported compression method".
Just open Arc.ini in CIU and add the following to the end (or somewhere)

Code:
[External compressor:xZLib,xOodle,xLZ4,xLZO,xZSTD]
header    = 0
unpackcmd = xtool.exe d:precomp:t75p - - <stdin> <stdout>

[External compressor:xCriLayla]
header    = 0
unpackcmd = xtool.exe d:precomp:t50p - - <stdin> <stdout>
Is this the settings for best compression?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BlackBox v2 y_thelastknight Conversion Tutorials 567 11-03-2025 07:16
Useful Dll for Inno Setup users peterf1999 Conversion Tutorials 88 01-12-2017 16:00
Total War Collection - 6xDVD9 [LZMA + INNO SETUP + CIU] REV0 PC Games - CD/DVD Conversions 1 28-06-2015 17:00
Total War Collection - 2xBLURAY [LZMA + INNO SETUP + CIU] REV0 PC Games - CD/DVD Conversions 2 09-01-2013 18:02
Total War Collection - 11xDVD5 [LZMA + INNO SETUP + CIU] REV0 PC Games - CD/DVD Conversions 0 09-01-2013 16:38



All times are GMT -7. The time now is 19:31.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com