Monsters, Inc. (PS2) - SKX file extractor/reimporter?
-
- Posts: 118
- Joined: Sun Dec 14, 2014 3:56 pm
Monsters, Inc. (PS2) - SKX file extractor/reimporter?
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
https://www.dropbox.com/s/wa3uhs6g9fmxl ... KX.7z?dl=0
100 MB compressed
131 MB decompressed
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Monsters, Inc. (PS2) - SKX file extractor/reimporter?
So you want to dump just the SDAT section?
You can use a simple ripper script to do that:
You can use a simple ripper script to do that:
Code: Select all
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 != ""
-
- Posts: 118
- Joined: Sun Dec 14, 2014 3:56 pm
Re: Monsters, Inc. (PS2) - SKX file extractor/reimporter?
Thank you! I appreciate all you have done for me.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Monsters, Inc. (PS2) - SKX file extractor/reimporter?
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.
Basically the file is a sequence of STRM (0x60 bytes) and SDAT (dynamic size) so it depends what information you need from them.
-
- Posts: 118
- Joined: Sun Dec 14, 2014 3:56 pm
Re: Monsters, Inc. (PS2) - SKX file extractor/reimporter?
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.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Monsters, Inc. (PS2) - SKX file extractor/reimporter?
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.
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.
-
- Posts: 118
- Joined: Sun Dec 14, 2014 3:56 pm
Re: Monsters, Inc. (PS2) - SKX file extractor/reimporter?
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
https://www.dropbox.com/s/gcuaoj8r4l6u8 ... le.7z?dl=0
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Monsters, Inc. (PS2) - SKX file extractor/reimporter?
I don't think it contains a file table with information about offset and size of the archived files.
-
- Posts: 118
- Joined: Sun Dec 14, 2014 3:56 pm
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Monsters, Inc. (PS2) - SKX file extractor/reimporter?
The data in it doesn't have much sense. Probably not an archive of files.