FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   yener90's Inno Project Source Codes (https://fileforums.com/showthread.php?t=91563)

vendecido33 01-03-2012 18:01

You say you do not touch the file. Cab.

Now my question is where we need to put your pictures to the lame script and the installer put them.

For that I've been reading your manual but I do not hear anything.

yener90 01-03-2012 18:14

of course you can edit you need to edit the cab file.
use your created images.
i meant you dont need to touch InstallScript.iss.
Just edit Setup.cab and Setup.ini

pakrat2k2 01-03-2012 20:41

vendecido33 doesnt understand what to do with the setup.cab. Just extract the Setup.cab file anywhere, you'll see that it contains the images displayed during the install process. Just use the same names for YOUR images for whatever game you want to do. THEN save it again as a CAB file, and edit the setup.ini to reflect what game you want to do.

I suggest going back & reading thru all 13 pages, make notes for whats NOT mentioned in first post, of what needs editing, or what changes need to be made to setup.ini for freearc files that use precomp/srep, if you are using freearc / rar / cab files what the lines need to reflect for each one of them. What sizes the pictures need to be to display fullscreen, more thats mentioned in the thread, but NOT posted in post #1.

vendecido33 02-03-2012 03:25

Thanks pakrat2k2 now if you understand me hehe, but now a question of me but I will read the post. As files are created. Cab

When I give to verify files on the inno setup tells me that the InstallerScript.

http://i377.photobucket.com/albums/o...1212-27-10.png

Thanks for all your help.

pakrat2k2 02-03-2012 08:13

again, you DO NOT touch the Installerscript.iss file. You ONLY edit the setup.ini & setup.cab, to make changes for your game.

IF your game does not have a GDF.dll file then remove that line from the setup.ini file.

vendecido33 02-03-2012 13:50

Pakrat2k2 Thanks for your help. And sorry but I am very new to this, a preguntilla eh InstallerScript seen within the script that there are things that should change to the configuration according to the game you want to compress this kind of script.

Schabik 02-03-2012 13:52

yener90 add newer version of srep.exe because the one you have don't support commands like this

Code:

srep -m3 data1.pcf data1.srep
mainly I'm talking about this part: -m3

pakrat2k2 02-03-2012 15:12

Schabik try using google to find what you want.

simple search would've given you a link

Code:

http://freearc.org/download/research/srep30.zip

MitraljezaC 02-03-2012 18:23

Hi yener90 i want to translate this Installer to Serbian (Latin) so i want to ask for your permission and little help.

So i need to edit English.isl to translate i to Serbian.isl, make a Serbian.bmp (same as Russian but rotated for 180°) and where to input it to have it on install menu?

pakrat2k2 02-03-2012 19:22

look to CI718 folder ( there is Lansymbols folder - flags ) and the LangScrips.iss where the translated languages go. There already 2 ISL files for Serbian ( cryllic & latin ) provided with INNO Setup 5 / languages subfolder. So just need yener to add that translation to his next update.

MitraljezaC 03-03-2012 06:18

Does anyone have tutorial for this installer.

I want to make installation for Mass Effect 3 for me and to learn how to use this but i dont have a clue what i need to edit in InstallerScript.

And do i need to compress files with free arc?

Thx :cool:

pakrat2k2 03-03-2012 07:27

read entire thread might help. you only need to edit setup.ini & setup.cab make changes to those for your game. ( setup.cab - images for your game), yes use freearc to compress game files.

MitraljezaC 03-03-2012 08:55

Quote:

Originally Posted by pakrat2k2 (Post 401016)
read entire thread might help. you only need to edit setup.ini & setup.cab make changes to those for your game. ( setup.cab - images for your game), yes use freearc to compress game files.

Ok thx.I edited setup.ini with no problem but Setup.cab give me a error when i put new images.

Any special metod for editing that .cab file.

pakrat2k2 03-03-2012 09:17

just extract the setup.cab & replace images, I used 7-zip to make new cab

Fabioddq 03-03-2012 10:59

Quote:

Originally Posted by pakrat2k2 (Post 401025)
just extract the setup.cab & replace images, I used 7-zip to make new cab

I just setup.cab open with WinRAR and put the new images replacing.
This procedure is correct as well?

MitraljezaC 03-03-2012 11:55

Quote:

Originally Posted by Fabioddq (Post 401039)
I just setup.cab open with WinRAR and put the new images replacing.
This procedure is correct as well?

I do that now and it worked :)

Quote:

Originally Posted by pakrat2k2
@

Do i need all fales from CI to have valid installation or just setup.exe,cab,ini and ico?

And why in InstallerScript.iss is NFS Run, Sonic and Dragon Age 2 writen.Do i need to edit that?

thx again

P.S. I make something like this and can i disable this Music thing?

Code:

http://www.dodaj.rs/f/1Y/lv/1voJEcJm/1.jpg
http://www.dodaj.rs/f/1H/12a/3XMRunCP/2.jpg
http://www.dodaj.rs/f/2O/QL/4pJRwVri/3.jpg
http://www.dodaj.rs/f/22/hN/1arHDdLA/4.jpg


pakrat2k2 03-03-2012 12:49

yener, any chance of including the new precomp042 & srep3( both x86 & x64, as seperate exes now) to the build?

http://img109.imageshack.us/img109/6885/unsupported.jpg

yener90 03-03-2012 17:19

pakrat2k2
Will try to include to next update.

MitraljezaC
You only need Install.exe, Setup.cab, Setup.ini and Setup.exe

Just ignore the information.
Some games required special info for a installation.
Therefore added those lines and deactivated -> should not work for other games. deactivated and not deleted, because, if a game requires it later, i can easily enable it.

Disable music or button sound function:
just delete the correspending file in Setup.cab
example:
for disabling music, delete music.mp3 from cab file

yener90 04-03-2012 06:36

ok got it.
added all precomp version support..from 0.38 - 0.42 AND latest srep.
english error messages will come, no more russian :D

now last part:
will add following languages:
Albanian
Bosnian
Croatian
Finnish
Greek
Serbian (Latin)
Vietnamese

Then update 7.2.0 will come out.

pakrat2k2 04-03-2012 08:38

AWESOME!!!

just a little comparison for you to note.. Syndicate\Content\XDF folder 581MB original

precomp038+srep2 -- 406MB
precomp042+srep3 -- 29MB

huge difference id say ;)

yener90 04-03-2012 13:22

ok :D

need translation help, are those lines correct?

Code:

Original
eng.InsertDisk=Please insert disc: %1
eng.ending=%1 - Installation
eng.BM=Music
eng.BMon=ON
eng.BMoff=OFF
eng.InstallAdd=Install %1
eng.uninstall=Deinstall
eng.IDPROP_SETUPTYPE_COMPLETE=Default%1Installation
eng.IDPROP_SETUPTYPE_CUSTOM=Custom%1Installation
eng.InstallingAF=Installing %1.....
eng.DelSaveGameFold=Do you want to keep save game?

Albanian
alb.InsertDisk=Please insert disc: %1
alb.ending=%1 - Instalim
alb.BM=Muzikë
alb.BMon=ON
alb.BMoff=OFF
alb.InstallAdd=Instaloni %1
alb.uninstall=Çinstaloj
alb.IDPROP_SETUPTYPE_COMPLETE=Standard%1Instalim
alb.IDPROP_SETUPTYPE_CUSTOM=Porosi%1Instalim
alb.InstallingAF=Instalimi %1.....
alb.DelSaveGameFold=A ju doni të mbani ruani lojë?

Bosnian
bos.InsertDisk=Molimo ubacite Disk: %1
bos.ending=%1 - Instalacija
bos.BM=Muzika
bos.BMon=ON
bos.BMoff=OFF
bos.InstallAdd=Instalirati %1
bos.uninstall=Deinstaliraj
bos.IDPROP_SETUPTYPE_COMPLETE=Stanard%1Instalacija
bos.IDPROP_SETUPTYPE_CUSTOM=Običaj%1Instalacija
bos.InstallingAF=Instaliranje %1.....
bos.DelSaveGameFold=Želite li zadržati spremiti igru?

Croatian
cro.InsertDisk=Molimo ubacite Disk: %1
cro.ending=%1 - Instalacija
cro.BM=Muzika
cro.BMon=ON
cro.BMoff=OFF
cro.InstallAdd=Instalirati %1
cro.uninstall=Deinstaliraj
cro.IDPROP_SETUPTYPE_COMPLETE=Stanard%1Instalacija
cro.IDPROP_SETUPTYPE_CUSTOM=Običaj%1Instalacija
cro.InstallingAF=Instaliranje %1.....
cro.DelSaveGameFold=Želite li zadržati spremiti igru?


Finnish
fin.InsertDisk=Aseta levy: %1
fin.ending=%1 - Asennus
fin.BM=Musiikki
fin.BMon=ON
fin.BMoff=OFF
fin.InstallAdd=Asenna %1
fin.uninstall=Poista
fin.IDPROP_SETUPTYPE_COMPLETE=Standardi%1Asennus
fin.IDPROP_SETUPTYPE_CUSTOM=Mukautetut%1Asennus
fin.InstallingAF=Asentaa %1.....
fin.DelSaveGameFold=Haluatko säilyttää tallennuksen?

Greek
gre.InsertDisk=Παρακαλώ εισάγετε το δίσκο: %1
gre.ending=%1 - Εγκατάσταση
gre.BM=Μουσική
gre.BMon=ON
gre.BMoff=OFF
gre.InstallAdd=Εγκαταστήστε %1
gre.uninstall=Απεγκατάσταση
gre.IDPROP_SETUPTYPE_COMPLETE=Πρότυπο%1Εγκατάσταση
gre.IDPROP_SETUPTYPE_CUSTOM=Προσαρμ.%1Εγκατάσταση
gre.InstallingAF=Εγκατάσταση %1.....
gre.DelSaveGameFold=Θέλετε να κρατήσετε σώσει το παιχνίδι?

Romanian
rom.InsertDisk=Vă rugăm să introduceţi DVD: %1
rom.ending=%1 - Instalarea
rom.BM=Muzică
rom.BMon=DA
rom.BMoff=NU
rom.InstallAdd=Instala %1
rom.uninstall=Dezinstalarea
rom.IDPROP_SETUPTYPE_COMPLETE=Instalarea%1standard
rom.IDPROP_SETUPTYPE_CUSTOM=Instalarea%1personalizată
rom.InstallingAF=Instalare %1.....
rom.DelSaveGameFold=Nu doriţi să păstraţi jocuri de salvare?

Serbian
ser.InsertDisk=Molimo Vas da ubacite disk: %1
ser.ending=%1 - Instalacija
ser.BM=Muzika
ser.BMon=ON
ser.BMoff=OFF
ser.InstallAdd=Instaliranje %1
ser.uninstall=Deinstaliraj
ser.IDPROP_SETUPTYPE_COMPLETE=Defaultna%1Instalacija
ser.IDPROP_SETUPTYPE_CUSTOM=Prilagođena%1Instalacija
ser.InstallingAF=Instaliranje %1.....
ser.DelSaveGameFold=Da li želite da sačuvate igru?

Vietnamese
via.InsertDisk=Xin vui lòng chèn đĩa: %1
via.ending=%1 - Cài đặt
via.BM=Nhạc
via.BMon=ON
via.BMoff=OFF
via.InstallAdd=Cài đặt %1
via.uninstall=Gỡ bỏ cài đặt
via.IDPROP_SETUPTYPE_COMPLETE=Tiêu chuẩn%1cài đặt
via.IDPROP_SETUPTYPE_CUSTOM=Tùy chỉnh%1cài đặt
via.InstallingAF=Cài đặt %1.....
via.DelSaveGameFold=Bạn có muốn lưu trò chơi?


sulfurum1989 04-03-2012 13:56

Quote:

Originally Posted by pakrat2k2 (Post 401063)
AWESOME!!!

just a little comparison for you to note.. Syndicate\Content\XDF folder 581MB original

precomp038+srep2 -- 406MB
precomp042+srep3 -- 29MB

huge difference id say ;)


Really ??? is a amazing difference :D what is the commandline in the bat ?

leo95 04-03-2012 14:38

My own compilation error after pressing button default installation, use the IC InnoSetup 7.1.8 unicode thanks

thanks
[IMG]http://img52.imageshack.us/img52/355...nstalacion.jpg Uploaded with ImageShack.us[/IMG]

sulfurum1989 04-03-2012 15:25

Quote:

Originally Posted by leo95 (Post 401070)
My own compilation error after pressing button default installation, use the IC InnoSetup 7.1.8 unicode thanks

thanks
[IMG]http://img52.imageshack.us/img52/355...nstalacion.jpg Uploaded with ImageShack.us[/IMG]

more details of your conversion please is 1 or 2 dvd5?? check the extraction tasks in setup.ini

leo95 04-03-2012 15:33

Quote:

Originally Posted by sulfurum1989 (Post 401071)
more details of your conversion please is 1 or 2 dvd5?? check the extraction tasks in setup.ini

2 DVD5 . After the conversion probe installation from hard disk

Setup.ini
[InstallOptions]
ApplicationName=Gears of War
Publisher=Microsoft Games
MyExecutableName=Startup.exe
MyExecutablePath=
SaveGameFolder=
GameSize=17000
Lang=cz,cnt,de,en,es,fr,it,nl,pl,ru
LangUI=0

[InstallSettings]
,GDFBinary=GDFBinary_en_US.dll

[ExtractSettings]
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1
FreeArcFile2={src}\Data2.cab;DestDir:{app};Disk:2
FreeArcFile3={src}\Data3.cab;DestDir:{app};Disk:2
FreeArcFile4={src}\Data4.cab;DestDir:{app};Disk:3

[InterfaceSettings]
Button1Left=24
Button1Top=400
Button2Left=324
Button2Top=400
Button3Left=560
Button3Top=400
Button4Left=560
Button4Top=360
ButtonFont=Tahoma
ButtonFontBold=1
ButtonFontSize=10
ButtonFontColor=$b8baad
ButtonFontColorOnMouse=$1134eb
ButtonFontColorMouseDown=$FFFFFF
ButtonLabelTop=5
ButtonOneLiner=1
DarkISSkin=0
EnableAutorunMenu=1
EnableFastInstall=1
SetupFont=Tahoma
SetupFontColor=$FFFFFF
//Options for Splashanimation: no,fade,ring,transparent
SplashAnimation=transparent
TextPositionLeft=24
TextPositionTop=80
TextPositionWidth=500
TextPositionHeight=300
//Transparency Setting 0=Full Max255=No Transparency
Transparency=255

//The part AutorunSettings is only required, if you enabled EnableAutorunMenu=1
[AutorunSettings]
ExitLeft=440
ExitTop=250
InstallLeft=225
InstallTop=250
PlayLeft=10
PlayTop=250
ButtonFont=Tahoma
ButtonFontBold=1
ButtonFontSize=10
ButtonFontColor=$b8baad
ButtonFontColorOnMouse=$1134eb
ButtonFontColorMouseDown=$FFFFFF
ButtonLabelTop=5
DisableWindowBorder=1
LangBoxLeft=155
LangBoxTop=5

,[LauncherSettings]
InstallRedist=1
InstallBeforeInstall=0

:Launch1=DirectX
Launch164=0
LaunchCom1=__Installer\vc\DXSetup.exe
LaunchArg1=/silent

;Launch2=Microsoft Games For Windows Live
Launch264=0
LaunchCom2=__Installer\vc\XLiveRedist1.1.0322.msi
LaunchArg2=/q:a

,Launch2=Microsoft Visual C++ 2008 x86
Launch264=0
LaunchCom2=__Installer\vc\vc2008sp1\redist\vcredis t_x86.exe
LaunchArg2=/q:a

;Launch3=Microsoft Visual C++ 2008 x64
Launch364=1
LaunchCom3=__Installer\vc\vc2008sp1\redist\vcredis t_x64.exe
LaunchArg3=/q:a

pakrat2k2 04-03-2012 15:44

how can your gears of war conversion be 2 dvd5 ???

check the setup.ini you posted

FreeArcFile4={src}\Data4.cab;DestDir:{app};Disk:3

leo95 04-03-2012 16:01

Quote:

Originally Posted by pakrat2k2 (Post 401073)
how can your gears of war conversion be 2 dvd5 ???

check the setup.ini you posted

FreeArcFile4={src}\Data4.cab;DestDir:{app};Disk:3

I followed the steps of the first post, I encourage you to play much the code:

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:
4. Save and Compile

If I can help I appreciate it

yener90 04-03-2012 16:09

if you use internal compression, you should deactivate external files.

delete the part extractsettings from setup.ini and try the installation again ;)

leo95 04-03-2012 17:32

Quote:

Originally Posted by yener90 (Post 401075)
if you use internal compression, you should deactivate external files.

delete the part extractsettings from setup.ini and try the installation again ;)

Thank you very much worked for me, 2 questions.
1 - You can make the autorun.inf open several things at once eg the installer and a text file (usually put the steps in the installation seguiir) in the foreground
2 - You can have Directx - vcredist so if you install it in 2 or 3 discs, do so after installation of the game

pakrat2k2 04-03-2012 20:11

in autorun.inf after/before open=setup.exe, open=(readme.txt) whatever textfile name you want, it should open up, there you can put instructions etc.

MartinezPL 05-03-2012 03:18

New precomp and srep looks they work great
but what about command in .bat file?
i try it the old command fro 038 version
"precomp042.exe -slow -c6 -m8 -oData.arc Data.pcf"
only pop up and close any ideas? :)
try it even:
"precomp042.exe -slow -c6 -m8 -oData.pcf Data.arc"
not help too

pakrat2k2 05-03-2012 07:38

look at peters syndicate conversion 1xdvd5.. it uses new precomp/srep

the commands your using are for precomp038, best to open command prompt in same fodler where exe is, type precomp042.exe, it will list all it commands..

andrei222 05-03-2012 10:12

yener edit "rom.DelSaveGameFold=Nu doriţi să păstraţi jocuri de salvare? to=>rom.DelSaveGameFold=Nu doriţi să păstraţi salvările la acest joc ?

yener90 05-03-2012 11:11

thx andrei222 :D

UPDATE 7.2.0
- Updated ISDone to 0.6f -> supports new version of srep and all version of precomp
- fixed bugs
- added Albanian, Bosnian, Croatian, Finnish, Greek, Serbian (Latin) and Vietnamese

MartinezPL 05-03-2012 12:33

Quote:

Originally Posted by pakrat2k2 (Post 401090)
look at peters syndicate conversion 1xdvd5.. it uses new precomp/srep

the commands your using are for precomp038, best to open command prompt in same fodler where exe is, type precomp042.exe, it will list all it commands..

Thx but...i'm green from that .bat etc
can someone can post here that commands ?:D

pakrat2k2 05-03-2012 14:34

Quote:

Originally Posted by MartinezPL (Post 401100)
Thx but...i'm green from that .bat etc
can someone can post here that commands ?:D

listed below is PART of the full bat file:

Code:

1. cls
2. set choice1=C:\Program Files (x86)\EA Games\Syndicate
3. echo Creating archive files, please wait...
4. arc a -ep1 -ed -r -w.\ .\Disk\Data3.arc -x"%choice1%\Content\XDF\*" -x"%choice1%\Content\Textures\*" 
-x"%choice1%\Content\Videos\*" -msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "%choice1%\Content\*"
5. if ERRORLEVEL 1 goto arcfail
6. cls
7. :arcfail
8. echo.WARNING: FreeArc returns an error, please retry...
9. pause
10. :EOF

I've add line numbers so you can easily more see what to change for any game.

Step#1 line 2 change the path to YOUR game. C:\Program Files (x86)\EA Games\Syndicate
Step#2 line 4 change Disk\Data3.arc to what archive you want, AND the path to what you want archived \Content\*" the -x in front of the other paths states to NOT compress it.

save the file & run it for each archive you want created. changing line 4 for each archive. easy as pie :)

all thanks go to peterf1999, also you MUST have the arc.exe & arc.ini in same folder as the bat file.

pravi 05-03-2012 23:34

How to extract files of inno 5.4.2 setup.exe file???

yener90 06-03-2012 06:13

UPDATE 7.2.1
- increased number of redist installation to 8 (it was 4 before)
- added option centering automaticly language box in autorun screen
- added option to center text in installler

senseman 06-03-2012 06:56

thanks yener...tested and works 8 items

napalmguy 06-03-2012 14:10

one little suggestion if you don't mind
make the installbeforeinstall separate for each redist
as changing it within the script itself broke the final setup screen
thanks again for your hardwork


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

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