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

Reply
 
Thread Tools Display Modes
  #1  
Old 07-05-2016, 08:21
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,154
Thanks: 1,671
Thanked 7,479 Times in 1,739 Posts
Razor12911 is on a distinguished road
PZlib (Alternative to Precomp)

Pre-ZLIB (pzlib)

Alternative of precomp

This program detects and unpack zlib streams for a certain input
giving you an option to apply a stronger compression such as LZMA.

This only detects zlib streams compressed using default and maximum level
which have headers. (It doesn't detect headerless)

Usage:
pZLib encode/decode [options] inputfile -o outputfile
inputfile/outputfile can be specified as "-" for stdin/stdout

Options:
-t#: Number of threads to use
-t#p: (default = 50) Percentage of threads to use
-v: Verification so that restoration keeps CRC the same
-ai: Prints out additional information

Note:
Input and/or Output can be "-" to signal stdin and/or stdout usage.
Multi threading only works during restoration.

Example:
pzlib encode $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp

Created by Razor12911 and Panker1992
Attached Images
File Type: png 1 (1).png (24.2 KB, 2170 views)
Attached Files
File Type: 7z pzlib_1210.7z (645.8 KB, 1273 views)
File Type: 7z pZlib_source.7z (49.6 KB, 334 views)
__________________
Looking for something?
Visit the
Tutorial Index

Last edited by Razor12911; 16-12-2016 at 06:30.
Reply With Quote
The Following 33 Users Say Thank You to Razor12911 For This Useful Post:
-XCX- (22-12-2016), 008black (06-04-2017), 78372 (29-08-2017), Amsal (07-05-2016), arkantos7 (07-05-2016), aXiom_ (10-09-2016), Carldric Clement (07-05-2016), chum (10-05-2016), COPyCAT (02-06-2017), coveiro (17-05-2016), EzzEldin16 (26-08-2017), felice2011 (16-05-2016), ffmla (07-05-2016), Jiva newstone (21-12-2017), JRD! (02-04-2017), kassane (30-09-2016), kenzo34 (07-05-2016), knife16 (21-07-2016), Lucas65 (12-05-2016), Mini (07-05-2016), nemesis8 (19-10-2017), NexusIV (07-05-2016), nickwazhere2012 (08-05-2016), oltjon (07-05-2016), RamiroCruzo (07-05-2016), Sergey3695 (07-05-2016), Simorq (07-05-2016), Stained (12-05-2016), Stor31 (10-05-2016), teusma (17-10-2017), TheGeekyGamer (27-06-2018), vint56 (07-05-2016), ZAZA4EVER (16-12-2016)
Sponsored Links
  #2  
Old 07-05-2016, 09:14
Mini Mini is offline
Registered User
 
Join Date: Nov 2013
Location: russia
Posts: 113
Thanks: 160
Thanked 69 Times in 40 Posts
Mini is on a distinguished road
good job! waiting CLS-PZlib ^_^
Reply With Quote
  #3  
Old 07-05-2016, 09:17
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,154
Thanks: 1,671
Thanked 7,479 Times in 1,739 Posts
Razor12911 is on a distinguished road
CLS-PZlib is not really necessary. It will work with Inno no problem as long as arc.ini is there, it will show progress etc.
__________________
Looking for something?
Visit the
Tutorial Index
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Carldric Clement (07-05-2016)
  #4  
Old 07-05-2016, 10:46
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,154
Thanks: 1,671
Thanked 7,479 Times in 1,739 Posts
Razor12911 is on a distinguished road
CLS uploaded

Took about 20 minutes to make CLS, its not properly tested but it works.

CLS works on its own, it doesn't need exe alongside it.
__________________
Looking for something?
Visit the
Tutorial Index
Reply With Quote
The Following 3 Users Say Thank You to Razor12911 For This Useful Post:
kenzo34 (07-05-2016), Mini (07-05-2016), RamiroCruzo (07-05-2016)
  #5  
Old 07-05-2016, 11:15
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 424
Thanks: 107
Thanked 544 Times in 238 Posts
panker1992 is on a distinguished road
This Method is actually a zlib killer :P

it can pack Dragon Age Inquisition, which precomp took 12 hours in about 1 our or so

i hope we see some results, this is the method i had once used to show reflate's speed packing dragon's dogma.

this is actually one of the 4 methods our fully fledged reflate has

enjoy !!
__________________
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
The Following 3 Users Say Thank You to panker1992 For This Useful Post:
78372 (20-09-2017), Amsal (17-05-2016), Stained (12-05-2016)
  #6  
Old 07-05-2016, 11:31
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 424
Thanks: 107
Thanked 544 Times in 238 Posts
panker1992 is on a distinguished road
Linking Articles old test

Me and Razor decided to show you the progress we did so far,

this test is about how far we are going with reflate

input file was the entire game Dragon's Dogma

we only applied -mreflate and not fully repack for the sake of comparison

the game total input was 19.7 GB

the left CMD is HDD and right CMD is SSD

the process on HDD took 54 minutes, in which reflate took about 30 minutes to fully process the file

the process on SSD took 38 minutes, in which reflate took about 22 minutes to fully process the file



Edit : Extraction was Successful it took 28 minutes to decomp <stdin> <stdout> usage

Original Article here : http://fileforums.com/showthread.php...hlight=reflate
Attached Images
File Type: png reflate1.png (189.5 KB, 2163 views)
File Type: png reflate2.png (190.1 KB, 2137 views)
File Type: png Extraction.png (255.0 KB, 2153 views)
__________________
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
The Following 2 Users Say Thank You to panker1992 For This Useful Post:
EzzEldin16 (26-08-2017), Razor12911 (08-05-2016)
  #7  
Old 07-05-2016, 15:10
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,154
Thanks: 1,671
Thanked 7,479 Times in 1,739 Posts
Razor12911 is on a distinguished road
The effect of "-l" option.
Attached Images
File Type: png PZlib_level_effect.PNG (111.5 KB, 2185 views)
__________________
Looking for something?
Visit the
Tutorial Index
Reply With Quote
The Following 9 Users Say Thank You to Razor12911 For This Useful Post:
Amsal (07-05-2016), EzzEldin16 (26-08-2017), Jiva newstone (21-12-2017), Mini (08-05-2016), Prince4 (15-07-2016), RamiroCruzo (07-05-2016), SAM2712 (10-05-2016), Simorq (08-05-2016), TheGeekyGamer (07-07-2018)
  #8  
Old 07-05-2016, 20:36
Amsal Amsal is offline
Registered User
 
Join Date: May 2015
Location: New Delhi
Posts: 237
Thanks: 238
Thanked 42 Times in 28 Posts
Amsal is on a distinguished road
Thank you panker and razor for the soft, I think your partnership is going well. I hope you come with more great works. Thank you again for this
Reply With Quote
  #9  
Old 07-05-2016, 23:47
Amsal Amsal is offline
Registered User
 
Join Date: May 2015
Location: New Delhi
Posts: 237
Thanks: 238
Thanked 42 Times in 28 Posts
Amsal is on a distinguished road
Is this work with ASC?
Reply With Quote
  #10  
Old 08-05-2016, 12:01
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,154
Thanks: 1,671
Thanked 7,479 Times in 1,739 Posts
Razor12911 is on a distinguished road
Yea, I tested.
__________________
Looking for something?
Visit the
Tutorial Index
Reply With Quote
  #11  
Old 08-05-2016, 12:14
Stained Stained is offline
Registered User
 
Join Date: Apr 2016
Location: Somewhere where nobody goes
Posts: 22
Thanks: 6
Thanked 4 Times in 3 Posts
Stained is on a distinguished road
Can you explain this sentence, "348MB instead of 82.3MB" ? Does it mean that the original file size was 82.3MB and resultant file size came out to be 348MB?
Reply With Quote
  #12  
Old 08-05-2016, 12:23
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,154
Thanks: 1,671
Thanked 7,479 Times in 1,739 Posts
Razor12911 is on a distinguished road
It means that's the new file size from the input, from the 348MB, you then apply stronger compression to make the file size drop even further, for example this file. Originally, it is 82.3MB, after applying pZlib, it becomes 348MB, from that apply LZMA it becomes 9MB. (For this files, other files behave differently)
__________________
Looking for something?
Visit the
Tutorial Index
Reply With Quote
  #13  
Old 08-05-2016, 12:39
Stained Stained is offline
Registered User
 
Join Date: Apr 2016
Location: Somewhere where nobody goes
Posts: 22
Thanks: 6
Thanked 4 Times in 3 Posts
Stained is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
It means that's the new file size from the input, from the 348MB, you then apply stronger compression to make the file size drop even further, for example this file. Originally, it is 82.3MB, after applying pZlib, it becomes 348MB, from that apply LZMA it becomes 9MB. (For this files, other files behave differently)
9MB! That's amazing, man. And thank you, for explaining.😊
Reply With Quote
  #14  
Old 09-05-2016, 10:49
ChronoCross's Avatar
ChronoCross ChronoCross is offline
Registered User
 
Join Date: Sep 2014
Location: Acacia Dragons
Posts: 255
Thanks: 145
Thanked 189 Times in 115 Posts
ChronoCross is on a distinguished road
Very nice tool works correctly.
Reply With Quote
  #15  
Old 09-05-2016, 12:05
Mini Mini is offline
Registered User
 
Join Date: Nov 2013
Location: russia
Posts: 113
Thanks: 160
Thanked 69 Times in 40 Posts
Mini is on a distinguished road
1. what news about decompression FZR?
2. whether there will be a support multithreading Pzlib?
Reply With Quote
Reply

Thread Tools
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
Simple Tutorial of Compressing GTAV Razor12911 Conversion Tutorials 24 09-12-2016 15:07
Precomp Vs Precomp Test felice2011 Conversion Tutorials 18 28-02-2016 04:10
Precomp 0.44 and NEW packjpg.exe (self optimized) panker1992 Conversion Tutorials 7 14-01-2016 09:23
Information about Precomp Razor12911 Conversion Tutorials 6 02-09-2015 16:10
Commands use in Srep and Precomp red01 PC Games 2 18-06-2013 05:55



All times are GMT -7. The time now is 17:07.


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