Hello everyone,
I am discussing ripping Metroid Prime Remastered models and textures in this thread.
I have extracted the ROMFS of the game, which contains all of the models used in the game. The models are stored in several
.pak files. The
.pak files can be unpacked using this tool:
retrotool link
To use
retrotool to unpack
.pak files (on Windows), follow these steps:
- Open the command prompt (cmd)
- Change the directory to the retrotool-main/target/debug folder using the cd command (e.g. cd "C:/Users/[You]/Downloads/retrotool-main/target/debug")
- Copy and paste this into the cmd: retrotool pak extract [Insert the file path to your chosen .pak file] [Insert the directory that you want the extracted files to be saved to]
You have now extracted the chosen
.pak file! I have extracted the
.pak file for the
Shadow Pirate here:
Shadow Pirate Link
There are several file types you'll find that store the models and materials.
The model and several materials are stored in the
.CMDL file (
CMDL File Info link).
If anyone knows how to convert these into usable files such as
.png and
.fbx files, post on this thread.
(05-04-2023, 11:20 AM)JMichael1980 Wrote: [ -> ]Hello everyone,
I am discussing ripping Metroid Prime Remastered models and textures in this thread.
I have extracted the ROMFS of the game, which contains all of the models used in the game. The models are stored in several .pak files. The .pak files can be unpacked using this tool: retrotool link
To use retrotool to unpack .pak files (on Windows), follow these steps:- Open the command prompt (cmd)
- Change the directory to the retrotool-main/target/debug folder using the cd command (e.g. cd "C:/Users/[You]/Downloads/retrotool-main/target/debug")
- Copy and paste this into the cmd: retrotool pak extract [Insert the file path to your chosen .pak file] [Insert the directory that you want the extracted files to be saved to]
You have now extracted the chosen .pak file! I have extracted the .pak file for the Shadow Pirate here: Shadow Pirate Link
There are several file types you'll find that store the models and materials.
The model and several materials are stored in the .CMDL file (CMDL File Info link).
If anyone knows how to convert these into usable files such as .png and .fbx files, post on this thread.
Use Switch Toolbox to rip the textures. Anything the game uses more than once is under DuplicateData.pak. Bosses and enemies will be under the pak for each area. The ability to rip modes from this game is thanks to the Prime Modding Discord.
Thank you for your help! Thanks to you, I have successfully ripped Metroid Prime Remastered Character Models using Switch Toolbox. These character models are located in
DuplicateData.pak/Skinned Models.
[
attachment=14696]
No problem! I've been with the modding discord for a few months now. As a note, retrotool is unfinished and material information is still lacking. As a tip, normal maps are two channel with red inverted. This means there is no Z axis for depth and must be constructed with math. Also, anything relating to Phazon gives an error and exporting skeletons isn't possible yet. That being said, retrotool will link to all associated textures when ripping models so you don't have to hunt through the texture GUIDs.
A while back, I compiled a list of the objects within DuplicateData.pak. I have attached it below. Please, expand upon it if you wish or tell me if I should do so. I have also attached the current method for displaying normal maps, courtesy of the discord.
(05-05-2023, 10:59 PM)LogicFox Wrote: [ -> ]No problem! I've been with the modding discord for a few months now. As a note, retrotool is unfinished and material information is still lacking. As a tip, normal maps are two channel with red inverted. This means there is no Z axis for depth and must be constructed with math. Also, anything relating to Phazon gives an error and exporting skeletons isn't possible yet. That being said, retrotool will link to all associated textures when ripping models so you don't have to hunt through the texture GUIDs.
A while back, I compiled a list of the objects within DuplicateData.pak. I have attached it below. Please, expand upon it if you wish or tell me if I should do so. I have also attached the current method for displaying normal maps, courtesy of the discord.
Oh my gosh!!! That pdf is a HUGE help. Thank you for your help with the Blender nodes setup too! I realized that exporting skeletons isn't supported yet, so I have rigged a few models myself. Once again, thank you for all of your help.
Would anyone mind putting up a link to possibly download the models?