This was a hastily put together project exploring modifying Trackmania Nations Forever
(TMNF) at runtime using C#. TMNF is an enjoyable modding / reverse engineering experience due to the available debug symbols (TmForever.map
).
There probably wont be any more development on this, but hopefully it will be a useful resource to those getting into modding the game.
See technical information, other projects, and official download links.
Load .NET into TmForever, hook functions, access game state.
ModTest.cs simulates the input of the active replay file (respawn events aren't handled).
- Build
ModTMNF.sln
with Visual Studio or by runningBuild.bat
. - Build
ModTMNF_ManagedLoader.cpp
(see the readme). - Copy the
ModTMNF
folder from theBuild
folder into yourTmNationsForever
folder. - Run
ModTMNF.exe
to launch the game.