塞尔达传说 魔吉拉的面具3D 破解笔记
字库jpn16.gzf
see: https://github.com/IcySon55/Kuriimu/blob/master/src/Cetera/Font/GZF.cs
====
Header
47 5A 46 58: Magic GZFX
00 00 04 00: version 4
30 00: imgInfoOffset 0x30
08 00: unk1
0C 00 00 00: entryLength 0x0C
03 00 00 00: imgCount 3
44 0B 00 00: entryCount 0xB44
0A FF 00 00: unk2
02 00 00 00: unk3
0E: format(0x0E=mm3dReadabel,0x0A=KukkiiReadable)
00: pad1
10 00: unk4
03 00: unk5
10 00: unk6
17 00 00 00: unk7
00 00 00 00: pad2
====
ImgInfo
00 88 00 00: img0 ofs 0x8800
00 04: w 1024
80 00: h 512
00 88 01 00: img1 ofs 0x18800
00 04: w 1024
80 00: h 512
00 88 02 00: img1 ofs 0x28800
00 04: w 1024
00 04: h 1024
====
charInfo
20 00 00 00: space
04 00: h 4
00 00: img0
06 00: w 6
00 00: id0
21 00 00 00: !
07 00: h 7
00 00: img0
05 00: w 6
01 00: id1
(start:0x876C)
E5 FF 00 00: ¥
0C 00: h 0x0c
02 00: img2
03 00: w 3
12 27: id 0x2712
塞尔达传说 魔吉拉的面具3D 破解笔记
format
0x0E实际应该是A4
Kukkii认为:
0x0A=L4
0x0B=A4
0x0E=DXT1
(其实就是这里的enum https://github.com/IcySon55/Kuriimu/blob/master/src/Cetera/Image/Common.cs#L11)
塞尔达传说 魔吉拉的面具3D 破解笔记
Z-Order
https://github.com/IcySon55/Kuriimu/blob/master/src/Cetera/Image/Common.cs
L279, L299, L353, L366