RF:G Editing Main Page: Difference between revisions
Line 62: | Line 62: | ||
X:\SteamLibrary\steamapps\common\Red Faction Guerrilla Re-MARS-tered\data\ | X:\SteamLibrary\steamapps\common\Red Faction Guerrilla Re-MARS-tered\data\ | ||
* <code>activities.vpp_pc</code> contains textures related to singleplayer activities | * <code>activities.vpp_pc</code> contains textures related to singleplayer activities | ||
* <code>anims.vpp_pc</code> contains animation files | * <code>anims.vpp_pc</code> contains animation files | ||
Line 78: | Line 67: | ||
* <code>cloth_sim.vpp_pc</code> contains cloth simulation files | * <code>cloth_sim.vpp_pc</code> contains cloth simulation files | ||
* <code>decals.vpp_pc</code> contains decal textures | * <code>decals.vpp_pc</code> contains decal textures | ||
* <code>dlc01_l0.vpp_pc</code> singleplayer DLC map | |||
* <code>effects.vpp_pc</code> contains visual effect files, some are <code>.str2</code> | |||
* <code>effects_mp.vpp_pc</code> contains multiplayer only visual effect files, some are <code>.str2</code> | |||
* <code>humans.vpp_pc</code> contains textures and meshes for characters | |||
* <code>interface.vpp_pc</code> contains textures for loading screens and character portraits in multiplayer | |||
* <code>items.vpp_pc</code> contains textures and meshes for weapons and misc objects found in singleplayer that npcs sometimes use | |||
* <code>items_mp.vpp_pc</code> contains multiplayer only textures and meshes; ctf flags for example | |||
* <code>misc.vpp_pc</code> contains.xtbl files and various other file types. | |||
* <code>missions.vpp_pc</code> contains textures related to singleplayer missions | * <code>missions.vpp_pc</code> contains textures related to singleplayer missions | ||
* <code>mp_xxx.vpp_c</code> multiplayer maps, excluding <code>mp_common.vpp_pc</code> | |||
* <code>skybox.vpp_pc</code> contains textures related to the skybox like the clouds | |||
* <code>table.vpp_pc</code> contains only .xtbl files and will overwrite .xtbl files in <code>misc.vpp_pc</code> | |||
* <code>terr01_l0.vpp_pc</code> singleplayer map | |||
* <code>vehicles_r.vpp_pc</code> contains textures and meshes for vehicles | |||
* <code>wcxxx.vpp_c</code> wrecking crew maps | |||
* <code>zonescript_dlc01.vpp_pc</code> contains <code>.scriptx</code> and <code>.rfgzone_pc</code> files for the singleplayer DLC map | * <code>zonescript_dlc01.vpp_pc</code> contains <code>.scriptx</code> and <code>.rfgzone_pc</code> files for the singleplayer DLC map | ||
* <code>zonescript_terr01.vpp_pc</code> contains <code>.scriptx</code> and <code>.rfgzone_pc</code> files for the singleplayer map | * <code>zonescript_terr01.vpp_pc</code> contains <code>.scriptx</code> and <code>.rfgzone_pc</code> files for the singleplayer map | ||
* <code>xxx.bik</code> pre-rendered custscenes | * <code>xxx.bik</code> pre-rendered custscenes | ||
Revision as of 06:10, 28 February 2023
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.
External Links
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
Documentation
Core Concepts
- Red Faction: Guerrilla's level editor is CLOE, which is not publicly available.
Red Faction: Guerrilla File Formats
.xtbl
- XML table files are used to store properties or attributes in Red Faction: Guerrilla. Overall, their function is similar to the .tbl files of Red Faction and Red Faction II..scriptx
- Internal script engine file, commonly used for missions and activities.dtodx
- Weather/lighting file for maps that controls things like fog, tint, ambient colour, eye adaption, bloom, cloud color and speed.gtodx
- Skybox file for maps that controls things like the sun texture, moon positions and if the horizon mountain texture is enabled.vpp_pc
- Packfile.rigx
- Rig.str2_pc
- Texture Packfile.rfgzone_pc
- Map zone.layer_pc
- Map zone.cpeg_pc, cvbm_pc
- Texture cpu file.gpeg_pc, gvbm_pc
- Texture gpu file.asm_pc
- Streaming index.csmesh_pc
- Static mesh cpu file.gsmesh_pc
- Static mesh gpu file.ccmesh_pc
- Character mesh cpu file.gcmesh_pc
- Character mesh gpu file.ccar_pc
- Vehicle mesh cpu file.gcar_pc
- Vehicle mesh gpu file.anim_pc
- Animation.cchk_pc
- Destructible object cpu file.gchk_pc
- Destructible object gpu file.cefct_pc
- Visual effect cpu file.gefct_pc
- Visual effect gpu file.cfmesh_pc
- Foliage mesh.cstch
- Terrain clutter mesh cpu file.gstch
- Terrain clutter mesh gpu file.cterrain_pc
- Terrain zone cpu file.gterrain_pc
- Terrain zone gpu file.ctmesh_pc
- Terrain subzone cpu file.gtmesh_pc
- Terrain subzone gpu file.fsmib
- Fullscreen map data.fxo_kg
- Shader.le_strings
- Steam localization strings.rfglocatext
- Localization strings.mat_pc
- Render material.morph_pc
- Animation Morph.vint_doc
- UI.sim_pc
- Cloth sim.xgs_pc
- Sound config.xsb_pc
- Soundbank.xwb_pc
- Wavebank.aud_pc
- Audio categories.vf3_pc
- Font.vfdvp_pc
- ?.rfgvp_pc
- ?
Red Faction: Guerrilla File Structure
X:\SteamLibrary\steamapps\common\Red Faction Guerrilla Re-MARS-tered\data\
activities.vpp_pc
contains textures related to singleplayer activitiesanims.vpp_pc
contains animation fileschunks.vpp_pc
unknown use however contains.rfgchunkx
filescloth_sim.vpp_pc
contains cloth simulation filesdecals.vpp_pc
contains decal texturesdlc01_l0.vpp_pc
singleplayer DLC mapeffects.vpp_pc
contains visual effect files, some are.str2
effects_mp.vpp_pc
contains multiplayer only visual effect files, some are.str2
humans.vpp_pc
contains textures and meshes for charactersinterface.vpp_pc
contains textures for loading screens and character portraits in multiplayeritems.vpp_pc
contains textures and meshes for weapons and misc objects found in singleplayer that npcs sometimes useitems_mp.vpp_pc
contains multiplayer only textures and meshes; ctf flags for examplemisc.vpp_pc
contains.xtbl files and various other file types.missions.vpp_pc
contains textures related to singleplayer missionsmp_xxx.vpp_c
multiplayer maps, excludingmp_common.vpp_pc
skybox.vpp_pc
contains textures related to the skybox like the cloudstable.vpp_pc
contains only .xtbl files and will overwrite .xtbl files inmisc.vpp_pc
terr01_l0.vpp_pc
singleplayer mapvehicles_r.vpp_pc
contains textures and meshes for vehicleswcxxx.vpp_c
wrecking crew mapszonescript_dlc01.vpp_pc
contains.scriptx
and.rfgzone_pc
files for the singleplayer DLC mapzonescript_terr01.vpp_pc
contains.scriptx
and.rfgzone_pc
files for the singleplayer mapxxx.bik
pre-rendered custscenes
Primitive data types & limits
- Placeholder
Scriptx Functions
Red Faction: Guerrilla Tools
- RfgUtil - Used for unpacking most file formats and updating asm_pc files
- Nanoforge C++ - Map editor, texture editor, .xtbl editor and more
- mTools - Drag and drop tool to convert .asm_pc files to XML and vice versa
- RSL - Script Loader
- AsmTool- WIP Tool for modifying asm_pc 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
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.