Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save synctam/e0753bd5306947c473c4abba4c6b9311 to your computer and use it in GitHub Desktop.
Save synctam/e0753bd5306947c473c4abba4c6b9311 to your computer and use it in GitHub Desktop.
Fallout Shelter のフォント座標情報
■フォントの座標情報
futura_0.tex
resources_00002.-20(14260 bytes)
offset value description
--------- ------------------ -----------------------------------
0000( 4):0x00000000 PPtr(game object) FileID
0004( 8):0x350C0000(3125) PPtr(game object) PathID
0008(--):
000C( 1):0x01(1) Enabled
000D( 3):0x000000 Padding?
0010( 4):0x01000000(1) PPtr(MonoScript) FileID
0014( 8):0x7F000000(127) PPtr(MonoScript) PathID
0018(--):0x00000000
001C( 4):0x00000000(0) PPtr(MonoScript) length of Script name
0020( 4):0x00000000(0) PPtr(Material) FileID
0024( 8):0x90000000(144) PPtr(Material) PathID
0028(--):0x00000000
002C( 4):0x00000000(0.0) UVRect: x
0030( 4):0x0000003F(0.5) UVRect: y
0034( 4):0x0000804F(1.0) UVRect: width
0038( 4):0x0000003F(0.5) UVRect: height
003C( 4):0x4C000000(76) BMFont: Size
0040( 4):0x4C000000(76) BMFont: Base
0044( 4):0x00040000(1024) BMFont: Width
0048( 4):0x00040000(1024) BMFont: Height
004C( 4):0x08000000( 8) SpriteName length
0050( 4):0x66757475 futu
0054( 4):0x72615F30 ra_0
0058( 3):0x0A010000(266) array size(num of characters)
----------------------------- ここから各文字の情報
----------------------------- 1文字目
005C( 4):0x20000000(32) index(Character-id). U+0020( ):スペース
0060( 4):0x48000000(72) x
0064( 4):0x58000000(80) y
0068( 4):0x05000000( 5) width
006C( 4):0x03000000( 3) hwight
0070( 4):0xFEFFFFFF(-2) offset-x
0074( 4):0x4F000000(79) offset-y
0078( 4):0x13000000(19) advance
007C( 4):0x0F000000(15) channel
0080( 4):0x00000000( 0) array size(num of kernings)
----------------------------- 2文字目
0084( 4):0x21000000(33) index(Character-id). U+0021(!)
0088( 4):0xFA000000(250) x
008C( 4):0x52010000(338) y
0090( 4):0x11000000(17) width
0094( 4):0x3C000000(60) height
0098( 4):0x01000000( 1) offset-x
009C( 4):0x02000000( 2) offset-y
00A0( 4):0x13000000(19) advance
00A4( 4):0x0F000000(15) channel
00A8( 4):0x00000000( 0) array size(num of kerning)
----------------------------- 3文字目 以下同様
00AC( 4):0x22000000(34) index(character-id). U+0022(")
----------------------------- 最後の文字
375C( 4):0x0FFF0000(65295) index(character-id). U+FF0F(/)
3760( 4):0xB3010000(435) x
3764( 4):0x95030000(917) y
3768( 4):0x5F000000(95) width
376C( 4):0x60000000(96) hight
3770( 4):0x00000000( 0) offset-x
3774( 4):0xF9FFFFFF(-7) offset-y
3778( 4):0x5F000000(95) advance
377C( 4):0x0F000000(15) channel
3780( 4):0x00000000( 0) array size(num of kerning)
----------------------------- footer
3784( 4):0x00000000( 0) PPtr(UIAtlas) FileID
3788( 8):0x00000000( 0) PPtr(UIAtlas) PathID
378C(--):0x00000000
3790( 4):0x00000000( 0) PPtr(UIFont) Replacement FileID
3794( 8):0x00000000( 0) PPtr(UIFont) Replacement PathID
3798(--):0x00000000
379C( 4):0x00000000( 0) array size(array of symbols)
37A0( 4):0x00000000( 0) PPtr(Font) DynamicFont: FileID
37A4( 8):0x00000000( 0) PPtr(Font) DynamicFont: PathID
37A8(--):0x00000000
37AC( 4):0x10000000(16) PPtr(Font) DynamicFont: DynamicFontSize
37B0( 4):0x00000000( 0) PPtr(Font) DynamicFont: DynamicFontStyle
*EOF*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment