Users browsing this thread: 1 Guest(s)
How to extract Wii .bin files?
#5
(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 Wink

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.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by: larsenv


Messages In This Thread
How to extract Wii .bin files? - by NeonZed - 05-05-2015, 10:19 PM
RE: How to extract Wii .bin files? - by puggsoy - 05-06-2015, 03:39 AM
RE: How to extract Wii .bin files? - by TGE - 05-06-2015, 05:55 AM
RE: How to extract Wii .bin files? - by puggsoy - 05-06-2015, 09:01 AM
RE: How to extract Wii .bin files? - by NeonZed - 05-06-2015, 07:44 AM
RE: How to extract Wii .bin files? - by NeonZed - 05-06-2015, 10:44 AM
RE: How to extract Wii .bin files? - by larsenv - 05-12-2015, 02:05 PM
RE: How to extract Wii .bin files? - by NeonZed - 05-20-2015, 09:40 AM
RE: How to extract Wii .bin files? - by larsenv - 05-20-2015, 11:46 AM
RE: How to extract Wii .bin files? - by NeonZed - 05-27-2015, 09:52 PM
RE: How to extract Wii .bin files? - by larsenv - 05-28-2015, 06:43 PM

Forum Jump: