fantasy-general-tools

module
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2025 License: MIT

README

Fantasy General 1 Tools

Overview

fgtool is a Fantasy General modding toolkit.

  • Decode game files (SHP->PNG, DAT->JSON, ...)
  • Encode game files (PNG->SHP, JSON->DAT, ...)
  • Apply binary patches to change some in-game constants

You would need a legally-obtained copy of the game to use this tool.

Installation

It's recommended to download the latest release binary for your system.

You can also build it from sources.

Documentation

Support

Want to support the author? Add my game to your Steam wishlist.

Useful Resources

Information used to create this tool:

Tools used:

  • ndisasm to dump DOS binary assembly
  • hexl mode in Emacs to inspect/edit binary files
  • basic tools like grep, awk
  • debug-enabled in DosBox (DosBox Debug)
  • custom Go scripts to patch the binary

Directories

Path Synopsis
cmd
fgtool command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL