RF:G Editing Main Page

This will serve as a landing page for all resources related to Red Faction: Guerrilla editing, including both the original Steam Edition and the Re-Mars-tered Edition.

Community

 * Faction Files Community Discord - Active Red Faction series community Discord with #map-mod-development channel for community development discussion

Downloads

 * FactionFiles.com - Custom mods, tools, patches, and reference material
 * Nexus Mods - Custom mods
 * Nexus Mods Re-Mars-tered - Custom mods

Documentation

 * RF:G Map organization

Core Concepts

 * Red Faction: Guerrilla's level editor is CLOE, which is not publicly available.

Red Faction: Guerrilla File Formats

 * - XML table files are used to store properties or attributes in Red Faction: Guerrilla. Overall, their function is similar to the  files of Red Faction and Red Faction II.
 * - Internal script engine file, commonly used for missions and activities
 * - Weather/lighting file for maps that controls things like fog, tint, ambient colour, eye adaption, bloom, cloud color and speed
 * - Skybox file for maps that controls things like the sun texture, moon positions and if the horizon mountain texture is enabled
 * - Packfile
 * - Rig
 * - Texture Packfile
 * - Map zone
 * - Map zone
 * - Texture cpu file
 * - Texture gpu file
 * - Streaming index
 * - Static mesh cpu file
 * - Static mesh gpu file
 * - Character mesh cpu file
 * - Character mesh gpu file
 * - Vehicle mesh cpu file
 * - Vehicle mesh gpu file
 * - Animation
 * - Destructible object cpu file
 * - Destructible object gpu file
 * - Visual effect cpu file
 * - Visual effect gpu file
 * - Foliage mesh
 * - Terrain clutter mesh cpu file
 * - Terrain clutter mesh gpu file
 * - Terrain zone cpu file
 * - Terrain zone gpu file
 * - Terrain subzone cpu file
 * - Terrain subzone gpu file
 * - Fullscreen map data
 * - Shader
 * - Steam localization strings
 * - Localization strings
 * - Render material
 * - Animation Morph
 * - UI
 * - Cloth sim
 * - Sound config
 * - Soundbank
 * - Wavebank
 * - Audio categories
 * - Font

Red Faction: Guerrilla File Structure
\Red Faction Guerrilla Re-MARS-tered\data\

The two most important files for modding most of RF:G are  &


 * - contains textures for singleplayer activities
 * - contains animation files
 * - unknown use however contains  files and seems to be related to the   file
 * - contains cloth simulation files
 * - contains decal textures
 * - singleplayer DLC map
 * - similar to  but for the singleplayer DLC map
 * - contains textures for singleplayer DLC activities
 * - contains animation files for singleplayer DLC
 * - contains cloth simulation files for singleplayer DLC
 * - contains visual effect files for singleplayer DLC, some are
 * - contains textures and meshes for characters in singleplayer DLC
 * - contains textures for loading screens in singleplayer DLC
 * - contains textures and meshes for weapons, character props and misc objects in singleplayer DLC
 * - contains  files, the   file and two   files for singleplayer DLC
 * - contains textures related to singleplayer DLC missions
 * - contains textures and meshes for singleplayer DLC vehicles
 * - contains textures for loading screens for multiplayer DLC
 * - contains textures for loading screens for wrecking crew DLC
 * - contains visual effect files, some are
 * - contains multiplayer only visual effect files, some are
 * - contains textures and meshes for characters in both singleplayer and multiplayer
 * - contains textures for loading screens in both SP and MP and character portraits in multiplayer
 * - contains textures and meshes for weapons, character props and misc objects in both singleplayer & multiplayer
 * - contains multiplayer only textures and meshes
 * contains  files and most other file types
 * - contains textures for singleplayer missions
 * - contains textures shared between multiplayer maps
 * - multiplayer maps, excluding
 * - contains textures for the skybox like the clouds
 * - contains only  files and will overwrite   files in
 * - singleplayer map
 * - similar to  but for the singleplayer map
 * - contains textures and meshes for singleplayer vehicles
 * - wrecking crew maps
 * - contains  and   files for singleplayer DLC map
 * - contains  and   files for singleplayer map
 * - pre-rendered custscenes
 * - contains textures for the skybox like the clouds
 * - contains only  files and will overwrite   files in
 * - singleplayer map
 * - similar to  but for the singleplayer map
 * - contains textures and meshes for singleplayer vehicles
 * - wrecking crew maps
 * - contains  and   files for singleplayer DLC map
 * - contains  and   files for singleplayer map
 * - pre-rendered custscenes
 * - contains textures for the skybox like the clouds
 * - contains only  files and will overwrite   files in
 * - singleplayer map
 * - similar to  but for the singleplayer map
 * - contains textures and meshes for singleplayer vehicles
 * - wrecking crew maps
 * - contains  and   files for singleplayer DLC map
 * - contains  and   files for singleplayer map
 * - pre-rendered custscenes
 * - wrecking crew maps
 * - contains  and   files for singleplayer DLC map
 * - contains  and   files for singleplayer map
 * - pre-rendered custscenes
 * - wrecking crew maps
 * - contains  and   files for singleplayer DLC map
 * - contains  and   files for singleplayer map
 * - pre-rendered custscenes
 * - contains  and   files for singleplayer map
 * - pre-rendered custscenes

Scriptx Functions

 * .scriptx functions

Red Faction: Guerrilla Tools

 * RfgUtil - Used for unpacking most file formats and updating  files
 * Nanoforge C++ - Map editor, texture editor,  editor and more
 * mTools - Drag and drop tool to convert  files to XML and vice versa
 * RSL - Script Loader
 * AsmTool- WIP Tool for modifying  files used by Red Faction Guerrilla. This is meant to replace hand editing them, which is very error prone and tedious
 * SyncFaction - WIP tool for automatically installing the Terraform Patch and eventually replacing the old mod manager
 * xdelta UI - GUI for generating  (binary) patches
 * XML Validator - Use this to validate  edits, any mistakes you make will crash the game
 * XML Formatter - Use this to format  files so they are easier to read
 * Mod Manager Re-mars-tered v1.03 - Legacy mod manager
 * Volition Table File Editor - GUI for editing  files
 * LUA Validator - Useful for validating RSL scripts for errors, note it's safe to ignore

Useful Software

 * Voidtools Everything - Locate files and folders by name instantly
 * Agent Ransack - Bulk search for keywords within unpacked files

Tutorials

 * Nanoforge basics - Introduction to Nanoforge and its features.
 * Nanoforge xtbl editing - How to edit .xtbl files in Nanoforge.
 * Nanoforge Texture Editing - How to edit textures using Nanoforge.