NSIS Based Installer for Halo 2 PC and Project Cartographer
I basically split up the required game files in two sources. All the maps and some dependencies are found in separate zip files (files1.zip, files2.zip files3.zip). The installer script unzips the maps to the install directory maps folder. Separately, the install script packages the setup.exe with the rest of the required files, such as halo2.exe and all the various other files in the install folder.
Install logic:
- Select install folder
- Unzip h2pc_data.7z to install folder. contains halo 2 files and dependencies
- Install the rest of the files to where they need to go in the install/ folder
- Install dependencies silently (without user input) Install Visual C++ 2005 (required for halo2.exe)
- Install .NET 4.5.2 (required for launcher)
- Install DirectX 9.0c (required for halo2.exe)
- Finish install and run the launcher to login
TODO:
create multiple shortcuts for the various target parameters start in windowed mode by default custom maps
add link to cartographer feature list
add commands.txt