/raw
- Smart Replacement
/raw
basics
The /raw
folder allows you to directly modify files by just their name alone. RageMP uses a smart detection system to scan the game files to find a match of the file, and switches it out with the file you've supplied.
Simply, it enables you to just put files into the /raw
folder like this:
- mp_heist3_tat_014.ytd
- mp_sum2_tat_049.ytd
- mp_fm_body_hair_003.ytd
If RageMP detects a match, the file within the game will be replaced. In the above example, we've targeted a few different tattoos and a body hair file. This switches out the textures with the ones you've supplied.
You can do this with most uniquely named files. Here's another example of replacing the Fugitive and Nemesis vehicle models:
- fugitive.yft
- fugitive.ytd
- fugitive_hi.yft
- nemesis.yft
- nemesis.ytd
- nemesis_hi.yft
/raw
folder + filename
Some game files have names that are not unique. In these cases, you can include a named folder to target the files in that folder.
Here's an example of replacing the Tracy DiSanto and Franklin (player_one) textures using /raw
:
- ig_tracydisanto
- player_one
(click folders to view files)
/raw
can also be used on not just original GTA V content, but also on your add-on mods.
Here's an example with the popular mpclothes add-on clothing mod. Notice how many of the files share the same name? With this method, you can directly inject content into the add-on dlcpack without needing to edit it with OpenIV.
- mp_m_freemode_01_mp_m_clothes_01
- mp_m_freemode_01_p_mp_m_clothes_01
- mp_f_freemode_01_mp_f_clothes_01
- mp_f_freemode_01_p_mp_f_clothes_01
(click folders to view files)
/raw
does not always work
/raw
cannot target every file reliably. Sometimes there are duplicate copies of files in the original game and /raw
may target the wrong file.
When /raw
does not work for you, you should replace files instead.