diff --git a/T7x/.gitignore b/T7x/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/T7x/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/T7x/assets/banner-t7x-title.bmp b/T7x/assets/banner-t7x-title.bmp new file mode 100644 index 0000000..40ad965 Binary files /dev/null and b/T7x/assets/banner-t7x-title.bmp differ diff --git a/T7x/assets/logo-cropped.bmp b/T7x/assets/logo-cropped.bmp new file mode 100644 index 0000000..73ee0d9 Binary files /dev/null and b/T7x/assets/logo-cropped.bmp differ diff --git a/T7x/assets/original/banner-t7x-cropped.bmp b/T7x/assets/original/banner-t7x-cropped.bmp new file mode 100644 index 0000000..f11ceb5 Binary files /dev/null and b/T7x/assets/original/banner-t7x-cropped.bmp differ diff --git a/T7x/assets/original/banner-t7x-cropped.png b/T7x/assets/original/banner-t7x-cropped.png new file mode 100644 index 0000000..6388c68 Binary files /dev/null and b/T7x/assets/original/banner-t7x-cropped.png differ diff --git a/T7x/assets/original/banner-t7x-title.png b/T7x/assets/original/banner-t7x-title.png new file mode 100644 index 0000000..2fc4391 Binary files /dev/null and b/T7x/assets/original/banner-t7x-title.png differ diff --git a/T7x/assets/original/banner-t7x.png b/T7x/assets/original/banner-t7x.png new file mode 100644 index 0000000..08556f9 Binary files /dev/null and b/T7x/assets/original/banner-t7x.png differ diff --git a/T7x/assets/original/logo-cropped.png b/T7x/assets/original/logo-cropped.png new file mode 100644 index 0000000..d24fd6e Binary files /dev/null and b/T7x/assets/original/logo-cropped.png differ diff --git a/T7x/assets/original/logo.png b/T7x/assets/original/logo.png new file mode 100644 index 0000000..02406da Binary files /dev/null and b/T7x/assets/original/logo.png differ diff --git a/T7x/t7x_Installer.nsi b/T7x/t7x_Installer.nsi index abba18d..46b4a99 100644 --- a/T7x/t7x_Installer.nsi +++ b/T7x/t7x_Installer.nsi @@ -5,7 +5,7 @@ ; Constants !define PRODUCT_NAME "t7x" !define PRODUCT_DESCRIPTION "Call of Duty: Black Ops III Client" -!define COPYRIGHT "Created by Rim - Open Source" +!define COPYRIGHT "Created by Rim - This product is free and open source" !define PRODUCT_VERSION "1.0.0.0" !define SETUP_VERSION "1.0.0.0" @@ -34,6 +34,11 @@ VIAddVersionKey "FileVersion" "${SETUP_VERSION}" !define MUI_ABORTWARNING !define MUI_UNABORTWARNING +; Installer Images +!define MUI_WELCOMEFINISHPAGE_BITMAP "assets\logo-cropped.bmp" +!define MUI_HEADERIMAGE_BITMAP "assets\banner-t7x-title.bmp" +!define MUI_UNWELCOMEFINISHPAGE_BITMAP "assets\logo-cropped.bmp" ; For uninstaller + ; Pages !insertmacro MUI_PAGE_WELCOME ;!insertmacro MUI_PAGE_LICENSE "Readme.txt" @@ -48,9 +53,23 @@ VIAddVersionKey "FileVersion" "${SETUP_VERSION}" Section "Main Application" SecMain SetOutPath $INSTDIR File "t7x.exe" + File "base_game_dir\README.md" + File "base_game_dir\T7x_CP_Server.bat" + File "base_game_dir\T7x_MP_Server.bat" + File "base_game_dir\T7x_ZM_Server.bat" WriteUninstaller "$INSTDIR\Uninstall.exe" SectionEnd +Section "Game Directory t7x Files" SecT7xData + SetOutPath $INSTDIR\t7x + File /r "base_game_dir\t7x\*.*" +SectionEnd + +Section "Game Directory zone Files" SecZoneData + SetOutPath $INSTDIR\zone + File /r "base_game_dir\zone\*.*" +SectionEnd + Section "LocalAppData Files" SecData SetOutPath $LOCALAPPDATA\t7x File /r "t7x\*.*" @@ -67,7 +86,18 @@ FunctionEnd Section "Uninstall" Delete $INSTDIR\t7x.exe Delete "$DESKTOP\${PRODUCT_NAME}.lnk" + Delete "$INSTDIR\README.md" + Delete "$INSTDIR\T7x_CP_Server.bat" + Delete "$INSTDIR\T7x_MP_Server.bat" + Delete "$INSTDIR\T7x_ZM_Server.bat" + + Delete "$INSTDIR\zone\server.cfg" + Delete "$INSTDIR\zone\server_cp.cfg" + Delete "$INSTDIR\zone\server_zm.cfg" + + RMDir /r $INSTDIR\t7x RMDir /r $LOCALAPPDATA\t7x + Delete "$INSTDIR\Uninstall.exe" RMDir $INSTDIR SectionEnd @@ -78,4 +108,4 @@ Function .onInstSuccess SetOutPath "$INSTDIR" CreateShortcut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\t7x.exe" "" "$INSTDIR" ${EndIf} -FunctionEnd +FunctionEnd \ No newline at end of file