Jump to content

Mafia 3: DE and Mafia 1: DE SDS Model Extraction improvement help


Recommended Posts

Posted (edited)

I have been trying my hand on trying to properly extract models from Mafia 3: DE and Mafia 1: DE sds files. While the models can be extracted using Mafia Toolkit and the following tool provided, the quality of the model that tool exports is rather rough as there's a lot of shading artifacts upon importing the model into Blender. Plus, the model skeleton is practically unusable and the bones are unnamed.

Broken_Model.thumb.png.c6441975dfc5835c4bc6556a73d467cb.png

Based on what I have seen when I was working with Mafia II models, I have noticed that custom paint liveries are stored in a different uv map. My hunch is that the decals and liveries uvs in Mafia 3 and Mafia 1: DE are stored in a similarly manner as in Mafia II. I would like to try to get that those additional uv maps along with a properly named and working model skeleton.

Livery_Ex.thumb.png.366575e9c0da6558a52b2b2fe7561f86.png

I have also provided a sample file from Mafia 3: DE and Mafia 1: DE respectively as well as the tool used.

 

 

 

mafia3_model_patched.zip SDS_Sample.zip

Edited by BalAir
  • 3 months later...
Posted

Bumping this up because i too would love the tool to work properly. M3 and M:DE also use vertex colors / split meshes to determine color zones (Such as the shubert six for example)  would also be nice to get working

  • Like 1
  • 5 months later...
Posted (edited)

You don't even explain how to use Mafia3_model or what to do. How do I even use the software? I tried opening the application, but it just opens up the terminal briefly before closing.

Edited by RailroadMillion
  • Engineers
Posted
13 hours ago, RailroadMillion said:

I tried opening the application, but it just opens up the terminal briefly before closing.

How about using command line in windows (cmd.exe) and see what the tool outputs?

  • 3 months later...
Posted

I am now onto this subject, I’ve got the mafia toolkit but having no success getting the character models, like mesh and such, I can get the textures but not the object, I think the mesh is .compiled or something, I can upload an example but yeah, having issues converting this into obj, or fbx, glb, with mafia 2 DE there’s a file format .fr which is the mesh, and can extract that to glb, i did have to get a script made to get the material data correct for the glb after otherwise there was no material data at all. If anyone knows how to get the mesh’s exported for mafia 3 then please respond 

  • Engineers
Posted
1 hour ago, Conyaboi said:

I am now onto this subject, I’ve got the mafia toolkit but having no success getting the character models, like mesh and such,

The problem here (as in dozens of similar threads) is, that the opener didn't provide a working sample, so that anyone with the same request had a base to start with and to compare models headers, etc.

This usually ends up with people trying out not supported models with no success, the usual tragedy...:classic_blink:

Posted
5 hours ago, shak-otay said:

The problem here (as in dozens of similar threads) is, that the opener didn't provide a working sample, so that anyone with the same request had a base to start with and to compare models headers, etc.

This usually ends up with people trying out not supported models with no success, the usual tragedy...:classic_blink:

I can upload an example if that’s what you’re saying, I’ll do that when I’m on my pc. 

  • Engineers
Posted (edited)

Thanks. The sample you've provided is "ma_head_094_dburke.ires.compiled", in the folder "\Mafia 3 DE Danny Burke Head.rar\ma_head_094_dburke_ma_head_094_dburke.sds\"

I assume this is a working sample (.sds unpacked by the Mafia Toolkit?) but not the .sds file itself. So still unclear what you did exactly.

(The .py file is working, btw, extracts a .obj from the .ires.compiled).

 

edit: did you get the exe file from the opening post to run? (I'm getting an exception.)

Edited by shak-otay
Posted
53 minutes ago, shak-otay said:

So still unclear what you did exactly.

(The .py file is working, btw, extracts a .obj from the .ires.compiled).

yes the .sds was unpacked by Mafia toolkit, a updated version from “ Lilith “ but I can just upload the .sds if need be. 
 

the .py script results in a obj but it’s incorrect, it’s broken, it’s been squeezed, geometry needs fixing and probably uv maps too 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...