Nanoforge
A modding tool and file viewer for Red Faction Guerrilla.
Releases • Features • Screenshots • Build instructions
Nanoforge is a modding tool for the game Red Faction Guerilla. Its goals are to make RFG modding easier and less error prone, and to provide tooling for all of its file formats. See releases to download the most recent version. See the RF wiki for Nanoforge and RFG modding tutorials.
Features
- Map viewing. Loads terrain and object data for a map. Draws object bounding boxes.
- Mesh viewing and export for some RFG mesh formats. Auto locates textures.
- Texture viewing, exporting, and re-importing.
- Xtbl editing via a user interface with tooltips and data validation.
- Automatic mod manager mod generation based on edits.
Screenshots
Nanoforge can view and export RFG meshes as obj files.
Nanoforge can view and export textures, plus re-import them back into the game.
Build instructions
Follow these steps to build Nanoforge from source. Prebuilt versions are available in Releases.
Requirements
To build Nanoforge from source you'll need these programs:
- Visual Studio 2019 with C++ Cmake tools - If you already installed VS2019 and didn't check the CMake option you can install it by clicking
Tools > Get Tools and Features
, then checking "C++ Cmake tools for Windows" in the Individual Components tab of the installer. - Git - For downloading dependencies.
Steps
- Clone the repo with
git clone https://github.com/Moneyl/Nanoforge.git
cd
into the directory you cloned the repo to then download the dependencies withgit submodule update --init --recursive
- Open the project in VS2019 by right clicking the folder you cloned it in and selecting "Open in Visual Studio". Alternatively select the folder with
File > Open > Folder...
in VS2019. - Build the project with
Build > Build Nanoforge.exe
(Ctrl + B). Make sure Nanoforge.exe is selected as the build target. The first time opening the project you might need to wait for CMake config to finish before the option becomes available. I recommend using the "x64-RelWithDebInfo" build option since it'll be optimized but still have some debug info so you can use the debugger. Nanoforge is very slow when built with the normal debug option. - Once it's done building you can run it with the debugger attached using F5 or without using Ctrl + F5.