Skip to content

Instantly share code, notes, and snippets.

@awesie
Created August 20, 2016 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awesie/9d3b716370e8f09a6797f54363e5a8e1 to your computer and use it in GitHub Desktop.
Save awesie/9d3b716370e8f09a6797f54363e5a8e1 to your computer and use it in GitHub Desktop.
Sample theme file for Nox
// By default, Nox wants this file to be encrypted. I was too lazy to worry about that, so instead apply this binary patch:
// GAME.EXE 0x11E337 0x01 -> 0xFF
//
// This file should be in your Nox directory as \mapgen\foobar.thm. The filename determines the map name. Keep under 8 chars.
//
AMBIENT_LIGHT 255 255 255
DECOR
ROOM foo
FREQUENCY COMMON
WALL_FLOOR AncientRuin AncientRuin
END
DECOR
HALL bar
FREQUENCY COMMON
WALL_FLOOR AncientRuin AncientRuin
END
// End of file must be padded to 8 bytes XXXXX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment