Beruflich Dokumente
Kultur Dokumente
Fox
Fox Publications SA
5/6/2014
Build
1.7
Contents
1.
INTRODUCTION ........................................................................................................................................................................ 4
2.
3.
SETUP.INI .................................................................................................................................................................................. 6
SETUP SETTINGS............................................................................................................................................................................ 6
SETUP DESIGN BUTTON ................................................................................................................................................................ 2
7
SETUP DESIGN SMALL BUTTON .................................................................................................................................................... 8
SETUP DESIGN OTHER BUTTON .................................................................................................................................................... 8
SETUP DESIGN INTERFACE ............................................................................................................................................................ 8
AUTORUN DESIGN ...................................................................................................................................................................... 10
[LauncherSettings] ...................................................................................................................................................................... 12
4.
5.
REGISTRY.ISS........................................................................................................................................................................... 17
1. INTRODUCTION
Well first off let's get this out of the way. There are 3 files with the package and 5 folders.
The files are:
CompileProtected.exe (Used to compile all other files together. Makes Setup.exe)
Setup.ico (Icon of your game)
Setup.ini (Details below)
Registry.iss (OPTIONAL. Used to insert registry entries for games that require it. Use "InnoIDE" or "ISTool" to import)
I don't modify anything here and neither should you unless you really know what's going on.
The other folder is called Setup. Details of the files inside this folder can be found below.
These are all the files I know. If anyone else knows more, then please inform me and I'll consider adding it to the list.
3. SETUP.INI (ALL SIZES ARE IN PIXELS AND ALL COLORS ARE LIKE THIS $######)
IF THERE IS A // BEFORE A LINE YOU WANT TO USE, THEN PLEASE REMOVE IT
///////////////////// SETUP SETTINGS //////////////////////
[InstallOptions]
ApplicationName=Prototype
Publisher=Activision
GameSize=8250
//ProductCode={3FEA6CD1-EA13-4CE7-A74E-A74A4A0A7B5C}
PrecompVer=inside
Editor=Fox
Lang=en,es,fr,it,da,nl,pl,prbr,ru
SetupVersion=1.0
GameVersion=1.0
SaveGameFolder1={userdocs}\Savefolder
ShowGameLauncher=1
[Executable1]
Name=The Amazing Spider-Man 2
Exe=Game.exe
ExePath=
Parameter=
Icon=
GDFBinary=Game.exe
[Executable2]
Name=Config
Exe=TASM2Launcher.exe
ExePath=
Parameter=
Icon=
Same as above
[MinSystemReq]
ProcCore=2
ProcFreq=2600
RAM=3072
VideoRAM=1024
WinVerMajor=5
WinVerMinor=1
ServicePack=3
[RecSystemReq]
ProcCore=4
ProcFreq=2400
RAM=4096
VideoRAM=1024
WinVerMajor=5
WinVerMinor=1
ServicePack=3
[ExtractSettings]
FreeArcFile1=Data1.cab;DestDir:{app};Disk:1;
FreeArcFile2=Data2.cab;DestDir:{app};Disk:2;
Files to be extracted
RarFile1=Data3.cab;DestDir:{app};Disk:2;
RarFile2=Data4.cab;DestDir:{app};Disk:3;
7zFile1=Data5.cab;DestDir:{app};Disk:4;
7zFile2=Data6.cab;DestDir:{app};Disk:4;
Same as above
Width & height of button (will force the image to this size)
(Takes up that space on screen even if no image is there)
Button font
All letters will be UpperCase (caps) on buttons (0=no 1=yes)
Normal font color
Selected font color
Clicked font color
Disabled font color
(first two are blue, then green, then red)(Opposite of norm)
Normal font size
Selected font size
Whether bold or not (0=no, 1=yes)
All text within a button will be on 1 line (0=no, 1=yes)
Text alignment within the button (left/center)
(Right not supported)
If the text has a shadow or not (0=no, 1=yes)
How much off in pixels the button label should be from it's
current alignment (X=horizontal, Y=Vertical)
[NextButton]
Left=840
Top=650
[BackButton]
Left=500
Top=650
[CancelButton]
Left=670
Top=650
[MusicButton]
Left=2
Top=-437
[MinimizeButton]
Left=920
Top=20
Width=24
Height=24
[ExitButton]
Left=948
Top=60
Width=25
Height=25
[Logo]
LogoLeft=400
LogoTop=90
LogoWidth=178
LogoHeight=80
[TextStage]
Top=160
Left=540
Width=425
Height=420
SpaceFromBorder=1
Center=1
Font=Calibri
FontSize=2
FontColor=$ffffff
Shadow=0
[InterfaceSettings]
ChangeFrame=0
InstallerWidth=1000
InstallerHeight=800
BackgroundWidth=1280
BackgroundHeight=720
ShowBGFullscreen=0
ProgressBarLabelColor=$000000
ProgressBarHeight=12
MoveProgressBarLabel=0
MoveDirectoryInfo=15
MoveProgressBar=4
[SmallInstaller]
Width=500
Height=280
TextLeft=30
TextTop=110
TextWidth=440
TextHeight=160
FontColor=$000000
PosRightDown=0
[BigTitle]
Left=2
Top=-354
Width=554
Height=80
FontSize=56
FontColor=$bebebe
FontUC=1
Visible=0
[SetupTitle]
Top=8
FontSize=10
FontColor=$ffffff
Visible=0
Width & height of button (will force the image to this size)
(Takes up that space on screen even if no image is there)
Button font
All letters will be UpperCase (caps) on buttons (0=no 1=yes)
Normal font color
Selected font color
Clicked font color
10
Disabled font color
(first two are blue, then green, then red)(Opposite of norm)
Normal font size
Selected font size
Whether bold or not (0=no, 1=yes)
All text within a button will be on 1 line (0=no, 1=yes)
Text alignment within the button (left/center)
(Right not supported)
If the text has a shadow or not (0=no, 1=yes)
How much off in pixels the button label should be from it's
current alignment (X=horizontal, Y=Vertical)
MAIN PLAY BUTTON (Disabled before installation)
Space in Pixels from left of installer
Space in Pixels from top of installer
What text should display for this button
(If left blank, the word "PLAY" will be displayed)
If the word "PLAY" is shown on the label (0=no, 1=yes)
SECONDARY PLAY BUTTON (Only if second exe is set)
Space in Pixels from left of installer
Space in Pixels from top of installer
What text should display for this button
(If left blank, the word "PLAY" will be displayed)
If the word "PLAY" is shown on the label (0=no, 1=yes)
[UnInstallButton]
Left=450
Top=360
INSTALL/UNINSTALL BUTTON
[BrowseDVDButton]
Left=309
Top=258
Visible=0
[EqualizerButtonAR]
Left=820
Top=100
NumberOfStripes=5
NumberOfBlocks=7
BlockWidth=5
BlockHeight=2
LineHeight=1
Visible=1
[MusicButtonAR]
Left=280
Top=455
Width=31
Height=120
Visible=0
[LangBox]
Left=480
Top=100
//Center=1
ShowOnly=0
//Position=Vertical
[SetupTitleAR]
Top=8
FontSize=12
FontColor=$ffffff
Visible=0
[Exit1Button]
Left=450
Top=430
[MinimizeARButton]
Left=0
Top=0
Width=24
Height=24
[Exit2Button]
Left=865
Top=95
Width=25
Height=25
[LauncherSettings]
InstallRedist=1
[Launch1]
Name=DirectX
32Exe={src}\Support\DirectX\DXSETUP.exe
64Exe=
Argument=/silent
BeforeInstall=1
[Launch2]
Name=Visual C++ 2012
32Exe={app}\_CommonRedist\vcredist\2012\vcredist_x86.exe
64Exe={app}\_CommonRedist\vcredist\2012\vcredist_x64.exe
Argument=/passive /norestart
BeforeInstall=0
12
4. ARGUMENTS VALUES
As REV0 put it on his post.
** I'm not gonna explain what they do a zillion times so read this part carefully.
* Contains CI and CIU Component values, therefore focus on argument values, not how they were represented.
* X Value: Switch with proper Launch Number, if it's a first component then X is 1, if it's 2nd, means it's 2.
* app and src values: app - Installs from game's installed directory. src - Installs from DVD or during installation.
DirectX:
LaunchX=DirectX
LaunchX64=0
LaunchXBeforeInstall=0
LaunchComX={app}\support\directx_Jun2010_redist\DXSETUP.exe
LaunchArgX=/silent
DirectX 11
Name=Direct3D 11 (DX11 For Vista)
32Exe={app}\redist\DX11forVista\D3D11Install.exe
Argument=/minimal /y
BeforeInstall=0
13
14
Microsoft Visual C++ 2010 x86
LaunchX=Microsoft Visual C++ 2010 x86
LaunchX64=0
LaunchXBeforeInstall=0
LaunchComX={app}\support\vcredist_x86\vcredist_x86.exe
LaunchArgX=/q /norestart
15
OpenAL
LaunchX=OpenAL
LaunchX64=0
LaunchXBeforeInstall=1
LaunchComX={src}\Redist\openal\oalinst.exe
LaunchArgX=/s
XNA Framework
LaunchX=XNA Framework
LaunchX64=0
LaunchXBeforeInstall=0
LaunchComX={sys}\msiexec.exe
LaunchArgX=/quiet /i "{src}\Redist\xnafx40_redist.msi"
16
5. REGISTRY.ISS
To be totally honest, I don't know how all this registry stuff actually works, when necessary I can figure it out for myself but
explaining is a whole other story. Below I've posted a screen shot from Fabioddq about the registry entries, but again I could
not explain it to you. First thing that confuses me here is the whole different values thing for x64 and x86. As far as I've seen
(through doing it myself) when I put the files under HKLM, then if I'm using a 64bit operating system, it will go in the correct
location. Well maybe someone else could explain it better. Here you go:
17