View Full Version : Tutorial using CI 8.0.0
Here is a big tutorial for my CI (C Custom I Installer) 8:
Required files for the installation
Setup.cab => is origin a zip file, contains installer images and sounds -> you can edit it using WinRAR or 7zip
Setup.dll => its an executable for the setup
Setup.exe => the real executable
Setup.ini => configuration file for Setup (GameName etc) -> you can edit it using notepad
For basic setup you need only to edit Setup.cab and Setup.ini
Setup.cab:
Autorun folder:
Required files:
Autorun.jpg => Autorun background image
Optional files:
Button.png => Button background image (not selected)
ButtonSelected.png => Button background image (selected)
ButtonClicked.png => Button background image (clicked)
ButtonDisabled.png => Button background image (disabled)
Button.wav => sound if you clicked the button
for getting the next work you need button.png:
ButtonOnMouse.wav => sound if you move the mouse to a button
Background folder: (optional)
1 - unlimited.jpg => background image for installer
example 4 background images Background folder:
1.jpg, 2.jpg, 3.jpg, 4.jpg
OR
you can also use Flash files as background image
flash.swf => flash file for background
Setup folder:
Required files:
Installer.jpg => Installer background image
Optional files:
Button.png => Button background image for the big buttons (not selected)
ButtonSelected.png => Button background image for the big buttons (selected)
ButtonClicked.png => Button background image for the big buttons (clicked)
You can also use for the 4 big buttons CUSTOM buttons -> not necessary.
names should be for button2 for example:
Button2.png => Button background image for the big buttons (not selected)
Button2Selected.png => Button background image for the big buttons (selected)
Button2Clicked.png => Button background image for the big buttons (clicked)
Button.wav => sound if you clicked the button
for getting the next work you need button.png:
ButtonOnMouse.wav => sound if you move the mouse to a button
Checkbox.png => checkbox image
Edit.png => image for the background of your game path selection
Flash.swf => Flash animation in setup
logo.png => logo image for installer (and background => look at the options)
logo2.png => logo image for background
music.mp3 => installer music
ProgressBackground.png => progressbar background image
ProgressImg.png => progressbar image
SmallButton.png => Button background image for the small buttons (not selected)
SmallButtonSelected.png => Button background image for the small buttons (selected)
SmallButtonClicked.png => Button background image for the small buttons (clicked)
SmallInstaller.jpg => background of the installer while installing
SmallInstaller.png => dark base for the installer while installing
Splash.png => logo image while starting
TextBg.png => background of the text part of installer
Main(optional):
font.ttf => custom font for setup
setup.cjstyles => isskin for setup
cursor.cur => custom cursor for setup
Setup.ini:
InstallOptions => this part defines main game info
ApplicationName => Name of the game
Publisher => Publisher name of the game
MyExecutableName => main executable of the game
MyExecutablePath => define this if the main executable is not in root folder, but in subfolder
example gamefolder\bin32\yener90.exe you need to define like this:
MyExecutableName=yener90
MyExecutablePath=bin32
#######
if you have two executables, you need following lines:
MyExecutableIconName2 => Name of the shortcut and autorun menu of the second executable
MyExecutableName2 => secobd executable of the game
MyExecutablePath2 => define this if the second executable is not in root folder, but in subfolder
#######
SaveGameFolder => define here the folder of the savegames
GameSize => Size of the game in MB
Lang => supported languages
LangUI => if you enable this (by using worth 1), language selector will be disabled and windows language will be used automaticly
PrecompVer => defines the version of precomp, if you used it
Editor => if you edited my source, you can put your name here.
InstallSettings => this part defines gdf binaries
GDFBinary => name of the gdf binary
only required if your games needs two gdf binaries:
GDFBinary2 => name of the second gdf binary
You can also define language specific gdf binaries:
just take from Language Info your language and add it to the end of GDFBinary.
Example for a Turkish and Greek gdf binary
GDFBinaryTR=GDF_Turkish.dll
GDFBinaryGR=GDF_Greek.dll
ExtractSettings => this part defines files for extracting
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1; PrecSrep:0;Lang:de
FreeArcFile2={src}\Data2.cab;DestDir:{app};Disk:1
Data1.cab => name of the archive that should be extracted
DestDir:{app} => folder where the game should be extracted ({app} is game folder)
Disk => number of, on which disk the archive is
Precsrep => use extreme decompression method
for this you need to compress the archive this way:
Example if you want to name your archive Data.cab
Compress all files in Data.arc
-> Compress Data.arc in Data.pcf
-> Compress Data.pcf in Data.srep
-> Compress Data.srep in Data.cab
Lang => defines for which language the archive should be extracted (look for available languages to "Language Info")
FreeArcFile1 number of archive which should be extracted
FreeArcFile = Defines the file header. Possible values FreeArcFile, 7zFile and RarFile
1 = defines number of archive which should be extracted
if you want to extract one FreeArcFile one 7z file you need to define like this:
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1; PrecSrep:0;Lang:de
7zFile1={src}\Data2.cab;DestDir:{app};Disk:1
InterfaceSettings => this part defines interface settings of the installer
BackgroundWidth => set the background image width => it should be the width of 1.jpg or flash.swf
BackgroundHeight => set the background image height => it should be the height of 1.jpg or flash.swf
ButtonWidth => set the button image width => it should be the width of button.png
ButtonHeight => set the button image height => it should be the height of button.png (not the whole height -> only one button height)
ButtonLabelX => move the buttons text to left/right (standard = 0) positive value moves right/negative left
ButtonLabelY => move the buttons text to up/down (standard = 0) positive value moves down/negative up
Button1Left => set the button position left (next / standard installation button)
Button1Top => set the button position top (next / standard installation button)
Button2Left => set the button position left (back / custom installation button)
Button2Top => set the button position top (back / custom installation button)
Button3Left => set the button position left (cancel button)
Button3Top => set the button position top (cancel button)
Button4Left => set the button position left (music button)
Button4Top => set the button position top (music button)
FinishPosBackPos => set where the finish button should be placed => 1 = place of back button 0 = place of nextbutton
ButtonFont => set the button font
ButtonFontBold => set if the button font should be bold
ButtonFontSize => set the button font size
this part only works if you used button.png
ButtonFontColor => set the button font color => color need to be reversed => exchange first two values with the last two values
ButtonFontColorOnMouse => set the button font color, if you move the mouse on it => color need to be reversed => exchange first two values with the last two values
ButtonFontColorMouseDown => set the button font color, if you click on it => color need to be reversed => exchange first two values with the last two values
ButtonFontColorDisabled => set the button font color, if button is disabled => color need to be reversed => exchange first two values with the last two values
ButtonOneLiner => set if the button text should be wrapped or not
EnableAutorunMenu => enable this if you want to use Autorun menu feature
EnableFastInstall => enable/disable standard installation/custom installation button
FlashLeft => set the flash animation position left in installer
FlashTop => set the flash animation position top in installer
FlashWidth => set the flash animation position widthin installer
FlashHeight => set the flash animation position height in installer
InstallerWidth => set the width of the installer = it should have the width of installer.jpg
InstallerHeight => set the height of the installer = it should have the height of installer.jpg
LogoLeft => set the logo position left in installer
LogoTop => set the logo position top in installer
LogoWidth => set the width of the logo = it should have the width of logo.jpg
LogoHeight => set the height of the logo = it should have the height of logo.jpg
ProgressBarHeight => set the width of progressbar
SetupFont => set the setup font
SetupFontColor => set the setup font color, if you click on it => color need to be reversed => exchange first two values with the last two values
ShowLogoInBG => enable/disable logo in background
SmallButtonWidth => set the small button image width => it should be the width of smallbutton.png
SmallButtonHeight => set the small button image height => it should be the height of smallbutton.png
SmallInstallerFontColor => define the color of setup font in small installer => if not defined, setup will use SetupFontColor
SmallInstallerWidth => set the small installer image width => it should be the width of smallinstaller.jpg
SmallInstallerHeight => set the small installer image height => it should be the height of smallinstaller.jpg
TextCenter => enable/disable center alignment of the text in installer
TextPositionLeft => set the texts left position
TextPositionTop => set the texts top position
TextPositionWidth => set the texts width => it should be the width of TextBG.png if you use it
TextPositionHeight => set the texts height => it should be the height of TextBG.png if you use it
TextSpaceFromBorder => set the space between the text and the border of the text file
This part AutorunSettings is only required, if you enabled EnableAutorunMenu=1
AutorunSettings => options for autorunmenu
AutorunWidth => set the width of the Autorun= it should have the width of Autorun.jpg
AutorunHeight => set the height of the Autorun = it should have the height of Autorun.jpg
ButtonLabelX => move the buttons text to left/right (standard = 0) positive value moves right/negative left
ButtonLabelY => move the buttons text to up/down (standard = 0) positive value moves down/negative up
ButtonWidth => set the button image width => it should be the width of button.png
ButtonHeight => set the button image height => it should be the height of button.png (not the whole height -> only one button height)
ExitLeft => set the button position left (exit button)
ExitTop => set the button position top (exit button)
InstallLeft => set the button position left (install/uninstall button)
InstallTop => set the button position top (install/uninstall button)
PlayLeft => set the button position left (play button)
PlayTop => set the button position top (play button)
ButtonFont => set the button font
ButtonFontBold => set if the button font should be bold
ButtonFontSize => set the button font size
this part only works if you used button.png
ButtonFontColor => set the button font color => color need to be reversed => exchange first two values with the last two values
ButtonFontColorOnMouse => set the button font color, if you move the mouse on it => color need to be reversed => exchange first two values with the last two values
ButtonFontColorMouseDown => set the button font color, if you click on it => color need to be reversed => exchange first two values with the last two values
ButtonFontColorDisabled => set the button font color, if button is disabled => color need to be reversed => exchange first two values with the last two values
DisableWindowBorder => Enable/disable window border in autorun
LangBoxCenter => center language box in autorun
if LangBoxCenter enabled then you dont need to set LangBoxLeft
LangBoxLeft => set the language box position left
LangBoxTop => set the language box position top
RoundedCornerX => will give you rounded corner in autorun (Standard = 0)
RoundedCornerY => will give you rounded corner in autorun (Standard = 0)
for perfect math RoundedCornerX and RoundedCornerY should have the same values
example if you set both to 200=
http://img195.imageshack.us/img195/4082/examplesi.jpg
LauncherSettings => install additional files
InstallRedist => enable/disable additional installations
Launch1 => set the name of the application which should be installed
Launch164 => if you enable this, this application will be only installed on X64 systems
Launch1BeforeInstall => if you enable this, this application will be installed before the installation begins
LaunchCom1 => set the executable of the application
LaunchArg1 => set the command line of the application (if you launch it silent then its required)
you can max execute 8 applications
Language Info:
Currently 29 Languages are supported + 3 locales.
Here is a list for the setup:
al = Albanian
ar = Arabic
bih = Bosnian
cnt = Chinese (Traditional)
cz = Czech
de = German
dk = Danish
en = English (United States)
enuk = English (United Kingdom)
es = Spanish (Spain)
esmx = Spanish (Mexico)
fa = Persian
fi = Finnish
fr = French (Standard)
gr = Greek
hr = Croatian
hu = Hungarian
it = Italian
jp = Japanese
ko = Korean
nl = Dutch
no = Norwegian
pl = Polish
pr = Portuguese (Portugal)
prbr = Portuguese (Brazil)
ro = Romanian
ru = Russian
sr = Serbian
sw = Swedish
th = Thai
tr = Turkish
vi = Vietnamese
How to enable internal installation:
1. open "InstallerScript.iss" using UNICODE version of Inno setup
2. delete the sign ";" in front of "#define ProgramFiles..."
3. change the path:
http://img705.imageshack.us/img705/45/editpath.jpg
4. Save and Compile
If you dont use external files, delete "ExtractSettings" section from setup.ini
How to insert registry keys:
1. open "InstallerScript.iss" using InnoIDE
2. go to Registry section and insert you registry file to the window
3. if you have x64 version, delete "Wow6432Node\" from subkey of your inserted registry key
4. if game path appears exchange it with {app}
Example:
F:\Program Files (x86)\EA Games\Syndicate registry value to
{app}
5. activate the flag "Delete key on uninstall" of your inserted registry key
6. press save and compile(Compile only if you dont want to enable internal installation)
Suggested video settings:
http://img221.imageshack.us/img221/3931/supermw.jpg
Posting Conversions:
if you are finished with your work, compile langscript.iss,
-> if you use Setup.cab = Autorun icon gets updated
-> if you use Internal = Autorun icon gets updated + All the required files will be integrated so users dont need to compile
(after this delete in Setup folder Autorun folder)
delete unnecassery files so people dont get confused
if you use Setup.cab:
http://img856.imageshack.us/img856/6937/postconvsetupcab.jpg
if you use internal:
http://img841.imageshack.us/img841/977/postconvinternal.jpg
Components feature:
Set feature names and their size in Setup.ini:
[ComponentsSettings]
Component1=Mass Effect
Component1Size=5000
Component2=Mass Effect 2
Component2Size=2000
If you use internal installation, you need to define folder names of the components:
http://imageshack.us/a/img193/9754/lalalalv.png
If you use freearc installation, just add to the line "Comp: (Number of component, for which it should be installed)"
Example:
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1; Comp:1;
-> cab file will be only extracted, if the Component1 is set.
Download
http://fileforums.com/showthread.php?t=91563
napalmguy
16-03-2012, 01:57
wait.. What? :D :D
as this seems like a complete rewrite of CI, can Autorun background be a png as well?
with BAMsE creating nice looking buttons as well, the possibilities are endless
great work Yener
PS: one thing I just noticed today
can you change uninstall English text to "Uninstall" instead of "Deinstall"?
wait.. What? :D :D
as this seems like a complete rewrite of CI, can Autorun background be a png as well?
with BAMsE creating nice looking buttons as well, the possibilities are endless
great work Yener
PS: one thing I just noticed today
can you change uninstall English text to "Uninstall" instead of "Deinstall"?
mate that take a lot of time :D
completely rewritten...therefore i need to get sure, everything works fine.
unfortunately png looses transparency if you use it as background :/ therefore only jpg
ok i will edit it ;)
MartinezPL
16-03-2012, 04:01
Thanks Yener like always great work :)
gonna test than 8.0 version:)
Dark_Siegfried89
16-03-2012, 05:02
Yener90,great job! I wanted to know if in the next release could you add support for acceptance of the agreement (EULA)
Fabioddq
16-03-2012, 05:22
Thanks for the tutorial and update Yener.
I gonna test! :D
pakrat2k2
16-03-2012, 06:02
Nice tutorial, thanks for CI 8.0 as well...
alias-as
16-03-2012, 07:29
Great job yener as usual .... i'll try this new CI thanx a lot ;)
Very very nice Yener, great stuff ..... you just earnt yourself another Sticky. :D
silviugut
18-03-2012, 00:12
Thanks for CI 8.0.0! I managed to do a conversion (DiRT 3 Complete Edition) and I noticed something strange: during installation I see only a picture even if I put 10 pictures in Setup / Background and I called 1,2,3,4 ...... 10 (all jpg). I tried to make the conversion a second time, I deleted 3 photos and left only 7 but with the same result, I see only first image throughout the installation! What should I do to see all images during installation?
Thanks for CI 8.0.0! I managed to do a conversion (DiRT 3 Complete Edition) and I noticed something strange: during installation I see only a picture even if I put 10 pictures in Setup / Background and I called 1,2,3,4 ...... 10 (all jpg). I tried to make the conversion a second time, I deleted 3 photos and left only 7 but with the same result, I see only first image throughout the installation! What should I do to see all images during installation?
upload somewhere the Setup.cab fille and i will look into it ;)
you can also pm me.
silviugut
18-03-2012, 16:40
upload somewhere the Setup.cab fille and i will look into it ;)
you can also pm me.
http://img805.imageshack.us/img805/1874/setup1.jpg
http://img189.imageshack.us/img189/9466/setup2pk.jpg
Conversion works perfectly! Only problem with the images can not solve! Thanks again!
vendecido33
19-03-2012, 08:41
Well I have my first question.
I fail to understand that you put these commands.
[ExtractSettings]
FreeArcFile2 = {src} \ Data1.cab; DestDir: {app}; Disk: 1
FreeArcFile2 = {src} \ data2.cab; DestDir: {app}; Disk: 1
FreeArcFile3 = {src} \ data3.cab; DestDir: {app}; Disk: 2
FreeArcFile4 = {src} \ Data4.cab; DestDir: {app}; Disk: 3
FreeArcFile5 = {src} \ Data5.cab; DestDir: {app}; Disk: 4
Here I do not understand is I have to put a CAB file ARC or ARC if I have to create the FreeArc but this would be to decompress parts of the game is not.
And if I think a CAB as a CAB file.
pakrat2k2
19-03-2012, 08:57
If you use external compression ( freearc ) then you use the ExtractSettings in setup.ini,
the freearc files can be named anything data1.arc, data1.bin, data1.x... doesnt matter as long as it was created with freearc.
IF you use internal then your using the installerscript.iss file & "#define ProgramFiles...", & you must remove the ExtractSettings section in setup.ini
read the entire tutorial, it explains everyting.
vendecido33
19-03-2012, 09:05
Pakrat2k2 thank you very much, and more or less understood eh.
One more question on this line puts it:
FreeArcFile1 = {src} \ Data1.cab; DestDir: {app}; Disk: 1; PrecSrep: 0
That means it's PrexScrep: 0
pakrat2k2
19-03-2012, 09:29
only if its 1 if its 0 ( means no )
vendecido33
19-03-2012, 10:30
Thanks pakrat2k2.
One more thing of which no where to put it.
Hey Data1.cab created and put data2.cab where I have to recognize the installer, it should be a special folder. I say that I'm testing but does not decompress the Data.cab in the game folder.
pakrat2k2
19-03-2012, 13:50
Thanks pakrat2k2.
One more thing of which no where to put it.
Hey Data1.cab created and put data2.cab where I have to recognize the installer, it should be a special folder. I say that I'm testing but does not decompress the Data.cab in the game folder.
IE:
FreeArcFile1 = {src} \ Data1.cab; DestDir: {app}\bin; Disk: 1
In the example above it extracts the Data1.cab into gamefolder\bin ( subfolder under main gamefolder )
seventhorama
20-03-2012, 06:55
i have this kind of error when i try to install on another pc
"Internal Error: Extract temporary file. The file BGIO_.bmp was not found".
i try to run it from self burned dvd, in my pc works, but in my friend drive it was failed on instalation progress
anything wrong? is it because of antivirus? or bad drive or what?
any solution to solve it?
pakrat2k2
20-03-2012, 07:52
dont read what you download ??
from notes on CI 8.0
UPDATE 8.0.0
- finally jpg/png support -> bmp support completely deleted
rename all your bmp to jpg> 1.jpg, 2.jpg etc
i have this kind of error when i try to install on another pc
"Internal Error: Extract temporary file. The file BGIO_.bmp was not found".
i try to run it from self burned dvd, in my pc works, but in my friend drive it was failed on instalation progress
anything wrong? is it because of antivirus? or bad drive or what?
any solution to solve it?
this is not my installer....
vendecido33
20-03-2012, 11:20
yener90 as it can change the font color and what type of code is used for colors.
vendecido33 colors are defined in setup.ini and are in RGB format, specifically $BBGGRR
vendecido33
20-03-2012, 12:23
If that was more or less, I want to know if there is a color chart for this. thanks for the help.
I think and I found the color table. Thanks for all the help.
Good again, I'm trying to change the color to the sources but still does not change my attempt to put a yellow color.
I am putting this code: $ FFFF00
delete the space between $ and FFFF00
it should look like this:
$FFFF00
vendecido33
20-03-2012, 17:09
If that is what the space Yener was that the copy with the phone. The point is that eh seen this code grabs the upside $ FFFF00 = 00FFFF Yellow
Thanks for your help and your Script Yener.
vendecido33
22-03-2012, 01:10
I am finishing with a good repack but in the section where you installed the extras such as the directx and so on .. I see that does not install anything.
[LauncherSettings]
InstallRedist = 1
Launch1 = DirectX
Launch164 = 0
Launch1BeforeInstall = 1
LaunchCom1 = __Installer \ DirectX \ redist \ DxSetup.exe
LaunchArg1 = / silent
_Installer Folder where it should go on the last dvd of compression or the game folder.
I am finishing with a good repack but in the section where you installed the extras such as the directx and so on .. I see that does not install anything.
[LauncherSettings]
InstallRedist = 1
Launch1 = DirectX
Launch164 = 0
Launch1BeforeInstall = 1
LaunchCom1 = __Installer \ DirectX \ redist \ DxSetup.exe
LaunchArg1 = / silent
_Installer Folder where it should go on the last dvd of compression or the game folder.
if Launch1BeforeInstall = 1 then it should be on first DVD of conversion(compression)
if Launch1BeforeInstall = 0 then it should be on last DVD of conversion(compression)
vendecido33
22-03-2012, 03:05
Yener Thanks for the clarification, and did not know what was wrong.
Is there any way to make the installer creates a shortcut in the game laucher start and folder name of the game.
Excellent this new CI 8.0, the bad is that I'll have to practice a little more in photoshop.
kkkk!!!
http://desmond.imageshack.us/Himg819/scaled.php?server=819&filename=ci80withthemetiger.jpg&res=medium
R.G.RAYSIN
26-03-2012, 05:37
Hi guys!I need some help!Im new to this forum.i was using the CI whole day and i was figuring out how to change the issskin of the installer.i have a black skin called vista.cjstyles. and i tried to put it in,but i didn't understand.:(
Fabioddq
26-03-2012, 06:14
Hi guys!I need some help!Im new to this forum.i was using the CI whole day and i was figuring out how to change the issskin of the installer.i have a black skin called vista.cjstyles. and i tried to put it in,but i didn't understand.:(
Rename vista.cjstyles to setup.cjstyles and put in Setup.cab
Anyway, read the instructions: :)
http://fileforums.com/showthread.php?t=92805
R.G.RAYSIN
26-03-2012, 07:23
i renamed the file into setup.cjstyles and added to setup.cab,but it didn't work!:o Plus there' is one more shitty problem,and that is i cant move the corner shitty buttons.
https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash4/s320x320/383453_324854197579108_100001635921458_964872_1436 227465_n.jpg
pakrat2k2
26-03-2012, 08:55
go back to page1 read under setup.ini [InterfaceSettings] all to do with button settings, height/width/left/right etc.. you need to change them to suit.
R.G.RAYSIN
CI v7.2.5 doesnt support ISSkin.
Use v8.0.1 instead.
How to edit setup.ini to install the latest installation disk? thanks
[LauncherSettings]
InstallRedist = 1
Launch1 = DirectX
Launch164 = 0
Launch1BeforeInstall = 1
LaunchCom1 = Redist \ DirectX \ DxSetup.exe
LaunchArg1 = / silent
Launch2 = Microsoft Visual C + + 2008 x86
Launch264 = 0
Launch2BeforeInstall = 1
LaunchCom2 = Redist \ vcredist_x86.exe
LaunchArg2 = / q: a
Launch3 = PhysX
Launch364 = 0
Launch3BeforeInstall = 1
LaunchCom3 = Redist \ PhysX \ PhysX_7.07.09_SystemSoftware.exe
LaunchArg3 = / qn
senseman
27-03-2012, 00:16
LaunchBeforeInstall = 0
R.G.RAYSIN
27-03-2012, 00:36
Finally,have another problem,i compressed a file from 4gb to 1gb and it took me 2hrs,when i opened it ,it was with the orginal folder like Timeshift\preload\paks and when am trying to extract from C.I .it goes like this'' C:\Program Files (x86)\R.G.RAYSIN\TimeShift\TimeShift\preload\paks' '
cuz,i had setted the path (x86)\R.G.RAYSIN\TimeShift''
i need it to overwrite the default folder ''TimeShift'',uhh sorry for my bad English.:rolleyes:
pakrat2k2
27-03-2012, 08:56
Finally,have another problem,i compressed a file from 4gb to 1gb and it took me 2hrs,when i opened it ,it was with the orginal folder like Timeshift\preload\paks and when am trying to extract from C.I .it goes like this'' C:\Program Files (x86)\R.G.RAYSIN\TimeShift\TimeShift\preload\paks' '
cuz,i had setted the path (x86)\R.G.RAYSIN\TimeShift''
i need it to overwrite the default folder ''TimeShift'',uhh sorry for my bad English.:rolleyes:
when creating the archive with freearc, start in the paks folder itself, then when you extract it, you specify the path in setup.ini
R.G.RAYSIN
29-03-2012, 05:23
no thats not the problem,the problem is the file which i compressed with freearc took me hours to compress i cant compress it again,the compressed file was in the default timeshift folder,like timeshift\preload the main file is preload i was to add the preload to archive ,unfortunately i added with the default folder,''timeshift'' i just need a way to overwrite the destination folder of the installation without installing it inside the folder two time eg;Timeshift\Timeshift\preload and i want it to be ''just timeshift\preload.is there away to extract this file up of the destination folder.overwrite!
R.G.RAYSIN there is -ap option to set main folder in archive.
If your archive structure is Timeshift\preload\packs you can use
arc x data.cab -apTimeshift -dpc:\installpathto finally get installation structure c:\installpath\preload\packs. But unfortunately I don't know where to add this in script.
yener90 so there is my another proposition for improving CI: adding possibility to using different options for unpacking each cab in FreeArcFile# line :)
unfortunately cant add it.
why dont you directly compress the files inside the folder :/ not the folder itself...
you told took long.
if it takes really so long i would do az night. cant do here anthing...
I want to compress a file is frozen in 10gb and 27.03%, probe on another PC and same thing happens, any suggestions
http://img829.imageshack.us/img829/6210/capturapy.png (http://imageshack.us/photo/my-images/829/capturapy.png/) Uploaded with ImageShack.us (http://imageshack.us)
leo95 probably there is faked header at 27%. Use verbose mode (-v switch) to find its position (it'll stuck once again at 27% but you'll recive several-digit number). Now start precompressing once again and ignore this position (-i######## switch where ####### is the number given in previous step).
I get the following error when installing:
http://img694.imageshack.us/img694/8588/data2pcf.jpg (http://imageshack.us/photo/my-images/694/data2pcf.jpg/) Uploaded with ImageShack.us (http://imageshack.us)
[InstallOptions]
ApplicationName=Total War Shogun 2 - Fall Of The Samurai
Publisher=SEGA
MyExecutableName=Shogun2.exe
MyExecutablePath=
SaveGameFolder=
GameSize=30000
Lang=de,en,enuk,es,esmx,fr,it,pl,pr,prbr,ru
LangUI=0
PrecompVer=0.42
[InstallSettings]
GDFBinary=BmGDFBinary.dll
[ExtractSettings]
FreeArcFile1={src}\Data2.cab;DestDir:{app}\data;Di sk:1;PrecSrep:1
You can combine Datax.cab Setup-xxx.bin and on the same project
sorry bro wrong description:
if your final archivename is Data2.cab then it must be current order:
data2.arc, data2.pcf,data2.srep.data2.cab
R.G.RAYSIN
31-03-2012, 09:06
Ok,Guys!anyone of you know any cmd command to extract the Preload.bin to the given path from arc.exe
Which version is better precomp038 or 042 to compress, I always see that use the 038, is because it is more stable?
thanks
pakrat2k2
02-04-2012, 19:17
42 is the newest & allows for better compression.
42 is the newest & allows for better compression.
Precomp042 and 038 use
precomp042-intense-oData Data3.arc
error pops up a window that has stopped working and needs to close to 36% I have to use the switch-v Bamse said http://fileforums.com/newreply.php?do=newreply&p=401732 user to display the number to then recompress again and in that pocicion and overlooked.
What I want to compress are 10Gb in approx 4GB
thanks
Windows 7 64-bit
I want to change font color in photoshop fbdb00 yellow, change the first two values that would SetupFontColor = 00dbfb and I still appears in black font color.
What's wrong? thanks
artdekdok
06-04-2012, 23:35
yener90
fix langscript.iss line 1167
ThaExit=ปลาย
to
ThaExit=ออก
artdekdok it'll be better if you upload here corrected langfile
artdekdok
07-04-2012, 10:43
artdekdok it'll be better if you upload here corrected langfile
it not in langfile.
but in line 1167 of [CustomMessages] from langscript.iss on CI 7.2.5.
CI 8.0.1 not include langscript.iss, i can't fix it.
sorry for my bad english.
pakrat2k2
07-04-2012, 17:36
I want to change font color in photoshop fbdb00 yellow, change the first two values that would SetupFontColor = 00dbfb and I still appears in black font color.
What's wrong? thanks
use proper values, here's a chart with over 500+ colors.
http://cloford.com/resources/colours/500col.htm
just remember to change first 2 / last 2 when inserting into setup.ini
YELLOW( chart ) = #FFFF00 so it would be 00FFFF
use proper values, here's a chart with over 500+ colors.
http://cloford.com/resources/colours/500col.htm
just remember to change first 2 / last 2 when inserting into setup.ini
YELLOW( chart ) = #FFFF00 so it would be 00FFFF
Not accept the yellow 00FFFF. Leave the white font. Thank you very much anyway.
leo95 I've tried $00dbfb and it displayed yellow installer text. When I've tried 00dbfb (without "$") it displayed black text indeed. Are you sure you typed "$" before 00dbfb?
leo95 I've tried $00dbfb and it displayed yellow installer text. When I've tried 00dbfb (without "$") it displayed black text indeed. Are you sure you typed "$" before 00dbfb?
It really was not $ before, thank you very much now if I work in yellow text.
updated tutorial for CI 8.2.3
pakrat2k2
15-04-2012, 22:54
many thanks for updating, should hopefully cut down on questions asked IF they read this
Yes very well done for all the time and effort you put in for everyone Yener, same goes for you too Pakrat.
You both do an exceptional job in my opinion. ;)
davidwbiggs2011
17-04-2012, 03:31
hey dude is there anyway to just use SREP and not precomp, for some games precomp just crashes
pakrat2k2
17-04-2012, 14:18
you can use either.. but be aware files like media & audio( bik & wav/ogg) dont precomp well if at all, so if a particular game your trying to precomp the issue may be those types of files as to why your having issues getting it to work.
davidwbiggs2011
19-04-2012, 00:37
if i don't use one or the other the setup gives me and error saying no files for srep or precomp i want it to be data1.arc > data1.srep > data1.bin with no precomp at all but it won't work
vendecido33
28-04-2012, 09:31
A question to add to installer to decompress the. Cab or. Arc from the same site, the user need the program installed on your computer arc.
[ExtractSettings]
FreeArcFile1={src}\Data1.arc;DestDir:{app};Disk:1
FreeArcFile2={src}\Data2.arc;DestDir:{app};Disk:1
Ademarpato
28-04-2012, 09:57
Vendecido33
You do not need...
vendecido33
28-04-2012, 10:00
Vendecido33
You do not need...
Ademarpato Thanks for the info.
Then the same installer and unzip all without needing to have the program installed on your computer FreeArc.
Hey been testing the installation of the game and gives me an error of corrupt files.
And do not know why I get this if everything is well compressed. ISDone.dll
http://i377.photobucket.com/albums/oo219/PSPDesignTeam/Capturas/Sinttulo-1.jpg
vendecido33
28-04-2012, 11:31
Someone can explain me how to compress large files well without me any errors.
Not much use FreeArc, SREP precomp or if you usais these commandos and not used for a compression of this type. Please be if someone can help me.
What is the best compression method for a. Cab that makes a program. Cab
pakrat2k2
28-04-2012, 21:51
how did you create the archive. did you use precomp &/or srep or just freearc.
also what do you have listed in the setup.ini
vendecido33
28-04-2012, 21:54
how did you create the archive. did you use precomp &/or srep or just freearc.
also what do you have listed in the setup.ini
Hey used to compress files and create program files FreeArc data1.arc data2.arc etc. .. pak files but severe compression gives me some that are damaged but not why.
And so was wondering how there using you to compress large files.
pakrat2k2
28-04-2012, 22:18
what compression level were you trying
vendecido33
28-04-2012, 22:35
I do not understand is why it gives me error decompressing the archivosm large, according to eh I realized pak files with extension. I usually set the maximum compression that calls up to 1GB of RAM.
vendecido33
29-04-2012, 11:04
[ExtractSettings]
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1
FreeArcFile2={src}\data2.cab;DestDir:{app};Disk:1
FreeArcFile3={src}\data3.cab;DestDir:{app}\gamecry sis2;Disk:2
FreeArcFile4={src}\data4.cab;DestDir:{app}\gamecry sis2;Disk:2
FreeArcFile5={src}\data5.cab;DestDir:{app}\gamecry sis2;Disk:3
Well I have new problems in this way I work all right until it reaches the disc 3 and I skip to the end an error that says it is not the correct disk and flaltan the files that are in the disk1 the loading setup.a.bin disc 1 is arranged everything and do not know why but I asked those files. Is there any way to do that directly ask me disk 1.
pakrat2k2
29-04-2012, 11:24
IF your using internal compression.. IE using #define ProgramFiles "F:\Program Files (x86)\Crysis2" then you DONT use [ExtractSettings]. You end up with setup-a.bin etc ( internal compression)
to use external compression you must add ; in front of the line #define ProgramFiles "F:\Program Files (x86)\Crysis2". Then it will extract the files specified in [ExtractSettings]
vendecido33
29-04-2012, 11:42
IF your using internal compression.. IE using #define ProgramFiles "F:\Program Files (x86)\Crysis2" then you DONT use [ExtractSettings]. You end up with setup-a.bin etc ( internal compression)
to use external compression you must add ; in front of the line #define ProgramFiles "F:\Program Files (x86)\Crysis2". Then it will extract the files specified in [ExtractSettings]
I am using this
#define ProgramFiles "I:\Program Files (x86)\Electronic Arts\Crytek\Crysis 2"
PD: Okay I think I now understand you're saying that if I use the [ExtractSettings]. I can not use the standard method.
#define ProgramFiles "F:\Program Files (x86)\Crysis2"
And you'll have to put forward ; to override this order.
pakrat2k2
29-04-2012, 22:02
yes thats right put a ; in front of line ;Define "f:\Program Files (x86)\Crysis"
then use your archives under [Extract Settings]..
should work good if your have paths set correctly.
vendecido33
30-04-2012, 03:13
yes thats right put a ; in front of line ;Define "f:\Program Files (x86)\Crysis"
then use your archives under [Extract Settings]..
should work good if your have paths set correctly.
Pakrat2k2 Thanks for your help I will watch when you can.
vendecido33
30-04-2012, 07:44
what is the best way to recompress the files.
pakrat2k2
30-04-2012, 15:27
well for now till CI is updated you can either use freearc & select you files/folders and chose you compression level ( normal, maximum, ultra) OR still using freearc + precomp + srep ( archive files/folders with no compression ) then precomp the archive ( will make it bigger ) then srep the precomp result, finally freearc the srep result. Lots of steps just to save space. Easiest for those who dont really understand is to use INTERNAL COMPRESSION ( IE #define ProgramFiles.... ) as you end up with install1,install2,install3 etc files that you move into each seperate dvd.
vendecido33
30-04-2012, 21:22
I'm using this method, because the files with extension pak then I get corrupt error when trying to install the game on another pc. And I discovered that compressing with this other external compression method I dava that kind of error.
But not like using the method you tell me the precomp and SREP. So I ask for help on this subject, that I expliqueis how to do the type of command to do so.
It is possible to put a password on the file in freearc to install but not open?
pakrat2k2
02-05-2012, 19:20
no.
if you password lock a file it will not even be able to open it without that password, therefore it cant extract it without the password.
can you edit my reg key to work in all computer?
now just work on drive G:........
please edit i can not
3445
pakrat2k2
09-05-2012, 18:31
can you edit my reg key to work in all computer?
now just work on drive G:........
please edit i can not
3445
change the location from specific ( G: ) to just {app}, where it will reflect on users choice NOT one specified by the script.
Good Man
11-05-2012, 13:44
hi man you say
Setup.cab => is origin a zip file, contains installer images and sounds -> you can edit it using WinRAR or 7zip
you mean extract the setup.cab
how can i add the new files in setup.cab i edit it and give error sorry i am new in the Conversions
hi i want to ask i have a game it's 6.8 g i use the innosetup with anther game in 2 dvd i edit the scrip and compile it to temp it was 3.52 g i want it in 2dvd can you help me to do it in 2 dvd or make it 5.5 or 6.8 g thanks
Joe Forster/STA
12-05-2012, 16:16
I suggest using correct punctuation.
hi man you say
Setup.cab => is origin a zip file, contains installer images and sounds -> you can edit it using WinRAR or 7zip
you mean extract the setup.cab
how can i add the new files in setup.cab i edit it and give error sorry i am new in the Conversions
with what did you edit it?
screenshot of error message please.
First, thanks for such a cool looking installer!!!
Here is my problem:-
I used free arc 0.67 alpha version to create arc file and renamed extension to cab file.
Settings for compression :-
http://img100.imageshack.us/img100/1236/84282880.jpg
First it showed error as "Not an srep file"
Then this
http://img687.imageshack.us/img687/1659/58144686.jpg
[ExtractSettings]
FreeArcFile1={src}\Data1.cab;DestDir:{app};PrecSre p:0;
pakrat2k2
21-05-2012, 20:56
you added a bunch of commands that yener's installer cannot handle at this time. The old format of freearc zero compression, then precomp, followed by srep and a final freearc of the final output file, will be understood by his installer, but not the commandline structure like your screenshot shows.
So, we can only use one internal compression.. I'm using lzma as compression in INNO, i would be ok with more compression level as internal though
Thanks for the reply.
I did like this:- arc->precomp->arc.
It extracted successfully, but progress bar completes 100% when it decompresses with precomp, and again it starts from beginning when it extracts arc archive after that.
So it feels like hanging when it processes with precomp.
Is there a way to fix this?
I hope you understood what i want to say!!!
hi all, I'm new here, I want to ask how to make this? any help would be very useful for me. (^_^)
http://44.imagebam.com/download/c84KnWrSHygtKtl5t5rBMw/19366/193659154/setup.png
i have a script maxpyne3 and i just copy "Profiles" folder to USERPROFILE*Documents/Rockstar Games/Social Club* when install the setup. give script of inno setup to this action please
i just copy "Profiles" folder to USERPROFILE*Documents/Rockstar Games/Social Club* when install the setup. give script please
you think my installer script?? (sorry for my bad english)
pakrat2k2
02-06-2012, 14:18
hi all, I'm new here, I want to ask how to make this? any help would be very useful for me. (^_^)
http://44.imagebam.com/download/c84KnWrSHygtKtl5t5rBMw/19366/193659154/setup.png
its just a logo.. use paint etc create your own
its just a logo.. use paint etc create your own
but i don;t know how to insert it to my instaler, could you teach me step by step pakrat2k2??
pakrat2k2
02-06-2012, 20:54
same place as you grabbed inno.. go back & look for ispack5.5 ( exe or unicode.exe )
either one depending on where you are. The ispack installs a writing script tool, that you can visualy see how your installer image will look, use that to place your logo.
http://www.jrsoftware.org/isdl.php
Thats all I'll say on it, as the rest is up to you to READ & figure it out. I dont use it, because I dont like logo's in installers. Nice & simple will do.
same place as you grabbed inno.. go back & look for ispack5.5 ( exe or unicode.exe )
either one depending on where you are. The ispack installs a writing script tool, that you can visualy see how your installer image will look, use that to place your logo.
http://www.jrsoftware.org/isdl.php
Thats all I'll say on it, as the rest is up to you to READ & figure it out. I dont use it, because I dont like logo's in installers. Nice & simple will do.
thank you i wil try it.
hello guys, I encountered an error during installation program is complete. and I do not know how to fix this, can you fix my script? error.jpg look to see the error. thank you
pakrat2k2
04-06-2012, 11:28
einzjha, error in script.. change the ??? to uninstall, and add something for desktop / startmenu icon as well.
[Icons]
Name: {group}\???????; IconFilename: {app}\unins000.exe; Filename: {app}\unins000.exe
alias-as
05-06-2012, 06:01
Good Morning
i wanna know what's the arguments for silent install of Punkbuster in 'setup.ini' ??
I'm in trouble when I use precomp042, every time I use this version in the middle of the compaction process it stops working, I can only use version 038. Has a solution?
pakrat2k2
05-06-2012, 13:51
Good Morning
i wanna know what's the arguments for silent install of Punkbuster in 'setup.ini' ??
pbsvc.exe /i --no-display --i-accept-the-pb-eula
Good Man
26-06-2012, 10:56
hi man
what i can change in the iss for command and conquer 4 ?
splitdvd9todvd5
29-06-2012, 00:54
what do i change if the files install in C:\games
not here C:\Program Files (x86) help please..
thanks in advance!
hi yener.quick question i just started using your latest CI i have done the conversion all is fine only hassle the setup.exe it self stays on the default it wont change to the game type exe is there something i am missing.any help will be much appreciated. :-)
pakrat2k2
30-06-2012, 09:05
change the setup.ini to match your game
hi pakrat2k2
[InstallOptions]
ApplicationName=SpellForce 2 Faith in Destiny
Publisher=
MyExecutableName=SpellForce2FaithinDestiny.exe
MyExecutablePath=
SaveGameFolder=
GameSize=4370
Lang=en
LangUI=0
PrecompVer=0
is this right?cause i still cant get it to change i testing with a small game as it easy to learn rather than coverting a big game everytime u make a mistake
pakrat2k2
30-06-2012, 09:36
is SpellForce2FaithinDestiny.exe in root of game folder or in subdir?
if in subdir then MyExecutablePath= ( subfolder path )
i solved it bit of a blonde moment forgot to change the setup.ico ..... BIG FACE PALM
but thx for the prompt reply
pakrat2k2
30-06-2012, 09:43
Lol
my first custom installer working perfect i hope will post now.
NiTroViouSiX
01-07-2012, 05:15
when i tried to edit setup.cap
autorun image,,,background,,etc etc
although i replace with JPEG
but the result of setup
http://img189.imageshack.us/img189/4654/5857.png
blank !!!
Th3Raven
01-07-2012, 08:12
when i tried to edit setup.cap
autorun image,,,background,,etc etc
although i replace with JPEG
but the result of setup
http://img189.imageshack.us/img189/4654/5857.png
blank !!!
They must have the same name as the originals and the extension must be .jpg (not .jpeg)
when i tried to edit setup.cap
autorun image,,,background,,etc etc
although i replace with JPEG
but the result of setup
http://img189.imageshack.us/img189/4654/5857.png
blank !!!
upload your setup.cab
im sure compression is wrong.
NiTroViouSiX
01-07-2012, 14:13
upload your setup.cab
im sure compression is wrong.
see??
Joe Forster/STA
02-07-2012, 04:24
Yes, the compression is wrong. This should be an InstallShield CAB, not a Micro$oft CAB; they're very different, even if their file extension is the same.
NiTroViouSiX
02-07-2012, 09:28
Yes, the compression is wrong. This should be an InstallShield CAB, not a Micro$oft CAB; they're very different, even if their file extension is the same.
OOH YEAH ,,THANKS
but how can i do that?
thanks for help
no no Setup.cab is not a a real cab file, its a zip file.
it just contains this extension too look more like a installshield installer.
NiTroViouSiX
youre one is a cab file, but it need to be a zip file.
just compress it like zip then rename it to cab.
NiTroViouSiX
02-07-2012, 11:33
yeaaaah ...thanks dude ,,, its done
really thanks for you and Joe Forster/STA
if i face any other problem i will inform u:D
(sorry for bad english ):D
thanks :)
NiTroViouSiX
02-07-2012, 15:49
mate sorry,,
but there are some points
-> Compress Data.arc in Data.pcf
-> Compress Data.pcf in Data.srep
-> Compress Data.srep in Data.cab
i have compressed data to " .arc"
but how to compress it to (pcf-srep-cab)
also by rename them?
- i need too , to know how to attach direct x - c++ ?
[LauncherSettings]
InstallRedist=1
Launch1=DirectX
Launch164=0
Launch1BeforeInstall=1
LaunchCom1=support\DirectX\DXSETUP.exe
LaunchArg1=/silent
Launch2=OpenAL
Launch264=0
Launch2BeforeInstall=1
LaunchCom2=support\OpenAL\OpenALwEAX.exe
LaunchArg2=/s
Launch3=Rapture3D
Launch364=0
Launch3BeforeInstall=1
LaunchCom3=support\Rapture3D\rapture3d.exe
LaunchArg3=/silent
i do'nt understand it well?
best regards,,thank you
Born_inSANE
11-07-2012, 06:54
I am facing the same problem as "NiTroViouSiX" is facing i.e; even after renaming *.zip -->*.cab there were no images showing during images(Zero images + No sound).So started compressing game files and renaming Data1.arc---->Data1.cab,then started setup after changing few things in Setup.ini and Installer.iss.
Then the game wasn't there but only uninstallation files were present and a shortcut was show on desktop.
So it would be good to hear from the experts for the solution for this
Compress all files in Data.arc
-> Compress Data.arc in Data.pcf
-> Compress Data.pcf in Data.srep
-> Compress Data.srep in Data.cab
I think just renaming isn't the thing so I am expecting someone to explaining the above process.I am a nOOb so don't say that "Can't you even do this simple process by yourself,you'r a noob".Please help out this poor person.
NiTroViouSiX, Born_inSANE you don't need to
Compress all files in Data.arc
-> Compress Data.arc in Data.pcf
-> Compress Data.pcf in Data.srep
-> Compress Data.srep in Data.cab
This process is used to gain better compression ratio.
If you really need it, so, here you go:
1. compress files with freearc and zero compression (output file i.e. data321.arc)
2. compress data321.arc with precomp (http://schnaader.info/precomp.php) (output file: data321.pcf)
3. compress data321.pcf with srep (http://freearc.org/research/SREP.aspx) (output file: data321.srep)
4. compress data321.srep with freearc and some strong compression (output file: data321.cab)
Remember to modify setup.ini
FreeArcFile321={src}\Data321.cab;DestDir:{app};Dis k:1;PrecSrep:1
NiTroViouSiX it's easy:
Launch1=My program ---> name of the redist program shown near the checkbox in installer
Launch164=0 ---> 32/64 bit application switch
Launch1BeforeInstall=1 ---> should be redist program installed before or after main installation
LaunchCom1=redist\MyProgram\myprogram.exe ---> path to the exe
LaunchArg1=/silent ---> additional arguments i.e. for silent installation (usually you can get it by executing myprogram.exe with /? argument
Born_inSANE
11-07-2012, 09:36
Thanks got it,will work on it.
BAMsE what would be the best settings for precomp and srep for max compression.i created a bat fie for precomp eg : precomp -intense -oData1 Data1.arc and for srep eg:srep -m2 Data1.pcf Data1.srep ant other tips would be much appreciated.
Born_inSANE
11-07-2012, 09:46
Getting some good compression ratios by this way,thanks for helping out.
mikey26 use
precomp -intense -v -c- -oData1 Data1.arc
-c- means zero compression for output file (better srep results)
-v means debug mode (if something goes wrong you can see problematic position and start precomping once again but with -i######### parameter; ######### means problematic position)
Born_inSANE
11-07-2012, 09:58
BAMsE what would be the best settings for precomp and srep for max compression.i created a bat fie for precomp eg : precomp -intense -oData1 Data1.arc and for srep eg:srep -m2 Data1.pcf Data1.srep ant other tips would be much appreciated.
Can u give the complete command for running max compression using .bat file,include everything,I tried echo Command didn't work,so that it help me out.
thx BAMsE's info was great understand it much better now.very easy now.
@ Born_inSANE
Make a precomp.bat inside the bat file paste : precomp -intense -v -c- -oData1 Data1.arc (replace data1 with what eva your arc file is called)
Srep : make bat file again paste inside bat file srep -m2 Data1.pcf Data1.srep (u can switch m2 for m3 for more compression.
also read futher up what Bamse wrote about problematic areas using precomp to use the switch -i
You can use drag'n'drop function :D
precomp042.bat
precomp042 -intense -v -c- %1
pause
srep30.bat
srep30 -m3f %1
pause
Now drag'n'drop any file on these bats in explorer :D
Remember to change extension of output files (blablabla.pcf.srep ---> blablabla.srep)
Problem Event Name: APPCRASH
Application Name: precomp042.exe
Application Version: 0.0.0.0
Application Timestamp: 4e7f8c91
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5bdb3b
Exception Code: c0000005
Exception Offset: 0002e23e
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 7177
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
any idea why this happens: i did u this command in my bat as u said : precomp -intense -v -c- -oData1 Data1.arc
mikey26 don't bother with windows error window. You need to have pause command after precomp -intense -v -c- -oData1 Data1.arc to avoid cmd window disappearance and to see position of faked header. So find last "found at position" text and use this sequence of numbers with -i parameter
3590
cool stuff mate....very painful getting almost to end and error and have to restart again thank god for my spare converting pc goes fairly quick..
Born_inSANE
12-07-2012, 05:33
Running those commands off bat files made 35MB file to 36MB after running both precomp and srep.
After that I just used drag'n'drop on precomp.exe and srep.exe,then those files went from 35MB to 15.8MB after running precomp and it stayed the same after srep using both .exe.
Was everything right there ?And what next if everything is right ?
After using bat method I got a file close to 11Mb but is this right ?
http://imagebay.us/images/4o0rxnq0smu4cfsezyu_thumb.png (http://imagebay.us/viewer.php?file=4o0rxnq0smu4cfsezyu.png)
And the version made using .exe is this http://imagebay.us/images/8uqkxcjl8aifri9g0xi5_thumb.png (http://imagebay.us/viewer.php?file=8uqkxcjl8aifri9g0xi5.png) and I believe that its right,So which one is right ?
Sorry for so many posts though.
Born_inSANE if you're running process with -c- parameter, the output file will be bigger and better srepped due to using no compression.
If you're running process via drag'n'drop on exe it uses default -cb compression on output file so it'll be smaller but worse srepped
the right choice is -c- and bigger output
BTW: when I told about drag'n'drop few posts above I mean drag'n'drop to bat file, not exe :)
Born_inSANE
12-07-2012, 20:35
Thanks BAMse.Now I compressed the Data1.srep using freearc,and after compression the Data1.arc had few files that are meant to be compressed and the Data1.srep in it ,so should I delete Data1.srep or not ?
Born_inSANE data1.srep must be compressed to data1.cab not data1.arc.
Your directory probably contains both data1.arc and data1.srep while compressing srep file, so it was added to existed data1.arc.
Finally data1.cab must contain data1.srep ONLY
Hi BAMse thanks again for all the help got it working perfect (precomp and srep). just one thing after precomp finishes running it giving a suggestion on commands to use in srep should they be used eg: -zl11,68 -d1.other than that i have yener's awesome script and precomp with srep working perfect for me.
Dont worry sorted it out stupid mistake
commands to use in srep should they be used eg: -zl11,68 -d1
No no. These parameters are for precomp if you are precomping THIS file once again. Using them speeds up the process
Born_inSANE
13-07-2012, 22:04
How to compress Data.srep to Data.cab ?
And I tried putting few images(Resized and renamed) in setup.cab but they aren't showing up,is this because of wrong compression(I compressed them using freearc and renamed to*.cab)
pakrat2k2
13-07-2012, 22:19
the setup.cab is used by CI 8*, to display the images etc, NOT for your game archives.
you create a m0 ( no compression archive, for your game ) then you precomp that file, which will end up bigger then original archive, then srep the output file from precomp, finally re-archive the output srep file with whatever compression you want. ALL filenames must have same prefix, IE use data.arc then data. - - - for both precomp & srep. At the very end you can specify the final filename output as either *.arc/cab/bin whatever you want to call it, could even be mnbvhgoewe... the name + extension is up to you. Just make sure that the script knows what filename+extension its supposed to look for.
As for the images NOT showing up its because the setup.cab file MUST use either winrar or 7-zip to add / replace images in it. First lines on page 1 of this topic.
Here is a big tutorial for my CI (C Custom I Installer) 8:
Required files for the installation..... ( next line ) tells you what setup.cab is & how to edit it.
Born_inSANE
14-07-2012, 01:52
I have compiled the script and got mygame.exe , couple of setup.bin files at 2.01GB and at first run its asking for disc 1,did I make any mistake ?
@Born inSANE edit your setup.ini it should look something like this if your used precomp and srep.
[InstallOptions]
ApplicationName=Dirty Showdown
Publisher=Codemasters
MyExecutableName=showdown.exe
MyExecutablePath=
SaveGameFolder=
GameSize=9646
Lang=de,en,es,fr,it
LangUI=0
PrecompVer=0.42
Editor=yener90
[InstallSettings]
GDFBinary=game_gdf.dll
[ExtractSettings]
FreeArcFile1 = {src} \ Data1.bin; DestDir: {app}; Disk: 1; PrecSrep:1
FreeArcFile1 = {src} \ Data2.bin; DestDir: {app}; Disk: 1; PrecSrep:1
Leave out PrecSrep:1 if your just used freearc
Born_inSANE
14-07-2012, 03:31
Got this error IsDone.dll.I compressed this way data.arc---->data.pcf------>data.srep,and at last compressed data.srep with winzip and renamed it asa data.cab and compiled it.
Born_inSANE
14-07-2012, 05:01
I just removed
[ExtractSettings]
FreeArcFile1 = {src} \ Data1.bin; DestDir: {app}; Disk: 1; PrecSrep:1
FreeArcFile1 = {src} \ Data2.bin; DestDir: {app}; Disk: 1; PrecSrep:1
from the script and and ran .exe, it extracted the Data1.arc and Data2.arc which had srep files in them.
@Born_inSANE u need to compress the data.srep with freearc not winzip.use the setting
[ExtractSettings]
FreeArcFile1 = {src} \ Data1.bin; DestDir: {app}; Disk: 1; PrecSrep:1
FreeArcFile1 = {src} \ Data2.bin; DestDir: {app}; Disk: 1; PrecSrep:1
just replace data1.bin with what eva your cab file is called.
Born_inSANE
14-07-2012, 06:35
Now it installed but the o/p folder has Data.arc with Data.srep in it,what happened exactly ?
are u using yener's script post the iss and setup.ini let me have a look and what version of precomp and srep are u using?
Born_inSANE
14-07-2012, 09:26
I'll do it soon.
Born_inSANE you probably messed up with archives. Make some small archive for testing and try to do it correct way.
Remember 1: compress srep file directly to cab not arc (and changing its extension to cab)
Remember 2: cab containing game files (also srep) is freearc archive, cab containing setup files (backgrounds, music) is winrar/7-zip/winzip archive (zip compressed with deflate algorithm and renamed to cab)
Born_inSANE
14-07-2012, 22:38
Here is the link for .iss and .ini files I used.
Link:http://www.mediafire.com/download.php?4a26a3ddd7sz6ht.
Please check it.
Now I have got the difference,but can you help me out in compressing srep directly to cab.Because I got error while directly compressing srep to cab.
Damn Born_inSANE! Sorry man, but you're not nØØb, you're NØØB.
First. Use built-in attachement systen instead of mediafire.
Second. In your setup.ini
FreeArcFile1={src}\Data1.cab;C:\Program Files (x86)\Ubisoft:{app};Disk:1;PrecSrep:1
should be
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1; PrecSrep:1
What the hell for you changed DestDir to C:\Program Files (x86)\Ubisoft? DestDir is a variable and {app} is its value! Moreover, {app} means the path defined during installation.
So if someone want to install your Far Cry 2 to E:\Any_folder\Another_folder and type it during installation, then {app} means E:\Any_folder\Another_folder and Data1.cab will be extracted to E:\Any_folder\Another_folder
If Data1.cab should be extracted to any subfolder of installation path, i.e. Movies, then
FreeArcFile1={src}\Data1.cab;DestDir:{app}\Movies; Disk:1;PrecSrep:1
will extract content of Data1.cab to E:\Any_folder\Another_folder\Movies
Third.
I got error while directly compressing srep to cab.
:)
:D
<facepalm>
Here is solution for your... ekhem... error
3596
I give up. Over and out.
Born_inSANE
15-07-2012, 01:36
Sorry for all the trouble BAMsE.
Is anyone have stable version of precomp ?
They got stuck after 48 percent..
Hi revo this is the version i am using and its working perfect so far for me i included the version of srep also hope this helps u out.
Thanks for upload, however it's also stucked on 45 percent and 13..
We're just dragging data.arc file over precomp.exe right ?
No additional steps
yeah i made a bat file for both srep and precomp thx to Bamse for the help on that.i just used that version of precomp and srep that i uploaded on mafia 2 to get it down to single dvd5 worked like a dream.the bat files are for max compression.drag the data.arc on the precomp.bat should work perfectly.
Just dragged 5.5GB of arc to PCF then SREP, in the end i have 49MB..
Can it compress that much or it's an error:eek:
wat u trying to precomp anf srep i will give it a go and see what happens if i have the game that is.but that does not sound right.
I tried to compress Inversion. It was 4.40GB aprox, made arc from it, then pcf then srep
okay let me have a go at it.will report back.and by the way ur inversion CI the main exe in in the bin folder so u need to edit "MyExecutablePath=bin"
hi revo.i remeber what cause that to crash its certain files in the structure that cause precomp to stop responding.Bamse did fill me in on this.if u look in the precomp bat file there -v aka verbose mode and pause when this crashes instead of the app closing down it will pause and at that point in cmd windows u will see where it crashed.
it should read some like this " found position at #########(whole bunch of numbers)
make a note of those numbers and add it to the precomp.bat
eg: precomp042 -intense -v -c- -i#######(the numbers u made a note off) %1
pause
if it crashes again u have to add those numbers also into the bat f file just like i mentioned above bit painfull but thats the way around it.
Hi
I have a little problem with my setup.
Everytime when the install sequence is finished (or Data3.pcf is unpacked, im not sure), i got this error
http://img189.imageshack.us/img189/3156/errormk.png
[ExtractSettings]
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1
FreeArcFile2={src}\Data2.cab;DestDir:{app}\Data;Di sk:1
FreeArcFile3={src}\Data3.cab;DestDir:{app}\Data;Di sk:1;PrecSrep:1
For Data3.cab i made the following steps
-4 Files archived in Data3.arc with no compression (just save with freearc)
-Used precomp 038 to pre-compress Data3.arc to Data3.pcf
-Then srep to compress the pcf file to srep file
-After this i used freearc to compress the srep file (-mx -ld800m)
I have also used the newest versions of precomp/srep but the same problem.
Any solutions ?
pakrat2k2
31-07-2012, 11:51
in the setup.ini you need to specify which version of precomp you used.
[InstallOptions]
ApplicationName=Gmename
Publisher=publisher name
MyExecutableName=game.exe
MyExecutablePath=
SaveGameFolder=
GameSize=9646
Lang=de,en,es,fr,it,pl,pr,ru
LangUI=0
PrecompVer=038
Hi pratak!
Well, PrecompVer=038 dont work, but PrecompVer=0.38 with the dot works fine now.
Realy strange.
Thanks anyway :)
pakrat2k2
01-08-2012, 08:20
ooops just a mistype ( forgot the period )
How I can add video to background?
kurutu did you even try?
Maybe adding video.avi to Background folder will solve your problem
pakrat2k2
01-08-2012, 18:41
or even try to read thru the topic !!!
rastan76
04-08-2012, 03:46
Hi Yener90, thanks for the great job!
I've a little (big for me :) ) problem and I ask your help! (sorry for my bad english, I'll try to explain it simpler as possible)
I'm trying to make my own custom installer, reading and studying your CI 8.4.1 ... I've start with a simple setup, with only custom images, , registry entry after setup, and redist install(DirectX, Visual C++ etc.) . I enable the diskspam to have two dvd5.
Everything goes well until, in the end of installation (when it has to create shortcuts and start the redist installation) it crashes with "external exception c00006".
It only happens if I use the two different isos of the game... If I install it from the hard disk no error appears, and the setup ends successfully.
How can I prevent this type of error? (and...what is this exception c00006???)
Thamk you in advance!
Kurutucu
04-08-2012, 04:18
Hi Yener90, thanks for the great job!
I've a little (big for me :) ) problem and I ask your help! (sorry for my bad english, I'll try to explain it simpler as possible)
I'm trying to make my own custom installer, reading and studying your CI 8.4.1 ... I've start with a simple setup, with only custom images, , registry entry after setup, and redist install(DirectX, Visual C++ etc.) . I enable the diskspam to have two dvd5.
Everything goes well until, in the end of installation (when it has to create shortcuts and start the redist installation) it crashes with "external exception c00006".
It only happens if I use the two different isos of the game... If I install it from the hard disk no error appears, and the setup ends successfully.
How can I prevent this type of error? (and...what is this exception c00006???)
Thamk you in advance!
Error name ERROR_INVALID_HANDLE
C0000006 External Exception Errors
C0000006 on Local Area Network:
When receiving this error in a Local Area Network (LAN), it is generally an indication the station is no longer connected to the network and it has lost its connection to the server. It is recommended to troubleshoot the connection by checking cabling, any hub or switch and the Network Interface Card (NIC) on any station with this error. If this is happing on the entire network, the common devices such as the Server's NIC, network cable connecting the server to the switch or the switch could be the cause.
This error could also be caused by any anti-virus/firewall solutions that is not properly configured. Anti-virus solutions that inspect and delay the packet delivery or interrupt packet delivery over the network can be the culprit and cause disconnection from the databases.
We have also seen this error when other software such as RLI is accessed at the same time as Compulink on the same station.
NOTE: It's excerpt.
Disable your anti-virus and firewall start setup again.
rastan76
04-08-2012, 05:35
Error name ERROR_INVALID_HANDLE
C0000006 External Exception Errors
C0000006 on Local Area Network:
When receiving this error in a Local Area Network (LAN), it is generally an indication the station is no longer connected to the network and it has lost its connection to the server. It is recommended to troubleshoot the connection by checking cabling, any hub or switch and the Network Interface Card (NIC) on any station with this error. If this is happing on the entire network, the common devices such as the Server's NIC, network cable connecting the server to the switch or the switch could be the cause.
This error could also be caused by any anti-virus/firewall solutions that is not properly configured. Anti-virus solutions that inspect and delay the packet delivery or interrupt packet delivery over the network can be the culprit and cause disconnection from the databases.
We have also seen this error when other software such as RLI is accessed at the same time as Compulink on the same station.
NOTE: It's excerpt.
Disable your anti-virus and firewall start setup again.
No antivirus and no LAN connection related problems ... It surely depends if I install the program from the HD or from the DVD... The solution must be something related with the diskspam function :p
Kurutucu
04-08-2012, 15:57
No antivirus and no LAN connection related problems ... It surely depends if I install the program from the HD or from the DVD... The solution must be something related with the diskspam function :p
I don't know :D
Sottoikoneht
08-08-2012, 16:12
Hi guys, i'm looking for a bit of help here.
I'm making a repack of crysis 2 with (obviously) yener90's custom installer, and i'm stuck at the "SaveGameFolder" section in the Setup.ini.
Crysis 2's saves are located in the Saved Games folders:
C:\Users\Username\Saved Games\Crysis2
I'm having trouble with the "Username" part because i know i must use the costant {username}, but when i uninstall the game the uninstaller won't recognize it. Is there a way to implement this costant in the InstallerScript.iss (or any other way to make the costant work) ?
EDIT: Solved. I put "Username" instead of "username". Damn lower case.
Sottoikoneht
13-08-2012, 17:20
Is there a way to execute a .bat file after the installation? I tried putting it in the [launcherSettings] section of Setup.ini file but it didn't work.
What kind of bat file?
Im sure something is wrong with the bat file.
Sottoikoneht
14-08-2012, 04:31
Problem solved :p I put a
[Run]
Filename: "{app}\Setup.bat"; section in the script and it worked :p
Thanks anyway yener :)
Dark_Siegfried89
14-08-2012, 06:27
Hi guys, thanks for the work done but I encountered a problem when I use compression ARC+PRECOMP+SREP, most of the files are extracted, but about 65%, it gives me an error:
ISSrepExtract not initialized properly ...
I state that it used the sintex Peterf of compression, you could suggest a solution?
P. S. The game I'm trying to compress is Dead Island GOTY.
pakrat2k2
14-08-2012, 18:20
make sure you use the arc.ini from it as well, and rather then the same question in multiple places, post once & wait for an answer.
Sottoikoneht
15-08-2012, 08:55
Hi guys, thanks for the work done but I encountered a problem when I use compression ARC+PRECOMP+SREP, most of the files are extracted, but about 65%, it gives me an error:
ISSrepExtract not initialized properly ...
I state that it used the sintex Peterf of compression, you could suggest a solution?
P. S. The game I'm trying to compress is Dead Island GOTY.
Maybe you put an incorrect version of precomp in the setup.ini file, it must be
0.42, not 0,42 or 042
MartinezPL
19-08-2012, 04:51
How I must edit setup.ini when i wants the setup just copy my video files like in peter conversion?
Is there a "simple" version of Inno Setup in the Internet such as "Advanced Installer"? Of all of these scripts is burning my head. Simply click here and there and had finished the script would be much easier for me.:o
Joe Forster/STA
26-08-2012, 11:55
Is there a "simple" version of Inno Setup in the Internet such as "Advanced Installer"?
A simple advanced installer?!
Th3Raven
26-08-2012, 12:00
A simple advanced installer?!
I wonder the same thing. Either simple or advanced, I don't understand what he means.
Don´t you know the Program called "Advanced Installer" ? Heres a link http://www.advancedinstaller.com/ Its very easy to use, but you can´t compress your data as good as with Inno + FreeArc + precomp. You have to use the Included Compressors (Cab, LZMA2) or the setup won´t work.
But to build your Setup you have to click here,there,set a command and thats all. With a little exercise you have your new Installer in 20-30 minutes.:)
Joe Forster/STA
27-08-2012, 07:26
Apparently, a simple software is not advanced and an advanced software is not simple.
how to make autorun icon same with setup icon? because my autorun icon with setup icon is different. im using CI 8.5.3.2.. and i edited manual.. not with CI designer.. help pls..
updated tutorial section.
How do you get mouse click sound? Especially for games?
I'll do a conversion of the game DMC4, is almost ready! I'm just atraz sound mouse.
i record from game.
What program do you use?
Fraps
recorded video extractet sound edited it.
Fraps
recorded video extractet sound edited it.
thx!! fraps+Camtasia Editor!! Perfect...:D
Hi yener is it neccessary to run Convert_AutorunToDLL.bat after the language script or can u just keep is as autorun.exe and have ur autorun.ini point to the autorun.exe.
Hi yener is it neccessary to run Convert_AutorunToDLL.bat after the language script or can u just keep is as autorun.exe and have ur autorun.ini point to the autorun.exe.
You dont need to.
Autorun.ini is not required.
it will continue read from Setup.ini
jksengko
19-09-2012, 02:10
how to auto launch after install game E.g: Settings.exe
Compiler
19-09-2012, 04:07
Tools to design buttons ?
How do I add remaining time to my installer ?
Tools to design Buttons = imagination (best tool) and photoshop.
Compiler
19-09-2012, 07:12
Thanks Mikey.
How to add remaining time like http://imageshack.us/a/img856/1163/imp3k.jpg (http://imageshack.us/photo/my-images/856/imp3k.jpg/) (peter's CI) has done ?
Can someone give code & explain it (Precomp+Srep+FreeArc) for high compression ?
Thanks Mikey.
Can someone give code & explain it (Precomp+Srep+FreeArc) for high compression ?
Did you even tried it out?
it already supports it.
Compiler
20-09-2012, 01:11
Did you even tried it out?
it already supports it.
Thanks Yener90,for creating this CI.
I used it but I was able to compress a 100 Mb game to 88 Mb only:confused:,but I saw 50-60% compression ratios from others using same method but the code and data might not be same.So,I need code for good compression ratios and explain it,so that I don't trouble every time.
Th3Raven
20-09-2012, 01:22
Thanks Yener90,for creating this CI.
I used it but I was able to compress a 100 Mb game to 88 Mb only:confused:,but I saw 50-60% compression ratios from others using same method but the code and data might not be same.So,I need code for good compression ratios and explain it,so that I don't trouble every time.
Depends about the game.
Some games (ex Dead island with all dlc has around 7-8 gigs but compressed with INNO gets around 3 gigs -eng only-) and other games (ex latest transformers can' be compressed more than already is).
even if you use Srep; Precomp, etc you won't get a noticeable difference.
oh and yener's CI has a moderate compression selected (for best compression use Lzma2/Ultra64 settings)
Compiler
20-09-2012, 01:33
Thanks,I'll work with different game,may be I can notice the difference.
Compiler
20-09-2012, 03:56
During Installation it is giving a message insert disc 1.I used Precomp,so I added "PrecompVer=038" to "Install Options" and my Extraction Settings are
"FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1; PrecSrep:1".
What went wrong ?
pakrat2k2
20-09-2012, 05:21
precompver=038 needs to be precompver=0.38
was discussed earlier in thread --> http://fileforums.com/showpost.php?p=404694&postcount=166
Compiler
21-09-2012, 07:06
Thanks Yener installed the game at last,but I have a question should I include .cab game file while compiling or not,if not what should be written here
#ifdef ProgramFiles
Source:D:\Data1.cab; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs; Excludes: unins*; Check: FreeArcError;
#endif
If I compress with FreeArc using this code -ld1600 has a problem with the CI Yener?
Thanks Yener installed the game at last,but I have a question should I include .cab game file while compiling or not,if not what should be written here
#ifdef ProgramFiles
Source:D:\Data1.cab; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs; Excludes: unins*; Check: FreeArcError;
#endif
dont edit any of the script.
edit Setup.ini if you want to let Data1.cab extracting.
Compiler
29-09-2012, 03:18
Hi Yener is it possible to compress data as arc,precomp,srep,cab and include it in .bin and at time of installation extract .cab from .bin and script should also extract srep and precomp files,which at last gives required data in required directory.
Where I can download HIGH QUALITY (min. 720p) wallpapers (used as backgrounds) without watermarks (like IGN or something). I address this question to the conversion makers (senseman, yener90, REV0, peterf1999, Fabioddq and other). Do you have a site from where you ALWAYS download backgrounds or do you use Google Images or look on the web form random sites.
jagged1600
08-10-2012, 21:21
Here is a question, How do I intergrate the setup.ini that I get from the program into my INNO code??? Its really frustrating me!
~Jagged~
jagged1600
09-10-2012, 02:50
man tell me about it.
After a few hours of dedicated work, I can now do what I want with it.
Thank you Yener!
~Jagged~
johnnyusa
09-10-2012, 09:46
How can you make the SystemTest included, detect Windows 8 also? I get a green bar on Operating System, but no Operating System is written on the green bar.
Fox22743
11-10-2012, 11:59
Great work Yener.
I just have one small graphical problem. If I place my button on the installer screen (not autorun screen) close to the top, then when the game is installing a button pops up every now and then in the small installer window.
Please see the installer i'm currently busy with for my shogun 2 game.
Great work Yener.
I just have one small graphical problem. If I place my button on the installer screen (not autorun screen) close to the top, then when the game is installing a button pops up every now and then in the small installer window.
Please see the installer i'm currently busy with for my shogun 2 game.
You do realize that the person on the autorun is Joe Garcia aka Angry Joe, a game and movie reviewer, and he has no connection with Shogun or Japanese history, right ?
Fox22743
11-10-2012, 13:40
You do realize that the person on the autorun is Joe Garcia aka Angry Joe, a game and movie reviewer, and he has no connection with Shogun or Japanese history, right ?
It's actually Joe Vargas (not Joe Garcia) and yeah I know it's him. Gonna change his head and put a Samurai on it just as soon as I get this problem with the button solved. Got this pic of the net and I know i need to change it.
How's this one...?
EDITED:
It seems that no one knows how to use freearc :(
Too bad for me.
Cheers
pakrat2k2
18-10-2012, 05:09
freearc is available here
http://freearc.org/Download.aspx
senseman
18-10-2012, 05:13
Where I can download HIGH QUALITY (min. 720p) wallpapers (used as backgrounds) without watermarks (like IGN or something). I address this question to the conversion makers (senseman, yener90, REV0, peterf1999, Fabioddq and other). Do you have a site from where you ALWAYS download backgrounds or do you use Google Images or look on the web form random sites.
http://www.jeuxvideo.com/
Oh, both member also from wbb......
@pakrat
Well....I know where it is. But...nvm.
Thanks anyway.
It looks like I will keep using other program for repacks without any compression since I don't know how to highly compress with freearc.
Cheers
@senseman
Thanks for sharing that. Looks nice
Cheers
senseman
18-10-2012, 05:47
@senseman
Thanks for sharing that. Looks nice
Cheers
enjoy and welcome to forum :):D
It's actually Joe Vargas (not Joe Garcia) and yeah I know it's him. Gonna change his head and put a Samurai on it just as soon as I get this problem with the button solved. Got this pic of the net and I know i need to change it.
How's this one...?
That'll do the job
I have question about this:
if you use Setup.cab:
http://img856.imageshack.us/img856/6937/postconvsetupcab.jpg
if you use internal:
http://img841.imageshack.us/img841/977/postconvinternal.jpg
What is the difference between 1st and 2nd.
Or maybe I just have some bug, because no matter what I do I always need Setup.cab and Setup.ini file with Setup.exe,dll and with bin file.
To Enable Internal I need to remove ";" before ";#define Internal", am I right.....using unicode version, right.
Or am I wrong.
Thank You
I have question about this:
What is the difference between 1st and 2nd.
Or maybe I just have some bug, because no matter what I do I always need Setup.cab and Setup.ini file with Setup.exe,dll and with bin file.
To Enable Internal I need to remove ";" before ";#define Internal", am I right.....using unicode version, right.
Or am I wrong.
Thank You
youre correct but you need to remove also on langscript.iss then it works.
Thanks yener, somehow I missed that :D
Also, how do I convert to srep....
I need to move file over srep.exe, right or.....
A lot of THANKS to BAMsE.
I understand a lot now about compression.
But I'm sure I will have more questions :eek:
Cheers
EDIT:
When I try to compress pcf with srep I get .pcf.srep extension....What now, that is not good, right.
NamelessOne
20-10-2012, 07:02
Is there any way to make a button on a autorun menu to browse a custom made folder (named Extras for example) on the disc? I like to put some extra stuff (soundtracks, wallpapers, etc.) on my custom made discs so it would be nice to be able to access them through autorun menu instead of going to the disc. Thanks in advance, yener ;)
When I try to compress pcf with srep I get .pcf.srep extension....What now, that is not good, right.
Yes, not good. At all steps the filename should be the same, only extension should be different. Just rename output file to match the mentioned syntax. But... why do you want to use old precsrep method when CI supports merged (one step) precsrep? All you need you'll find here (http://fileforums.com/showpost.php?p=404794&postcount=583)
NamelessOne good idea :)
Yes, not good. At all steps the filename should be the same, only extension should be different. Just rename output file to match the mentioned syntax. But... why do you want to use old precsrep method when CI supports merged (one step) precsrep? All you need you'll find here (http://fileforums.com/showpost.php?p=404794&postcount=583)
NamelessOne good idea :)
Thank You again.
I've forgot to read that thread, maybe I was lazy because there is 60 pages, but will find time to read it For sure.
Thanks again, if I have another question will ask again, But will read first.
Regards
EDIT:
Forget to ask, it says that I need to put files......in one folder in setup.cab....
Name of that folder doesn't matter or I need to put it inside setup folder or what.
And about OUTPUT_ARCHIVE_NAME - it should be Data.cab, am I right....
BAMSE, how to compress videos.bik?
I have the program RAD Video Tools, but i dont know how to use. I want to compress the videos I am Alive.
It is easier to direct the program or bat file?
@kassane
What you mean "but I can not use right".....
Under Compression settings you have - compress to a % of the original.....
I use this usually.
And program batch also works fine.
Forget to ask, it says that I need to put files......in one folder in setup.cab....
Name of that folder doesn't matter or I need to put it inside setup folder or what.
And about OUTPUT_ARCHIVE_NAME - it should be Data.cab, am I right....
Put them all together, no matter where, these files are needed to prepare strong compressed (precomp+srep+arc) archives. OUTPUT_ARCHIVE_NAME can be any string and it will be name of created archive. Just remember to edit setup.ini and add its name to [ExtractSettings] section
kassane just point to file you want to convert, use Bink it! button and set desirable options like %, width and height of output file
Yes, not good. At all steps the filename should be the same, only extension should be different. Just rename output file to match the mentioned syntax. But... why do you want to use old precsrep method when CI supports merged (one step) precsrep? All you need you'll find here (http://fileforums.com/showpost.php?p=404794&postcount=583)
NamelessOne good idea :)
Compressing an error occurred during the installation! What's the problem?:(
http://imageshack.us/scaled/landing/7/semttuloemf.jpg
im currently optimizing script -> button creating will be 80% easier for me :p
-> i will create custom buttons on autorun
like browse cd read readme manual
Compressing an error occurred during the installation! What's the problem?:(
Compressing what? Or maybe uncompressing? What method of compress? Files version?
I was compressing the files of the game, the bat file code:
arc a -ep1 -ed -r -w.\ Data\Data1.cab -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8 "PATH TO BE COMPRESSED"
Then it happened ... What was the mistake?
Probably wrong version of some compressor file or absence of arc.ini. You need arc.exe (0.67), precomp.exe plus its files (0.4.2), srep.exe (3.0) and arc.ini included in yener90's setup.cab. This ini must be placed in the root of your setup.cab too
Probably wrong version of some compressor file or absence of arc.ini. You need arc.exe (0.67), precomp.exe plus its files (0.4.2), srep.exe (3.0) and arc.ini included in yener90's setup.cab. This ini must be placed in the root of your setup.cab too
This is my arc.ini
[External compressor:srep]
;options = l%d (minimal match length, default=512)
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
kassane
First: don't quote previous post
Second: you need to add to your setup.ini the following line
[InstallOptions]
PrecompVer=inside
Should be OK
yes, I added this line in setup.ini:
[InstallOptions]
PrecompVer=0.42
Because of this error occurs!
[InstallOptions]
PrecompVer=inside
And if you are disabled, another error that occurs is the SREP!
Wait... you prepared cab with such commandline
arc a -ep1 -ed -r -w.\ Data\Data1.cab -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8 "PATH TO BE COMPRESSED"
and use
[InstallOptions]
PrecompVer=0.42
in setup.ini? It can't work! It's for old method data.arc ---> data.pcf ---> data.srep ---> data.cab
For one-step commandline compression you should use
[InstallOptions]
PrecompVer=inside
Any errors are result of absence/incorrect versions of files.
Here is a package containing all necessary files.
1. extract it anywhere
2. drag'n'drop the folder which content you want to compress to #compress.bat (use some small for testing)
3. put in your setup.ini
[InstallOptions]
PrecompVer=inside
4. don't use "PrecSrep:1" under [ExtractSettings]
5. pack arc.ini from this package to the root of your setup.cab
The two methods, not out of 10.1%. but previously, I discovered that the problem of compression does not work, arc.exe was corrupted!
Only 10.1%:
http://imageshack.us/scaled/landing/821/semttuloisb.jpg
But unfortunately the problem this compression:
arc a -ep1 -ed -r -w.\ Data\Data1.cab -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8 "PATH TO BE COMPRESSED"
At the end data1.cab not appear, some completely...
What does this mean:
Could not get file size of file temp000000001.dat_
Why do I get that.
Any reason for that.
What I can see is that I get that message NOT at the same place of compression.
Sorry, don't know how to explain.
Bat code:
echo off
:start
cls
set choice1=
set arc=
set retry=
echo.
set /p choice1=Please type game folder path (e.g. c:\Game):
if "%choice1%"=="" goto start
echo.
echo Creating archive files, please wait...
:Data1
set arc=Data1.bin
arc a -ep1 -r -w.\ .\Disk1\%arc% -mprecomp:zl98:d1+srep+lzma:a1:mfbt4:d256m:fb128:mc 1000:lc8 "%choice1%\Data\*"
if ERRORLEVEL 1 goto arcfail
echo.All done.
pause
goto EOF
:arcfail
echo.
echo.WARNING: FreeArc returns an error in archive %arc%!
set /p retry=Do you wish to retry [Y/N]:
if /I "%retry%"=="Y" goto %arc:~0,5%
pause
:EOF
Thank You
EDIT:
Forgot to mention, it is while using Packjpg.dll compression.
kassane I really don't understand what you're saying :o
Did you got any error massage?
And I've told you to take some small piece of data for testing, not few GB :eek:
EDIT: Well, it looks like it all works fine.
kassane I really don't understand what you're saying :o
Did you got any error massage?
And I've told you to take some small piece of data for testing, not few GB :eek:
After ending the compression, the file Data.cab disappears ... understand?
You can create a batch code of arc+precomp038+srep+arc?
kumarvivek1990
23-10-2012, 06:44
How can i convert Data1.arc to Data1.cab using freearc?
kassane well... dozens of people haven't problem with this set of compressors, like with this commandline... so draw a conclusion
First:
The two methods, not out of 10.1%. but previously, I discovered that the problem of compression does not work, arc.exe was corrupted!
Only 10.1%:
http://imageshack.us/scaled/landing/821/semttuloisb.jpg
It's not out of 10.1% because you are compressing a lot of GB of data. 10.1% is arc.exe progress, but look at your screen - there is 57.14% of precomp progress and the process still goes on!
I say it once again and last time: use a few MB of data for testing, don't compress whole game, because you're wasting time. Moreover not all files are eligible for precomping
Second:
After ending the compression, the file Data.cab disappears ... understand?
Did you use my set of compressors and my commandline when your archive vanished? Did you look for it in both folders (with compressed data and with compressors)? Did you got any errors? Process goes to the end with ErrorLevel=0?
BAMsE, I noticed better and saw this problem:
http://imageshack.us/a/img805/8982/semttulojaa.jpg
And also appears Errorlevel=2...
What do I do?
ErrorLevel=2 means there is no streams that could be decompressed. Simplifying - there's no benefit using precomp.
But about access problem... hmmm it's first time I see this, I have no idea what's happened. Seems the tmp file is still on hdd (if not the ErrorLevel=4), so maybe it was inspected by your AV at this time :confused:
Did you found your output archive? Did you test it in CI?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.