Saints Row (2006) - Notes on Changing Character Models

Hi, all.

I hope all of you modders and players in the Row are staying well. I've decided to publish this thread with my notes (also included alongside the readme.txt files in the mods that I publish that change the player's character model) to make sure they are accessible to everyone. The notes below are what I've written down. They aren't too well-articulated, but all of the info is there, minus the caps, etc. Everything below that has been written in bold text is identical to what I've included in the "sr1 notes about changing character models.txt" file that I've included with some of my mods (any of the ones that change the player's character model in any way). Give 'em a read. Spread 'em around. Do what you have to do.

**originally created 21/10/2023, converted to .txt format so one can easily view it out of the box via Notepad.

21/10/2023;

notes by Jacob_MP/Modder's Playground: https://www.youtube.com/@moddersplayground https://twitter.com/ModdersPlaygro1

***for the xenia emulated version of this game
Saints Row (2006), changing character models

more specifically, replacing the player's original character model so it would appear as if they are playing as another in-game character (i.e. julius, johnny gat, etc.)

ditched the caps and other stuff in these notes as i had to scrawl this down asap

textures often not preloaded (scripted to appear; the game remembers them to make them appear) for character models when they're modded to replace the player's character model.

i.e. if the player is using julius' or johnny gat's character model instead of their own, then the textures for the replacement character model will not appear until the player is on a mission when said textures are preloaded (i.e. in this case, if julius or johnny gat appears at all in this mission, besides cutscenes - in the case of such characters appearing in only a cutscene, the necessary character model textures will only be preloaded for that cutscene)

tried editing peg (texture) files, the .xml files inside of said peg files and even replacing/renaming textures to fit those of the playa and the character model that i wanna play as. even tried copying and pasting textures from other character models into the player's peg file, replacing said peg file with another character model's peg file and renaming it so the game reads this new peg file as the player's, but to no avail (the game gets stuck in an infinite loading loop, regardless of whether i start a new game or load an existing one)

replacing pc_body.cmesh file with another one will make the player play as another in-game character. some cmesh character models have two parts to accommodate for different pedestrian variants (i.e. the white, blonde-haired business woman in the downtown districts is one example i can recall; different clothing options may appear on this character model, like many other peds in-game)
**done only in the misc2 folder

also, if the player is playing as a different in-game character, make sure to remove any instances or code where the player is forced to wear different clothing in the 3rd street vice kings mission by editing the vk06a.lua file in misc (not present in misc2); this prevents the player from being stuck in an infinite loading screen upon completing, failing or cancelling the mission. ***ALREADY PACKAGED IN THE ATTACHED MOD

extracted files for this game using the phantasy row sdk (software development kit): https://www.saintsrowmods.com/forum...mod-manager-patch-system-user-friendly.20220/

**if phantasy row sdk gets removed from saintsrowmods.com then try looking up "phantasy row sdk" or any other modding/extraction/repacking tools on this site

more sr1 modding info for beginners (credits to flippy/flipster/sr1gigachad):

possible solutions regarding texture preloading problem;

1) edit each individual mission file (.lua) to somehow make the character model that the player is using get loaded into the game (preferably out of sight and/or out of reach) so the player doesn't have to run around with a character model with no textures applied to it. also somehow get said character model loaded into free roam and activities.

OR

2) have the player's desired character model loaded into the in-game world at all times so the necessary character model textures are preloaded into the game, regardless of whether or not the player is on a mission or activity.

.xbtl and .lua files were checked through, with a few .cts (cutscene) files checked here and there

hope this helps any modders out there :)

I hope they help you out, regardless of whether you're a modder or a curious fan of the Saints Row games. I've also attached the original .txt file to this thread, incase that's any help. I've been sitting on this for a good while and there's more that's yet to come.

Until then, stay classy!

Jacob_MP.

CabooseSayzWTF (14/05/2024):

"If you want to fix the free roam texture issue, you can just take any texture that isn't loading right, extract it, and add it to the always_loaded.peg file in pegfiles, take the texture entries from the peg xml file and add the entries into the peg xml file for always loaded. You'll have to do that for any texture that isn't loading right. Example, most of johnny working via free-roam non mission and non ringing johnny up to be in the world. I just got home and got most of johnny working in about 3 mins. I can't guarantee this to always work, johnny here has broken shoe texture and I think belt texture, and the gold chain may be slightly meh but anyways maybe this will help you for future reference. if you don't want to do that, you can also just place the NPC in the world in a cts file such as sr_city.cts and set up a human spawn for it outside the map and give it the invulnerable flag and enable respawn flag (just be sure to set the stream load distance very very far), which does work also however cutscenes will most likely ignore the manually placed ped."
 

Attachments

  • sr1 notes about changing character models.txt
    3.8 KB · Views: 13
  • sr1 notes about changing character models (UPDATED 2024).txt
    4.9 KB · Views: 9
Last edited:
Back
Top