Need help importing .MDL files from Neptunia Virtual Stars.

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
Taiwan_Guy
Posts: 4
Joined: Sun Nov 22, 2020 11:02 am

Need help importing .MDL files from Neptunia Virtual Stars.

Post by Taiwan_Guy »

There's a game called Neptunia Virtual Stars on Steam https://store.steampowered.com/app/1399 ... ual_Stars/ and i had to unpack the archive with these tools:

http://www.mediafire.com/file/uz9dwe6dq ... 28.7z/file

http://www.mediafire.com/file/g5ha9ffn2 ... 28.7z/file

The main problem i'm having are the models of the game that come with the .MDL file extension, can somebody make a noesis script that can import Orochi 4 .MDL files from this game if possible?
DJ Normality
Posts: 647
Joined: Tue Jul 24, 2018 8:52 am

Re: Need help importing .MDL files from Neptunia Virtual Stars.

Post by DJ Normality »

From the samples I found this.
Image
Vertex
Image
Faces
Image
UV's
The issue I found is there is some kind of gap that is preventing the faces from falling into order. If you load more than the vertex of each submesh you get an error. There has to be some set of bytes that are preventing the file from being extracted. Here are 4 sub meshes.
Image
DKDave
Posts: 136
Joined: Mon Nov 23, 2020 6:01 pm

Re: Need help importing .MDL files from Neptunia Virtual Stars.

Post by DKDave »

Each model is broken down into vertex sections, and each section is split into 1 or more shapes referencing that section. So I think this looks about right. Might be useful to have some textures to test too.

Image
mariokart64n
Posts: 12
Joined: Fri Aug 08, 2014 12:59 am

Re: Need help importing .MDL files from Neptunia Virtual Stars.

Post by mariokart64n »

I didn't spend to much time trying to figure out all the tables but I wrote up something basic in maxscript. I understand the topic poster is wanting a noesis plugin but I don't have the time to flesh that out at the moment. So rather the just posting a screenshot I'll include the maxscript as-is if anyone wants to pick up the work.
mdl_imp.ms.txt

Image


Edit
after writing this I checked out xentax and there is an existing import script for blender here aswell

io_import_compile_heart_mdlx.py.txt