Gof2edit
Galaxy on Fire 2 CLI tool to unpack and repack BIN files and save files, as well as patch binaries
Install / Use
/learn @Ravernstal/Gof2editREADME
gof2edit
Galaxy on Fire 2 CLI tool to unpack and repack BIN files and save files, as well as patch binaries.
Download the latest version here.
Unpacking/Repacking
This tool is capable of unpacking and repacking the following game files:
BIN Files
- Agents (agents.bin)
- Items (items.bin)
- Language Strings (*.lang)
- Most Wanted (wanted.bin)
- News Items (ticker.bin)
- Ships (ships.bin)
- Ship Weapon/Engine Positions (weapons*.bin)
- Stations (stations.bin)
- Systems (systems.bin)
Save Files
- Save Game (gof2_save_game_*) (Android Only)
- Save Game Preview (gof2_save_game_preview_*)
Patching
New Objects
In order to add new entries into these files, binary modification is necessary.
gof2edit can patch the game binary for the following files:
This functionality is currently only fully available for the Android binary, and experimentally for the iOS binary.
Binary Patches
gof2edit can also apply arbitrary patches to binaries.
See the patches folder for examples.
Example Commands
gof2edit unpack systems systems.bin- Unpacks the systems in JSON format intosystems.jsongof2edit repack systems systems.json- Repacks the systems fromsystems.jsonintosystems.bingof2edit patch systems systems.json libgof2hdaa.so- Patches the game usingsystems.jsongof2edit generate-patch libgof2hdaa.so.orig libgof2hdaa.so- Generates a binary patch namedpatch.jsonby comparinglibgof2hdaa.sotolibgof2hdaa.so.origgof2edit apply-patch patches/enable-bloom.json libgof2hdaa.so- Applies the "Enable Bloom" patch to the Android binary
Execute gof2edit --help to get a list of commands, and gof2edit <command> --help for more information.
Building
Simply download the repository and execute cargo build in the project directory.
A binary will be created in target/debug.
License
This project is licensed under the GNU AGPLv3 License - see the LICENSE file for details.
Related Skills
himalaya
353.1kCLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
node-connect
353.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
taskflow
353.1kname: taskflow description: Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layer
frontend-design
111.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
