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)

Grumpy 24-07-2013 06:52

QUESTIONS - All Conversion Questions to be Posted Here
 
If you have any type of conversion questions, which does not belong to a specific conversion, then post them in this thread please.

If you have a Question regarding a specific conversion then ask your question in that specific conversion's thread.

We try to keep the Conversion section of the forum for the actual Conversions and not for things like random questions etc. It helps us to be better organized and easier for others to find answers to possibly the same questions.

Thankyou

Pirate Ted 24-07-2013 21:24

Merge
 
hi, how to merge setup.dll,setup.cab into setup.exe according yener90 script?

HellRazor 25-07-2013 03:31

Quote:

Originally Posted by Pirate Ted (Post 421331)
hi, how to merge setup.dll,setup.cab into setup.exe according yener90 script?

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.

zura 28-07-2013 02:49

hi! what are the scripts to get maximum possible compression with innosetup without using any 3rd party softwares?

artdekdok 28-07-2013 10:53

Quote:

Originally Posted by zura (Post 421430)
hi! what are the scripts to get maximum possible compression with innosetup without using any 3rd party softwares?

http://www.jrsoftware.org/ishelp/ind...up_compression

HellRazor 28-07-2013 12:49

Quote:

Originally Posted by zura (Post 421430)
hi! what are the scripts to get maximum possible compression with innosetup without using any 3rd party softwares?

You should check the link that @artdekdok provided.
Highest compression that you can use with Inno is lzma2, however...

It has been reported on few occasions that difference between lzma2/ultra and lzma2/ultra64 is only by several megabytes and it takes way longer to compress with /ultra64 parameter.
Which is not worth, IMHO.

inovateqsa 14-08-2013 01:15

Which method results in the best compression - Internal using Lzma2, or External using Freearc (No Srep or Precomp, since I have no clue how to use them)?

Also, I am having a rather irritating problem with a video at the moment:

After converting it with "Any Video Converter" to an .Avi file (Xvid codec), and renaming it to 'Video', I place it in the background folder and it simply does not play.
Placing at least one .Jpg file allows the video to play - However the Video is fast forwarded and ends in less than 5 seconds, then the picture is shown.
The actual install does take longer than the video would have played for, so that can't be the problem.
The game is Cloudberry Kingdom, but I have had this problem before with Hitman Absolution as well.
I am using CI 8.5.7.4.

Is there any way to fix this?

Te4maw 22-08-2013 03:47

how to change compresion method

pakrat2k2 22-08-2013 05:04

open any iss script, click on help ( top right ) search for compression in index

prudislav 23-08-2013 04:10

Just wanna ask which DiskSliceSize use to minimize free disk space on both DVD5 and DVD9, and usage of DVD9/5 would be choosed just by different SlicesPerDisk. (1550000000 lefts too much free disk space on DVD9)

Example situation: 20GB and want to do it on 1xDVD9 and 3xDVD5

mausschieber 23-08-2013 04:19

Quote:

Originally Posted by prudislav (Post 422167)
Just wanna ask which DiskSliceSize use to minimize free disk space on both DVD5 and DVD9, and usage of DVD9/5 would be choosed just by different SlicesPerDisk. (1550000000 lefts too much free disk space on DVD9)

Example situation: 20GB and want to do it on 1xDVD9 and 3xDVD5

Valid values:
262144 through 2100000000, or max
Default value:
max (2100000000)

Description:
This specifies the maximum number of bytes per disk slice (SETUP-*.BIN file). Normally, this should be set to the total number of bytes available on the disk media divided by the value of the SlicesPerDisk [Setup] section directive, which defaults to 1.

This directive is ignored if disk spanning is not enabled using the DiskSpanning [Setup] section directive.

To optimally fill 4.7 GB recordable DVDs, use:

SlicesPerDisk=3
DiskSliceSize=1566000000
To optimally fill 8.5 GB (dual-layer) recordable DVDs, use:

SlicesPerDisk=5
DiskSliceSize=1708200000
To optimally fill 700 MB (80-minute) recordable CDs, use:

SlicesPerDisk=1
DiskSliceSize=736000000
To optimally fill 1.44MB floppy disks, use:

SlicesPerDisk=1
DiskSliceSize=1457664

source: Inno setup help file DiskSlizeSize

prudislav 23-08-2013 06:07

mausschieber - i know that - i just want to figure out optimal DSS for both DVD5(4.7) and DVD9(8.5) at once ;-)

pakrat2k2 23-08-2013 07:45

you cant do both at once. diskslicesize tells inno wether you want a dvd9 or dvd5 cant do both at once. you can do dvd5 but reduce 1566000000 to say 1555000000
to allow redist room on first dvd. Then just move some of the setup2.bin files to first folder until it reaches dvd9 size, then rest of setup3.bin files across remainder dvd5 folders.

prudislav 23-08-2013 08:07

i know i just wanted some number which minimizes free space on both :-D 1566.... fits fine on DVD5 (+-100MB free) but you can add additional 2 on DVD9 which lefts (+-900MB free) - i just wanted optimal number to minimizes tthis free space

ferv 29-08-2013 19:25

I have changed my VGA to a Radeon Hd7950 3Gb and since then in the system verificacion of any conversion made with CIU 1.0.0.6 it always appears in red like it doesn't meet the minimum requirements, i think maybe it's related to the 3gb but i don't really know, is there any way to fix this in the conversion script?
PS: I don't know if my question goes here but if it don't, please let me know, thank you

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;


pakrat2k2 30-09-2013 05:08

depends on whose script, anyways you need the arc.ini to be included in setup.cab so it knows what you used to compress the files. also if yeners script in setup.ini
in InstallOptions section needs PrecompVer=Inside line added if not there.

alley_u2 30-09-2013 06:08

I am creating a batch file for iso creation using mkisofs.exe. My problem is that how ever the big the source folder is the iso files is of 725mb only. Can anybody help me out to make this work.

pakrat2k2 30-09-2013 16:38

why not just use imgburn, the settings for it are already at the bottom of compress.bat?

mystikal242 16-10-2013 18:23

How can I change the shortcut program than it will be created in the desktop???? I want to change the shortcut in the desktop of the game for its launcher....
I'm using FIFA 14 INNO converter...^^

pakrat2k2 16-10-2013 19:27

if there is a setup.ini the shortcut is created from that, if there isn't you'll have to ask the author.

JacksMafia 17-10-2013 23:22

guys i'm making my own conversion for Tom Clancy's Splinter Cell Blacklist and i was wondering about if anyone knows what is the gdf binary for this game?

thanks for help

pakrat2k2 18-10-2013 05:08

look in your installed game folder

JacksMafia 18-10-2013 12:54

Quote:

Originally Posted by pakrat2k2 (Post 424559)
look in your installed game folder

i did but couldn't find it

pakrat2k2 18-10-2013 14:24

then it may not have one.

JacksMafia 18-10-2013 14:36

Quote:

Originally Posted by pakrat2k2 (Post 424577)
then it may not have one.

no it does i could see it when the game installed from original source


All times are GMT -7. The time now is 23:13.

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