AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
I put the font into the fonts folder and i typed the font's name into the GameFont file and now the project crashes. I'm not quite sure what I'm doing wrong, as far as I know I did it right and I can't see that there are extra steps. What do I do?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,493
Reaction score
14,821
First Language
English
Primarily Uses
RMMV
I assume when the project crashes, you get an error message? What is it? Hit F8 and go to the console (NOT the elements tab) and get a screenshot.
 

AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
I assume when the project crashes, you get an error message? What is it? Hit F8 and go to the console (NOT the elements tab) and get a screenshot.
1620383547485.png
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,877
Reaction score
8,238
First Language
German
Primarily Uses
RMMV
that basically means you typed the wrong name into the gamefont, or made a typo when doing that.

as a reminder: the fontname is not always the same as the font filename, that is where most people make mistakes.
 

AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
that basically means you typed the wrong name into the gamefont, or made a typo when doing that.

as a reminder: the fontname is not always the same as the font filename, that is where most people make mistakes.
where do I find the name I'm supposed to type in then?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,877
Reaction score
8,238
First Language
German
Primarily Uses
RMMV
doubleclick the font - Windows should show you all data then
 

AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
doubleclick the font - Windows should show you all data then
So if I'm to assume it's where it says "Font Name" then you must be wrong. The name of the font is Apple Kid, and when I type that in, same error. The default font is named M+ 1m Regular, if I type that in, still same error. If I type in mplus-1m-regular.ttf though, it works, but not if I type in apple_kid.ttf which was the first thing I did to get this error.
 

CG-Tespy

Professional Persona Panderer
Veteran
Joined
Jan 5, 2019
Messages
37
Reaction score
19
First Language
Spanish
Primarily Uses
RMMV
If you're altering the font through gamefont.css, then you need to make sure that not only did you enter the font filename, but the extension, too. otf, ttf, etc. Not the family name.

For example, I have a font file called Amaranth-Regular.otf. Here are the details:
File name: Amaranth-Regular.otf
Family name: Amaranth
Extension: otf

If I wanted to use that in my project, I'd have the gamefont.css file look like in the picture I attached to this post.

Oh, and it's usually better practice to set your game's main fonts through Yanfly's CoreEngine and MessageCore plugins. They're pretty essential for MV games.
 

Attachments

  • fontEditDemonstration.png
    fontEditDemonstration.png
    16.5 KB · Views: 0

AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
If you're altering the font through gamefont.css, then you need to make sure that not only did you enter the font filename, but the extension, too. otf, ttf, etc. Not the family name.

For example, I have a font file called Amaranth-Regular.otf. Here are the details:
File name: Amaranth-Regular.otf
Family name: Amaranth
Extension: otf

If I wanted to use that in my project, I'd have the gamefont.css file look like in the picture I attached to this post.

Oh, and it's usually better practice to set your game's main fonts through Yanfly's CoreEngine and MessageCore plugins. They're pretty essential for MV games.
I literally said that I tried "apple_kid.ttf" and it did not work. I already have those plugins though, what should I do?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,877
Reaction score
8,238
First Language
German
Primarily Uses
RMMV
it did not work. I already have those plugins though, what should I do?
that you have the plugins may be the reason why it didn't work - plugins work by overriding the existing code, and if you have a plugin installed that sets the font, then it will override the original font setting no matter what you enter there.

in such y case, you need to follow the plugin instructions on how to configure it to get the correct font working.
ALWAYS configure a plugin as soon as it is entered and before adding anything else. A lot of so-called "bugs" are simply because people think they can add and ignore plugins.
 

AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
that you have the plugins may be the reason why it didn't work - plugins work by overriding the existing code, and if you have a plugin installed that sets the font, then it will override the original font setting no matter what you enter there.

in such y case, you need to follow the plugin instructions on how to configure it to get the correct font working.
ALWAYS configure a plugin as soon as it is entered and before adding anything else. A lot of so-called "bugs" are simply because people think they can add and ignore plugins.
what am i supposed to do exactly? I can't tell, the font option in the plugins is merely set to "GameFont". What should I put there instead? I assumed it meant the GameFont file but I already changed the ttf in there.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,877
Reaction score
8,238
First Language
German
Primarily Uses
RMMV
I don't know the plugin - that is why you should read the plugins help section and/or website for its instructions
 

AiNaKa

Villager
Member
Joined
Jul 9, 2016
Messages
20
Reaction score
1
First Language
english
Primarily Uses
I don't know the plugin - that is why you should read the plugins help section and/or website for its instructions
Well the tutorial I watched DID take the plugins into account, but it said to just leave them like that really. And the problem persists even after disabling the plugins, so clearly there's a greater problem here.
 

Latest Threads

Latest Posts

Latest Profile Posts

I am having such a good hair day but because it's thunderstorms all day I don't go out and as such nobody will see my hair >.< It's not often my hair cooperates!
Pretty much stopped posting in the progress thread cuz it feels like talking to the void, lol, so I've just been posting on IG instead. But someone finally liked my post there, lol. Dunno if I'll continue tho. Probably not xD

My game's progressing quite well. Just kinda stuck on mapping right now. Decided to go the side, slightly top down view route. I'm drawing everything from scratch for a personal touch uwu
Stomach isn't feeling too good last time. Perhaps something I ate
Phew! logged back. Seems I was too occupied with 3D learning (yeah for RPGM purposes) creating IRL space, trying to grow catnip, dealing with health and DC is good. (so MrC) ^^
Tyler.stewart wrote on Cherry's profile.
I was wondering if you've heard anything about the patch that allows you to show text anywhere on the screen utilizing pictures being upgraded to work with the official 2k3 release? Your work with 2k3 is awesome dude, keep it alive. I'm 33 and am still playing with 2k3 largely thanks to your work with the game engine. I appreciate the official patch updates you post. Please continue posting

Forum statistics

Threads
112,336
Messages
1,067,503
Members
145,976
Latest member
Merkmal
Top