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
  #31  
Old 16-05-2016, 23:45
felice2011's Avatar
felice2011 felice2011 is offline
Registered User
 
Join Date: Feb 2011
Location: italy
Posts: 836
Thanks: 357
Thanked 1,158 Times in 390 Posts
felice2011 is on a distinguished road
Same thing, I tried one minute ago the idea of Gozarck but give 0 Streams on any file, even those they should work.
__________________
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« I Mediocri Imitano, I Geni Copiano, Dio Crea & Distrugge » (Io Ridefinisco & Perfeziono le Loro Opere Rendendole Uniche)
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« Mediocrities Imitate, Genius Copy, God Creates & Destroys » (I Reconsider & Improve Their Works, Rending Them One And Only)
Reply With Quote
Sponsored Links
  #32  
Old 17-05-2016, 00:35
RamiroCruzo's Avatar
RamiroCruzo RamiroCruzo is offline
Registered User
 
Join Date: Jul 2015
Location: India
Posts: 184
Thanks: 386
Thanked 171 Times in 75 Posts
RamiroCruzo is on a distinguished road
Arrow

I don't get all the hocus-pocus around the Zlib term...So, here's some database about Zlib, Reflate, Brute, Precomp & pZlib.

@ChronoCross You should read this as there are no Bad-Zlib Stream or Invalid Streams.

Originally, data is stored in streams called Deflate Stream. Those streams are also called Headerless Zlib stream. Once, you wrap these Deflate streams into Headers, they become Zlib stream or Gzip Stream.

Zlib Stream contains Header + CRC + Data. (Header + CRC) = 15 position upto the stream. So Deflate stream = ZlibStream -15.

Now, why Deflate Streams are difficult to search for: As the header contains so called Magic Bytes which help to identify them, but when you seek for Deflate streams, its a bit more Brute & Slow...

Magic Bytes:
Code:
Common:

78 01, 78 5e, 78 9c, 78 da

Rare:

08 1d, 08 5b, 08 99, 08 d7, 18 19, 18 57, 18 95, 18 d3,
28 15, 28 53, 28 91, 28 cf, 38 11, 38 4f, 38 8d, 38 cb,
48 0d, 48 4b, 48 89, 48 c7, 58 09, 58 47, 58 85, 58 c3,
68 05, 68 43, 68 81, 68 de

Very rare:

08 3c, 08 7a, 08 b8, 08 f6, 18 38, 18 76, 18 b4, 18 f2,
28 34, 28 72, 28 b0, 28 ee, 38 30, 38 6e, 38 ac, 38 ea,
48 2c, 48 6a, 48 a8, 48 e6, 58 28, 58 66, 58 a4, 58 e2,
68 24, 68 62, 68 bf, 68 fd, 78 3f, 78 7d, 78 bb, 78 f9
Now comes how Reflate works...
Rawdet reads all the offsets of the file & initiates Inflate from each of them. [Inflate = Decompression of Zlib Stream]. It usually gets error where the stream isn't present & where ever it successfully inflates, it creates buffer out of the data. Thats what .raw are, unprocessed Deflate streams. Raw2hif firstly Inflates the stream & then Deflates (Compresses) the streams with the level you have provided e.g. -c9 compresses the stream in Level9, thats why the higher the level, the smaller is the output.

Brute on the other hand, instead of creating buffers, it directly inflates them and creates the output.

Now, comes the Precomp part...Its a storehouse of processes. You can assume its slowness is due to it hit & trial method. It again & again reads the file to discover more & more stream & even to find info about stream it takes about 9 * 9 trials. Thats why its disk reading values are high e.g. for Brute of 1 GB file it approx. reads 98 GB data.

pZlib, it scans for the Magic Bytes & Inflates the streams, easy-peasy... Not in coding....
__________________
We are such stuff as dreams are made on, and our little life is rounded with a sleep.
Reply With Quote
The Following 3 Users Say Thank You to RamiroCruzo For This Useful Post:
felice2011 (17-05-2016), Razor12911 (17-05-2016), Simorq (17-05-2016)
  #33  
Old 17-05-2016, 06:07
coveiro coveiro is offline
Registered User
 
Join Date: Dec 2014
Location: EUA
Posts: 77
Thanks: 90
Thanked 52 Times in 32 Posts
coveiro is on a distinguished road
The Witcher 3 Wild Hunt




Done at normal HD, I will post later on my SSD

Last edited by coveiro; 17-05-2016 at 06:23.
Reply With Quote
The Following 2 Users Say Thank You to coveiro For This Useful Post:
Amsal (17-05-2016), Razor12911 (04-06-2016)
  #34  
Old 17-05-2016, 08:48
ChronoCross's Avatar
ChronoCross ChronoCross is offline
Registered User
 
Join Date: Sep 2014
Location: Acacia Dragons
Posts: 254
Thanks: 145
Thanked 203 Times in 115 Posts
ChronoCross is on a distinguished road
Gozarck's tool works fine for me. Copy rawdet and bat file in the same path of the folder to test and drag the folder. This bat works with folder and not with files directly.
@ramirocruzo thnx for the info. Check the bug info on reflate by author and this link about invalid stream or non valid streams about bug or issue.
Precomp source code page 2 thread 41
http://encode.ru/threads/2411-Precom...n-GitHub/page2
Reply With Quote
  #35  
Old 17-05-2016, 09:04
RamiroCruzo's Avatar
RamiroCruzo RamiroCruzo is offline
Registered User
 
Join Date: Jul 2015
Location: India
Posts: 184
Thanks: 386
Thanked 171 Times in 75 Posts
RamiroCruzo is on a distinguished road
Smile

Quote:
Originally Posted by ChronoCross View Post
Gozarck's tool works fine for me. Copy rawdet and bat file in the same path of the folder to test and drag the folder. This bat works with folder and not with files directly.
@ramirocruzo thnx for the info. Check the bug info on reflate by author and this link about invalid stream or non valid streams about bug or issue.
Precomp source code page 2 thread 41
http://encode.ru/threads/2411-Precom...n-GitHub/page2
Well, re-read his whole reply. With Non-Valid Streams. he meant streams which are of smaller size that the header size of Precomp. If you try to process them, the lossless restoration info will be greater that the original file. That means compression ruined. As, Reflate doesn't make headers, so yes...Reflate can process it...
__________________
We are such stuff as dreams are made on, and our little life is rounded with a sleep.
Reply With Quote
The Following User Says Thank You to RamiroCruzo For This Useful Post:
Razor12911 (19-05-2016)
  #36  
Old 22-05-2016, 07:16
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
Multi threading support comng
Reply With Quote
The Following 3 Users Say Thank You to Razor12911 For This Useful Post:
amgad_800 (02-06-2016), chum (22-05-2016), kenzo34 (22-05-2016)
  #37  
Old 22-05-2016, 10:46
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
Update available

Changes

Added multi threading support
Attached Images
File Type: png pzlib.PNG (46.5 KB, 429 views)
Reply With Quote
The Following 7 Users Say Thank You to Razor12911 For This Useful Post:
amgad_800 (02-06-2016), Andrey167 (22-05-2016), arkantos7 (24-05-2016), chum (25-05-2016), Mini (22-05-2016), RamiroCruzo (22-05-2016), Simorq (22-05-2016)
  #38  
Old 22-05-2016, 13:26
Mini Mini is offline
Registered User
 
Join Date: Nov 2013
Location: -
Posts: 125
Thanks: 171
Thanked 76 Times in 43 Posts
Mini is on a distinguished road
Cool

wait CLS thx!!!
Reply With Quote
  #39  
Old 22-05-2016, 19:21
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 564
Thanks: 116
Thanked 881 Times in 319 Posts
panker1992 is on a distinguished road
Mini you dont need CLS, use exe to stdout and magic is done

cls is only a lib for arc.exe its even slower than original exe itself and it is forced on smaller buffer.
__________________
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
  #40  
Old 23-05-2016, 03:09
Mini Mini is offline
Registered User
 
Join Date: Nov 2013
Location: -
Posts: 125
Thanks: 171
Thanked 76 Times in 43 Posts
Mini is on a distinguished road
Dark Souls 3
Data5.bdt - 11.4 gb

pzlib v1.0 (max level) + lzma = 9.95 gb
pzlib v1.1 + lzma = 11 gb (http://i.imgur.com/Jt9r2qn.png)

wtf
Reply With Quote
  #41  
Old 23-05-2016, 23:56
ChronoCross's Avatar
ChronoCross ChronoCross is offline
Registered User
 
Join Date: Sep 2014
Location: Acacia Dragons
Posts: 254
Thanks: 145
Thanked 203 Times in 115 Posts
ChronoCross is on a distinguished road
Don't worry mini. Is beta test. Test pzlib only. I was tested a game 68gb with pzlib+lzma and my hdd now is full and the test never end. But the application not crash.
Reply With Quote
The Following User Says Thank You to ChronoCross For This Useful Post:
Amsal (24-05-2016)
  #42  
Old 24-05-2016, 12:41
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 Mini View Post
Dark Souls 3
Data5.bdt - 11.4 gb

pzlib v1.0 (max level) + lzma = 9.95 gb
pzlib v1.1 + lzma = 11 gb (http://i.imgur.com/Jt9r2qn.png)

wtf
is restoration possible for version 1.0?

Quote:
Originally Posted by ChronoCross View Post
Don't worry mini. Is beta test. Test pzlib only. I was tested a game 68gb with pzlib+lzma and my hdd now is full and the test never end. But the application not crash.
I try to avoid errors.

Update available

Changes


Threads inversely proportional to speed for stability (new maximum for threads is 4 instead of 8 )
-Speed for multi threading improved
-ms conversion to readable time added as requested
-encode/decode can be shorted to e/d
Reply With Quote
The Following 7 Users Say Thank You to Razor12911 For This Useful Post:
amgad_800 (02-06-2016), Andrey167 (24-05-2016), arkantos7 (24-05-2016), chum (25-05-2016), Lucas65 (04-06-2016), RamiroCruzo (24-05-2016), Simorq (24-05-2016)
  #43  
Old 25-05-2016, 08:54
Mini Mini is offline
Registered User
 
Join Date: Nov 2013
Location: -
Posts: 125
Thanks: 171
Thanked 76 Times in 43 Posts
Mini is on a distinguished road
Quote:
is restoration possible for version 1.0?
dont know

reflate result - 9.96 gb

I want to receive the same result with the help pzlib
Reply With Quote
  #44  
Old 04-06-2016, 09:55
felice2011's Avatar
felice2011 felice2011 is offline
Registered User
 
Join Date: Feb 2011
Location: italy
Posts: 836
Thanks: 357
Thanked 1,158 Times in 390 Posts
felice2011 is on a distinguished road
Hi Razor i have a problem in the data decompression using "PZlib 1110" I get this error.



Code:
unpackcmd = pzlib d - -o - <stdin> <stdout>
__________________
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« I Mediocri Imitano, I Geni Copiano, Dio Crea & Distrugge » (Io Ridefinisco & Perfeziono le Loro Opere Rendendole Uniche)
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« Mediocrities Imitate, Genius Copy, God Creates & Destroys » (I Reconsider & Improve Their Works, Rending Them One And Only)
Reply With Quote
The Following User Says Thank You to felice2011 For This Useful Post:
Razor12911 (04-06-2016)
  #45  
Old 04-06-2016, 12:46
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
that's weird. will check.
Reply With Quote
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
Simple Tutorial of Compressing GTAV Razor12911 Conversion Tutorials 26 29-01-2019 01:31
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 11:57.


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