Font Editor for Pyro 2

APC

Member
Joined
Aug 8, 2017
Messages
45
Does anyone know which tool is used to generate Pyro 2 fonts?

It has a unique format, I have attached the default format files, they are different from the Cerberus format.
 

Attachments

  • pyro_fonts_default_10_0.png
    pyro_fonts_default_10_0.png
    1 MB · Views: 37
  • pyro_fonts_default_10.txt
    2.2 KB · Views: 36

APC

Member
Joined
Aug 8, 2017
Messages
45
I will check.
I tried using Fontmachine but it does not load.
 

APC

Member
Joined
Aug 8, 2017
Messages
45
Mike the format is similar to App Game Kit , but comma delimited on the .txt file and at the end it has some tags used by the Pyro 2 Font loader:
code_language.cerberus:
32,3,0,3
33,-1,2,3,0,2,2,5,9
34,-1,2,3,0,18,2,5,5
35,-1,2,6,0,34,2,8,9
36,-2,2,5,0,50,2,8,10
37,0,2,10,0,66,2,10,9
38,-1,2,6,0,82,2,8,10
39,-1,2,1,0,98,2,3,5
40,0,2,4,0,114,2,5,11
41,-1,2,3,0,130,2,5,11
42,-1,2,4,0,146,2,6,5
43,-1,4,5,0,162,2,7,6
44,-1,8,3,0,178,2,4,5
45,-1,6,3,0,194,2,6,3
46,-1,8,3,0,210,2,4,3
47,-1,2,3,0,226,2,5,9
48,-1,2,5,0,242,2,7,9
49,0,2,6,0,258,2,5,9
50,-1,2,5,0,274,2,7,9
51,-1,2,5,0,290,2,7,9
52,-1,2,5,0,306,2,7,9
53,-1,2,5,0,322,2,7,9
54,-1,2,5,0,338,2,7,9
55,-1,2,5,0,354,2,7,9
56,-1,2,5,0,370,2,7,9
57,-1,2,5,0,386,2,7,9
58,-1,4,3,0,402,2,4,7
59,-1,4,3,0,418,2,4,9
60,0,3,6,0,434,2,7,7
61,-1,4,6,0,450,2,8,5
62,0,3,6,0,466,2,7,7
63,-1,2,5,0,482,2,7,9
64,-1,2,10,0,2,17,12,11
65,-2,2,7,0,18,17,10,9
66,0,2,6,0,34,17,7,9
67,-1,2,7,0,50,17,9,9
68,0,2,7,0,66,17,8,9
69,0,2,7,0,82,17,8,9
70,0,2,6,0,98,17,7,9
71,-1,2,8,0,114,17,9,9
72,0,2,8,0,130,17,8,9
73,0,2,3,0,146,17,3,9
74,-1,2,5,0,162,17,6,9
75,0,2,7,0,178,17,8,9
76,0,2,6,0,194,17,7,9
77,0,2,9,0,210,17,9,9
78,0,2,8,0,226,17,8,9
79,-1,2,7,0,242,17,9,9
80,0,2,7,0,258,17,8,9
81,-1,2,7,0,274,17,10,10
82,0,2,8,0,290,17,9,9
83,-1,2,7,0,306,17,9,9
84,-1,2,7,0,322,17,9,9
85,0,2,8,0,338,17,8,9
86,-1,2,7,0,354,17,9,9
87,-1,2,9,0,370,17,12,9
88,-1,2,7,0,386,17,9,9
89,-1,2,7,0,402,17,9,9
90,0,2,7,0,418,17,8,9
91,0,2,3,0,434,17,5,11
92,-1,2,3,0,450,17,5,9
93,-2,2,3,0,466,17,5,11
94,-1,2,5,0,482,17,7,6
95,-2,10,6,0,2,32,9,3
96,-1,2,3,0,18,32,5,3
97,0,4,6,0,34,32,7,7
98,0,2,6,0,50,32,7,9
99,-1,4,5,0,66,32,7,7
100,-1,2,6,0,82,32,7,9
101,-1,4,6,0,98,32,8,7
102,-1,2,3,0,114,32,6,9
103,-1,4,6,0,130,32,7,9
104,0,2,6,0,146,32,6,9
105,0,2,3,0,162,32,3,9
106,-2,2,3,0,178,32,5,11
107,0,2,5,0,194,32,7,9
108,0,2,3,0,210,32,3,9
109,0,4,9,0,226,32,9,7
110,0,4,6,0,242,32,6,7
111,-1,4,5,0,258,32,7,7
112,0,4,6,0,274,32,7,9
113,-1,4,6,0,290,32,7,9
114,0,4,4,0,306,32,5,7
115,-1,4,6,0,322,32,7,7
116,-1,2,3,0,338,32,5,9
117,0,4,6,0,354,32,6,7
118,-1,4,5,0,370,32,7,7
119,-1,4,7,0,386,32,10,7
120,-1,4,5,0,402,32,7,7
121,-1,4,5,0,418,32,7,9
122,0,4,6,0,434,32,7,7
123,-1,2,3,0,450,32,5,11
124,0,2,3,0,466,32,3,11
125,-1,2,3,0,482,32,5,11
126,0,4,7,0,2,47,7,4

loader = bitmap
format = png
bitmaps = 1
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,042
Maybe you can write a small conversion tool for one of the regular bitmap font creation tools.
 

APC

Member
Joined
Aug 8, 2017
Messages
45
I will give it a try, first I will edit one manually and if it works then I will write a code to convert the Glyph Designer export to App Game Kit.
I will keep you posted.
I already use Font Machine but it generated an error when I compile for the Android Target, I posted there years ago and @ziggy probably did not see it and now there is no support . Here is the post Font Machine Android Compilation Error
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,042
Well you mentioned Pyro2. Pyro2 is for Monkey2. So not compatible with CX at all.
 

APC

Member
Joined
Aug 8, 2017
Messages
45
Mark , my apologies, it is Pyro not Pyro 2, I have it running on CX .
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,042
Ehm... please call me Mike or Michael.

Regarding fontmachine not working on Android. Does it work on Desktop?
 
Top Bottom