The VG Resource
How to extract Wii .bin files? - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: Discussion Boards (https://www.vg-resource.com/forum-133.html)
+--- Forum: Help me! (https://www.vg-resource.com/forum-137.html)
+--- Thread: How to extract Wii .bin files? (/thread-27093.html)



How to extract Wii .bin files? - NeonZed - 05-05-2015

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.


RE: How to extract Wii .bin files? - puggsoy - 05-06-2015

Yeah, post some samples. The fact that you saw some references to .tga files sounds promising, with luck they're not too weird.


RE: How to extract Wii .bin files? - TGE - 05-06-2015

I'd be surprised if they were plain TGA, considering it's on the Wii


RE: How to extract Wii .bin files? - NeonZed - 05-06-2015

Heres the sample, is there anyway to extract models from there?
http://www.mediafire.com/download/2gwlrmipowqm9o6/sample.rar


RE: How to extract Wii .bin files? - puggsoy - 05-06-2015

(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.


RE: How to extract Wii .bin files? - NeonZed - 05-06-2015

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.


RE: How to extract Wii .bin files? - larsenv - 05-12-2015

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.


RE: How to extract Wii .bin files? - NeonZed - 05-20-2015

Yes is for Konami games. Sorry for late reply, haven't see this topic for days lol


RE: How to extract Wii .bin files? - larsenv - 05-20-2015

Well this mystery is solved, isn't it? Tongue


RE: How to extract Wii .bin files? - NeonZed - 05-27-2015

I don't think so Tongue i haven't got the models from there yet


RE: How to extract Wii .bin files? - larsenv - 05-28-2015

(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...