Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Monsters, Inc. (PS2) - SKX file extractor/reimporter?

Featured Replies

  • Author
  • Localization

frogz2007, posted Sat Feb 21, 2015 3:14 am (3309)


I am guessing this is going to be relatively easy, since the game handle's stuff very simple (example; The levels are in the form of text files, so position data can be altered, models can be switched, and so on... Basically, what I'm asking is for a script that can both extract and re-import custom files into this. I would be so grateful if this can be done. Thanks.

https://www.dropbox.com/s/wa3uhs6g9fmxl ... KX.7z?dl=0

100 MB compressed
131 MB decompressed
  • Author
  • Localization

aluigi, posted Sat Feb 21, 2015 11:36 am (3321)


So you want to dump just the SDAT section?

You can use a simple ripper script to do that:
Code:
set SIGN string "STRM"
findloc OFFSET string SIGN
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET string SIGN 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""
  • Author
  • Localization

frogz2007, posted Sat Feb 21, 2015 12:40 pm (3329)


Thank you! I appreciate all you have done for me.
  • Author
  • Localization

aluigi, posted Sat Feb 21, 2015 12:43 pm (3330)


Anyway if you tell me exactly what data you need from that archive and how you need it, it's possible improve the script.
Basically the file is a sequence of STRM (0x60 bytes) and SDAT (dynamic size) so it depends what information you need from them.
  • Author
  • Localization

frogz2007, posted Sat Feb 21, 2015 2:38 pm (3337)


Well, basically this file contains all of the dialog from the game. I'm not sure which one it would be. I think it may be the STRM files I need.
  • Author
  • Localization

aluigi, posted Sat Feb 21, 2015 5:47 pm (3342)


I have updated the script using the table at its end:
http://aluigi.org/papers/bms/others/skex_strm_sdat.bms

The data in the SDAT sections (there are more than one SDAT in each dumped file) are just raw mono VAG (22050hz?).
Parsing the format of the extracted files probably require more time and effort, so hope that this is a good starting point.
  • Author
  • Localization

frogz2007, posted Sun Feb 22, 2015 8:42 am (3354)


Hmm. Is there any possible way you could get this WAD archives axtracted as well? They too, are from Monsters Inc. And, if possible, make it so it can be re-imported. Sorry if I'm over-working you/making too many requests.


https://www.dropbox.com/s/gcuaoj8r4l6u8 ... le.7z?dl=0
  • Author
  • Localization

aluigi, posted Sun Feb 22, 2015 8:47 am (3355)


I don't think it contains a file table with information about offset and size of the archived files.
  • Author
  • Localization

aluigi, posted Sun Feb 22, 2015 8:52 am (3357)


The data in it doesn't have much sense. Probably not an archive of files.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.