# tmuf_physics: reconstructing TrackMania Forever physics

> tmuf_physics is a C library that reads installed TrackMania Nations and United Forever data to simulate vehicle physics and race rules. It offers reference and optimized backends, reads and writes replays, and includes pack-format findings. The author reports tick-for-tick agreement with the game on 11,758 replays.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/Teero888/tmuf_physics>
- Primary source: <https://github.com/Teero888/tmuf_physics/blob/9227640bc0089ad61c980a8ccf8caf8ee03e40c7/README.md>
- Catalog page: <https://awesomerea.org/resources/tmuf-physics-case/>
- Record JSON: <https://awesomerea.org/resources/tmuf-physics-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/tmuf-physics-case/index.md)

## Requirements & limits

- TrackMania United Forever Packs directory, C11 compiler and CMake 3.18+.
- Do not use -ffast-math or FMA contraction.
- AGPL-3.0.

## Primary sources

1. <https://github.com/Teero888/tmuf_physics/blob/9227640bc0089ad61c980a8ccf8caf8ee03e40c7/README.md>
2. <https://github.com/Teero888/tmuf_physics/blob/9227640bc0089ad61c980a8ccf8caf8ee03e40c7/docs/pack-format.md>

## More in Games

- [ToeJam & Earl: an incomplete REV 02 Genesis disassembly](https://awesomerea.org/resources/toejam-earl-disasm-case/index.md) · Case study
- [Touhou reconstructions: an agent-driven method across three games](https://awesomerea.org/resources/rea-touhou-reconstruction-method-case/index.md) · Case study
- [tpp-server-emulator: a Metal Gear Solid V backend reconstruction](https://awesomerea.org/resources/tpp-server-emulator-case/index.md) · Case study
- [Trashman: a SkoolKit disassembly of the ZX Spectrum game](https://awesomerea.org/resources/trashman-disassembly-case/index.md) · Case study
- [Twin Cobra: partial Sega Genesis disassembly and scaling analysis](https://awesomerea.org/resources/twin-cobra-disassembly-case/index.md) · Case study
- [Twisted Metal (2012) — PS3 Native PC Port: research on a Windows port](https://awesomerea.org/resources/twisted-metal-2012-research/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
