| name | description |
|---|---|
| build_windows_client | Step-by-step instructions for configuring and compiling the .NET MAUI (WinUI 3), Win32 GUI, and ASCII console clients on Windows. |
👉 This skill provides instructions for building the various Windows clients of GnollHack, including the modern .NET MAUI version and the legacy Win32 GUI and ASCII versions.
💻 Modern Client (.NET MAUI / WinUI 3)
Prerequisites
- Visual Studio with .NET MAUI workloads installed.
- Ensure tile sets and FMOD sound banks are installed in the repository.
- Ensure the secrets file (
Assets\ghsecrets.sjson) is installed (this JSON file contains API keys and configuration secrets, is not part of the repository, and must be copied there separately by the programmer).
Build Steps
- Open the native solution
win\win32\vs\GnollHack.slnin Visual Studio. - Select the x64 platform and your desired configuration (Debug or Release).
- Rebuild the solution. This builds
gnollhackwin.dlland core data (nhdat), and copies them along with other assets towin\win32\xpl\GnollHackM\Platforms\Windows\gnh. - Open the MAUI solution
win\win32\xpl\GnollHackM\GnollHackM.slnin Visual Studio. - Select the same configuration (Debug or Release) as used for the native solution.
- Rebuild the
GnollHackM.slnsolution. - Set
GnollHackMas the startup project and start debugging.
🖥️ Legacy Win32 GUI Client
- Open
win\win32\vs\GnollHack.sln. - Ensure tile sets and FMOD sound banks are installed.
- Select the x64 platform and Debug or Release configuration.
- Right-click the
GnollHackWproject and select Rebuild. - The executable
GnollHackW.exewill be located inbin\Debug\x64(orRelease). -
Debugging: Set
GnollHackWas the startup project, set Working Directory to$(BinDir), and optionally set Command Arguments to-D -u wizardfor wizard mode.
⌨️ Legacy ASCII Console Client
- Open
win\win32\vs\GnollHack.sln. - Select the x64 platform and Debug or Release configuration.
- If building only ASCII, you can optionally unload the
GnollHackWproject to save time. - Rebuild the
GnollHackproject. - The executable
GnollHack.exewill be located inbin\Debug\x64(orRelease). -
Debugging: Set
GnollHackas the startup project, set Working Directory to$(BinDir), and optionally set Command Arguments to-D -u wizard.