Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-08-2012, 23:30
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by mikey26 View Post
is these files placed in the root of the setup.cab or in a separate folder or if its placed in a folder in the setup cab what must it be called?
From Page 1


UPDATE 8.4.2
- Full freearc commandline support
-> Change PrecompVer=inside
-> to get perfect working, put the arc.ini, the file with that you compressed the files to the main folder of Setup.cab (like in example)
- Fixed Vietnamese language
- Updated Portuguese Brazil language (thx to kassane)
- Added SmallInstaller positioning to left down
-> SmallInstallerPosLD=1 (0 disables, 1 enables)

look to page 1 for full example

Last edited by pakrat2k2; 03-08-2012 at 23:33.
Sponsored Links
  #2  
Old 04-08-2012, 01:23
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 271 Times in 91 Posts
BAMsE is on a distinguished road
mikey26 setup.cab has all needed files already. All files I referred are used to prepare archives only, so should be placed in separated folder and after creating cabs can be deleted (you don't need to include it to CI)
  #3  
Old 04-08-2012, 07:35
napalmguy
Guest
 
Posts: n/a
Magnificent

just a small suggestion

add a function to add/modify registry values in the designer so it will make it easier for beginners
  #4  
Old 04-08-2012, 09:10
lupetto77's Avatar
lupetto77 lupetto77 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 87
Thanks: 1
Thanked 2 Times in 2 Posts
lupetto77 is on a distinguished road
Thanks for the help ... Bamse
  #5  
Old 04-08-2012, 11:39
hdneo hdneo is offline
Registered User
 
Join Date: Jul 2012
Location: Iran
Posts: 7
Thanks: 70
Thanked 0 Times in 0 Posts
hdneo is on a distinguished road
Some suggestion for yener90's Project:

1- add timer in during installation at title or somewhere.
-----------------------------------------------------------------------
2- integrate Setup.exe and Setup.cab and Setup.ini into one file. [Manual Compling]
-----------------------------------------------------------------------

when i am using custom method with arc.ini including precomp,srep and external lzmax64 the CI 8.4.3 works great but the progressbar is not work reality, how i can fix it?

Last edited by hdneo; 04-08-2012 at 12:36.
  #6  
Old 04-08-2012, 12:53
lupetto77's Avatar
lupetto77 lupetto77 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 87
Thanks: 1
Thanked 2 Times in 2 Posts
lupetto77 is on a distinguished road
Bamse but I wanted to ask this row -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8
that uses: low compression - normal - Maximum?
Can you explain a bit more in detail with explanation please?
  #7  
Old 04-08-2012, 13:18
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 271 Times in 91 Posts
BAMsE is on a distinguished road
Code:
-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means definition of compression method

Code:
-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means compressing with precomp (with parameters defined in arc.ini under [External compressor:precomp] section)

Code:
-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means additional parameter for precomp (which is not defined in arc.ini), in this case it's -v parameter

Code:
-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means compressing with srep (with parameters defined in arc.ini under [External compressor:srep] section), also here you can add parameters separated by ":"

Code:
-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means compression with lzma

Code:
-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means additional parameters for lzma, in this case -a1 -mfbt4 -d256m -fb128 -mc1000 -lc8


So as you can see it's really strong compression

Last edited by BAMsE; 04-08-2012 at 13:22.
  #8  
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.
  #9  
Old 05-08-2012, 12:15
lupetto77's Avatar
lupetto77 lupetto77 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 87
Thanks: 1
Thanked 2 Times in 2 Posts
lupetto77 is on a distinguished road
Bamse I did as you said ...
No one folder I put the files taken from the installation of arc.exe freeArc \ bin \ arc.exe (0.67), taken from the

folder setup arc.ini Yener, precomp 042 with its 3.0 SREP file and then I created the file . bat with written inside

echo off
cls
set choice1=
echo.
set /p choice1=Please type game folder path (e.g. c:\program files (x86)\BioWare\Mass Effect 3):
echo.
echo Creating archive files, please wait...
arc a -ep1 -r -w.\ .\Disk1\Data1.bin -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8 "%choice1%\Binaries\*"
if ERRORLEVEL 1 goto arcfail
echo.All done.
pause
goto EOF
:arcfail
echo.
echo.WARNING: FreeArc returns an error, please retry...
pause
:EOF

if using your parameter -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8 gives me this error

[IMG]

http://s4.imagestime.com/out.php/i754574_Immagine.jpg[/IMG]


I tried precomp.exe 042 04 038 but 'equal

could you pass the working files that you use please?

Last edited by Joe Forster/STA; 06-08-2012 at 00:45.
  #10  
Old 05-08-2012, 13:21
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
Use this version of precomp. Version: 0.4.2

Last edited by Kurutucu; 04-06-2013 at 09:25.
  #11  
Old 05-08-2012, 13:45
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
Quote:
Originally Posted by lupetto77 View Post
Bamse I did as you said ...
No one folder I put the files taken from the installation of arc.exe freeArc \ bin \ arc.exe (0.67), taken from the

folder setup arc.ini Yener, precomp 042 with its 3.0 SREP file and then I created the file . bat with written inside

...

if using your parameter -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8 gives me this error

...
Did you write it like as you pasted here? If yes then delete the space between "l" and "c". The line of parameters is valid.
  #12  
Old 05-08-2012, 14:34
lupetto77's Avatar
lupetto77 lupetto77 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 87
Thanks: 1
Thanked 2 Times in 2 Posts
lupetto77 is on a distinguished road
Quote:
Originally Posted by Onizuka87k View Post
Did you write it like as you pasted here? If yes then delete the space between "l" and "c". The line of parameters is valid.
I know because I put in this
Code:
-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
do not know why I added my own ...
  #13  
Old 07-08-2012, 14:43
lupetto77's Avatar
lupetto77 lupetto77 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 87
Thanks: 1
Thanked 2 Times in 2 Posts
lupetto77 is on a distinguished road
Bamse I tried the command lines that you posted, it compiles but when I go to install I get this error ...



help on how I can solve this problem?

Last edited by Joe Forster/STA; 08-08-2012 at 10:28.
  #14  
Old 07-08-2012, 15:09
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
Quote:
Originally Posted by lupetto77 View Post
Bamse I tried the command lines that you posted, it compiles but when I go to install I get this error ...



help on how I can solve this problem?
It's the same bug i had with my personal installer of Prototype2.
I don't know if it's the right way but i solved excluding (by comment) CLS-precomp.dll:
Code:
;Source: include\CLS-precomp.dll; DestDir: {tmp}; Flags: dontcopy
and
Code:
//ExtractTemporaryFile('CLS-precomp.dll');
My lines of code will be different from yours but these points should be respectively close to the lines 70 and 4930.

ps: Since you use the arc command-line, do you edit the line about precomp version on Setup.ini like this?
Code:
PrecompVer=inside
Try this way!
  #15  
Old 07-08-2012, 15:54
lupetto77's Avatar
lupetto77 lupetto77 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 87
Thanks: 1
Thanked 2 Times in 2 Posts
lupetto77 is on a distinguished road
Talking

Thank you commenting the two lines as you said you now works great

Last edited by Joe Forster/STA; 08-08-2012 at 10:28.
Closed Thread


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 04:31.


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