{"id":27639525,"url":"https://github.com/quasilyte/fantasy-general-tools","last_synced_at":"2025-06-17T10:34:10.472Z","repository":{"id":277535684,"uuid":"932017448","full_name":"quasilyte/fantasy-general-tools","owner":"quasilyte","description":"fgtool is a Fantasy General modding toolkit","archived":false,"fork":false,"pushed_at":"2025-03-13T11:25:30.000Z","size":57,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T22:17:43.392Z","etag":null,"topics":["go","golang","mod","modding","modding-tools","retrogaming","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quasilyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-13T08:24:46.000Z","updated_at":"2025-03-13T11:25:33.000Z","dependencies_parsed_at":"2025-02-14T13:29:12.500Z","dependency_job_id":"c8e3e0e4-96ab-4817-89d0-fdcad0885b28","html_url":"https://github.com/quasilyte/fantasy-general-tools","commit_stats":null,"previous_names":["quasilyte/fantasy-general-tools"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/quasilyte/fantasy-general-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Ffantasy-general-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Ffantasy-general-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Ffantasy-general-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Ffantasy-general-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quasilyte","download_url":"https://codeload.github.com/quasilyte/fantasy-general-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quasilyte%2Ffantasy-general-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260340450,"owners_count":22994481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","mod","modding","modding-tools","retrogaming","tool"],"created_at":"2025-04-23T22:17:41.551Z","updated_at":"2025-06-17T10:34:05.454Z","avatar_url":"https://github.com/quasilyte.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fantasy General 1 Tools\n\n## Overview\n\n`fgtool` is a Fantasy General modding toolkit.\n\n* Decode game files (SHP-\u003ePNG, DAT-\u003eJSON, ...)\n* Encode game files (PNG-\u003eSHP, JSON-\u003eDAT, ...)\n* Apply binary patches to change some in-game constants\n\n\u003e You would need a legally-obtained copy of the game to use this tool.\n\n## Installation\n\nIt's recommended to download the [latest release binary](https://github.com/quasilyte/fantasy-general-tools/releases) for your system.\n\nYou can also [build it from sources](_docs/from_sources.md).\n\n## Documentation\n\n* [fgtool.md](_docs/fgtool.md) - how to use this tool\n* [data_files.md](_docs/data_files.md) - describes the known parts of Fantasy General file structure\n* [units.md](_docs/units.md) - describes unit stats and how to edit them\n* [shp_sprites.md](_docs/shp_sprites.md) - sprite and palette related info\n\n## Support\n\nWant to support the author? Add [my game](https://store.steampowered.com/app/3024370/NebuLeet) to your Steam wishlist.\n\n## Useful Resources\n\nInformation used to create this tool:\n\n* https://wiki.amigaos.net/wiki/ILBM_IFF_Interleaved_Bitmap\n* https://moddingwiki.shikadi.net/wiki/LBM_Format#CMAP:_Palette\n* http://blog.ssokolow.com/archives/2018/12/02/resources-for-reverse-engineering-16-bit-applications/\n* https://www.luis-guzman.com/zips/PG2_FilesSpec.html\n* https://groups.google.com/g/comp.sys.ibm.pc.games.strategic/c/Yt_sxvy67CM - PG1 files info\n* https://forum.shrapnelgames.com/showthread.php?p=856948\n* https://www.vogons.org/viewtopic.php?t=3944 - DosBox debug guide\n\nTools used:\n\n* `ndisasm` to dump DOS binary assembly\n* `hexl` mode in Emacs to inspect/edit binary files\n* basic tools like `grep`, `awk`\n* debug-enabled in DosBox (DosBox Debug)\n* custom Go scripts to patch the binary\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquasilyte%2Ffantasy-general-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquasilyte%2Ffantasy-general-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquasilyte%2Ffantasy-general-tools/lists"}