1.9 KiB
NetHack RC Files
nethackrc files using jinja templating
Dependencies
This project is set up to be run through uv and just; you could probably manage your own python venv or use a system one, but do that at your own risk. Just is just a command runner and so is not strictly necessary; you could call the python script directly.
Windows
winget install --id Casey.Just
winget install --id astral-sh.uv
MacOS
brew install just uv
Linux
Check your local package manager, or docs for installing uv and installing just
.env
Copy .env.example to .env, and fill in values you wish to use:
HDF_USERNAMEandHDF_PASSWORDare your hardfought username and password if you wish to make use of automatic upload to US hardfought serverJNH_USERNAMEis your username for Junethack, which will be added as a comment at the top of your file
Usage
Included are templates for 3.7, TNNT, and CrecelleHack; there are just tasks to render each of them (just v37, just tnnt, just crecelle) or automatically upload them to hardfought (just upload_v37, just upload_tnnt, just upload_crecelle).
You can also render a single file with just render <filename>.
At present, the following arguments are supported to rendering:
--nudistwill set thenudistoption in the rcfile--pauperwill set thepauperoption (v3.7 and derivatives only)--noboneswill disable thebonesoption--nopetwill remove your starting pet (if going for petless conduct)--hide-commentswill remove the explanatory comments from the rendered file (useful if you want the filesize to be smaller for some reason)--cursesor--ttywill set thewindow_typeoption to their corresponding values