XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Nov 19, 2018 1:37 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 159 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11
Author Message
 Post subject: Re: Mafia II SDS files?
PostPosted: Wed Sep 26, 2012 3:33 pm 
Offline
ultra-n00b

Joined: Mon Aug 06, 2012 2:06 am
Posts: 7
Has thanked: 0 time
Have thanks: 0 time














You can make the ads go away by registering

WRS wrote:
spent a little bit of time reversing some of the headers. the plaintext xml is for the engine to allocate memory (see the first header).

zlib data looks chunked. haven't yet bothered splitting up the files.

edit: haven't read the latest post - will download these new attachments now!

Code:
# -- WRS
#    xentax.com
#    .sds BMS script (wip)

print "WARNING: THIS SCRIPT WILL NOT DUMP ANYTHING YET (WIP)"

idstring "SDS\x00"

goto 16

### Part of the header

get P_RES long
get P_DATA long
get P_XML long
get TOT_RAM long # sum of all ram usage (see xml)
get TOT_VRAM long # sum of all vram usage (see xml)

###

get xmlsize asize
math xmlsize -= P_XML

log "sds_desc.xml" P_XML xmlsize


goto 64

### Res info

get RES_COUNT long
get UNKNOWN long
get RES_TYPES long

for i = 1 to RES_TYPES

  get RES_INDEX long
  get RES_NAME_sIZE long

  math RES_NAME_sIZE += 4 # padded byte
  getdstring RES_NAME RES_NAME_SIZE

  print "%RES_NAME%"

next i

### zlib data

goto P_DATA # will already be here


getdstring UNKNOWN 30 # some sort of header

set chunkcnt long 0

for

  get CHUNK_SIZE long

  if CHUNK_SIZE == 0

    print "Chunks found: %chunkcnt%"
    cleanexit

  endif

  get FLAG byte

  if FLAG == 0

    getdstring UNKNOWN 11

    ## zlib data is here

    savepos DATASTART

    ## todo: clog to memory_file, append result to result
    math DATASTART += CHUNK_SIZE

    goto DATASTART

  else

    get UNKNOWN long
    get SKIP long

    savepos SKIPVAL

    math SKIPVAL += SKIP
    math SKIPVAL -= 8

    goto SKIPVAL

    savepos DATASTART

    ## todo: clog to memor_file, append result to result
    math CHUNK_SIZE -= SKIP
    math DATASTART += CHUNK_SIZE

    goto DATASTART

  endif

  math chunkcnt += 1

next


With this .bms i can extract the files, but i can't reimport the same..
I really need this tool.. plz


Top
 Profile  
 
 Post subject: Re: Mafia II SDS files?
PostPosted: Mon Nov 05, 2012 11:27 am 
Offline
mega-veteran
mega-veteran

Joined: Thu Sep 30, 2010 9:52 am
Posts: 177
Has thanked: 19 times
Have thanks: 0 time
When someone can see the files on ps3, ja could decrypt .sdat. is now .sds simple ps3.

http://www.mediafire.com/?au2rtaww8fagdp7

Hugs.


Top
 Profile  
 
 Post subject: Re: Mafia II SDS files?
PostPosted: Tue Nov 13, 2012 7:15 pm 
Offline
mega-veteran
mega-veteran

Joined: Thu Sep 30, 2010 9:52 am
Posts: 177
Has thanked: 19 times
Have thanks: 0 time
UP. :D


Top
 Profile  
 
 Post subject: Re: Mafia II SDS files?
PostPosted: Sat Oct 11, 2014 5:29 pm 
Offline
veteran
User avatar

Joined: Mon May 12, 2014 10:41 pm
Posts: 152
Has thanked: 22 times
Have thanks: 42 times
Mafia 2 *.SDS Resource Unpacker: http://www.extractor.ru/ipb/index.php?showtopic=5185

Image


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Mafia II SDS files?
PostPosted: Sun Oct 12, 2014 11:37 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1636
Has thanked: 62 times
Have thanks: 805 times
Не актуальный инструмент. > http://svn.gib.me/public/illusion/trunk/


Top
 Profile  
 
 Post subject: Re: Mafia II SDS files?
PostPosted: Mon Oct 13, 2014 9:44 am 
Offline
veteran
User avatar

Joined: Mon May 12, 2014 10:41 pm
Posts: 152
Has thanked: 22 times
Have thanks: 42 times
Ekey там нет самой тулзы лишь src. Ты можешь собрать и кинуть на паблик?


Top
 Profile  
 
 Post subject: Re: Mafia II SDS files?
PostPosted: Mon Oct 13, 2014 2:28 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1636
Has thanked: 62 times
Have thanks: 805 times
Here


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Mafia II SDS files?
PostPosted: Wed Jul 04, 2018 1:30 pm 
Offline
ultra-n00b

Joined: Tue Nov 14, 2017 4:15 pm
Posts: 2
Has thanked: 0 time
Have thanks: 1 time
Hello again, There has been a big research into the models in the sds files around this year. most likely tools made for 3ds max to edit and create new in-game models. So, m2 map modding is nearly now possible thanks to @Greavesy!
Post (Mafiascene forum): http://mafiascene.com/forum/viewtopic.php?t=10315 GitHub: https://github.com/Greavesy1899/Mafia2Toolkit
my msg here was just to spread this around to find ppl with interrests, thought still ppl wanted to create new tools for Mafia 2.

Map import on 3ds max
Image

collision model
Image

Thanks for seeking this! I hope interrests woke for Mafia 2 modding!


Top
 Profile  
 
 Post subject: Re: Mafia II SDS files?
PostPosted: Wed Jul 04, 2018 6:21 pm 
Offline
advanced

Joined: Fri Mar 02, 2018 3:05 am
Posts: 71
Has thanked: 0 time
Have thanks: 2 times
Has anyone got SFX and voice files?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 159 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group