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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-06-2018, 11:18
alfredd31 alfredd31 is offline
Registered User
 
Join Date: Jul 2017
Location: Paris
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
alfredd31 is on a distinguished road
to doofoo24: what liblz4 did you use for cod aw?
Reply With Quote
Sponsored Links
  #2  
Old 01-06-2018, 11:47
alfredd31 alfredd31 is offline
Registered User
 
Join Date: Jul 2017
Location: Paris
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
alfredd31 is on a distinguished road
I already tried this one, it doesn't expand anything (Only tried imagefile1.pak). Did you use xtool.ini?
I used this:
packcmd = xtool.exe erecomp:t4:v:c32:lz4 - - <stdin> <stdout>

By the way, note that you can find some of my repacks - Quantum Break (23.3 Gb) and outlast 2 (10.2Gb) on ygg if you are interested. You can erase this, I'm sure it's against the rules of the forum.
Reply With Quote
  #3  
Old 01-06-2018, 12:11
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by alfredd31 View Post
I already tried this one, it doesn't expand anything (Only tried imagefile1.pak). Did you use xtool.ini?
I used this:
packcmd = xtool.exe e:precomp:t4:v:c32:lz4 - - <stdin> <stdout>

By the way, note that you can find some of my repacks - Quantum Break (23.3 Gb) and outlast 2 (10.2Gb) on ygg if you are interested. You can erase this, I'm sure it's against the rules of the forum.
@everyone

Please make sure the command line is correct first.

"e:precomp:t4:v:c32:lz4" is heavily incorrect
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
ShivShubh (24-11-2019)
  #4  
Old 02-06-2018, 03:27
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by alfredd31 View Post
I already tried this one, it doesn't expand anything (Only tried imagefile1.pak). Did you use xtool.ini?
I used this:
packcmd = xtool.exe e:precomp:t4:v:c32:lz4 - - <stdin> <stdout>
As razor sayd, options are incorrect.

This one is correct
Code:
packcmd = xtool.exe e:precomp:t4,v,c32m:lz4 - - <stdin> <stdout>
{options} must be seperated by a comma (,), not a colon (:).

And you forgot a "m" for chunk size.
__________________
Haters gonna hate
Reply With Quote
  #5  
Old 02-06-2018, 13:54
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 265
Thanks: 190
Thanked 325 Times in 119 Posts
elit is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Update available

- fixed 2gb+ input issue... (int32 instead of int64 :()
Lol I know alright, same trap happened to me with my rawinjector ^_^.

Quote:
Originally Posted by Razor12911 View Post
Edit xtool.ini, add all the dat files in there

[CODE][Dunia2]
File1=C:\Program Files (x86)\Far Cry 3 Complete Collection\Far Cry 3\data_win32\common.dat
File2=C:\Program Files (x86)\Far Cry 3 Complete Collection\Far Cry 3\data_win32\ige.dat
...
Now this is nice step forward, to support files like this that are perhaps not easy to detect. I would love to see this going even further in the future, where user could script offsets and data reading with few commands. Example:
Code:
HEAD "0f3b4c5b"
SKIP 125
CMPSZ 8
DECMPSZ 8
READ CMPSZ DECMPSZ
Above example would mean: find first/next header with "0f3b4c5b" bytes, then skip 125 bytes, then read 64bit integer that is compressed size, then same for decompressed size, then read and precomp next CMPSZ bytes with above info, repeat until EOF.

Idea is that most engines have similar structures, there are some headers, some data to skip, there is CMP and DECMP sizes info in between and then actual compressed data chunks. So instead of keeping maintenance for every new game/engine which rely on Razor to be here for us and kind enough to work on updates, this would make xtool more forward compatible for the future games without needing to constantly updating it. At least until codecs API's change. I know it will not be enough for every future game but it should cover plenty of them.

Quote:
Originally Posted by KaktoR View Post
This one is correct
Code:
packcmd = xtool.exe e:precomp:t4,v,c32m:lz4 - - <stdin> <stdout>
{options} must be seperated by a comma (,), not a colon (:).
I apologize for stupid question but was there specific reason for using extra "precomp" word, aka e:precomp... instead of just e:... d:... as was in ztool? To me it seems redundant as e: and d: already imply default behavior(encode vs decode) and precomp seem'd to me at first confused with precomp tool by schnaader. Also using different separators, aka ',' and ':' for specific areas of cmd make it prone to type error, as happened to me before and I seem to be not the only person. Pure ':'s in ztool were fine and easier for inclussion with other utilities IMO. BTW I am not complaining, this tool is fantastic and ultimate, just being curious about new design.
Reply With Quote
  #6  
Old 02-06-2018, 14:34
Andu21 Andu21 is offline
Registered User
 
Join Date: Feb 2016
Location: Impossible Planet
Posts: 114
Thanks: 179
Thanked 48 Times in 38 Posts
Andu21 is on a distinguished road
Quote:
Originally Posted by elit View Post
I apologize for stupid question but was there specific reason for using extra "precomp" word, aka e:precomp... instead of just e:... d:... as was in ztool? To me it seems redundant as e: and d: already imply default behavior(encode vs decode) and precomp seem'd to me at first confused with precomp tool by schnaader.
Only explanation i find is that xtool won't be limited to pre-compression only. I might be talking gibberish here and it's just a redundant word as you say. ;)
Reply With Quote
  #7  
Old 02-06-2018, 20:38
ShivShubh ShivShubh is offline
Registered User
 
Join Date: Dec 2015
Location: India
Posts: 94
Thanks: 311
Thanked 101 Times in 43 Posts
ShivShubh is on a distinguished road
Quote:
Originally Posted by Andu21 View Post
Only explanation i find is that xtool won't be limited to pre-compression only. I might be talking gibberish here and it's just a redundant word as you say.
Razor certainly has plans to implement already exisiting compressors into xtool like razor,lolz etc... with stdio support to make it a universal tool but I might be also talking gibberish here, only Razor knows
Reply With Quote
  #8  
Old 14-06-2018, 18:01
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by elit View Post
I apologize for stupid question but was there specific reason for using extra "precomp" word, aka erecomp... instead of just e:... d:... as was in ztool? To me it seems redundant as e: and d: already imply default behavior(encode vs decode) and precomp seem'd to me at first confused with precomp tool by schnaader. Also using different separators, aka ',' and ':' for specific areas of cmd make it prone to type error, as happened to me before and I seem to be not the only person. Pure ':'s in ztool were fine and easier for inclussion with other utilities IMO. BTW I am not complaining, this tool is fantastic and ultimate, just being curious about new design.
There methods planned apart from precomp to be added in xtool, stuff like preprocessing of data, encryption, data reconstruction (rebuild), compression and etc.

Quote:
Originally Posted by felice2011 View Post
Razor but for the decompression of the archive the folder can only contain the file xtool.exe, without any *.dll right?
xtool requires dll at all times, even zlib requires dll. no code of compresssion algorithms are stored within xtool except for special cases but even those special cases do not execute if a specific dll that goes hand in hand with aren't available.

Quote:
Originally Posted by dixen View Post
And?
And I think there is something wrong with the parser for FAT v9 (FC3, FC4) for big dat files, I kinda rushed adding this feature without conducting any proper tests.

Quote:
Originally Posted by KaktoR View Post
Yes tested with 0.9 and 0.10

Code:
Compressing 122 files, 69,051,449,344 bytes. Processed  10.0% ==>> xtool
Compressing 69,353,227,695 bytes with ==>> srep
Correction: xtool is just working for about ~250mb, then stop
Bugs everything, when are they gonna stop .... -_-

Last edited by Razor12911; 14-06-2018 at 18:07.
Reply With Quote
The Following 6 Users Say Thank You to Razor12911 For This Useful Post:
Andu21 (15-06-2018), elit (24-06-2018), ffmla (15-06-2018), hasandgn34 (06-10-2018), KaktoR (15-06-2018), ShivShubh (24-11-2019)
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
Information about ZTool 78372 Conversion Tutorials 72 10-10-2019 06:27
ztool info doofoo24 Conversion Tutorials 2 24-12-2017 22:08
ZTool (Ultimate Precompressor) Razor12911 Conversion Tutorials 16 20-07-2017 07:56



All times are GMT -7. The time now is 08:14.


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