Error: Failed to Load GameFont

FrozenNuke0327

Veteran
Veteran
Joined
Nov 8, 2016
Messages
38
Reaction score
9
First Language
English
Primarily Uses
RMXP
So Whenever I Try to Load My Game...


SWAPTALE, It Presents Me With This Error Screen, Which is Very Irratating.


Anyone Know a way I can fix this?

bandicam 2016-11-07 13-08-02-707.jpg

bandicam 2016-11-07 13-08-24-011.jpg
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,578
Reaction score
8,641
First Language
English
Primarily Uses
RMMV
I've moved this thread to MV Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
Did you edit any file in the fonts folder?
 

FrozenNuke0327

Veteran
Veteran
Joined
Nov 8, 2016
Messages
38
Reaction score
9
First Language
English
Primarily Uses
RMXP
Yes, I Edited the gamefont.css


Could this be the cause of the error or is it something else?
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
There is a big chance.
You could have written the name of the font wrong, or edited something else you shouldn't...
 

FrozenNuke0327

Veteran
Veteran
Joined
Nov 8, 2016
Messages
38
Reaction score
9
First Language
English
Primarily Uses
RMXP
how do i fix it?


is there any possible way to fix the error
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
show us your gamefont.css, let us see if it is right.
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
In the future, instead of taking a picture of the screen try using the PrntScr key to copy the whole screen, or Alt+PrntScr to copy just the current window, then paste it in an image editor, like even Paint.


That said... I can't find anything wrong...
 

FrozenNuke0327

Veteran
Veteran
Joined
Nov 8, 2016
Messages
38
Reaction score
9
First Language
English
Primarily Uses
RMXP
Originally i was copying and pasting the font "Papyrus Regular" file,name: Papyrus_0, directy after that i, decided to


COPY AND paste Papyrus_0 into gamefont.css thinking it would work.


BUT it just gave me that error instead.
 

wzackw

Veteran
Veteran
Joined
Nov 24, 2015
Messages
38
Reaction score
14
First Language
English
I have the same problem. I've been searching all the forums and there doesn't seem to be an answer. Loading a new font failed, so I changed it back to the generic font (copying and pasting the original code), and it still fails to load every time. I'm using Text Editor on a Mac to change the css file, that's the only weird thing i can think of.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,808
Reaction score
7,884
First Language
German
Primarily Uses
RMMV
Load failed means that the game could not load the fontfile specified.


To solve that problem, you need to find out why the engine couldn't load the fontfile.


It could be a problem of the filename (the filename has to conform to networking specifications, no spaces allowed), it could be because the file was stored at the wrong place.


Or it could have been because the reference in the css goes to the wrong place, or because of differences between fontname and fontfilename (whose are rarely identical).


Or it could be that the file is simply damaged and couldn't be lloaded at all.


I suggest trying to test it with a simple windows font first - one that is already installed and functioning in windows.
 

wzackw

Veteran
Veteran
Joined
Nov 24, 2015
Messages
38
Reaction score
14
First Language
English
I figured it out and everyone should know this:


Apparently editing the .css file in TextEdit on a Mac garbles part of the code (opening the file in Safari or Word showed that it was garbled, even though it looked fine in TextEdit).


So I opened and edited it in Microsoft Word instead, and then it all functioned fine. 


I'm pretty sure I've used TextEdit on a .css file before with no problem, but in this case, avoid it! :)
 

Latest Threads

Latest Posts

Latest Profile Posts


I ended up needing to do a chapter one world map remake. It's still WIP but coming along nicely. =D
Stream will be live shortly! I will be beginning a play-through of Resident Evil 4! Feel free to drop by!

1st iteration on castle interior in Tiled.
I've started up Pillars of Eternity. It's interesting how the game does a "select choice" cutscene using still image art for dramatic flair. I wonder if that might work for my RPGMaker project.
The self-righteous indignation of family when you expect them to pay back money you've leant to them never ceases to amaze me.

Forum statistics

Threads
107,744
Messages
1,031,822
Members
139,883
Latest member
DeAngelis
Top