Page 1 of 3

Mafia Definitive Edition .sds files

Posted: Fri Sep 25, 2020 11:37 pm
by Digital X
I understand it is very early days for this game, but was curious about the .sds files.

Mafia 2 and 3 have extractors but upon trying Mafia 3 extractor it crashed upon opening the .sds file, I assume because the specific version of .sds is too new? I know Mafia DE uses an upgraded version of the Mafia 3 engine, so thought it was worth a shot. All I can find and edit at the moment are values.

I am completely new to Mafia modding but my expertise lies in Spintires/Mudrunner, just looking to get my foot in the door here.

I guess we will be waiting a while?

Re: Mafia Definitive Edition .sds files

Posted: Sat Sep 26, 2020 8:58 am
by grandshot
Specification of Mafia DE SDS is almost same at the first blush. It's uses OODLE compression algorithm instead ZLIB in previous titles, and additional data in 96 bytes at the end of Compressed Blocks Headers. So it's no big problem to update extraction tools for their authors.

Re: Mafia Definitive Edition .sds files

Posted: Mon Sep 28, 2020 6:21 pm
by Ekey
Yeah, you're right

Image

There is a slight problem with loading the some resources like as Textures, SoundBanks and some SDS's, but in general it almost works :)

Re: Mafia Definitive Edition .sds files

Posted: Mon Sep 28, 2020 6:53 pm
by bisalinamk
Ekey wrote: Mon Sep 28, 2020 6:21 pm Yeah, you're right

Image

There is a slight problem with loading the some resources like as Textures, SoundBanks and some SDS's, but in general it almost works :)
Any download link?

Re: Mafia Definitive Edition .sds files

Posted: Mon Sep 28, 2020 7:08 pm
by Ekey
Not ready yet.

WIP. Now works are Textures, SoundBanks and XML's

Image
Image
Image
Image

It's a remains to solve the problem with loading some SDS's. [roll]

Re: Mafia Definitive Edition .sds files

Posted: Tue Sep 29, 2020 12:58 am
by Digital X
You're the creator of this I assume? If so, huge thanks! This is exactly what I am looking for.

Also, I am pretty familar with Unity Asset Bundle Extractor, would this work the same way? As in we can choose a texture in the Resource Explorer, replace with our own, and pack it back up?

Re: Mafia Definitive Edition .sds files

Posted: Tue Sep 29, 2020 1:17 am
by Ekey
Digital X wrote: Tue Sep 29, 2020 12:58 am You're the creator of this I assume? If so, huge thanks! This is exactly what I am looking for.
This is modified tool based on Gibbed Resource Explorer.

If we talk about authors, then it looks like this:
Original code by: Rick (Gibbed)
Extended modification for Mafia 3 files by: y.u.s.i.k
Littile modification for Mafia: Definitive Edition files by: Me
Digital X wrote: Tue Sep 29, 2020 12:58 am Also, I am pretty familar with Unity Asset Bundle Extractor, would this work the same way? As in we can choose a texture in the Resource Explorer, replace with our own, and pack it back up?
Yep, you can replace any resources :)

Re: Mafia Definitive Edition .sds files

Posted: Tue Sep 29, 2020 2:37 pm
by Ekey
Okay guys, almost done. I need to test the repacking function for other resource's :)

Image

Re: Mafia Definitive Edition .sds files

Posted: Tue Sep 29, 2020 5:25 pm
by mami11x
2

Re: Mafia Definitive Edition .sds files

Posted: Tue Sep 29, 2020 5:43 pm
by grandshot
Ekey wrote: Tue Sep 29, 2020 2:37 pm Image
Замечательно! Good work! :wink:

Re: Mafia Definitive Edition .sds files

Posted: Tue Sep 29, 2020 7:32 pm
by Ekey
ResourceExplorer

Image
Like button over there

Downloading link in attach! Happy modding :P

Re: Mafia Definitive Edition .sds files

Posted: Tue Sep 29, 2020 9:39 pm
by mami11x
3

Re: Mafia Definitive Edition .sds files

Posted: Tue Sep 29, 2020 10:07 pm
by Ekey
mami11x wrote: Tue Sep 29, 2020 9:39 pm thank you! you can share tools text xbin file?
https://zenhax.com/viewtopic.php?p=33629#p33629

Re: Mafia Definitive Edition .sds files

Posted: Wed Sep 30, 2020 12:22 am
by Digital X
Thanks, for me at least, the nginx web server throws up a 403 forbidden error. However Mirror 2 works fine. May just be my end.

Is there a tutorial of how to edit/replace the files?

In sds/generic/bolt_ace there is a lot of hex with text on the side, this is beyond me.

I have found the starting up sound, how would I go about replacing it?

I feel so bad for asking this, I just don't have the foggiest what I am doing with most of these files.

EDIT: On the beer case.dds I see "replace resource", Once I have chosen a texture what would I do then so the game can read it? In the extractor it shows 64x64 which is extremely small. My Commodore 64 has more resolution lol.

Re: Mafia Definitive Edition .sds files

Posted: Wed Sep 30, 2020 12:46 am
by mami11x
4