Jump to content

Hyrule Warriors - Model Format discussion


Twili
 Share

Recommended Posts

http://www.mediafire.com/download/kjlsay4l473l0k4/C_BLACK.bin.gz

http://www.mediafire.com/download/8heiepytuki04x1/c_black_cos.rar

 

These are all of Cia's models. The first file is her "main" model and the other ones in the RAR archive are 6 costumes. They're not actually gzip files, but some unknown compressed/obfuscated format.

 

You need this version of WinRAR to extract the RAR archive: http://filehippo.com/download_winrar_64

 

So, uh, let's figure this out.

 

tumblr_inline_najh70kXTK1snm9o1.png

  • Like 3
Link to comment
Share on other sites

Breakthrough! Thanks to RTB on Facepunch, these files can be decompressed now, with this quickbmbs script:

endian big
comtype unzip_dynamic
goto 0x04
get FILETOTAL long
goto 0x08

for i = 0 < FILETOTAL

get SIZE long

next i

padding 128

savepos OFFSET

for i = 0 < FILETOTAL

get NAME filename
string NAME += i
get SIZE long
savepos OFFSET
clog NAME OFFSET SIZE SIZE
math OFFSET += SIZE
goto OFFSET
padding 128
savepos OFFSET

next i

endfunction

1. Save that script as a regular text document and download quickbms and extract it to some folder: http://aluigi.altervista.org/papers/quickbms.zip

 

2. Create a folder to extract the Hyrule Warriors file to.

 

3. Run quickbms. It will prompt you for the script, the input file, and the output folder.

 

4. ???

 

5. Profit!

 

Next to figure out the models themselves. Later.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Cross-posting from FacePunch...

 

OTYsvqb.png

 

DOWNLOAD MY UPDATED TOOLS HERE: http://www.mediafire.com/download/so6cbfa8p06dldi/TwiliTextureTools.zip

INSTRUCTIONS (for Windows users only  ;)):

1. Extract every file in TwiliTextureTools.zip to the same folder. Move the .bin model file to that folder as well.
2. Open Notepad and type the following:

@echo off
getdxt5bat (name of the .bin model file)

So for Link it would be:

@echo off
getdxt5bat C_LINK.bin

Save this as test.bat in the same folder.

3. Double-click test.bat. It will generate dxt5.bat.
4. Double-click dxt5.bat. out.bin will be generated.
5. Double-click rearrange.exe. rearranged.bin will be generated.
6. Double-click unscramble.exe. unscrambled.bin will be generated.
7. Create a blank 1024x1024 24-bit bitmap in Paint. Save it in the same folder.
8. With a hex editor, copy all of unscrambled.bin and paste it at 0x36 in the bitmap.
9. ???
10. Profit.

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.