FileForums

FileForums (https://fileforums.com/index.php)
-   PC Games - CD/DVD Conversions (https://fileforums.com/forumdisplay.php?f=39)
-   -   QUESTIONS - All Conversion Questions to be Posted Here (https://fileforums.com/showthread.php?t=94970)

The-revenge 30-08-2013 08:44

Hi, I have a question. If I would personalize the conversion already poster, for example conversion with LZMA, and I want to add srep+precomp for more compression, how I chose the file that can be compressed by srep+precomp without a waste of time?
In other words, there are a method to estimate the efficency of compression, for each file, BEFORE start compression?

Fabioddq 30-08-2013 10:05

Always depends of the game files. You need test to know.
Some game files accept insane compression like Hitman Absolution.
Others makes no difference like COD Black Ops II.

So, you need always to test. :D

The-revenge 30-08-2013 10:14

Thanks for the info....so the only way is to test :( I read on internet that the compression software using an euristich algorithm, so the time needed to estimate the final compression ratio is egual to time needed to compress the file...for this reason the only way is to test and verify for each game...
LOL I tried :D

Joelz 01-09-2013 07:14

Inno Setup compression
 
Hi i have tried to compress Saints Row IV with this settings
Code:

Compression=lzma2/ultra64
InternalCompressLevel=ultra
DiskSpanning=True
DiskSliceSize=1566000000
SlicesPerDisk=3
CompressionThreads=2
LZMAAlgorithm=1
LZMAMatchFinder=BT
LZMANumFastBytes=64
LZMAUseSeparateProcess=yes
LZMADictionarySize=65536
LZMABlockSize=262144
LZMANumBlockThreads=2

Result was something like 6,3GB. I have read manual of Inno Setup and i can not set some values at higher level because it will be out of range.
So i do not know how it is possible, that somebody have same game with same files, but compressed to something like 5,3GB.

Where did i make mistake? :confused:

I have:
CPU: Q9400 3,2 GHz, 5 GB RAM. This should be sufficient for compression

Thank you for you help.

alley_u2 02-09-2013 04:26

alley_u2;422757]Method of compression used :
Code:

arc a -lc8 -ep1 -ed -r -w.\ Data\Setup-1.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
Can anyone tell me how to decompress the file. Any specific commands?

pakrat2k2 02-09-2013 06:41

get rid of first -lc8 & depending on whose script your using the arc.ini must be included as well. so it knows what values to use for compression / decompression.

alley_u2 02-09-2013 09:13

Quote:

Originally Posted by pakrat2k2 (Post 422760)
get rid of first -lc8 & depending on whose script your using the arc.ini must be included as well. so it knows what values to use for compression / decompression.

This is the bat file:

Code:

@echo off
Title Compressor for Blackbox Script - by AliEN
echo *******************************************************************************
echo *            Freearc+Precomp+Srep Compressor for Blackbox Script              *
echo *                Don't forget. Open this file with notepad.                  *
echo *        Change C:/* to your files directory. Example: C:/Folder/*            *
echo *                                                                By AliEN  *
echo *******************************************************************************
pause
@echo Working Arc+Precomp+Srep+Arc again
arc a -lc8 -ep1 -ed -r -w.\ Data\Setup-1.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\Users\Allen\Desktop\v3"
@echo Finished.
pause

This is the arc.ini file:

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 -cn- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

Thank you for the help !!! :D

alley_u2 05-09-2013 21:55

Can anyone tell me is there any tutorial form where i can learn to add "system requirement" in Inno Setup?

pakrat2k2 06-09-2013 06:49

1 Attachment(s)
Quote:

Originally Posted by alley_u2 (Post 422900)
Can anyone tell me is there any tutorial form where i can learn to add "system requirement" in Inno Setup?

here's some scripts to look thru for system requirements.

AHMED SAMI 12-09-2013 12:45

I Want the help of experts !
 
How i can Compression file used Compress Srep or Compress Precomp BY INNO SETUP

Means

How can I use Inno Setup to Compression file using Srep or Precomp ?

Waiting for the answer

Thank you very much

Eng : AHMED SAMI

:)

sentinelks 12-09-2013 13:38

Quote:

Originally Posted by AHMED SAMI (Post 423195)
How i can Compression file used Compress Srep or Compress Precomp BY INNO SETUP

How can I use Inno Setup to Compression file using Srep or Precomp ?

you need a folder that contains the files for compression
Step 1
1) compress.bat
2) arc.exe
3) arc.ini
4) precomp.exe
5) Srep.exe
6) Data.lst (used to add files depending on the size, exclusion etc..

content in the forum are almost always shared in the conversions
Fabioddq, Revo etc..

-----------------------------------------------------------
Step2
compress.bat mode arc+precompress+srep+lzma 1XDVD5
Code:

echo off
:start
cls
color 1e
set choice1=
set arc=
set retry=
echo.================================================================================
echo.                          Select your GAME directory.
echo.
echo.================================================================================
echo.
echo.
set /p choice1= (e.g. C:\Program Files (x86)\gamedirectory):
if "%choice1%"=="" goto start
cls
echo.
echo Creating Data.cab, please wait...
echo.
:Data1
set arc=Data1.cab
if exist .\DVD_1\%arc% goto end
arc a -ep1 -r -w.\  -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 [email protected] -dp"%choice1%" .\DVD_1\%arc%
if ERRORLEVEL 1 goto arcfail
:end
echo.Finished!

C:\Program Files (x86)\gamedirectory): paste your game directory EX:C:\Program Files (x86)\Dusty Revenge
if exist .\DVD_1\%arc% goto end =create a folder DVD_1 and add the file conversion ( if exist = is the command to skip if the file is already in the folder.
[email protected] = excludes fle of the game that you enter in the Data1.lst (the files to add important are the uninstall unins000.exe and unins000.dat).
Data1.cab = will create a file with the .cab, but you can change it .arc or .bin
arc a -ep1 -r -w.\ -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 = is the compression algorithm precompress+SREP+FreeArc+lzma (among the most powerful).
---------------------------------------------------------
end step

dais6969 28-09-2013 09:56

1 Attachment(s)
pliss tell me about this,,
i will make the new instaler but, i don't know how to make this file..if you have tutorial to make this ,attach file for me ,,thanks
:(

and make instaler by costumize, exp the language has change in indonesia language

Morgrel 29-09-2013 09:49

Hi,
i'm trying to make a conversion for all Wing Commander Series but i'm having some troubles becouse some Wing Commander games are old and require DOSBOX.
I need to create icons like (the installation path of the game is "D:\Giochi\Wing Commander Collection", Wing Commander 3 is the component3):

Destination: "D:\Giochi\Wing Commander Collection\DOSBOX\dosbox.exe" -conf dosboxWC3.conf -noconsole -c "exit
From: "D:\Giochi\Wing Commander Collection\Wing Commander 3\"

i only found some code like:

Name: {group}\{code:GetAppName} {code:MyExecutableIconName3}; Filename: {app}\{code:GetMyAppExePath3}\{code:GetMyAppExeNam e3}; WorkingDir: {app}\{code:GetMyAppExePath3}; Check: ThirdExecCheck1
Name: {userdesktop}\{code:GetAppName} {code:MyExecutableIconName3}; Filename: {app}\{code:GetMyAppExePath3}\{code:GetMyAppExeNam e3}; WorkingDir: {app}\{code:GetMyAppExePath3}; Check: ThirdExecCheck1

Name: {group}\{cm:Config}; Filename: {app}\{code:GetMyAppExePath3}\{code:GetMyAppExeNam e3}; WorkingDir: {app}\{code:GetMyAppExePath3}; Check: ThirdExecCheck2
Name: {userdesktop}\{cm:Config}; Filename: {app}\{code:GetMyAppExePath3}\{code:GetMyAppExeNam e3}; WorkingDir: {app}\{code:GetMyAppExePath3}; Check: ThirdExecCheck2

jackstuff 29-09-2013 10:53

Quote:

Originally Posted by HellRazor (Post 421337)
Unpack all files from Setup.cab to folder Setup, add ; in front of #define ProgramFiles (second line) inside InstallerScript.iss.

Remove ; from ;#define Internal (tenth line) in InstallerScript.iss.

Remove ; from ;#define Internal (first line) in LangScript.iss.

Compile and that's that.

Its internal process but setup.dll doesn't merge, its possible in the latest ciuv2 of yener's only one executable its a feature

pakrat2k2 29-09-2013 11:07

jackstuff, ( oops, you only want 1 exe, then its only available in CIU V2 ( beta test ATM )

Make sure you set #define internal in BOTH scripts. Then in setup.ini you need this section ( if not there already ) IF you use compress.bat to make archives, if you just use the ISS script then that section shouldn't be there. Then you have 2 exe's, but you only want 1.

Code:

[ExtractSettings]
FreeArcFile1=Data1.cab;DestDir:{app};Disk:1;
FreeArcFile2=Data2.cab;DestDir:{app};Disk:2;



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

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