RF:G Editing Main Page: Difference between revisions
Line 65: | Line 65: | ||
The two most important files for modding most of RF:G are <code>misc.vpp_pc</code> & <code>table.vpp_pc</code> | The two most important files for modding most of RF:G are <code>misc.vpp_pc</code> & <code>table.vpp_pc</code> | ||
* <code>activities.vpp_pc</code> contains textures | * <code>activities.vpp_pc</code> - contains textures for singleplayer activities | ||
* <code>anims.vpp_pc</code> contains animation files | * <code>anims.vpp_pc</code> - contains animation files | ||
* <code>chunks.vpp_pc</code> unknown use however contains <code>.rfgchunkx</code> files | * <code>chunks.vpp_pc</code> - unknown use however contains <code>.rfgchunkx</code> files and seems to be related to the <code>preload_chunks.xtbl</code> file | ||
* <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>dlc01_l0.vpp_pc</code> - singleplayer DLC map | ||
* <code>dlc01_l1.vpp_pc</code> | * <code>dlc01_l1.vpp_pc</code> - | ||
* <code>dlc01_precache.vpp_pc</code> similar to <code>mp_common.vpp_pc</code> but for the singleplayer DLC map | * <code>dlc01_precache.vpp_pc</code> - similar to <code>mp_common.vpp_pc</code> but for the singleplayer DLC map | ||
* <code>dlcp01_activities.vpp_pc</code> contains textures | * <code>dlcp01_activities.vpp_pc</code> - contains textures for singleplayer DLC activities | ||
* <code>dlcp01_anims.vpp_pc</code> contains animation files for singleplayer DLC | * <code>dlcp01_anims.vpp_pc</code> - contains animation files for singleplayer DLC | ||
* <code>dlcp01_cloth_sim.vpp_pc</code> contains cloth simulation files for singleplayer DLC | * <code>dlcp01_cloth_sim.vpp_pc</code> - contains cloth simulation files for singleplayer DLC | ||
* <code>dlcp01_effects.vpp_pc</code> contains visual effect files for singleplayer DLC, some are <code>.str2</code> | * <code>dlcp01_effects.vpp_pc</code> - contains visual effect files for singleplayer DLC, some are <code>.str2</code> | ||
* <code>dlcp01_humans.vpp_pc</code> contains textures and meshes for characters in singleplayer DLC | * <code>dlcp01_humans.vpp_pc</code> - contains textures and meshes for characters in singleplayer DLC | ||
* <code>dlcp01_interface.vpp_pc</code> contains textures for loading screens in singleplayer DLC | * <code>dlcp01_interface.vpp_pc</code> - contains textures for loading screens in singleplayer DLC | ||
* <code>dlcp01_items.vpp_pc</code> contains textures and meshes for weapons and misc objects | * <code>dlcp01_items.vpp_pc</code> - contains textures and meshes for weapons, character props and misc objects in singleplayer DLC | ||
* <code>dlc01_misc.vpp_pc</code> contains <code>.rig_pc</code> files, the <code>.fsmib</code> file and two <code>.xtbl</code> files | * <code>dlc01_misc.vpp_pc</code> - contains <code>.rig_pc</code> files, the <code>.fsmib</code> file and two <code>.xtbl</code> files for singleplayer DLC | ||
* <code>dlc01_missions.vpp_pc</code> contains textures related to singleplayer DLC missions | * <code>dlc01_missions.vpp_pc</code> - contains textures related to singleplayer DLC missions | ||
* <code>dlcp01_personas_en_us.vpp_pc</code> | * <code>dlcp01_personas_en_us.vpp_pc</code> - | ||
* <code>dlcp01_vehicles.vpp_pc</code> contains textures and meshes for DLC vehicles | * <code>dlcp01_vehicles.vpp_pc</code> - contains textures and meshes for singleplayer DLC vehicles | ||
* <code>dlcp01_voices_en_us.vpp_pc</code> | * <code>dlcp01_voices_en_us.vpp_pc</code> - | ||
* <code>dlcp02_interface.vpp_pc</code> contains textures for loading screens for multiplayer DLC | * <code>dlcp02_interface.vpp_pc</code> - contains textures for loading screens for multiplayer DLC | ||
* <code>dlcp02_misc.vpp_pc</code> | * <code>dlcp02_misc.vpp_pc</code> - | ||
* <code>dlcp03_interface.vpp_pc</code> contains textures for loading screens for wrecking crew DLC | * <code>dlcp03_interface.vpp_pc</code> - contains textures for loading screens for wrecking crew DLC | ||
* <code>dlcp03_misc.vpp_pc</code> | * <code>dlcp03_misc.vpp_pc</code> - | ||
* <code>effects.vpp_pc</code> contains visual effect files, some are <code>.str2</code> | * <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>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>humans.vpp_pc</code> - contains textures and meshes for characters | ||
* <code>interface.vpp_pc</code> contains textures for loading screens in both SP and MP and character portraits in multiplayer | * <code>interface.vpp_pc</code> - contains textures for loading screens in both SP and MP and character portraits in multiplayer | ||
* <code>items.vpp_pc</code> contains textures and meshes for weapons and misc objects | * <code>items.vpp_pc</code> - contains textures and meshes for weapons, character props and misc objects in both singleplayer & multiplayer | ||
* <code>items_mp.vpp_pc</code> contains multiplayer only textures and meshes | * <code>items_mp.vpp_pc</code> - contains multiplayer only textures and meshes | ||
* <code>misc.vpp_pc</code> contains <code>.xtbl</code> files and | * <code>misc.vpp_pc</code> contains <code>.xtbl</code> files and most other file types | ||
* <code>missions.vpp_pc</code> contains textures | * <code>missions.vpp_pc</code> - contains textures for singleplayer missions | ||
* <code>mp_common.vpp_pc</code> contains textures shared | * <code>mp_common.vpp_pc</code> - contains textures shared between multiplayer maps | ||
* <code>mp_xxx.vpp_pc</code> multiplayer maps, excluding <code>mp_common.vpp_pc</code> | * <code>mp_xxx.vpp_pc</code> - multiplayer maps, excluding <code>mp_common.vpp_pc</code> | ||
* <code>personas_de_de.vpp_pc</code> | * <code>personas_de_de.vpp_pc</code> - | ||
* <code>personas_en_us.vpp_pc</code> | * <code>personas_en_us.vpp_pc</code> - | ||
* <code>personas_es_es.vpp_pc</code> | * <code>personas_es_es.vpp_pc</code> - | ||
* <code>personas_fr_fr.vpp_pc</code> | * <code>personas_fr_fr.vpp_pc</code> - | ||
* <code>personas_it_it.vpp_pc</code> | * <code>personas_it_it.vpp_pc</code> - | ||
* <code>personas_ru_ru.vpp_pc</code> | * <code>personas_ru_ru.vpp_pc</code> - | ||
* <code>rfg_cine_00a.bik_xbox2</code> | * <code>rfg_cine_00a.bik_xbox2</code> - | ||
* <code>rfg_cine_01a.bik_xbox2</code> | * <code>rfg_cine_01a.bik_xbox2</code> - | ||
* <code>rfg_cine_02a.bik_xbox2</code> | * <code>rfg_cine_02a.bik_xbox2</code> - | ||
* <code>rfg_cine_03a.bik_xbox2</code> | * <code>rfg_cine_03a.bik_xbox2</code> - | ||
* <code>rfg_cine_03b.bik_xbox2</code> | * <code>rfg_cine_03b.bik_xbox2</code> - | ||
* <code>rfg_cine_04a.bik_xbox2</code> | * <code>rfg_cine_04a.bik_xbox2</code> - | ||
* <code>rfg_cine_05a.bik_xbox2</code> | * <code>rfg_cine_05a.bik_xbox2</code> - | ||
* <code>rfg_cine_06a.bik_xbox2</code> | * <code>rfg_cine_06a.bik_xbox2</code> - | ||
* <code>skybox.vpp_pc</code> contains textures | * <code>skybox.vpp_pc</code> - contains textures for the skybox like the clouds | ||
* <code>sounds.vpp_pc</code> | * <code>sounds.vpp_pc</code> - | ||
* <code>steam.vpp_pc</code> | * <code>steam.vpp_pc</code> - | ||
* <code>table.vpp_pc</code> contains only <code>.xtbl</code> files and will overwrite <code>.xtbl</code> files in <code>misc.vpp_pc</code> | * <code>table.vpp_pc</code> - contains only <code>.xtbl</code> files and will overwrite <code>.xtbl</code> files in <code>misc.vpp_pc</code> | ||
* <code>terr01_l0.vpp_pc</code> singleplayer map | * <code>terr01_l0.vpp_pc</code> - singleplayer map | ||
* <code>terr01_l1.vpp_pc</code> | * <code>terr01_l1.vpp_pc</code> - | ||
* <code>terr01_precache.vpp_pc</code> similar to <code>mp_common.vpp_pc</code> but for the singleplayer map | * <code>terr01_precache.vpp_pc</code> - similar to <code>mp_common.vpp_pc</code> but for the singleplayer map | ||
* <code>vehicles_r.vpp_pc</code> contains textures and meshes for vehicles | * <code>vehicles_r.vpp_pc</code> - contains textures and meshes for singleplayer vehicles | ||
* <code>voices_de_de.vpp_pc</code> | * <code>voices_de_de.vpp_pc</code> - | ||
* <code>voices_en_us.vpp_pc</code> | * <code>voices_en_us.vpp_pc</code> - | ||
* <code>voices_es_es.vpp_pc</code> | * <code>voices_es_es.vpp_pc</code> - | ||
* <code>voices_fr_fr.vpp_pc</code> | * <code>voices_fr_fr.vpp_pc</code> - | ||
* <code>voices_it_it.vpp_pc</code> | * <code>voices_it_it.vpp_pc</code> - | ||
* <code>voices_ru_ru.vpp_pc</code> | * <code>voices_ru_ru.vpp_pc</code> - | ||
* <code>wcxxx.vpp_c</code> wrecking crew maps | * <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 | * <code>zonescript_dlc01.vpp_pc</code> - contains <code>.scriptx</code> and <code>.rfgzone_pc</code> files for singleplayer DLC map | ||
* <code>zonescript_terr01.vpp_pc</code> contains <code>.scriptx</code> and <code>.rfgzone_pc</code> files for | * <code>zonescript_terr01.vpp_pc</code> - contains <code>.scriptx</code> and <code>.rfgzone_pc</code> files for singleplayer map | ||
* <code>xxx.bik</code> pre-rendered custscenes | * <code>xxx.bik</code> - pre-rendered custscenes | ||
===Red Faction: Guerrilla Tools=== | ===Red Faction: Guerrilla Tools=== |
Revision as of 03:16, 2 March 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\
The two most important files for modding most of RF:G are misc.vpp_pc
& table.vpp_pc
activities.vpp_pc
- contains textures for singleplayer activitiesanims.vpp_pc
- contains animation fileschunks.vpp_pc
- unknown use however contains.rfgchunkx
files and seems to be related to thepreload_chunks.xtbl
filecloth_sim.vpp_pc
- contains cloth simulation filesdecals.vpp_pc
- contains decal texturesdlc01_l0.vpp_pc
- singleplayer DLC mapdlc01_l1.vpp_pc
-dlc01_precache.vpp_pc
- similar tomp_common.vpp_pc
but for the singleplayer DLC mapdlcp01_activities.vpp_pc
- contains textures for singleplayer DLC activitiesdlcp01_anims.vpp_pc
- contains animation files for singleplayer DLCdlcp01_cloth_sim.vpp_pc
- contains cloth simulation files for singleplayer DLCdlcp01_effects.vpp_pc
- contains visual effect files for singleplayer DLC, some are.str2
dlcp01_humans.vpp_pc
- contains textures and meshes for characters in singleplayer DLCdlcp01_interface.vpp_pc
- contains textures for loading screens in singleplayer DLCdlcp01_items.vpp_pc
- contains textures and meshes for weapons, character props and misc objects in singleplayer DLCdlc01_misc.vpp_pc
- contains.rig_pc
files, the.fsmib
file and two.xtbl
files for singleplayer DLCdlc01_missions.vpp_pc
- contains textures related to singleplayer DLC missionsdlcp01_personas_en_us.vpp_pc
-dlcp01_vehicles.vpp_pc
- contains textures and meshes for singleplayer DLC vehiclesdlcp01_voices_en_us.vpp_pc
-dlcp02_interface.vpp_pc
- contains textures for loading screens for multiplayer DLCdlcp02_misc.vpp_pc
-dlcp03_interface.vpp_pc
- contains textures for loading screens for wrecking crew DLCdlcp03_misc.vpp_pc
-effects.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 in both SP and MP and character portraits in multiplayeritems.vpp_pc
- contains textures and meshes for weapons, character props and misc objects in both singleplayer & multiplayeritems_mp.vpp_pc
- contains multiplayer only textures and meshesmisc.vpp_pc
contains.xtbl
files and most other file typesmissions.vpp_pc
- contains textures for singleplayer missionsmp_common.vpp_pc
- contains textures shared between multiplayer mapsmp_xxx.vpp_pc
- multiplayer maps, excludingmp_common.vpp_pc
personas_de_de.vpp_pc
-personas_en_us.vpp_pc
-personas_es_es.vpp_pc
-personas_fr_fr.vpp_pc
-personas_it_it.vpp_pc
-personas_ru_ru.vpp_pc
-rfg_cine_00a.bik_xbox2
-rfg_cine_01a.bik_xbox2
-rfg_cine_02a.bik_xbox2
-rfg_cine_03a.bik_xbox2
-rfg_cine_03b.bik_xbox2
-rfg_cine_04a.bik_xbox2
-rfg_cine_05a.bik_xbox2
-rfg_cine_06a.bik_xbox2
-skybox.vpp_pc
- contains textures for the skybox like the cloudssounds.vpp_pc
-steam.vpp_pc
-table.vpp_pc
- contains only.xtbl
files and will overwrite.xtbl
files inmisc.vpp_pc
terr01_l0.vpp_pc
- singleplayer mapterr01_l1.vpp_pc
-terr01_precache.vpp_pc
- similar tomp_common.vpp_pc
but for the singleplayer mapvehicles_r.vpp_pc
- contains textures and meshes for singleplayer vehiclesvoices_de_de.vpp_pc
-voices_en_us.vpp_pc
-voices_es_es.vpp_pc
-voices_fr_fr.vpp_pc
-voices_it_it.vpp_pc
-voices_ru_ru.vpp_pc
-wcxxx.vpp_c
- wrecking crew mapszonescript_dlc01.vpp_pc
- contains.scriptx
and.rfgzone_pc
files for singleplayer DLC mapzonescript_terr01.vpp_pc
- contains.scriptx
and.rfgzone_pc
files for singleplayer mapxxx.bik
- pre-rendered custscenes
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
- xdelta UI - GUI for generating
.xdelta
(binary) patches - XML Validator - Use this to validate
.xtbl
edits, any mistakes you make will crash the game - XML Formatter - Use this to format
.xtbl
files so they are easier to read - Mod Manager Re-mars-tered v1.03 - Legacy mod manager
- Volition Table File Editor - GUI for editing
.xtbl
files - LUA Validator - Useful for validating RSL scripts for errors, note it's safe to ignore
lua5.3: Main.lua:252: attempt to index a nil value (global 'rfg')
Useful Software
- Voidtools Everything - Locate files and folders by name instantly
- Agent Ransack - Bulk search for keywords within unpacked files
Scriptx Functions
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.