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 29-05-2020, 12:30
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 566
Thanks: 116
Thanked 889 Times in 321 Posts
panker1992 is on a distinguished road
xcompress if pure windows 10 compression, and i think it supports it by default.
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
Sponsored Links
  #2  
Old 10-07-2020, 16:06
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Can you guys test this. I added preflate as an alternative of reflate in case if you are having issues with crc errors when you use reflate or prolonged precompression times such as this:
Quote:
Originally Posted by dixen View Post
Dishonored: Death of the Outsider

*.resources - 17 gb > 25.1 gb for 23 minutes on 4 threads

For example. ZTool or Xtool (v0.12) - 30% for 4 hours

Thanks BLACKFIRE69

test unpack
I'm no expert when it comes to C++ and I did my best to compile a library for xtool to use so it may have bugs.

I ran a benchmark and here are the results

benchmark results on "game1.resources" from "Dishonored Death of the Outsiders"
xtool_2019:
Code:
8.30 GB >> ?? >> ?? >> ??
precompression time using 4 threads = it's better to watch paint dry (takes hours)
xtool_2020 (WIP):
Code:
8.30 GB >> 11.3 GB >> 8.74 GB >> 6.24 GB
precompression time using 2 threads = 8 minutes, 48 seconds
precompression time using 4 threads = 5 minutes, 7 seconds
PrecompX:
Code:
8.30 GB >> 11.1 GB >> 8.79 GB >> 6.28 GB
precompression time using 4 threads = 8 minutes, 29 seconds
Attached Files
File Type: 7z xtool_20_preflate_test.7z (2.18 MB, 66 views)
Reply With Quote
The Following 9 Users Say Thank You to Razor12911 For This Useful Post:
Cesar82 (11-07-2020), DiCaPrIo (11-07-2020), dixen (12-07-2020), ffmla (12-07-2020), Gehrman (17-07-2020), L0v3craft (11-07-2020), Masquerade (11-07-2020), PsYcHo_RaGE (10-07-2020), shazzla (11-07-2020)
  #3  
Old 12-07-2020, 13:13
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 410
Thanks: 453
Thanked 444 Times in 204 Posts
dixen is on a distinguished road
Dishonored Death of the Outsiders

game1.resources

Quote:
Compressed 1 file, 8,920,763,754 => 11,774,785,195 bytes. Ratio 131.99%
Compression time: cpu 11.31 sec/real 385.94 sec = 3%. Speed 23.11 mB/s
All OK
When unpack function?)
Reply With Quote
  #4  
Old 13-07-2020, 21:01
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by dixen View Post
Dishonored Death of the Outsiders

game1.resources



When unpack function?)
Soon, maybe this week. Still busy writing the main code while looking for more ways to speed up processing
Attached Images
File Type: png 99.PNG (131.5 KB, 170 views)
Reply With Quote
The Following 7 Users Say Thank You to Razor12911 For This Useful Post:
DiCaPrIo (14-07-2020), dixen (14-07-2020), doofoo24 (15-07-2020), ffmla (14-07-2020), L0v3craft (14-07-2020), lolaya (14-07-2020), shazzla (13-07-2020)
  #5  
Old 14-07-2020, 06:34
lolaya lolaya is offline
Banned
 
Join Date: Jul 2011
Location: still life
Posts: 138
Thanks: 156
Thanked 38 Times in 29 Posts
lolaya is on a distinguished road
what is ztool and xtool and lolz?
Reply With Quote
  #6  
Old 14-07-2020, 08:42
Grumpy's Avatar
Grumpy Grumpy is offline
Moderator
 
Join Date: Jun 2004
Location: Australia
Posts: 5,695
Thanks: 1,256
Thanked 1,851 Times in 812 Posts
Grumpy is on a distinguished road
Quote:
Originally Posted by lolaya View Post
what is ztool and xtool and lolz?
That information is already available on these forums, search and you will find, you can not expect for others to always hold your hand and spoon feed you all the time.
__________________
Can't find a Game Conversion? Check the 'Conversion INDEX'
Reply With Quote
  #7  
Old 14-07-2020, 08:48
lolaya lolaya is offline
Banned
 
Join Date: Jul 2011
Location: still life
Posts: 138
Thanks: 156
Thanked 38 Times in 29 Posts
lolaya is on a distinguished road
Grumpy@

more posts here I can't find it easy
Reply With Quote
  #8  
Old 14-07-2020, 19:58
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by lolaya View Post
Grumpy@

more posts here I can't find it easy
that's the why studying hard....
Reply With Quote
  #9  
Old 15-07-2020, 06:22
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
can't wait to test the new xtool
Reply With Quote
  #10  
Old 18-07-2020, 03:34
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Here's an early working version of xtool. I'm still busy adding preflate, reflate and other things so currently only the zlib function works which means this will not work on Dishonored 2 or DOOM but it will work on most titles.

Drag and drop game files that are zlib compressed on the bat file

Things to test:

* Stability
* Can you cancel installation when xtool was used in setup
* If you have 16 threads or more, make xtool use 100% of your cpu to see if it can handle it
* if you have 32GB+ ram, set high chunk size, something like -c1gb and see if xtool was able to allocate the necessary memory
* If you have potato pc, don't worry I got a job for you check if there are no problems if you are using 1 thread both in encoding and decoding

Whatever you do, don't place preflate_dll.dll near the exe, not yet. else it will fail, the preflate code hasn't been added yet

Notes:

The file check must report
FC: no differences encountered
if the test went successfully, if it failed kindly upload the file it failed on.

This xtool uses slightly more memory than the 2019 version, I opted for stability than less memory usage

xtool now accepts maths expressions in command line, if you wanted it to use all cores minus 1, you can just write -t100p-1 or -t100-2, totally up to you

Next release/test focuses on:

+ preflate
+ reflate (reflate actually isn't replaced by preflate, it sometimes gives better output than preflate so I'll keep it just in case you are after best results)
+ depth setting
Attached Files
File Type: 7z xtool_zlib_test.7z (904.1 KB, 48 views)
Reply With Quote
The Following 3 Users Say Thank You to Razor12911 For This Useful Post:
ffmla (18-07-2020), PsYcHo_RaGE (18-07-2020), shazzla (18-07-2020)
  #11  
Old 18-07-2020, 05:14
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
Hello Razor, here is my test (I did make a post before but I had to delete it since I used a reflate files by mistake):

My spec: Ryzen 7 2700 (8c/16t) + 16GB RAM.

Bat file editied for 128mb chunk size.

Here's is XTool using all 16 of my threads:



Testing on pak file from Astroneer:

Start size: 2.13GB

End Size: 3.75GB

No differences encountered

Not entirely sure how I'd go about testing it in a setup...
Reply With Quote
The Following 3 Users Say Thank You to Masquerade For This Useful Post:
dixen (18-07-2020), ffmla (18-07-2020), Razor12911 (18-07-2020)
  #12  
Old 18-07-2020, 08:25
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
tested on just cause2 arc files...
default setting nothing change "ProcProfile64.exe xtool.exe precomp -mzlib -c16mb -t100p-1 %1 %1.out"
system ryzen 3900x with 32gb
*is there arc.ini setting ?
Attached Images
File Type: png Untitled.png (22.4 KB, 301 views)
Reply With Quote
The Following User Says Thank You to doofoo24 For This Useful Post:
Razor12911 (18-07-2020)
  #13  
Old 18-07-2020, 12:12
dixen dixen is offline
Registered User
 
Join Date: Sep 2014
Location: Russia
Posts: 410
Thanks: 453
Thanked 444 Times in 204 Posts
dixen is on a distinguished road
Rayman Orgins
bundle_pc.pak (1.9 gb)

Quote:
Process ID : 8952
Thread ID : 4228
Process Exit Code: 0
Thread Exit Code : 0

User Time : 149.796s
Kernel Time : 4.375s
Process Time : 154.171s
Clock Time : 74.923s

Working Set : 372312 KB
Paged Pool : 115 KB
Nonpaged Pool : 12 KB
Pagefile : 462572 KB
Page Fault Count : 147577

IO Read : 2046448 KB (in 31978 reads )
IO Write : 3038303 KB (in 47474 writes)
IO Other : 6 KB (in 297 others)
PS. tested on my 2nd pc (fx-4100, 2 cores, 4 threads).
Reply With Quote
The Following User Says Thank You to dixen For This Useful Post:
Razor12911 (18-07-2020)
  #14  
Old 18-07-2020, 15:05
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by doofoo24 View Post
*is there arc.ini setting ?
Code:
[External compressor:xzlib]
header    = 0
packcmd   = xtool.exe precomp -c16mb -t100p-1 -mzlib - - <stdin> <stdout>
unpackcmd = xtool.exe decode -t100p-1 - - <stdin> <stdout>
here's preflate test, test on all zlib compressed games + dishonored and doom
Attached Files
File Type: 7z xtool_preflate_test.7z (892.4 KB, 44 views)
Reply With Quote
The Following 3 Users Say Thank You to Razor12911 For This Useful Post:
COPyCAT (23-08-2020), doofoo24 (18-07-2020), Harsh ojha (18-07-2020)
  #15  
Old 18-07-2020, 16:04
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
tested on Dishonored2 with c16m and 512m and set -t100p-1...
work fine on ryzen 3900x and 32gb use all core and ram...

42.1gb to 57.2gb with c16mb
42.1gb to 59.8gb with c512mb

*used on all game file...

tested unpacking with inno
i get ERROR: archive data corrupted...
Reply With Quote
The Following User Says Thank You to doofoo24 For This Useful Post:
Razor12911 (18-07-2020)
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



All times are GMT -7. The time now is 16:11.


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