I was wondering; Could somebody make a .WAD extractor and repacker? They contain animations used by the game characters. If one could extract these, the animations could be more easily replaced (they can be replaced with a hex editor such as HxD, but it is tedious). Thanks!
Link:
https://www.dropbox.com/s/njj9m4u221s2o ... lr.7z?dl=1
Monsters, Inc. (PS2) .WAD animation extractor?
-
- 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) .WAD animation extractor?
I don't know if it works also with the other WAD archives because the offset may change:
Code: Select all
math OFFSET = 0x1f58
for
goto OFFSET
get DUMMY long
getdstring NAME 0x18
get SIZE long
savepos OFFSET
log NAME OFFSET SIZE
math OFFSET + SIZE
next
-
- Posts: 118
- Joined: Sun Dec 14, 2014 3:56 pm
Re: Monsters, Inc. (PS2) .WAD animation extractor?
It worked for the most part, but it won't reimport (or extract all of the files, it seems). To be specific it gave this exact error when trying to reimport:
incomplete input file 0: C:\Users\Me\Documents\PS2 Games\scareflr.wad
Can't read 4 bytes from offset 3fa1d3f9.
When extracting the file, it will give this error:
Can't read 4 bytes from offset 00510547
I tested it on the other .WAD files, and it seems to work.
incomplete input file 0: C:\Users\Me\Documents\PS2 Games\scareflr.wad
Can't read 4 bytes from offset 3fa1d3f9.
When extracting the file, it will give this error:
Can't read 4 bytes from offset 00510547
I tested it on the other .WAD files, and it seems to work.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Monsters, Inc. (PS2) .WAD animation extractor?
Don't worry for the error in scareflr.wad, I didn't add a way to check the end of the archive.
-
- Posts: 118
- Joined: Sun Dec 14, 2014 3:56 pm
Re: Monsters, Inc. (PS2) .WAD animation extractor?
Oh, ok. But, how would the reimporting work? Or is this script not valid for it?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Monsters, Inc. (PS2) .WAD animation extractor?
The reimport must work for sure, the script is valid and simple.
-
- Posts: 118
- Joined: Sun Dec 14, 2014 3:56 pm
Re: Monsters, Inc. (PS2) .WAD animation extractor?
It works perfect now.