05-06-2015, 09:01 AM
(05-06-2015, 05:55 AM)TGE Wrote: I'd be surprised if they were plain TGA, considering it's on the Wii
Me too, but it would be a nice surprise
Well I made a QuickBMS script for the .bin files:
Code:
endian big
idstring "WII\x00"
get UNK long
get FILES long
get NMFLAG long
set NAMESOFF 0x08
math NAMESOFF *= FILES
math NAMESOFF += 0x10
for i = 0 < FILES
get OFFSET long
get SIZE long
savepos TMP
if NMFLAG == 8
set NMOFF 0x20
math NMOFF *= i
math NMOFF += NAMESOFF
goto NMOFF
getdstring NAME 0x20
else
goto OFFSET
getdstring EXT 0x03
string NAME P= "%OFFSET|h%"
if EXT == "WII"
string NAME += "."
string NAME += EXT
endif
endif
goto TMP
log NAME OFFSET SIZE
next i
This will extract the .bin files. These will typically output .WII files (and maybe some extensionless files, although I'm not sure what to do with them). The .WII files can also be extracted with this script.
The most interesting one of the two files is STG003.bin. If you extract this you get two .WII files. Extract the first (bigger) one and you'll get a bunch of .tpl, .zmb, and .zab files. The .zmb files seem to contain these .tga files, which as TGE said don't look like plain standard .tga. They also have some other info I'm not sure about. The .zab files contain models I think, although I'm not familiar with model data so I could be wrong. The .tpl files I have no idea, maybe some sort of extra info for something or other.
I have to sleep now (I should have gone an hour ago lol) but I might take a closer look at those .tgas tomorrow.