Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

unity fnt A little found

Featured Replies

  • Author
  • Localization

nmdpkvs, posted Fri Nov 17, 2017 2:51 am (30085)


Not you can not find him; he can be any type * .7 *. 144*.-44~~~~~~~~, and so on
So you need to look for a possible, he between 3 KB - 10 KB is limited to the size of the ASCII code, if Asia may be large
Parse the data

Fnt The XML data
Code:
id="33" x="2034" y="626" width="6" height="21" xoffset="1" yoffset="5" xadvance="8" page="0" chnl="15" 

bmfont Binary data (length of 20)*(page= truncation)
Code:
21 00 00 00/F2 07 72 02 /06  00 15 00/01 00 05 00/08 00 00 0F
ID=21 00 00 00/X=F2 07/Y=72 02/W=06 00/H=15 00/ xoffset=01/ yoffset=05 00/ xadvance=08 00/ chnl=00 15

How to calculate the column
Code:
ID=0021=33/X=07F2=2034/Y=0272=626/W=0006=6/H=0015=21::::


Type 2

ID is an integer

The remainder is a floating number


Game fnt file(length of 32)(chnl=truncation)

Code:
21 00 00 00 /00 00 B7 43 /00 80 BE 43 /00 00 7A 41 /00 A0 63 42 /00 00 22 40/00 C0 63 42 /00 80 9B 41


Code:
ID=0021=33/x=43B70000=366/Y=43BE8000=381/W=417A0000=15.625/H=4263A000=56.90625/page=40220000=2.53125/Xoffset=4263C000=56.9375/yoffset=419B8000=19.4375



May not be very correct but would like to help other people
  • Author
  • Localization

nmdpkvs, posted Fri Nov 17, 2017 5:46 am (30086)


Here said that a new type of computing

Game fnt file(length of 36)(xadvance=truncation)
Code:
34 00 00 00/00 C0 2F 44/00 80 EC 43/00 80 61 42/00 A0 91 42/00 00 54 40/00 A0 91 42 /00 80 7C 42/00 00 80 3F/

ID=34 00 00 00/X=00 C0 2F 44/Y=00 80 EC 43/W=00 80 61 42/H=00 A0 91 42/page=00 00 54 40 /xoffset=00 A0 91 42/yoffset=00 80 7C 42/chnl=00 00 80 3F


Calculate Please use the floating point
Code:
ID=52/X=442FC000=703/Y=43EC8000=473/W=42618000=56.375/H=4291A000=72.8125/page=40540000=3.3125/xoffset=4291A000=72.8125/yoffset=427C8000=63.125/chnl=3F8000=1
  • Author
  • Localization

aluigi, posted Fri Nov 17, 2017 8:02 am (30089)


Please don't use colors in the posts.
You can use the \[code\] tag for some parts of code like I did with your posts, I think they look better now.
Maybe upload also the fnt file you are analyzing so the other users can understand what you mean and your values.
  • Author
  • Localization

nmdpkvs, posted Fri Nov 17, 2017 8:43 am (30090)


aluigi wrote:
Please don't use colors in the posts.
You can use the \[code\] tag for some parts of code like I did with your posts, I think they look better now.
Maybe upload also the fnt file you are analyzing so the other users can understand what you mean and your values.


I'm sorry
However, in many Unity new games they are used to represent the floating point
In addition to id is an integer, the other is a floating point
  • Author
  • Localization

nmdpkvs, posted Fri Nov 17, 2017 9:03 am (30092)


Will be updated regularly
  • Author
  • Localization

nmdpkvs, posted Fri Nov 17, 2017 9:07 am (30093)


aluigi wrote:
Please don't use colors in the posts.
You can use the \[code\] tag for some parts of code like I did with your posts, I think they look better now.
Maybe upload also the fnt file you are analyzing so the other users can understand what you mean and your values.


I don't know how to show the picture directly.
  • Author
  • Localization

nmdpkvs, posted Fri Nov 17, 2017 10:14 am (30095)


I have a lot of data to write wrong too much
  • Author
  • Localization

aluigi, posted Fri Nov 17, 2017 11:49 am (30096)


It's easy to add images, both linked (with the img bbcode) and attached.
Do what's more easy and better for you. It's ok for me :)
  • Author
  • Localization

nmdpkvs, posted Sat Nov 18, 2017 1:14 am (30109)


aluigi wrote:
It's easy to add images, both linked (with the img bbcode) and attached.
Do what's more easy and better for you. It's ok for me :)


I want to make some comments to the forum,to improve some of the function.

First of all, we can just use the word document paste conversion.
Second, automatic typesetting.
Third,use the insert picture.
Because I think it is better for me to do some tutorials.Some of the tutorials require a lot of pictures to understand.I can't explain all of these in a few words.
In my home town THE BBS can do so, and it's really convenient.
  • Author
  • Localization

aluigi, posted Sat Nov 18, 2017 7:53 pm (30119)


This is a standard phpbb forum.
Probably it's better if you complete the job, upload it on a website and then link it here.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.