Users browsing this thread: 2 Guest(s)
[TUTORIAL] Ratchet and Clank HD Trilogy
#1
So we finally have an easy way of getting most models from the first three Ratchet games, specifically the PS3's HD collection ports. Sadly, no rigs, but it's better than NinjaRipper so here goes.

This tutorial assumes you have a copy of the game ready on your PC.

For Blender users, I made an add-on (see below) that automates the normal fixing process, which is particularly great for fixing ripped levels and other things that have a lot of mesh objects. Versions for 2.79 and 2.8+. Read the instructions before using for the best experience.

.zip   RaCNFix.zip (Size: 2.49 KB / Downloads: 221)

Part 1 - Prep work
Part 2 - Ripping with Replanetizer
Part 3 - Fixing the model No longer needed in latest Replanetizer versions, but leaving here just in case
Some notes: At the moment, Singleplayer skins and most weapons can't be ripped with Replanetizer. For the singleplayer skins there's another method but the tool to get the textures has a dead link and no mirror. If someone can give me a copy, I'll make a tutorial for the singleplayer skins. I would like to get in touch with the Replanetizer devs to see if exporting models from files that aren't engine.ps3 is possible, but IDK where to find the Ratchet modding discord and GitHub is probably not the place to bother them with feature requests.

Regarding weapons - multiplayer versions of weapons should not be used as a substitute for the singleplayer ones as they are lower poly. If you want to submit them regardless, please put them in their own section ("Weapons (Multiplayer)" or something along those lines). Most of them are from Ratchet 2 anyway haha.

Good luck, and have fun!

EDIT: Latest versions of Replanetizer have some rad new QOL improvements! Normals no longer need to be fixed in most cases (some maps are the exception) so RaCNFix is no longer necessary (though I'll leave it here in case someone finds it useful), Singleplayer skins and weapons can be ripped (note: v2-4 upgrades, the Agents of Dread and the Splitter Rifle still can't be ripped for the same reasons as enemy armours).
Reply
#2
Nice, I've been interested in ripping from the RaC games for a while now so this is a pretty good reference to start with for the original trilogy (at least, on ps3). And just saying, about ripping the skins (armor*.ps3), I've recently managed to rip the models with rigging mostly intact, the only real issue seems to be the armature...

Specifically I've managed to correctly get vertices, vertex normals (although still with the backface issue), uv coordinates, bone indices, and bone weights, but the files don't seem to contain any skeleton data from what I've found. (fun fact about the bone weights, they're stored as single bytes for some reason. if it's 0xFF, it's 1.0, else it's the number divided by 256)

For now I've posted the current version of the scripts on my github (https://github.com/thatrandomlurker-diva...-PS3-Tools), but they're currently a heavy wip and don't work for every file. it should handle most armors at least semi correctly from both rac2 and rac3 though.

[Image: uc?export=download&id=1VSKYbIbOgpbrvKf-K3Zy1lbbrdclUcou]
Reply
Thanked by: Nooga
#3
(05-08-2021, 08:45 AM)Supergamingfan1 Wrote: Nice, I've been interested in ripping from the RaC games for a while now so this is a pretty good reference to start with for the original trilogy (at least, on ps3). And just saying, about ripping the skins (armor*.ps3), I've recently managed to rip the models with rigging mostly intact, the only real issue seems to be the armature...

Specifically I've managed to correctly get vertices, vertex normals (although still with the backface issue), uv coordinates, bone indices, and bone weights, but the files don't seem to contain any skeleton data from what I've found. (fun fact about the bone weights, they're stored as single bytes for some reason. if it's 0xFF, it's 1.0, else it's the number divided by 256)

For now I've posted the current version of the scripts on my github (https://github.com/thatrandomlurker-diva...-PS3-Tools), but they're currently a heavy wip and don't work for every file. it should handle most armors at least semi correctly from both rac2 and rac3 though.

[Image: uc?export=download&id=1VSKYbIbOgpbrvKf-K3Zy1lbbrdclUcou]

Oh that's cool! I know Replanetizer can technically rip with rigging (or at least the skeletons) but that uses the IQE model format, which is barely functional and wholly inferior to collada, which is yet to be implemented. It's awesome that we can get the singleplayer skins now at least. Unfortunately, I tried to use your scripts and none of them seem to install into Blender properly (2.79 and 2.9). Attempting to run the ArmorRipper script gives a syntax error on line 40: m.write(f"newmtl tex{Info['TextureIndex']}\nKa 1.0 1.0 1.0\nKd 1.0 1.0 1.0\nmap_Kd " + file.split('.')[0] + f"_{Info['TextureIndex']}.dds\n").

Are you on the Ratchet and Clank modding discord (aka Game F**kery Inc)? If not, I'm sure they'd greatly enjoy your coding skills and insight there.
Reply
Thanked by:
#4
The ArmorRipper script is meant to run standalone in python 3.8 atm, while the grp import script should be run in blender to import the weights once the model is imported (though the submeshes need to be combined in order of last to first for it to work right, it was more of a hack to simply get it in tbh).
I'll probably rewrite the scripts sometime to directly import everything straight into blender, since the current process is a mess even for me, though it might take a while since i don't really know how to fully use bpy atm.

Also, 
Quote:Are you on the Ratchet and Clank modding discord (aka Game F**kery Inc)? If not, I'm sure they'd greatly enjoy your coding skills and insight there.

I knew there was a RaC modding discord, but couldn't find an invite (probably just didn't look hard enough), i'd be happy if you could send an invite link though!
Reply
Thanked by:
#5
(05-10-2021, 10:22 AM)Supergamingfan1 Wrote: The ArmorRipper script is meant to run standalone in python 3.8 atm, while the grp import script should be run in blender to import the weights once the model is imported (though the submeshes need to be combined in order of last to first for it to work right, it was more of a hack to simply get it in tbh).
I'll probably rewrite the scripts sometime to directly import everything straight into blender, since the current process is a mess even for me, though it might take a while since i don't really know how to fully use bpy atm.

Also, 
Quote:Are you on the Ratchet and Clank modding discord (aka Game F**kery Inc)? If not, I'm sure they'd greatly enjoy your coding skills and insight there.

I knew there was a RaC modding discord, but couldn't find an invite (probably just didn't look hard enough), i'd be happy if you could send an invite link though!

Oh I'm a dummy haha. My only exposure to python is blender addons. That being said, I tried to use your script with Python 3.8 and nothing happened. I had put it in the folder where the armor.ps3 files are and ran it, but alas, nothing.

Here's the discord, you gotta ask a mod for access to the channel in full but they're a friendly bunch: https://discord.gg/KE8G5FA
Reply
Thanked by:
#6
Thanks, i'll join right now
also just to clarify, the specific usage is ArmorRipper.py "name of armor file here"
so to rip say, armor1.ps3, run ArmorRipper.py armor1.ps3, and it should dump armor1.ps3, armor1_*.dds, and armor1.grp
just make sure the vram file is in the same folder as the ps3 file
Reply
Thanked by: Nooga
#7
Ah yep, that works. Thanks dude. I can rip the singleplayer skins now thanks to you Big Grin
Reply
Thanked by:
#8
I've been wanting to make HD versions of the original trilogy levels in blender and this is finally the tool I need to get me started! However when I try to export the entire level it doesn't seem to give me the option to include the terrain models, is this because those models are in the same situation as weapons or singleplayer skins? I'd really appreciate to know if there's a way to export the whole level as a .obj including the terrain. Thanks!
Reply
Thanked by:
#9
(11-07-2021, 03:34 PM)eoblombax Wrote: I've been wanting to make HD versions of the original trilogy levels in blender and this is finally the tool I need to get me started! However when I try to export the entire level it doesn't seem to give me the option to include the terrain models, is this because those models are in the same situation as weapons or singleplayer skins? I'd really appreciate to know if there's a way to export the whole level as a .obj including the terrain. Thanks!

Hi there! On the latest version of Replanetizer, Level -> Export -> Level as Model with all items checked should give you what you need. If that doesn't work, in that same menu try selecting all the chunks in the "chunk config" subheading, then click "Perform Export".

The only thing is water planes aren't supported yet, but everything else should be there. Hope this helps Smile
Reply
Thanked by:
#10
(11-07-2021, 10:35 PM)Nooga Wrote:
(11-07-2021, 03:34 PM)eoblombax Wrote: I've been wanting to make HD versions of the original trilogy levels in blender and this is finally the tool I need to get me started! However when I try to export the entire level it doesn't seem to give me the option to include the terrain models, is this because those models are in the same situation as weapons or singleplayer skins? I'd really appreciate to know if there's a way to export the whole level as a .obj including the terrain. Thanks!

Hi there! On the latest version of Replanetizer, Level -> Export -> Level as Model with all items checked should give you what you need. If that doesn't work, in that same menu try selecting all the chunks in the "chunk config" subheading, then click "Perform Export".

The only thing is water planes aren't supported yet, but everything else should be there. Hope this helps Smile

That did the job thanks! Big Grin
Reply
Thanked by:
#11
(04-29-2021, 10:38 PM)Nooga Wrote: So we finally have an easy way of getting most models from the first three Ratchet games, specifically the PS3's HD collection ports. Sadly, no rigs, but it's better than NinjaRipper so here goes.

This tutorial assumes you have a copy of the game ready on your PC.

For Blender users, I made an add-on (see below) that automates the normal fixing process, which is particularly great for fixing ripped levels and other things that have a lot of mesh objects. Versions for 2.79 and 2.8+. Read the instructions before using for the best experience.


Part 1 - Prep work
Part 2 - Ripping with Replanetizer
Part 3 - Fixing the model No longer needed in latest Replanetizer versions, but leaving here just in case
Some notes: At the moment, Singleplayer skins and most weapons can't be ripped with Replanetizer. For the singleplayer skins there's another method but the tool to get the textures has a dead link and no mirror. If someone can give me a copy, I'll make a tutorial for the singleplayer skins. I would like to get in touch with the Replanetizer devs to see if exporting models from files that aren't engine.ps3 is possible, but IDK where to find the Ratchet modding discord and GitHub is probably not the place to bother them with feature requests.

Regarding weapons - multiplayer versions of weapons should not be used as a substitute for the singleplayer ones as they are lower poly. If you want to submit them regardless, please put them in their own section ("Weapons (Multiplayer)" or something along those lines). Most of them are from Ratchet 2 anyway haha.

Good luck, and have fun!

EDIT: Latest versions of Replanetizer have some rad new QOL improvements! Normals no longer need to be fixed in most cases (some maps are the exception) so RaCNFix is no longer necessary (though I'll leave it here in case someone finds it useful), Singleplayer skins and weapons can be ripped (note: v2-4 upgrades, the Agents of Dread and the Splitter Rifle still can't be ripped for the same reasons as enemy armours).

It will works with TOD and ACiT too?
Reply
Thanked by:
#12
(09-04-2022, 10:46 AM)Smakkohooves Wrote: It will works with TOD and ACiT too?

Nope, this is only for the ports of the PS2 games. However, there's a WIP level editor called Lunacy that can rip stuff from those. Maybe one day when I feel like it I'll make a tutorial for it, probably when I learn how to use it better myself.
Reply
Thanked by:
#13
so out of curiosity, Has there been any progress on extracting skins with bones as of yet? I have been able to get most character models with .DAE so far using replanetizer. Though Ratchet has been pretty uncooperative.
Reply
Thanked by:


Forum Jump: