Page 1 of 3

Diablo Immortal models extracting

Posted: Sun Jun 05, 2022 8:20 pm
by dolan1995
Hi, just wanna ask if anybody managed to extract models data from the game yet?
I used this QuickBMS script:
https://aluigi.org/bms/netease_mpk.bms

but only get very small results before the script return end error, with 1 title screen cg video (it's something i guess). Is this because they updated the encryption or something?

Re: Diablo Immortal models extracting

Posted: Sun Jun 05, 2022 10:25 pm
by 05SpeedMaster
An example model would be nice.

Re: Diablo Immortal models extracting

Posted: Wed Jun 08, 2022 2:24 am
by zardalu
As far as I can tell, there is no way currently to extract files from the PC version of Diablo Immortal MPK archives.

DIDT is the tool that can be used for the IOS/Android version:
https://github.com/CucFlavius/DIDT

Hopefully they will update their tool to include the PC version, as the PC Archives are around 23.2 GB in size, compared to the 6 GB size for the mobile versions. I assume this is because the PC version has higher resolution textures.

Re: Diablo Immortal models extracting

Posted: Wed Jun 08, 2022 7:18 am
by dolan1995
I managed to get these model files of Diablo from the Wowhead website's model viewer.
Unfortunately, I couldn't export them even with the same tools that successfully exported D2R's models.
Is there any updates to them or new tools that can work with the new models?

https://mega.nz/folder/SU0HUALK#TTg11n-zWDZKlLNrCr7Vsg

Re: Diablo Immortal models extracting

Posted: Wed Jun 08, 2022 1:00 pm
by Spiritovod
@zardalu: Actually you can extract them with fixed mpk script, but without original names - that's what DIDT is able to do (convert hashed names into actual ones by using resource.repository). Though currently renaming doesn't work properly due to minor differences in PC version.

Re: Diablo Immortal models extracting

Posted: Wed Jun 08, 2022 10:06 pm
by roswell
dolan1995 wrote: Wed Jun 08, 2022 7:18 am I managed to get these model files of Diablo from the Wowhead website's model viewer.
Do you have a link? That site is always confusing to me.

btw, those ".model" files are actually 4 files in one. Model + Mesh + Material + SkinSkeleton. Each subfile begins with a "MESSIAH" id.

do you know where does wowhead get it DI sources? From PC or mobile?

Re: Diablo Immortal models extracting

Posted: Wed Jun 08, 2022 10:11 pm
by zardalu
Spiritovod wrote: Wed Jun 08, 2022 1:00 pm @zardalu: Actually you can extract them with fixed mpk script, but without original names - that's what DIDT is able to do (convert hashed names into actual ones by using resource.repository). Though currently renaming doesn't work properly due to minor differences in PC version.
Thanks Spiritovod, trying this now!

Re: Diablo Immortal models extracting

Posted: Thu Jun 09, 2022 8:49 am
by dolan1995
roswell wrote: Wed Jun 08, 2022 10:06 pm
dolan1995 wrote: Wed Jun 08, 2022 7:18 am I managed to get these model files of Diablo from the Wowhead website's model viewer.
Do you have a link? That site is always confusing to me.

btw, those ".model" files are actually 4 files in one. Model + Mesh + Material + SkinSkeleton. Each subfile begins with a "MESSIAH" id.

do you know where does wowhead get it DI sources? From PC or mobile?
https://www.wowhead.com/diablo-immortal ... ablo-71815
Here's the link, just click the red "View in 3D" button near top of the page to load the viewer.
There's 2 more pages but i assume that's for his "ghost" versions, hence the "phantom-ish" leg effects.

You can search for more by going back to
https://www.wowhead.com/diablo-immortal/npcs

There's actually no download button, so before loading the viewer you can open the web developer tool, the network tab will cache all the files loaded, that's how i got them.

Also, i don't know which version of the game they used, they don't actually gave a source. Some models look low-res to fit a mobile game, some looks more detailed like Diablo here, but it's probably just the normal texture. I guess it's more likely it's the mobile version, cuz i mean the game was only planned for mobile only so i would assume the PC version is more of an HD port.

Re: Diablo Immortal models extracting

Posted: Thu Jun 09, 2022 10:05 am
by Allanoon
dolan1995 wrote: Thu Jun 09, 2022 8:49 am Also, i don't know which version of the game they used, they don't actually gave a source. Some models look low-res to fit a mobile game, some looks more detailed like Diablo here, but it's probably just the normal texture. I guess it's more likely it's the mobile version, cuz i mean the game was only planned for mobile only so i would assume the PC version is more of an HD port.
Just a guess, but if you squeeze your eyes in game, even on PC, you'll notice that outside the Main chars, Bosses, and some npcs, enemies have kinda a low-res/nothing special texture. That's kinda normal with games which use this "not so close camera" and various flashy effect, it makes you think the graphic is better than what actualy is.

I do find curious that the models are animated in the 3D viewer, albeit you can't change the animation.

Re: Diablo Immortal models extracting

Posted: Thu Jun 09, 2022 10:21 am
by Durik256
dolan1995 wrote: Wed Jun 08, 2022 7:18 am Unfortunately, I couldn't export them
I still do not understand whether it was possible to open the models. :lol:
took a quick look at the models and made a plugin.
(only mesh, maybe i'll finish it later)
Image
fmt_model.zip
UPDATE (click up arrow)
Durik256 wrote: Thu Jun 09, 2022 9:53 pm MeshToOBJ.exe

Re: Diablo Immortal models extracting

Posted: Thu Jun 09, 2022 7:12 pm
by zardalu
Durik256 wrote: Thu Jun 09, 2022 10:21 am
dolan1995 wrote: Wed Jun 08, 2022 7:18 am Unfortunately, I couldn't export them
I still do not understand whether it was possible to open the models. :lol:
took a quick look at the models and made a plugin.
(only mesh, maybe i'll finish it later)
Image
Thanks for this!

Which version of the .model files does your plugin work with?

I followed Spiritovod's advice and was able to use the fixed mpk script to extract the files from the PC version, and then used DIDT to rename them.

I now have a PC version of extracted files (29.2GB), as well as an IOS and Android version (around 6GB each).

But I am unable to see the models of either version with your script: Just says: "File could not be previewed".

Re: Diablo Immortal models extracting

Posted: Thu Jun 09, 2022 8:10 pm
by dolan1995
zardalu wrote: Thu Jun 09, 2022 7:12 pm
Durik256 wrote: Thu Jun 09, 2022 10:21 am
dolan1995 wrote: Wed Jun 08, 2022 7:18 am Unfortunately, I couldn't export them
I still do not understand whether it was possible to open the models. :lol:
took a quick look at the models and made a plugin.
(only mesh, maybe i'll finish it later)
Image
Thanks for this!

Which version of the .model files does your plugin work with?

I followed Spiritovod's advice and was able to use the fixed mpk script to extract the files from the PC version, and then used DIDT to rename them.

I now have a PC version of extracted files (29.2GB), as well as an IOS and Android version (around 6GB each).

But I am unable to see the models of either version with your script: Just says: "File could not be previewed".
I encountered the same problem at first, and I think Noesis defaulted to using the GR2 plugin so it couldn't view the files. You have to remove the GR2 plugin because it's conflicting with each other's targeted ".model" format.

Re: Diablo Immortal models extracting

Posted: Thu Jun 09, 2022 9:40 pm
by zardalu
dolan1995 wrote: Thu Jun 09, 2022 8:10 pm I encountered the same problem at first, and I think Noesis defaulted to using the GR2 plugin so it couldn't view the files. You have to remove the GR2 plugin because it's conflicting with each other's targeted ".model" format.
Thanks Dolan, yes this was part of the problem. I also figured out that Durik256 seems to have written his plugin for the .model files which come from the the Wowhead website's model viewer, not the files extracted via the DIDT method. I was able to get it working when viewing Wowhead .model files.

As roswell mentioned, the .model files from Wowhead are actually 4 files in one. Model + Mesh + Material + SkinSkeleton. Unfortunately Wowhead does not include all models.

The .model files when extracted via " netease_mpk_v2.bms" and renamed via DIDT are actually split into 4 seperate files: .Model +. Mesh + .Material + .Skeleton.

Here is a skeletal mesh example:

https://www.mediafire.com/file/t5iccshc ... o.rar/file

Here are some static mesh examples:

https://www.mediafire.com/file/zixtym0f ... l.rar/file

Re: Diablo Immortal models extracting

Posted: Thu Jun 09, 2022 9:53 pm
by Durik256
\\\\\\\\\\\MeshToOBJ.exe
added preview. bugs fixed.
*(my personal 3D library created in pure c# without third-party libraries, etc.)
Link on github: MeshToOBJ.exe
Image

\\\\\\\\\\\Noesis
for Noesis for *.mesh/*.model
link on github: fmt_mesh_diablo.py
Image
OLD_PLUGIN:
fmt_mesh_diablo.zip

Re: Diablo Immortal models extracting

Posted: Thu Jun 09, 2022 11:30 pm
by zardalu
Durik256 wrote: Thu Jun 09, 2022 9:53 pm
zardalu wrote: Thu Jun 09, 2022 9:40 pm I also figured out that Durik256 seems to have written his plugin for the .model
I just don't have the game or the files. what was for that and wrote. :lol:

I don't understand why to split file. (:
zardalu wrote: Thu Jun 09, 2022 9:40 pm Here are some static mesh examples:
for *.mesh (only mesh, uvs does not have yet.)

edit
Amazing! Mesh load works perfectly for both skeletal and static mesh.

I see you got UVs working for the diablo model :)