RF:G Editing Main Page: Difference between revisions
| Line 95: | Line 95: | ||
* <code>items.vpp_pc</code> contains textures and meshes for weapons and misc objects found in singleplayer that npcs sometimes use | * <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>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>misc.vpp_pc</code> contains <code>.xtbl</code> 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_common.vpp_pc</code> contains textures shared in multiplayer maps | * <code>mp_common.vpp_pc</code> contains textures shared in multiplayer maps | ||
Revision as of 02:11, 1 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_pccontains textures related to singleplayer activitiesanims.vpp_pccontains animation fileschunks.vpp_pcunknown use however contains.rfgchunkxfilescloth_sim.vpp_pccontains cloth simulation filesdecals.vpp_pccontains decal texturesdlc01_l0.vpp_pcsingleplayer DLC mapdlc01_l1.vpp_pcunknowndlc01_precache.vpp_pcsimilar to mp_common.vpp_pc but for the singleplayer DLC mapdlcp01_activities.vpp_pccontains textures related to singleplayer DLC activitiesdlcp01_anims.vpp_pccontains animation files for singleplayer DLCdlcp01_cloth_sim.vpp_pccontains cloth simulation files for singleplayer DLCdlcp01_effects.vpp_pccontains visual effect files for singleplayer DLC, some are.str2dlcp01_humans.vpp_pccontains textures and meshes for characters in singleplayer DLCdlcp01_interface.vpp_pccontains textures for loading screens in singleplayer DLCdlcp01_items.vpp_pccontains textures and meshes for weapons and misc objects found in singleplayer that npcs sometimes use in singleplayer DLCdlc01_misc.vpp_pccontains.rig_pc, the.fsmibfile and two.xtblfiles related to the singleplayer DLCdlc01_missions.vpp_pccontains textures related to singleplayer DLC missionsdlcp01_personas_en_us.vpp_pcdlcp01_vehicles.vpp_pccontains textures and meshes for DLC vehiclesdlcp01_voices_en_us.vpp_pcdlcp02_interface.vpp_pccontains textures for loading screens for multiplayer DLCdlcp02_misc.vpp_pcunknowndlcp03_interface.vpp_pccontains textures for loading screens for wrecking crew DLCdlcp03_misc.vpp_pcunknowneffects.vpp_pccontains visual effect files, some are.str2effects_mp.vpp_pccontains multiplayer only visual effect files, some are.str2humans.vpp_pccontains textures and meshes for charactersinterface.vpp_pccontains textures for loading screens and character portraits in multiplayeritems.vpp_pccontains textures and meshes for weapons and misc objects found in singleplayer that npcs sometimes useitems_mp.vpp_pccontains multiplayer only textures and meshes; ctf flags for examplemisc.vpp_pccontains.xtblfiles and various other file types.missions.vpp_pccontains textures related to singleplayer missionsmp_common.vpp_pccontains textures shared in multiplayer mapsmp_xxx.vpp_cmultiplayer maps, excludingmp_common.vpp_pcpersonas_de_de.vpp_pcpersonas_en_us.vpp_pcpersonas_es_es.vpp_pcpersonas_fr_fr.vpp_pcpersonas_it_it.vpp_pcpersonas_ru_ru.vpp_pcrfg_cine_00a.bik_xbox2rfg_cine_01a.bik_xbox2rfg_cine_02a.bik_xbox2rfg_cine_03a.bik_xbox2rfg_cine_03b.bik_xbox2rfg_cine_04a.bik_xbox2rfg_cine_05a.bik_xbox2rfg_cine_06a.bik_xbox2skybox.vpp_pccontains textures related to the skybox like the cloudssounds.vpp_pcsteam.vpp_pctable.vpp_pccontains only .xtbl files and will overwrite .xtbl files inmisc.vpp_pcterr01_l0.vpp_pcsingleplayer mapterr01_l1.vpp_pcunknownterr01_precache.vpp_pcsimilar to mp_common.vpp_pc but for the singleplayer mapvehicles_r.vpp_pccontains textures and meshes for vehiclesvoices_de_de.vpp_pcvoices_en_us.vpp_pcvoices_es_es.vpp_pcvoices_fr_fr.vpp_pcvoices_it_it.vpp_pcvoices_ru_ru.vpp_pcwcxxx.vpp_cwrecking crew mapszonescript_dlc01.vpp_pccontains.scriptxand.rfgzone_pcfiles for the singleplayer DLC mapzonescript_terr01.vpp_pccontains.scriptxand.rfgzone_pcfiles for the singleplayer mapxxx.bikpre-rendered custscenes
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.