Sims 2 ds "Rom.bin"

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
GomoMMD
Posts: 3
Joined: Sun Feb 19, 2017 5:57 am

Sims 2 ds "Rom.bin"

Post by GomoMMD »

Hello! I am in dire need of trying to extract the model files from this sims 2 ds game (Dont ask me why i want them) but if someone can assist me in extracting the "Rom.bin" archive I will be grateful!

Here is the link to the "Rom.Bin" file https://www.dropbox.com/s/xmcomheoymuaibu/rom.rar?dl=0 It is in a rar file for purposes I cannot remember.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sims 2 ds "Rom.bin"

Post by aluigi »

I think the files are compressed in some way but the Nintendo compression fails with them:

Code: Select all

get FILES long
goto 0
math FILES / 4
for i = 0 < FILES
    get OFFSET long
    putarray 0 i OFFSET
next i
math FILES - 1
for i = 0 < FILES
    getarray OFFSET 0 i
    math i + 1
    getarray SIZE   0 i
    math SIZE - OFFSET
    log "" OFFSET SIZE
next
GomoMMD
Posts: 3
Joined: Sun Feb 19, 2017 5:57 am

Re: Sims 2 ds "Rom.bin"

Post by GomoMMD »

aluigi wrote:I think the files are compressed in some way but the Nintendo compression fails with them:

Code: Select all

get FILES long
goto 0
math FILES / 4
for i = 0 < FILES
    get OFFSET long
    putarray 0 i OFFSET
next i
math FILES - 1
for i = 0 < FILES
    getarray OFFSET 0 i
    math i + 1
    getarray SIZE   0 i
    math SIZE - OFFSET
    log "" OFFSET SIZE
next



well I used it, and they are all dat files so I am not sure what to do with all of the dat files from this point forward...