Skip to content

Text patcher for x64 bit version of the Dwarf Fortress game

License

Notifications You must be signed in to change notification settings

dfint/dfint64_patch

Repository files navigation

dfint64_patch

Test Coverage Status Maintainability

Text patcher for x64 bit version of the Dwarf Fortress game (work in progress).

You need python 3.10+ and poetry installed (pip3 install poetry or pip install poetry). Then run poetry install from the command line: it will create a virtual environment in the project's directory and install all the requirements into it.

Basic usage examples:

> poetry run extract --help
Usage: extract [OPTIONS] FILE_NAME [OUT_FILE]

Options:
  --help  Show this message and exit.
> poetry run patch --help
Usage: patch [OPTIONS] [SOURCE_FILE] [PATCHED_FILE]

Options:
  --dict TEXT        Path to the dictionary csv file
  --codepage TEXT    Enable support of the given codepage by name
  --cleanup BOOLEAN  Remove patched file on error
  --help             Show this message and exit.