FAQFAQ    Board RulesBoard Rules    SearchSearch    LotteryLottery    RouletteRoulette    UsergroupsUsergroups
     RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Shop    Log inLog in 
View posts since last visitView your postsView unanswered posts

Mafia II: Which textures belong to which model?

 
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Modding
View previous topic :: View next topic  
Author Message
AsaSK

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 24 Feb 2013
Posts: 763
Location: London, England
13745 Bank Notes
Items

PostPosted: Fri Oct 25, 2019 5:13 pm    Post subject: Mafia II: Which textures belong to which model? Reply with quote

Hi all,

I'm a bit confused about how to assign the correct texture to Mafia II's models. I've extracted them from the .SDS archives and pulled them into 3DS MAX, but I have no idea how to identify which textures belong to the now textureless model. Anyone have any ideas?

Many thanks
_________________

The official Mafioso Mod thread
Back to top
View user's profile Send private message
PtyIersworId

Junior Member
Junior Member


Joined: 20 Jun 2014
Posts: 56

144 Bank Notes
Items

PostPosted: Sun Oct 27, 2019 12:22 am    Post subject: Mafia II: Which textures belong to which model? Reply with quote

I have a little experience with how to do this. The way I did it was by using an SDS tool to open the .sds file of the model I wanted to extract. I wanted the gas station model from Mafia 2, but didn't know the texture names. So I went to Steam/steamapps/common/Mafia II/pc/sds/shops and opened the gas.sds file. The sds file had every texture that was used for the models of the gas station. For the bigger sds files that have entire sections of the city, you may have to do some research, but it helps narrow down the list of textures by quite a lot!

The tool I used was exSDS, which I got here:
http://cgig.ru/en/2011/01/converting-3d-model-from-mafia-2-en/

You can use any tool that opens and lets you look inside SDS files, and the SDS files will usually tell you what textures the models for that file uses. Now if I could only figure out how to assign the textures to the model in 3DS Max, I would be set! Laughing

Hope this helps! I know it's not a concrete answer, but it's how I figured out how to do it, and it worked for me!
Back to top
View user's profile Send private message
ASM.

Mafiascene Veteran Modder
Mafiascene Veteran Modder


Joined: 10 Jan 2014
Posts: 229

485 Bank Notes
Items

PostPosted: Sun Oct 27, 2019 9:09 pm    Post subject: Mafia II: Which textures belong to which model? Reply with quote

Mafia 2 models use materials defined in edit/materials/default.mtl which then specify what textures to use. I haven't personally toyed around with any of the Mafia 2 model importers/converters yet but I'd assume they either automatically convert the materials or at least dump them in some form so one can look them up in said material library using Greavesy's toolkit for example. Thinking
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mafiascene.com Forum Index -> Ask a Modder - Modding All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Generation Time: 0.013 | Queries: 18