dfint / dfint64_patch

Text patcher for x64 bit version of the Dwarf Fortress game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.
> poetry run patch_charmap --help
Usage: patch_charmap [OPTIONS] [SOURCE_FILE] [PATCHED_FILE] CODEPAGE

Options:
  --cleanup BOOLEAN  Remove patched file on error
  --help             Show this message and exit.

About

Text patcher for x64 bit version of the Dwarf Fortress game

License:MIT License


Languages

Language:Python 95.8%Language:Assembly 3.7%Language:Makefile 0.5%