Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30-05-2018, 13:52
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
In terms of the Dunia engine, I advise that you use the latest liblz4.dll to avoid some streams being skipped due to their major difference, this could be because even I myself am not sure if I used the correct parameters for recompression, if you have an idea of what is used, please comment. (I used lz4hc, level 9)
I dont know if you want to go this route, but the way I did my tests when developing lz4 packer for "Raiders of the Broken Planet" game was that I used both original and self-modified quickbms script for unpacking game archive first. I unpacked thus twice - for each.

In modified script only difference was that I disabled decompression by taking out "comtype" command and used "log" instead of "clog" to dump files raw & compressed.

So I had both compressed and decompressed individual files from archive. Then it was only matter of finding right/best cmp settings through hex editor and binary comparison(first on few files and then all) to get best setting. And even wrong(but close) settings were still compatible with 80%+ of all archive.
Reply With Quote
The Following User Says Thank You to elit For This Useful Post:
Simorq (30-05-2018)
Sponsored Links
  #2  
Old 30-05-2018, 20:42
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 elit View Post
I dont know if you want to go this route, but the way I did my tests when developing lz4 packer for "Raiders of the Broken Planet" game was that I used both original and self-modified quickbms script for unpacking game archive first. I unpacked thus twice - for each.

In modified script only difference was that I disabled decompression by taking out "comtype" command and used "log" instead of "clog" to dump files raw & compressed.

So I had both compressed and decompressed individual files from archive. Then it was only matter of finding right/best cmp settings through hex editor and binary comparison(first on few files and then all) to get best setting. And even wrong(but close) settings were still compatible with 80%+ of all archive.
So by saying all that what were you trying to say by this "I dont know if you want to go this route" ? That Razor should find the correct parameters ? I don't think he has that much of an interest in far cry 5 or wants to waste time doing all that.
Reply With Quote
  #3  
Old 12-05-2018, 15:45
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
Oh, this updates come out like a machine gun.

Thank you rezor
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Andu21 (12-05-2018)
  #4  
Old 12-05-2018, 17:50
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 doofoo24 View Post
any idea of xtool parameters for lz4hc

packcmd = ???



and what game to test lz4hc ???

Levels are set by program
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
ShivShubh (24-11-2019)
  #5  
Old 12-05-2018, 17:53
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 408
Thanks: 138
Thanked 474 Times in 227 Posts
doofoo24 is on a distinguished road
and what game's to test lz4
run on YookaLaylee with v and the same nothing as xtool v4 ???
did you test on any unity games ?
Reply With Quote
  #6  
Old 12-05-2018, 17:58
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 doofoo24 View Post
and what game's to test lz4
run on YookaLaylee with v and the same nothing as xtool v4 ???
did you test on any unity games ?
XTool works on none of the unity games I have but I was sent samples to work on the tool and was told not all Unity Games are compressed therefore, perhaps the game you're testing it on are not compressed or do not follow the headers which are read by the tool.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
ShivShubh (24-11-2019)
  #7  
Old 12-05-2018, 18:01
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 408
Thanks: 138
Thanked 474 Times in 227 Posts
doofoo24 is on a distinguished road
ok i will test on other unity game's and report...
any future support for COD GAMES : Warfare Remastered , Advanced Warfare , Infinite Warfare . WWII
Reply With Quote
  #8  
Old 13-05-2018, 23:53
Perykles Perykles is offline
Registered User
 
Join Date: Oct 2014
Location: NoWhere
Posts: 4
Thanks: 29
Thanked 2 Times in 2 Posts
Perykles is on a distinguished road
Mr. Razor12911,

There is a problem of CRC with these files of "Trials Evolution Gold Edition"
"data.pak" and "data_tex.pak"
I use the xtool version 0.5
I tested with version 0.6 but the files are not deflated !
The files being small I give you a link with "FA_Example" in pack directory of xtool 0.5

https://transfernow.net/5679c22198j4

Thank you for your hard work on pzlib, xtool and the other tools.

Last edited by Perykles; 14-05-2018 at 00:43.
Reply With Quote
  #9  
Old 14-05-2018, 08:36
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
Quote:
Originally Posted by Perykles View Post
Mr. Razor12911,

There is a problem of CRC with these files of "Trials Evolution Gold Edition"
"data.pak" and "data_tex.pak"
I use the xtool version 0.5
I tested with version 0.6 but the files are not deflated !
The files being small I give you a link with "FA_Example" in pack directory of xtool 0.5

https://transfernow.net/5679c22198j4

Thank you for your hard work on pzlib, xtool and the other tools.
[External compressor:xprecomp]
header = 0
packcmd = xtool.exe erecomp:t25p:zlib,crilayla,lz4,zstd - - <stdin> <stdout>
unpackcmd = xtool.exe drecomp:t1 - - <stdin> <stdout>

t1 Only CRC is OK
Reply With Quote
The Following User Says Thank You to Simorq For This Useful Post:
KaktoR (15-05-2018)
  #10  
Old 15-05-2018, 12:21
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 Simorq View Post
[External compressor:xprecomp]
header = 0
packcmd = xtool.exe erecomp:t25p:zlib,crilayla,lz4,zstd - - <stdin> <stdout>
unpackcmd = xtool.exe drecomp:t1 - - <stdin> <stdout>

t1 Only CRC is OK
Yep t1 is CRC good. But veeeeeery sloooow

I've tested on another file, 2.6GB, unpacking was about 15min
__________________
Haters gonna hate
Reply With Quote
  #11  
Old 15-05-2018, 12:59
darkwolves's Avatar
darkwolves darkwolves is offline
Registered User
 
Join Date: Oct 2016
Location: North Eastern,, USA
Posts: 482
Thanks: 49
Thanked 280 Times in 166 Posts
darkwolves is on a distinguished road
Quote:
I've tested on another file, 2.6GB, unpacking was about 15min
i suppose it depends on the game mine was set to t4 on arkham knight it worked just fine
__________________
Ideas are bulletproof...
Reply With Quote
  #12  
Old 12-05-2018, 18:03
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
I currently have no leads on the header structure of those games quite yet.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
ShivShubh (24-11-2019), Simorq (12-05-2018)
  #13  
Old 12-05-2018, 18:36
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 doofoo24 View Post
seems to crash on cuphead...
try isolating the issue then upload result, I'm not planning on downloading the game just to see what's really wrong. Some of us are on caps
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
ShivShubh (24-11-2019)
  #14  
Old 12-05-2018, 18:45
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
XTool 0.4 Zlib

Code:
Creating archive: Warriors All-Stars.Bin.001 using xprecomp:c32mb,zlib+srep:m3f+lolz:d64:mc1023:tt2+diskspan:4096mb:4096mb
Memory for compression 0b, decompression 0b, cache 0b
Compressed 342 files, 23,626,897,455 => 4,294,967,331 bytes. Ratio 18.18%  
Compression time: cpu 1869.13 sec/real 13768.85 sec = 14%. Speed 1.72 mB/s
All OK
Code:
Testing Archive: Warriors All-Stars.Bin.001
WARNING: CRC failed in "LINKDATA.BIN". File is broken.
WARNING: CRC failed in "KTSLXA2C.dll". File is broken.
WARNING: CRC failed in "steam_api64.dll". File is broken.
WARNING: CRC failed in "KTSLXA27.dll". File is broken.
WARNING: CRC failed in "KTSLXA29.dll". File is broken.
WARNING: CRC failed in "Config.exe". File is broken.
WARNING: CRC failed in "Star_US.exe". File is broken.
WARNING: CRC failed in "Star_KR.exe". File is broken.
WARNING: CRC failed in "Star_JP.exe". File is broken.
WARNING: CRC failed in "Star_TW.exe". File is broken.
WARNING: CRC failed in "Star_.ico". File is broken.
WARNING: CRC failed in "LINKDATA.IDX". File is broken.
WARNING: CRC failed in "steam_emu.ini". File is broken.
Tested 342 files, 4,294,967,331 => 23,626,897,455 bytes. Ratio 18.18%      
Testing time: cpu 45.33 sec/real 657.06 sec = 7%. Speed 35.96 mB/s
There were 13 warning(s)

Last edited by Simorq; 12-05-2018 at 18:47.
Reply With Quote
  #15  
Old 12-05-2018, 19:07
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 Simorq View Post
XTool 0.4 Zlib

Code:
Creating archive: Warriors All-Stars.Bin.001 using xprecomp:c32mb,zlib+srep:m3f+lolz:d64:mc1023:tt2+diskspan:4096mb:4096mb
Memory for compression 0b, decompression 0b, cache 0b
Compressed 342 files, 23,626,897,455 => 4,294,967,331 bytes. Ratio 18.18%  
Compression time: cpu 1869.13 sec/real 13768.85 sec = 14%. Speed 1.72 mB/s
All OK
Code:
Testing Archive: Warriors All-Stars.Bin.001
WARNING: CRC failed in "LINKDATA.BIN". File is broken.
WARNING: CRC failed in "KTSLXA2C.dll". File is broken.
WARNING: CRC failed in "steam_api64.dll". File is broken.
WARNING: CRC failed in "KTSLXA27.dll". File is broken.
WARNING: CRC failed in "KTSLXA29.dll". File is broken.
WARNING: CRC failed in "Config.exe". File is broken.
WARNING: CRC failed in "Star_US.exe". File is broken.
WARNING: CRC failed in "Star_KR.exe". File is broken.
WARNING: CRC failed in "Star_JP.exe". File is broken.
WARNING: CRC failed in "Star_TW.exe". File is broken.
WARNING: CRC failed in "Star_.ico". File is broken.
WARNING: CRC failed in "LINKDATA.IDX". File is broken.
WARNING: CRC failed in "steam_emu.ini". File is broken.
Tested 342 files, 4,294,967,331 => 23,626,897,455 bytes. Ratio 18.18%      
Testing time: cpu 45.33 sec/real 657.06 sec = 7%. Speed 35.96 mB/s
There were 13 warning(s)
Try isolating error
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
ShivShubh (24-11-2019), Simorq (12-05-2018)
Reply


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 00:34.


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