Tyulis / 3DSkit

A multi-purpose and pluggable program to extract and repack files found in 3DS (and some other Nintendo consoles) games
GNU General Public License v3.0
68 stars 11 forks source link

No support for unpacking BFFNT v4.1 #13

Closed Martin005 closed 6 years ago

Martin005 commented 6 years ago

There is no support for unpacking BFFNT version 4.1.0. This version can be found in Super Mario Odyssey.

Here is included one example font: NumberFont26.zip

Here is the same font but extracted as png (credits to Random Talking Bush and SciresM - https://www.spriters-resource.com/nintendo_switch/supermarioodyssey/sheet/103323/): numberfont26_23x31

Tyulis commented 6 years ago

OK, I'll try to take a look to it

Tyulis commented 6 years ago

Huh... Your file is a BFFNT built around a BNTX texture. That's quite weird.

Martin005 commented 6 years ago

I have actually found a QuickBMS script for "BNTX, BFRES and BFFNT to DDS" specifically for the Switch (if that helps) - https://mega.nz/#!mhxUgD6T!S1De3dz3VsoHyoDc8ecNfhW0eZRoIOPDdHhLK9fDMu0.

It was originally posted by the aforementioned Random Talking Bush - https://www.vg-resource.com/thread-29836.html

Tyulis commented 6 years ago

I added support for this, and BC4 textures. The result is reversed, it may be for hardware optimisation, I'll search if there is something in the file to detect that. Waiting for it, a few seconds in any image editor can solve the problem.

Martin005 commented 6 years ago

@Tyulis I cannot see any commits in regards of this, could you please check that?

Tyulis commented 6 years ago

Huh... I though that I pushed it, sorry.