This repository contains individual PNG files of the GnollHack tile set, from which you can build the sprite sheets using TileSetCompiler.
These build instructions are for Windows. You need Visual Studio 2022 to follow these instructions.
- Clone GnollHackTileSet repository to
C:\hmp\GnollHackTileSet
- Clone TileSetCompiler repository to
C:\hmp\TileSetCompiler
- Build the ASCII Version of GnollHack for Windows.
- In this case, remove NO_TILES preprocessor definition from GnollHack project's Project Properties under Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions
- ASCII Version Build Instructions
- Create tile_definition.csv:
- Start the GnollHack Windows executable (GnollHack.exe) in Wizard Mode by using
-D -u wizard
command line parameters. - Use the #wizsavetiledata extended command within the game.
- tile_definition.csv file appears in the same directory as the executable.
- Copy the file to the main directory of the GnollHackTileSet repository.
- Start the GnollHack Windows executable (GnollHack.exe) in Wizard Mode by using
- Open the TileSetCompiler solution with Visual Studio 2022.
- Select the TileSetCompilerHMP profile in the green arrow drop down menu (Debug options) in the menu bar. This determines that the program searches for assets in
C:\hmp\GnollHackTileSet
.- If you want to use another repository location for GnollHackTileSet, you can create your own launch profile in launchSettings.json.
- Start Debugging the TileSetCompiler project.
- The tile set files will appear in the main directory of the GnollHackTileSet repository:
- gnollhack_64x96_transparent_32bits.png
- gnollhack_64x96_transparent_32bits-2.png
- A log file will appear in the main directory of the GnollHackTileSet repository:
- gnollhack_tilenames.txt
- Copy the tile set files (both .png files) to the
win\win32\tileset
directory of the GnollHack repository.