sepp
Peasant
Posts: 4
|
Post by sepp on Oct 7, 2023 0:11:12 GMT
Greetings everyone,
I'm a (not so) old PSX player of Medievil (was 14 y.o. back when it launched). I'm from Italy.
I'm here because of a small (in fact epic) quest of mine after the font used in the original game. It's been years now, and even Google didn't help much. I've almost lost all hope, but I thought maybe here someone could help. The font I'm talking about is used for the game menus, dialogues and books found throughout the game (it's also used for the text in the intro). I'm assuming you know the original game well enough to understand what I'm referring to.
Anyone? Thanks in advance ^_^
Ciao
|
|
|
Post by Dan's Friend on Oct 7, 2023 1:03:35 GMT
I believe it's custom made for the game, though I could be wrong. It is possible to extract it with programs such as FrogLord.
|
|
sepp
Peasant
Posts: 4
|
Post by sepp on Oct 7, 2023 9:26:23 GMT
You mean its .ttf (font file) could be used in e.g. a Windows environment?
|
|
|
Post by Dan's Friend on Oct 7, 2023 9:40:12 GMT
No, it's a sprite font. But a fan did recreate it some years ago, I can see if I can find the file.
|
|
sepp
Peasant
Posts: 4
|
Post by sepp on Oct 7, 2023 10:36:19 GMT
Yeah someone named Mortus I take it? I couldn't find a way to reach out to him myself. But alright, thanks in advance!
|
|
sepp
Peasant
Posts: 4
|
Post by sepp on Oct 11, 2023 8:11:07 GMT
Hey, any news?
|
|
|
Post by Dan's Friend on Oct 15, 2023 0:23:35 GMT
Sorry, life got in the way. Here's the font; originally by mortus as we discussed, but I've modified it a little as it didn't have an apostrophe: MediEvilFont.ttf (17.36 KB) Some other symbols are missing too. I can try my best to add them if necessary, but hopefully it's good enough for your needs anyway.
|
|
|
Post by mortus on Oct 15, 2023 9:14:38 GMT
sepp Oh, is it really that hard to find any contact to me? Nice to know, I always thought it's pretty easy. If I had known that people would be using this font many years later, I would have put more effort into creating it :V
|
|
|
Post by kris88 on Nov 10, 2023 8:59:23 GMT
Hello! Apologies for not replying to this earlier, I'm not checking in here so often anymore, sadly. Just in case it is of any help, let me drop here the font texture as extracted by the game (my EU version). I should even have the coords table for it somewhere, but can't find it ATM... (I'll update the post if I can.) Edit 2: I found the font map You can get the (X, Y) coords in pixel and the character width by indexing the array below (forgive the C paste...) with the char's ASCII code, less 32 (the space char). The height is fixed to 15px. uint32_t _font_map[] = { 0x000a0000, 0x0005000a, 0x00070010, 0x0005000a, 0x0005000a, 0x000e00a6, 0x0005000a, 0x00050018, 0x0006001e, 0x00060024, 0x0008002a, 0x000a0032, 0x0005003c, 0x00070042, 0x0004004a, 0x0007004e, 0x000b0056, 0x00090060, 0x000c006a, 0x000c0076, 0x000b0082, 0x000b008e, 0x000b009a, 0x000a1000, 0x000b100a, 0x000c1016, 0x00051022, 0x00041028, 0x0005000a, 0x0005000a, 0x0005000a, 0x0008102c, 0x0005000a, 0x000f1034, 0x000d1044, 0x000c1052, 0x000e105e, 0x000d106c, 0x000c107a, 0x000d1086, 0x00101094, 0x000910a4, 0x000b2000, 0x000f200a, 0x000b201a, 0x00112026, 0x000e2038, 0x000d2046, 0x000c2054, 0x000f2060, 0x000e2070, 0x000b207e, 0x000d208a, 0x000e2098, 0x000e20a6, 0x001220b4, 0x000d20c6, 0x000e3000, 0x000d300e, 0x000b301c, 0x000b3026, 0x000b3032, 0x0005000a, 0x000b303e, 0x0007304a, 0x00093052, 0x0009305c, 0x000a3066, 0x000a3070, 0x0008307a, 0x00083082, 0x000b308a, 0x000b3096, 0x000730a2, 0x000730aa, 0x000b30b2, 0x000630be, 0x00104000, 0x000b4010, 0x000a401c, 0x000a4026, 0x000b4030, 0x0009403c, 0x00084046, 0x0009404e, 0x000c4058, 0x000a4064, 0x000e406e, 0x000a407c, 0x000a4086, 0x000a4090, 0x0005000a, 0x0005000a, 0x0005000a, 0x0005000a, 0x000c409a, 0x00095000, 0x0008500a, 0x00075012, 0x000a501a, 0x000c5024, 0x000e6000, 0x000c600e, 0x0009601a, 0x000d6024, 0x000e6032, 0x00095030, 0x0008503a, 0x00075042, 0x000a504a, 0x000c5054, 0x000e6040, 0x000c604e, 0x0009605a, 0x000d6064, 0x000e6072, 0x00095060, 0x0008506a, 0x00075072, 0x000a507a, 0x000c5084, 0x000e6080, 0x000c608e, 0x0009609a, 0x000d60a4, 0x000e60b2, 0x00095090, 0x0007509a, 0x000a50a2, 0x000c50ac, 0x000e50b8, 0x000940ca, 0x000d50c6, 0x000d60c0, 0x000a00b4, 0x000c00be, 0x000b10ae, 0x000e10ba, 0x000810cc, 0x000f40a6, 0x001340b6, 0x000c00ca, 0x001230c4, 0x000410c8 };
Here's a snippet from a tool I wrote years ago to test the font: uint32_t chinfo = _font_map[*text - ' '];
uint8_t ch_x = chinfo & 0x0000FF; uint8_t ch_y = (chinfo & 0x00FF00) >> 8; uint8_t ch_w = (chinfo & 0xFF0000) >> 16; uint8_t ch_h = 0x0F; Attachments:
|
|