diff --git a/.gitignore b/.gitignore index e6b0021..fbb36b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .godot/ +build/ +dist/ server/nakama/.env server/nakama/backups/ tools/godot-agent-tools-mcp/node_modules/ diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..01f00af --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,36 @@ +[preset.0] + +name="Windows x64" +platform="Windows Desktop" +runnable=true +advanced_options=false +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="build/windows/Void-Bastion.exe" +patches=PackedStringArray() + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=0 +binary_format/embed_pck=true +binary_format/architecture="x86_64" +codesign/enable=false +application/modify_resources=true +application/icon="res://assets/app_icon.png" +application/console_wrapper_icon="" +application/icon_interpolation=4 +application/file_version="0.1.0.0" +application/product_version="0.1.0.0" +application/company_name="GerGames" +application/product_name="Void Bastion" +application/file_description="Void Bastion – Alpha-Testversion" +application/copyright="Copyright © 2026 Dominic Springer / GerGames" +application/trademarks="" +ssh_remote_deploy/enabled=false +texture_format/s3tc_bptc=true +texture_format/etc2_astc=false diff --git a/packaging/windows/installer.nsi b/packaging/windows/installer.nsi new file mode 100644 index 0000000..205c09e --- /dev/null +++ b/packaging/windows/installer.nsi @@ -0,0 +1,85 @@ +Unicode true +ManifestDPIAware true +RequestExecutionLevel user + +!include "MUI2.nsh" +!include "LogicLib.nsh" + +!define PRODUCT_NAME "Void Bastion" +!define PRODUCT_VERSION "0.1.0-alpha" +!define PRODUCT_PUBLISHER "GerGames" +!define PRODUCT_WEBSITE "https://void-bastion.gergames.de/" +!define PRODUCT_EXE "Void-Bastion.exe" + +Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" +OutFile "..\..\dist\Void-Bastion-Setup-x64.exe" +InstallDir "$LOCALAPPDATA\Programs\Void Bastion" +InstallDirRegKey HKCU "Software\GerGames\Void Bastion" "InstallDir" +SetCompressor /SOLID lzma +SetCompressorDictSize 64 +BrandingText "GerGames" +ShowInstDetails show +ShowUninstDetails show + +VIProductVersion "0.1.0.0" +VIAddVersionKey /LANG=1031 "ProductName" "${PRODUCT_NAME}" +VIAddVersionKey /LANG=1031 "CompanyName" "${PRODUCT_PUBLISHER}" +VIAddVersionKey /LANG=1031 "FileDescription" "${PRODUCT_NAME} Setup" +VIAddVersionKey /LANG=1031 "FileVersion" "${PRODUCT_VERSION}" +VIAddVersionKey /LANG=1031 "ProductVersion" "${PRODUCT_VERSION}" +VIAddVersionKey /LANG=1031 "LegalCopyright" "Copyright © 2026 Dominic Springer / GerGames" + +!define MUI_ABORTWARNING +!define MUI_FINISHPAGE_RUN "$INSTDIR\${PRODUCT_EXE}" +!define MUI_FINISHPAGE_RUN_TEXT "Void Bastion starten" +!define MUI_FINISHPAGE_LINK "Void-Bastion-Website öffnen" +!define MUI_FINISHPAGE_LINK_LOCATION "${PRODUCT_WEBSITE}" + +!insertmacro MUI_PAGE_WELCOME +!insertmacro MUI_PAGE_DIRECTORY +!insertmacro MUI_PAGE_INSTFILES +!insertmacro MUI_PAGE_FINISH + +!insertmacro MUI_UNPAGE_CONFIRM +!insertmacro MUI_UNPAGE_INSTFILES +!insertmacro MUI_UNPAGE_FINISH + +!insertmacro MUI_LANGUAGE "German" +!insertmacro MUI_LANGUAGE "English" + +Section "Void Bastion" SEC_MAIN + SectionIn RO + SetOutPath "$INSTDIR" + File "..\..\build\windows\${PRODUCT_EXE}" + + WriteUninstaller "$INSTDIR\Uninstall.exe" + WriteRegStr HKCU "Software\GerGames\Void Bastion" "InstallDir" "$INSTDIR" + + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Void Bastion" "DisplayName" "${PRODUCT_NAME}" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Void Bastion" "DisplayVersion" "${PRODUCT_VERSION}" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Void Bastion" "Publisher" "${PRODUCT_PUBLISHER}" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Void Bastion" "URLInfoAbout" "${PRODUCT_WEBSITE}" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Void Bastion" "DisplayIcon" "$INSTDIR\${PRODUCT_EXE}" + WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Void Bastion" "UninstallString" '"$INSTDIR\Uninstall.exe"' + WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Void Bastion" "NoModify" 1 + WriteRegDWORD HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Void Bastion" "NoRepair" 1 + + CreateDirectory "$SMPROGRAMS\Void Bastion" + CreateShortcut "$SMPROGRAMS\Void Bastion\Void Bastion.lnk" "$INSTDIR\${PRODUCT_EXE}" + CreateShortcut "$SMPROGRAMS\Void Bastion\Void Bastion deinstallieren.lnk" "$INSTDIR\Uninstall.exe" + CreateShortcut "$DESKTOP\Void Bastion.lnk" "$INSTDIR\${PRODUCT_EXE}" +SectionEnd + +Section "Uninstall" + Delete "$DESKTOP\Void Bastion.lnk" + Delete "$SMPROGRAMS\Void Bastion\Void Bastion.lnk" + Delete "$SMPROGRAMS\Void Bastion\Void Bastion deinstallieren.lnk" + RMDir "$SMPROGRAMS\Void Bastion" + + Delete "$INSTDIR\${PRODUCT_EXE}" + Delete "$INSTDIR\Uninstall.exe" + RMDir "$INSTDIR" + + DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\Void Bastion" + DeleteRegKey HKCU "Software\GerGames\Void Bastion" +SectionEnd diff --git a/project.godot b/project.godot index 8b6dbf3..142d6b0 100644 --- a/project.godot +++ b/project.godot @@ -15,6 +15,7 @@ compatibility/default_parent_skeleton_in_mesh_instance_3d=true [application] config/name="Void Bastion" +config/version="0.1.0-alpha" run/main_scene="res://main.tscn" config/features=PackedStringArray("4.7") config/icon="res://assets/app_icon.png"