Skip to content

hyvanmielenpelit/GnollHackTileSet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GnollHack Tile Set

This repository contains individual PNG files of the GnollHack tile set, from which you can build the sprite sheets using TileSetCompiler.

Tile Set Build Instructions

These build instructions are for Windows. You need Visual Studio 2022 to follow these instructions.

  1. Clone GnollHackTileSet repository to C:\hmp\GnollHackTileSet
  2. Clone TileSetCompiler repository to C:\hmp\TileSetCompiler
  3. 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
  4. Create tile_definition.csv:
    1. Start the GnollHack Windows executable (GnollHack.exe) in Wizard Mode by using -D -u wizard command line parameters.
    2. Use the #wizsavetiledata extended command within the game.
    3. tile_definition.csv file appears in the same directory as the executable.
    4. Copy the file to the main directory of the GnollHackTileSet repository.
  5. Open the TileSetCompiler solution with Visual Studio 2022.
  6. 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.
  7. Start Debugging the TileSetCompiler project.
  8. 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
  9. A log file will appear in the main directory of the GnollHackTileSet repository:
    • gnollhack_tilenames.txt
  10. Copy the tile set files (both .png files) to the win\win32\tileset directory of the GnollHack repository.

About

GnollHack Tile Set

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •