[PC] Saints Row IV (Character Models Only)
-
howfie
- double-veteran

- Posts: 929
- Joined: Fri Jul 08, 2011 12:06 pm
- Location: Torrance, CA
- Has thanked: 10 times
- Been thanked: 273 times
[PC] Saints Row IV (Character Models Only)
Same shit different day; you know the drill.
Sorry, too lazy to upload pic or instructions; I've been sick for a month and antibiotics made me worse and now I gotta go see doc again.
Bones + weights; sorry, no morphs, as I can't figure out the morph format.
If you want to help me decode the morph format, more information is located here, where I asked the developers if they could give me hints on the morph format but no luck. Positions are stored as shorts and every fixed-point format I could think of didn't work.
Sorry, too lazy to upload pic or instructions; I've been sick for a month and antibiotics made me worse and now I gotta go see doc again.
Bones + weights; sorry, no morphs, as I can't figure out the morph format.
If you want to help me decode the morph format, more information is located here, where I asked the developers if they could give me hints on the morph format but no luck. Positions are stored as shorts and every fixed-point format I could think of didn't work.
You do not have the required permissions to view the files attached to this post.
-
Szkaradek123
- mega-veteran

- Posts: 292
- Joined: Wed May 05, 2010 8:21 pm
- Location: Poland Głogów
- Has thanked: 21 times
- Been thanked: 735 times
Re: [PC] Saints Row IV (Character Models Only)
File "npc_basehead.ccmesh_pc" is for base head mesh.
Cmorph_pc file has new vertex position of base head mesh by adding dx,dy,dz for each vertex from base head mesh,
where:
dx = uint16 * 2^scale
dy = uint16 * 2^scale
dz = uint16 * 2^scale
scale = -20,-21,sometimes -22
so dx,dy,dz are very small.
Here is example for playing with scale for saints_female_shaundifuture head.
http://www.mediafire.com/view/so89kvbo9 ... future.jpg
cmorph_pc importer for Blender249:
Update: 2014-09-13
http://www.mediafire.com/download/ahf1j ... 9-13%5D.7z
How use:
-install Blender 249 and Python 26
-unpack importer
-click Blender249.blend
-in Text Window press alt+p and select:
cmesh_pc for skinned mesh with skeleton
cmorph_pc for shape morph
If something wrong, please send me console error or file.
After importing it must manual set scale,position and rotation for head mesh.
Cmorph_pc file has new vertex position of base head mesh by adding dx,dy,dz for each vertex from base head mesh,
where:
dx = uint16 * 2^scale
dy = uint16 * 2^scale
dz = uint16 * 2^scale
scale = -20,-21,sometimes -22
so dx,dy,dz are very small.
Here is example for playing with scale for saints_female_shaundifuture head.
http://www.mediafire.com/view/so89kvbo9 ... future.jpg
cmorph_pc importer for Blender249:
Update: 2014-09-13
http://www.mediafire.com/download/ahf1j ... 9-13%5D.7z
How use:
-install Blender 249 and Python 26
-unpack importer
-click Blender249.blend
-in Text Window press alt+p and select:
cmesh_pc for skinned mesh with skeleton
cmorph_pc for shape morph
If something wrong, please send me console error or file.
After importing it must manual set scale,position and rotation for head mesh.
Last edited by Szkaradek123 on Sat Sep 13, 2014 7:20 pm, edited 2 times in total.
-
RoxasKennedy
- beginner
- Posts: 21
- Joined: Tue May 17, 2011 11:39 am
- Has thanked: 7 times
- Been thanked: 5 times
Re: [PC] Saints Row IV (Character Models Only)
You need to have the Python Imaging Library installed for this script to work
You can download it here: http://www.pythonware.com/products/pil/ (there is a version for Python 2.6)
You can download it here: http://www.pythonware.com/products/pil/ (there is a version for Python 2.6)
-
RoxasKennedy
- beginner
- Posts: 21
- Joined: Tue May 17, 2011 11:39 am
- Has thanked: 7 times
- Been thanked: 5 times
Re: [PC] Saints Row IV (Character Models Only)
I tried the importer, and it works great, but for some reason it imports female morphed heads even for male characters.
-
Szkaradek123
- mega-veteran

- Posts: 292
- Joined: Wed May 05, 2010 8:21 pm
- Location: Poland Głogów
- Has thanked: 21 times
- Been thanked: 735 times
Re: [PC] Saints Row IV (Character Models Only)
Importer use only one base mesh - npc_basehead.ccmesh_pc file
Maybe there is another base head?
Please import as first npc_basehead.ccmesh_pc from importer folder, and then cmorph file .
if no difference between two meshes it fault my script, else try to change value SCALE=21 at the beginning of the script.
What model did you import?
here are some heads from game
http://www.mediafire.com/download/cv85a ... /heads.zip
Maybe there is another base head?
Please import as first npc_basehead.ccmesh_pc from importer folder, and then cmorph file .
if no difference between two meshes it fault my script, else try to change value SCALE=21 at the beginning of the script.
What model did you import?
here are some heads from game
http://www.mediafire.com/download/cv85a ... /heads.zip
-
RoxasKennedy
- beginner
- Posts: 21
- Joined: Tue May 17, 2011 11:39 am
- Has thanked: 7 times
- Been thanked: 5 times
Re: [PC] Saints Row IV (Character Models Only)
Changing the size to 20 worked on the model I tried to import. XD
I guess you have to change sizes on SOME models, because other sizes give a wrong head shape.
Thanks once again
I guess you have to change sizes on SOME models, because other sizes give a wrong head shape.
Thanks once again
Re: [PC] Saints Row IV (Character Models Only)
Hi Guys, I'm bumping this topic just in the hope of finding an answer to my questions about the morph files for saints row III. I know they have a similar setup as SRIV because I have managed to get it working. What I don't get though is where these scale values for X Y and Z are located. I cannot find them anywhere in the character files. Not the CCMESH, GCMESH, morph file or even the rig file. They just seem to be hidden somewhere out of sight. Does anyone know where I could possible find them?
I've been working on an import script for 3ds max, and I've come a long way. But these morph values are giving me a headache!
For my work, check out this topic:
https://www.saintsrowmods.com/forum/thr ... rmat.1020/
I've been working on an import script for 3ds max, and I've come a long way. But these morph values are giving me a headache!
For my work, check out this topic:
https://www.saintsrowmods.com/forum/thr ... rmat.1020/
-
Doctor Loboto
- mega-veteran

- Posts: 213
- Joined: Mon Oct 06, 2008 2:52 am
- Has thanked: 21 times
- Been thanked: 3 times
Re: [PC] Saints Row IV (Character Models Only)
I'm having some trouble with a specific mesh. It's bizarre, most other meshes I have work with this blender script, but this one causes a 'memory error' when I try to import it. It's the only one I've seen that does it so far. https://www.dropbox.com/s/iuso58umanejl ... s.zip?dl=0
Re: [PC] Saints Row IV (Character Models Only)
Is there some way to get in Blender the "surface" geometry, not only matcap?
- Tosyk
- double-veteran

- Posts: 1007
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 254 times
- Been thanked: 131 times
- Contact:
Re: [PC] Saints Row IV (Character Models Only)
hi, can you look into this files of SR3 Remastered?Szkaradek123 wrote: ↑Fri Sep 12, 2014 7:00 pm File "npc_basehead.ccmesh_pc" is for base head mesh.
Cmorph_pc file has new vertex position of base head mesh by adding dx,dy,dz for each vertex from base head mesh,
where:
<...>
https://drive.google.com/drive/folders/ ... sp=sharing


