Zelda games bffnt fonts unpack/repack

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Zelda games bffnt fonts unpack/repack

Post by ISKA »

I need help unpack and repack.
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Re: Zelda games bffnt fonts unpack/repack

Post by ISKA »

Up!
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Zelda games bffnt fonts unpack/repack

Post by LolHacksRule »

For Switch (NX) or Wii U (caFe)?
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Re: Zelda games bffnt fonts unpack/repack

Post by ISKA »

LolHacksRule wrote:For Switch (NX) or Wii U (caFe)?

Wii U.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Zelda games bffnt fonts unpack/repack

Post by LolHacksRule »

I'd use Wexos Toolbox to convert and repack fonts.
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Re: Zelda games bffnt fonts unpack/repack

Post by ISKA »

LolHacksRule wrote:I'd use Wexos Toolbox to convert and repack fonts.

Are you sure? Wexos Toolbox not support export and import, only support readable.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Zelda games bffnt fonts unpack/repack

Post by LolHacksRule »

Darn. No clue then...
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Re: Zelda games bffnt fonts unpack/repack

Post by ISKA »

Up!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Zelda games bffnt fonts unpack/repack

Post by aluigi »

I suppose that the data from offset 0x2000 is xored with the hex bytes 01 00 49 92 24 49 92 24
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Zelda games bffnt fonts unpack/repack

Post by LolHacksRule »

BFFNTs, output SARCs after decompression with https://github.com/Tyulis/3DSkit. You can extract it to get the font image, making a new one then packing requires the NW4F SDK I think...
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Re: Zelda games bffnt fonts unpack/repack

Post by ISKA »

I can't extract with 3dskit. Maybe not support wii u fonts, just 3ds.
actually I have unpack script, bffnt to gtx but not support repack.
Aluigi can you edit for repacks?
Script (quickbms): https://mega.nz/#!Pt5H0aYZ!Pr6DZQDGiGaT ... 6q13Ra6YZI
ISKA
Posts: 223
Joined: Mon Apr 09, 2018 11:09 pm

Re: Zelda games bffnt fonts unpack/repack

Post by ISKA »

Up!
zeldahimi

Re: Zelda games bffnt fonts unpack/repack

Post by zeldahimi »

LolHacksRule wrote:For Switch (NX) or Wii U (caFe)?

For Switch (NX)