Midnight Club 3 - Dub Edition Remix (PS2) Texture Extraction

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
bigsteve327
Posts: 8
Joined: Thu Sep 09, 2021 7:49 am

Midnight Club 3 - Dub Edition Remix (PS2) Texture Extraction

Post by bigsteve327 »

Hi Everyone! Currently, I am working on a way to upscale all texutres from MC3. The way I am currently doing it is using PCSX2 to dump the textures, upscale them using Cupscale, and then get PCSX2 to use the upscaled textures.

The problem with this process is the texture dumping process: I need to load every single part of the game in order to load the textures, and given how big the cities are, I am concerned about missing some textures over time.

I noticed in the ISO file for the game that there is a textures.dat file that I could potentially extract the textures from. Would it be possible to extract all of the png textures at once using a QuickBMS script?

I noticed there is an existing QuickBMS script here: http://aluigi.altervista.org/bms/midnight_club3_ps2.bms for extracting music (rstm files) from the iso, but not for textures and I am not sure of how I could modify that (if I can) to get it to work.

Thanks!
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Midnight Club 3 - Dub Edition Remix (PS2) Texture Extraction

Post by BloodRaynare »

While not immediately extracts the textures to png, but this script: http://aluigi.altervista.org/bms/dave.bms should work with the texture.dat and giving you some start. Also might want to check stuff inside assets.dat too with the same dave.bms script.
bigsteve327
Posts: 8
Joined: Thu Sep 09, 2021 7:49 am

Re: Midnight Club 3 - Dub Edition Remix (PS2) Texture Extraction

Post by bigsteve327 »

BloodRaynare wrote:While not immediately extracts the textures to png, but this script: http://aluigi.altervista.org/bms/dave.bms should work with the texture.dat and giving you some start. Also might want to check stuff inside assets.dat too with the same dave.bms script.
Thank you for this! So I extracted both the assets.dat and textures.dat and it appears that there are a lot more textures related to cars in assets.dat, whereas textures.dat contains a bunch of city-related texture files. Also, there are several files that are "duplicates" in the assets.dat that I renamed, but I get the feeling that they shouldn't be renamed. Is there a way to check to see if they should be combined?

Thank you again for your help! If you need any screenshots containing the files I extracted, let me know. There are 1000s lol