Users browsing this thread: 1 Guest(s)
[TUTORIAL] Metroid Prime Remastered Ripping
#1
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.
Reply
Thanked by:
#2
(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.
Reply
Thanked by:
#3
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.

   
Reply
Thanked by:
#4
Thumbs Up 
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.


Attached Files Thumbnail(s)
   

.pdf   GuidTracker 1.1 - DuplicateData.pdf (Size: 160.81 KB / Downloads: 144)
Reply
Thanked by:
#5
(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.
Reply
Thanked by:
#6
Would anyone mind putting up a link to possibly download the models?
Reply
Thanked by:
#7
(05-14-2023, 08:05 PM)ChocolateCalculator Wrote: Would anyone mind putting up a link to possibly download the models?

Right now, I don’t think ripping the models from Remastered is anyone’s highest priority. Currently, the models rip with each individual polygon separated, which really doesn’t help the normal maps. Also, the models are completely unrigged, so I’m not sure how useful that would be to anyone. The meta force team is currently work on the decomp of the original two Prime games, and it might be a while before anyone gets back to work on Remastered. Along with that, a large number of models do not rip correctly at the moment (this is mostly Phazon’s fault, but even models like the Sheegoth have issues). 

I’ll check with the modding discord to see if I can submit some of the models, but I’m not 100% sure it would be okay with them. The current discord server is not the first one, and we do not want to attract the Nintendo ninjas to the current one.
Reply
Thanked by:
#8
The answer is no. I apologize, but putting up the models myself puts the server at risk. The intent of the meta force project is to breathe new life into the original Prime, not to make its assets free for use. Any use of the tools in such a manner is harmful to the modding community and puts it at risk of being taken down, so I will not be uploading them. While I cannot technically stop you from uploading them yourself, I ask that you do the same and refrain from sharing the models. The community is filled with wonderful people, and I would hate to see their project harmed.
Reply
Thanked by:
#9
(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.

Hi, I am someone who knows almost nothing about coding and I was wondering if you could help me to extract the models please?

-I first downloaded the zip file from the retrotools repository you mentioned and then extracted the files inside.
-then I followed your instructions to open CMD and run the command line to go to the "retrotool-main/target/debug" folder (I had to create these two   "target/debug" folders because they did not exist inside the retrotool-main folder).
- When I ran the command line inside CMD to unpack the ".pak" files, I got these lines of code ["retrotool" is not recognized as an internal or external command,
program or executable batch file."]

please help
Reply
Thanked by:
#10
(01-20-2024, 08:16 PM)fereremen96 Wrote:
(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.

Hi, I am someone who knows almost nothing about coding and I was wondering if you could help me to extract the models please?

-I first downloaded the zip file from the retrotools repository you mentioned and then extracted the files inside.
-then I followed your instructions to open CMD and run the command line to go to the "retrotool-main/target/debug" folder (I had to create these two   "target/debug" folders because they did not exist inside the retrotool-main folder).
- When I ran the command line inside CMD to unpack the ".pak" files, I got these lines of code ["retrotool" is not recognized as an internal or external command,
program or executable batch file."]

please help

Ive had to do the same thing and im also getting the same error, i dont understand what im doing wrong. either better instructions or a video would be a life saver


Attached Files Thumbnail(s)
   
Reply
Thanked by:


Forum Jump: