Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

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

Featured Replies

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...

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

  • 5 months later...

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

  • Supporter
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...

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 

  • Supporter
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:

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. 

  • Supporter

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

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.