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

Reply
 
Thread Tools Display Modes
  #316  
Old 28-06-2017, 11:25
Bulat Bulat is offline
Registered User
 
Join Date: May 2016
Location: Moscow
Posts: 63
Thanks: 26
Thanked 51 Times in 27 Posts
Bulat is on a distinguished road
there is the combination of options
Reply With Quote
Sponsored Links
  #317  
Old 28-06-2017, 23:10
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 408
Thanks: 138
Thanked 459 Times in 227 Posts
doofoo24 is on a distinguished road
i been using srep with m5f -l16 -c8 -a1 it help with 4x4:lzma:a1:mfbt4:d1m:fb273:mc10000:lc8,
but when try to use lzma:a1:mfbt4:d1024m:fb273:mc10000:lc8 i get almost the same ratio but when i change srep to m3f -l512 -c256 -a1 and use lzma:a1:mfbt4:d1024m:fb273:mc10000:lc8 i get better ratio in the end...
what the best setting for srep to use with 4x4:lzma:a1:mfbt4:dm:fb273:mc10000:lc8
Reply With Quote
  #318  
Old 02-07-2017, 17:48
Viper645 Viper645 is offline
Banned
 
Join Date: Feb 2017
Location: The Gaming World
Posts: 61
Thanks: 28
Thanked 3 Times in 3 Posts
Viper645 is on a distinguished road
Quote:
Originally Posted by Bulat View Post
there is the combination of options
Can you please explain?
Reply With Quote
  #319  
Old 02-07-2017, 20:57
Bulat Bulat is offline
Registered User
 
Join Date: May 2016
Location: Moscow
Posts: 63
Thanks: 26
Thanked 51 Times in 27 Posts
Bulat is on a distinguished road
i was wrong. i mean that part of history:

Quote:
-m2 -lN now is the same as -m3 -lN -cN: compression ratio is average between -m1 and -m3, while speed is the same as in old versions
so you can improve -m2 -lN method in srep 2.0 by using -m3 -lN -cN instead
Reply With Quote
The Following User Says Thank You to Bulat For This Useful Post:
Viper645 (02-07-2017)
  #320  
Old 10-10-2017, 10:21
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
Hi guys, i'm testing xz 5.2.1 and i'm having a hard time in making it work with freearc. I'm using these parameters:

Code:
[External compressor:xz]
packcmd   = xz.exe -9 -v -c <stdin> <stdout>
unpackcmd = xz.exe -d -c <stdin> <stdout>
It achieves 99~100% but at the end shows this error:
Code:
ERROR: general (de)compression error in xz
Any clues?

Last edited by Andu21; 10-10-2017 at 10:23.
Reply With Quote
  #321  
Old 10-10-2017, 12:02
felice2011's Avatar
felice2011 felice2011 is offline
Registered User
 
Join Date: Feb 2011
Location: italy
Posts: 834
Thanks: 348
Thanked 1,142 Times in 386 Posts
felice2011 is on a distinguished road
Quote:
Originally Posted by Andu21 View Post
Hi guys, i'm testing xz 5.2.1 and i'm having a hard time in making it work with freearc. I'm using these parameters:

Code:
[External compressor:xz]
packcmd   = xz.exe -9 -v -c <stdin> <stdout>
unpackcmd = xz.exe -d -c <stdin> <stdout>
It achieves 99~100% but at the end shows this error:
Code:
ERROR: general (de)compression error in xz
Any clues?
Code:
Usage: xz [OPTION]... [FILE]...
Compress or decompress FILEs in the .xz format.

Mandatory arguments to long options are mandatory for short options too.

 Operation mode:

  -z, --compress      force compression
  -d, --decompress    force decompression
  -t, --test          test compressed file integrity
  -l, --list          list information about .xz files

 Operation modifiers:

  -k, --keep          keep (don't delete) input files
  -f, --force         force overwrite of output file and (de)compress links
  -c, --stdout        write to standard output and don't delete input files
      --single-stream decompress only the first stream, and silently
                      ignore possible remaining input data
      --no-sparse     do not create sparse files when decompressing
  -S, --suffix=.SUF   use the suffix `.SUF' on compressed files
      --files[=FILE]  read filenames to process from FILE; if FILE is
                      omitted, filenames are read from the standard input;
                      filenames must be terminated with the newline character

      --files0[=FILE] like --files but use the null character as terminator

 Basic file format and compression options:

  -F, --format=FMT    file format to encode or decode; possible values are
                      `auto' (default), `xz', `lzma', and `raw'
  -C, --check=CHECK   integrity check type: `none' (use with caution),
                      `crc32', `crc64' (default), or `sha256'
      --ignore-check  don't verify the integrity check when decompressing
  -0 ... -9           compression preset; default is 6; take compressor *and*
                      decompressor memory usage into account before using 7-9!
  -e, --extreme       try to improve compression ratio by using more CPU time;
                      does not affect decompressor memory requirements
  -T, --threads=NUM   use at most NUM threads; the default is 1; set to 0
                      to use as many threads as there are processor cores
      --block-size=SIZE
                      start a new .xz block after every SIZE bytes of input;
                      use this to set the block size for threaded compression
      --block-list=SIZES
                      start a new .xz block after the given comma-separated
                      intervals of uncompressed data
      --flush-timeout=TIMEOUT
                      when compressing, if more than TIMEOUT milliseconds has
                      passed since the previous flush and reading more input
                      would block, all pending data is flushed out
      --memlimit-compress=LIMIT
      --memlimit-decompress=LIMIT
  -M, --memlimit=LIMIT
                      set memory usage limit for compression, decompression,
                      or both; LIMIT is in bytes, % of RAM, or 0 for defaults
      --no-adjust     if compression settings exceed the memory usage limit,
                      give an error instead of adjusting the settings downwards

 Custom filter chain for compression (alternative for using presets):

  --lzma1[=OPTS]      LZMA1 or LZMA2; OPTS is a comma-separated list of zero or
  --lzma2[=OPTS]      more of the following options (valid values; default):
                        preset=PRE reset options to a preset (0-9[e])
                        dict=NUM   dictionary size (4KiB - 1536MiB; 8MiB)
                        lc=NUM     number of literal context bits (0-4; 3)
                        lp=NUM     number of literal position bits (0-4; 0)
                        pb=NUM     number of position bits (0-4; 2)
                        mode=MODE  compression mode (fast, normal; normal)
                        nice=NUM   nice length of a match (2-273; 64)
                        mf=NAME    match finder (hc3, hc4, bt2, bt3, bt4; bt4)
                        depth=NUM  maximum search depth; 0=automatic (default)

  --x86[=OPTS]        x86 BCJ filter (32-bit and 64-bit)
  --powerpc[=OPTS]    PowerPC BCJ filter (big endian only)
  --ia64[=OPTS]       IA-64 (Itanium) BCJ filter
  --arm[=OPTS]        ARM BCJ filter (little endian only)
  --armthumb[=OPTS]   ARM-Thumb BCJ filter (little endian only)
  --sparc[=OPTS]      SPARC BCJ filter
                      Valid OPTS for all BCJ filters:
                        start=NUM  start offset for conversions (default=0)

  --delta[=OPTS]      Delta filter; valid OPTS (valid values; default):
                        dist=NUM   distance between bytes being subtracted
                                   from each other (1-256; 1)

 Other options:

  -q, --quiet         suppress warnings; specify twice to suppress errors too
  -v, --verbose       be verbose; specify twice for even more verbose
  -Q, --no-warn       make warnings not affect the exit status
      --robot         use machine-parsable messages (useful for scripts)

      --info-memory   display the total amount of RAM and the currently active
                      memory usage limits, and exit
  -h, --help          display the short help (lists only the basic options)
  -H, --long-help     display this long help and exit
  -V, --version       display the version number and exit

With no FILE, or when FILE is -, read standard input.
Code:
[External compressor:xz]
packcmd   = xz -z -9 -T0 -M0 -v $$arcdatafile$$.tmp
unpackcmd = xz -d -v $$arcdatafile$$.tmp.xz
packedfile = $$arcdatafile$$.tmp.xz
__________________
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
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 2 Users Say Thank You to felice2011 For This Useful Post:
Andu21 (10-10-2017), knife16 (10-10-2017)
  #322  
Old 10-10-2017, 20:20
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
Thanks felice2011 it's working fine now. It's a shame stdio doesn't work properly.
Reply With Quote
  #323  
Old 29-10-2017, 16:42
linggar17x linggar17x is offline
Registered User
 
Join Date: Jun 2017
Location: Indonesia
Posts: 23
Thanks: 18
Thanked 2 Times in 2 Posts
linggar17x is on a distinguished road
I extract game using quick bms and done. Then How to packing again the file after extracted?
Reply With Quote
  #324  
Old 02-11-2017, 07:30
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
Is there any gain in ratio by using different srep versions? Let's say by using 3.92 instead of the latest 3.93 beta?
Reply With Quote
  #325  
Old 21-03-2018, 07:58
PsYcHo_RaGE's Avatar
PsYcHo_RaGE PsYcHo_RaGE is offline
Registered User
 
Join Date: Mar 2018
Location: DarckSide
Posts: 239
Thanks: 194
Thanked 157 Times in 77 Posts
PsYcHo_RaGE is on a distinguished road
Smile Help me with WPI

Hello Guyz its About Razors Original Script, I really appericiate that guy

so i am here because i am still a noob & don't try to laugh at me

Basically i want to add Music Button, About Button, Fonts, Video Trailer(Optional)

Don't tell me use modded versions because they are messed up with lots of bugs and i also don't want to messup with razors code, Help me please it will be appreciated.

Thanks
Reply With Quote
  #326  
Old 21-03-2018, 10:25
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 527
Thanks: 113
Thanked 752 Times in 294 Posts
panker1992 is on a distinguished road
xz ~ with stdio capabilities

Quote:
Originally Posted by Andu21 View Post
Thanks felice2011 it's working fine now. It's a shame stdio doesn't work properly.
the reason why xz cant be used with stdio capabilities are various, but i can show you how to use xz with 7z support it supports stdin and stdout and its streaming works wonderfully

[External compressor:xz,lzma2]
header = 0
packcmd = 7z a -txz -an -m0=lzma2{:option}:fb=273:mf=bt4:mc=100000000:lc=4: lp=0 -mx9 -si -so <stdin> <stdout>
unpackcmd = 7z x -txz -an -y -si -so <stdin> <stdout>

use it like this

srep:m3f:a1+lzma2:d256m:c1024m:mt4
or
srep:m3f:a1+xz:d256m:c1024m:mt4

d(dictionary)m
c(chunk)m
mt4 = 4 threads

this combo does need ram so careful

enjoy a wonderful streaming experience both in comp and decomp (decomp is now multithreaded)
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.

Last edited by panker1992; 21-03-2018 at 10:28. Reason: quick fix
Reply With Quote
The Following 2 Users Say Thank You to panker1992 For This Useful Post:
Andu21 (21-03-2018), pakrat2k2 (21-03-2018)
  #327  
Old 21-03-2018, 10:45
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
Thanks. i'll give it a try, this is esentially creating a xz archive through 7-Zip right?

Quote:
Originally Posted by panker1992 View Post
this combo does need ram so careful
Why not use radyx instead?
Reply With Quote
  #328  
Old 21-03-2018, 13:35
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 527
Thanks: 113
Thanked 752 Times in 294 Posts
panker1992 is on a distinguished road
Quote:
Originally Posted by Andu21 View Post
Thanks. i'll give it a try, this is esentially creating a xz archive through 7-Zip right?


Why not use radyx instead?
i haven't tried radyx myself but its author said to achieve the ratio you get on xz/7z you need double the ram so...... radyx gives speed not good ratio unless you have a ram hungry machine
__________________
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 User Says Thank You to panker1992 For This Useful Post:
Andu21 (21-03-2018)
  #329  
Old 21-03-2018, 16:31
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
Alright i thought it was the other way around due to some improvements from zstd, less memory and same ratio.
Reply With Quote
  #330  
Old 22-03-2018, 16:49
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 683 Times in 189 Posts
rinaldo is on a distinguished road
Quote:
PsYcHo_RaGE
Quote:
Music Button, About Button, Fonts, Video Trailer(Optional)
too many things together and can be done in 100 different ways (paradoxical but true)

Quote:
Don't tell me use modded versions because they are messed up with lots of bugs
then you'll have to learn the code yourself or adapt an existing one around the forum (I'll tell you that razor will make you a customized version)


Example =>
Attached Files
File Type: 7z Prrrrrr.7z (6.91 MB, 27 views)
__________________
if you understand read more

Last edited by rinaldo; 22-03-2018 at 19:15.
Reply With Quote
The Following User Says Thank You to rinaldo For This Useful Post:
PsYcHo_RaGE (22-03-2018)
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
The ONLY Half-Life 2 Thread. Do Not Create New Threads JoyBoy PC Games 286 25-03-2005 05:49
Official Sims 2 Thread JoyBoy PC Games 229 25-10-2004 16:01
'Official' CM4 Thread - Do Not Create New Threads Fila PC Games 119 23-07-2003 06:33



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


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