Ghostbusters The Video Game DVD9 to 1xDVD5 (InnoSetup) (English sound only)
1) Install the game using any path you like, but the game folder must be
'Ghostbusters'. (e.g. 'D:\Game\Ghostbusters')
2) Delete 4 files from the game folder:
w32ESsnd.pod, w32FRsnd.pod, w32DEsnd.pod, w32ITsnd.pod.
3) Create
'temp' folder in the same folder where 'Ghostbusters' is.
4) Download
ghost.rar and extract it into 'temp'.
5) Copy 'setup\
directx9' folder from your dvd into 'temp'.
6) Run InnoSetup, create an empty script, copy/paste my script, save the script in the folder where 'Ghostbusters' is.
HTML Code:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=Ghostbusters (TM): The Video Game
AppVerName=Ghostbusters (TM): The Video Game
DefaultDirName={pf}\Ghostbusters
DefaultGroupName=Ghostbusters
AllowNoIcons=yes
SourceDir=.\
OutputBaseFilename=Ghostbusters
OutputDir=.\temp
Compression=lzma/ultra64
SolidCompression=yes
CompressionThreads=auto
DiskSpanning=yes
DiskSliceSize=1560000000
SetupIconFile=.\temp\ghost.ico
WizardImageFile=.\temp\Big.bmp
;164x314
WizardSmallImageFile=.\temp\Small.bmp
;55x58
[Languages]
Name: "en"; MessagesFile: "compiler:Default.isl"
[Files]
Source: ".\Ghostbusters\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
[Icons]
Name: "{group}\Play Ghostbusters"; Filename: "{app}\ghost_w32.exe"
Name: "{group}\ReadMe"; Filename: "{app}\readme.rtf"
Name: "{group}\Homepage"; Filename: "http://www.ghostbustersgame.com"
Name: "{group}\Uninstall Ghostbusters"; Filename: "{uninstallexe}"
Name: "{commondesktop}\Ghostbusters"; Filename: "{app}\ghost_w32.exe"
[Registry]
Root: HKLM; Subkey: "SOFTWARE\Atari"; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: "SOFTWARE\Atari\Ghostbusters"; Flags: uninsdeletekey
Root: HKLM; Subkey: "SOFTWARE\Atari\Ghostbusters"; ValueType: string; ValueName: "InstallPath"; ValueData: "{app}"
Root: HKLM; Subkey: "SOFTWARE\Atari\Ghostbusters"; ValueType: string; ValueName: "ExePath"; ValueData: "{app}\ghost_w32.exe"
[Run]
Filename: "{src}\directx9\DXSETUP.exe"; StatusMsg: "Installing DirectX March 2008..."; Parameters: "/silent"
[CustomMessages]
en.removemsg=Do you wish to remove game saves?
[code]
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
begin
if CurUninstallStep = usPostUninstall then
begin
if MsgBox(ExpandConstant('{cm:removemsg}'), mbConfirmation, MB_YESNO)=IDYES then
begin
DelTree(ExpandConstant('{userdocs}'+'\GHOSTBUSTERS (tm)'), True, True, True);
end;
end;
end;
7) Compile the script. Wait until it's finished (estimated time of compiling depends on your CPU).
8) Go to 'temp' and run
'clean.bat'.
9) Burn all the files from
'temp' folder to dvd using any label you want (e.g. 'Ghostbusters').
DVD size:
4,26 Gb
2nd edition: Now savegames are deleted with a prompt after uninstallation. Thanks to
peterf1999 :)
3rd edition: The installer now is English only too.