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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-08-2012, 14:06
Onizuka87k's Avatar
Onizuka87k Onizuka87k is offline
Registered User
 
Join Date: Oct 2009
Location: Italy
Posts: 96
Thanks: 31
Thanked 15 Times in 8 Posts
Onizuka87k is on a distinguished road
Hum.. guys i'm trying to use the latest version with arc commandline but i've some problem!
I used this arc.ini
Code:
[External compressor:srep]
header = 0
packcmd   = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp]
header = 0
packcmd   = precomp -intense0 -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp
i put it on the root of Setup.cab (as in the example yener90 has given us).

Then i edit Setup.ini adding the precomp version used for compression (PrecompVer=0.42) and adding the code for Extractsetting, like this
Quote:
[ExtractSettings]
FreeArcFile1={src}\Setup-1b.arc;DestDir:{app};Disk:1;PrecSrep:0;Lang:it
FreeArcFile2={src}\Setup-1c.arc;DestDir:{app};Disk:1;PrecSrep:0;Lang:it
FreeArcFile3={src}\Setup-1d.arc;DestDir:{app};Disk:1;PrecSrep:0;Lang:it
FreeArcFile4={src}\Setup-1e.arc;DestDir:{app};Disk:1;PrecSrep:0;Lang:it
(i have doubts on PrecSrep value but i tested with 0 and with 1 and there are no differences!)

I have four archives compressed in this way (each line is an archive):
Code:
arc a -r -w.\ Setup-1b.arc -msrep+lzma:a1:d256mb:mfbt4:fb128:mc1000:lc8 "folder1\*"
arc a -ep1 -r -w.\ Setup-1c.arc -mprecomp:zl11,68:d1+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "file1.test" "file2.test" "file3.test"
arc a -r -w.\ Setup-1d.arc -msrep+lzma:a1:d256mb:mfbt4:fb128:mc1000:lc8 "folder2\*" "file4.test"
arc a -ep1 -r -w.\ Setup-1e.arc -msrep+lzma:a1:d256mb:mfbt4:fb128:mc1000:lc8 "file5.test"
During installation I always get an error (about decompression method) and I can't extract any archive.

edit: i thought the problem was my arc.ini (the "unpackcmd" command) but doing manual decompression with command line, arc works fine!
(for example, doing "arc x Setup-1c.arc" the extraction works fine. Obviously arc.exe, arc.ini, srep and precomp (and all dll needed) are in the same folder!)

What am I doing wrong?
Thanks

Last edited by Onizuka87k; 04-08-2012 at 15:57.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
INNO TROUBLESHOOT - Questions Here REV0 Conversion Tutorials 1565 29-11-2024 09:51
Inno Setup: Additional Libraries altef_4 Conversion Tutorials 50 21-10-2020 09:59
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Help- How to extract a .bin file compressed by a code ? Adonix Conversion Tutorials 22 22-03-2015 15:02
yener90's older Inno Project Source Codes THADEADMAN2011 PC Games - CD/DVD Conversions 0 16-06-2012 03:40



All times are GMT -7. The time now is 05:10.


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