Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Diablo Immortal models extracting

Post questions about game models here, or help out others!
dolan1995
n00b
Posts: 10
Joined: Sat Jul 18, 2020 8:22 am
Has thanked: 5 times
Been thanked: 5 times

Diablo Immortal models extracting

Post 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?
User avatar
05SpeedMaster
veteran
Posts: 127
Joined: Mon Feb 10, 2020 9:24 pm
Has thanked: 18 times
Been thanked: 41 times

Re: Diablo Immortal models extracting

Post by 05SpeedMaster »

An example model would be nice.
zardalu
veteran
Posts: 134
Joined: Sat Sep 13, 2008 3:13 pm
Has thanked: 17 times
Been thanked: 31 times
Contact:

Re: Diablo Immortal models extracting

Post 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.
dolan1995
n00b
Posts: 10
Joined: Sat Jul 18, 2020 8:22 am
Has thanked: 5 times
Been thanked: 5 times

Re: Diablo Immortal models extracting

Post 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
Spiritovod
mega-veteran
mega-veteran
Posts: 181
Joined: Sun Oct 10, 2010 9:44 pm
Has thanked: 35 times
Been thanked: 162 times

Re: Diablo Immortal models extracting

Post 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.
roswell
advanced
Posts: 62
Joined: Tue Apr 02, 2019 1:00 am
Has thanked: 6 times
Been thanked: 13 times

Re: Diablo Immortal models extracting

Post 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?
Last edited by roswell on Wed Jun 08, 2022 10:22 pm, edited 1 time in total.
zardalu
veteran
Posts: 134
Joined: Sat Sep 13, 2008 3:13 pm
Has thanked: 17 times
Been thanked: 31 times
Contact:

Re: Diablo Immortal models extracting

Post 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!
dolan1995
n00b
Posts: 10
Joined: Sat Jul 18, 2020 8:22 am
Has thanked: 5 times
Been thanked: 5 times

Re: Diablo Immortal models extracting

Post 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.
Allanoon
veteran
Posts: 91
Joined: Sat Apr 14, 2012 9:00 pm
Has thanked: 116 times
Been thanked: 25 times

Re: Diablo Immortal models extracting

Post 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.
Last edited by Allanoon on Thu Jun 09, 2022 10:30 am, edited 1 time in total.
User avatar
Durik256
ultra-veteran
ultra-veteran
Posts: 428
Joined: Wed Nov 21, 2018 7:26 pm
Has thanked: 45 times
Been thanked: 429 times

Re: Diablo Immortal models extracting

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by Durik256 on Sun Aug 06, 2023 5:25 pm, edited 2 times in total.
zardalu
veteran
Posts: 134
Joined: Sat Sep 13, 2008 3:13 pm
Has thanked: 17 times
Been thanked: 31 times
Contact:

Re: Diablo Immortal models extracting

Post 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".
dolan1995
n00b
Posts: 10
Joined: Sat Jul 18, 2020 8:22 am
Has thanked: 5 times
Been thanked: 5 times

Re: Diablo Immortal models extracting

Post 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.
zardalu
veteran
Posts: 134
Joined: Sat Sep 13, 2008 3:13 pm
Has thanked: 17 times
Been thanked: 31 times
Contact:

Re: Diablo Immortal models extracting

Post 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
User avatar
Durik256
ultra-veteran
ultra-veteran
Posts: 428
Joined: Wed Nov 21, 2018 7:26 pm
Has thanked: 45 times
Been thanked: 429 times

Re: Diablo Immortal models extracting

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by Durik256 on Sun Aug 06, 2023 5:11 pm, edited 3 times in total.
zardalu
veteran
Posts: 134
Joined: Sat Sep 13, 2008 3:13 pm
Has thanked: 17 times
Been thanked: 31 times
Contact:

Re: Diablo Immortal models extracting

Post 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 :)
Post Reply