BalAir Posted April 18, 2025 Posted April 18, 2025 (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. 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. 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 April 18, 2025 by BalAir
Kayhotic Posted August 13, 2025 Posted August 13, 2025 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 1
RailroadMillion Posted February 11 Posted February 11 (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 February 11 by RailroadMillion
Engineers shak-otay Posted February 12 Engineers Posted February 12 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?
Conyaboi Posted June 7 Posted June 7 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 shak-otay Posted June 7 Engineers Posted June 7 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...
Conyaboi Posted June 7 Posted June 7 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... I can upload an example if that’s what you’re saying, I’ll do that when I’m on my pc.
Conyaboi Posted June 7 Posted June 7 Mafia 3 DE Danny Burke Head.rarim just going to upload the full extraction of the head im trying to get, theres textures in there and all, folder "models" and folder "blueprints" has the .compiled in there 1
Engineers shak-otay Posted June 8 Engineers Posted June 8 (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 June 8 by shak-otay
Conyaboi Posted June 8 Posted June 8 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now