The VG Resource

Full Version: How to extract Wii .bin files?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm new so please excuse my language. How to extract models from the .bin files? When i open them in HxD editor i found some interesting lines.. like .tga . I looked up alot of forum post, nothing helps Sad Can anyone help me? I can post samples.
Yeah, post some samples. The fact that you saw some references to .tga files sounds promising, with luck they're not too weird.
I'd be surprised if they were plain TGA, considering it's on the Wii
Heres the sample, is there anyway to extract models from there?
http://www.mediafire.com/download/2gwlrm...sample.rar
(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.
Thank you for these through. I only wanted them to be converted into obj's or stuff and textures. STG003.bin is bigger because is the in game scenery.
Is this for the .bin files for the Konami and Hudson games?

Thanks a quintillion, I'll try this out. I've wanted to do this for forever.

EDIT: Mine doesn't start with Wii, it doesn't have any readable text like "Wii". I'll make a topic later.
Yes is for Konami games. Sorry for late reply, haven't see this topic for days lol
Well this mystery is solved, isn't it? Tongue
I don't think so Tongue i haven't got the models from there yet
(05-27-2015, 09:52 PM)NeonZed Wrote: [ -> ]I don't think so Tongue i haven't got the models from there yet

The model file is another mystery...