<!-- Canonical page: https://reversedwithai.com/p/freedom-fighters-pc-formats-decomp-claude -->
Canonical page: https://reversedwithai.com/p/freedom-fighters-pc-formats-decomp-claude

# Decoded Freedom Fighters file formats and ported 12,202 functions to verified C++ for a browser port, with Claude

> Format specs, decoders and verified C++ ports for the Glacier 1 engine.

kaustubhxd documents the file formats of Freedom Fighters and ports its functions to C++ checked against the original, with help from Claude, while porting the game to the browser.

## Key facts

- Target: Freedom Fighters (PC, 2003, Glacier 1 engine)
- Category: Games and mods
- Platform: Windows PC to web browser
- Models: Claude Sonnet 5.5
- Tools: Claude Code
- Outcome: Partial
- Checks: Source available: yes; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [kaustubhxd](https://github.com/kaustubhxd)
- Added: 2026-10-17
- Updated: 2026-10-17
- Sources reviewed: 2026-10-17 (editor)

## What was done

ReFreedomFighters holds reverse-engineering notes and file-format decoders for Freedom Fighters (IO Interactive, 2003), written while porting the game to the browser. The README has an AI assistance section: parts of the documentation, decoders and tools were written with help from Claude under the maintainer's direction, and every spec is checked against the game data the maintainer owns. Commits carry Claude co-author trailers, and the AI commit census counts 29 of 38 commits with AI credit (Claude Sonnet 5.5), from 13 October to 9 November 2026.

The repository lists decoders and specs for sound banks, localised text, the ZGF container with fonts and compiled mission scripts, and the AI navigation octree. Many formats should apply to other Glacier 1 games, including Hitman 2, Hitman: Contracts and Blood Money. A folder of C++ functions is derived from the executable and checked against the original.

It is a work-in-progress decompilation, not yet a complete source tree building a full executable. The README reports verified C++ ports of 12,703 of 12,955 functions in the PC executable (98.6 percent by count, 91.0 percent by code size), with 6.5 percent ported into the browser game, and a public progress page tracks the percentages.

You need your own copy of the PC game (the Steam or GOG release). Decoders are Python scripts; a JavaScript VM runs the mission scripts from your install. The README says no game data, text, scripts, audio or executable bytes are included.

Sources:
- https://github.com/kaustubhxd/ReFreedomFighters
- https://kaustubhxd.github.io/ReFreedomFighters/ (linked from the README, not read)

## What the commit history shows

29 of 38 commits in the public repository credit an AI, over 8 days between 2026-10-13 and 2026-11-09. Credited: Claude Sonnet 5.5 (29).

Measured by this site from public git history.

## Questions about Freedom Fighters (PC, 2003, Glacier 1 engine)

### What is the Freedom Fighters (PC, 2003, Glacier 1 engine) project?

kaustubhxd documents the file formats of Freedom Fighters and ports its functions to C++ checked against the original, with help from Claude, while porting the game to the browser. It is listed under Games and mods for Windows PC to web browser.

### Which AI model was used on Freedom Fighters (PC, 2003, Glacier 1 engine)?

The entry names Claude Sonnet 5.5. The tools named alongside are Claude Code.

### Did the AI reverse engineering of Freedom Fighters (PC, 2003, Glacier 1 engine) work?

Its author reports that it partly works. Checks recorded: source available yes.

### Is the source code for Freedom Fighters (PC, 2003, Glacier 1 engine) available?

Yes. The code, patches or tooling are public: https://github.com/kaustubhxd/ReFreedomFighters.

## Sources

- [Repository](https://github.com/kaustubhxd/ReFreedomFighters)
- [Write-up](https://kaustubhxd.github.io/ReFreedomFighters/)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: kaustubhxd (2026). Decoded Freedom Fighters file formats and ported 12,202 functions to verified C++ for a browser port, with Claude. Reversed with AI. https://reversedwithai.com/p/freedom-fighters-pc-formats-decomp-claude
