Game won't load because of font

Hey guys.
I was trying to change the font on my project, so I followed a steam comment on this topic.
It said to put my custom font in the same folder where the other fonts are and change the "Main Font Filename" to the name of my custom font.

I tried it and now the game doesn't load (I've tried renaming it without the .ttf or .woff, converted the font and etc.).
I tried to go back to the other font, and now it won't load that same one.

I don't even want to change the font anymore, I just want to save this project somehow.

Currently, it looks like this:

1715033832298.png

1715033864149.png

1715033880701.png
It's hard to tell because you have file extensions hidden in Windows, so we can't see if it matches.

If you look at a new, default project, it is correct to include the extension in the database:
1715040146258.png


However, you need to make sure that whatever you enter there actually matches the font you included.

You can either turn on file extensions in Windows (which, frankly, I just recommend if you're going to be doing anything with saving/moving/editing files).

Or you can go to your fonts folder, right-click that file, go to Properties, and check the full filename there:
1715040259039.png

Thank you for your advice.
I've tried changing it to .ttf but it doesn't work either.
I am going to turn on file extensions.
Zombie could be completely wrong, but it looks like your file is a .ttf type and you have named it .woff in the settings of MZ. As mentioned above, they need to 100% match.
Zombie could be completely wrong, but it looks like your file is a .ttf type and you have named it .woff in the settings of MZ. As mentioned above, they need to 100% match.
Thank you for your help, but it still won't load.
1715075715781.png
I don't know if it makes a difference, but have you tried converting the .ttf file to a .woff file with something like Convertio?

Also, I can't tell from the images, but make sure there aren't any spaces in your file names. I am pretty sure I just read something about that being a problem in an older thread about MV. So it is at least worth checking to see if it makes a difference.

Also, just as a personal word of advice from a very cautious person, when I test something like this, I usually test it first in an experimenting project. That way I can't mess up my regular project.
I don't know if it makes a difference, but have you tried converting the .ttf file to a .woff file with something like Convertio?

Also, I can't tell from the images, but make sure there aren't any spaces in your file names. I am pretty sure I just read something about that being a problem in an older thread about MV. So it is at least worth checking to see if it makes a difference.

Also, just as a personal word of advice from a very cautious person, when I test something like this, I usually test it first in an experimenting project. That way I can't mess up my regular project.
Thank you!
I had converted my fonts before, but I used the website you mentioned.
It worked ヽ(・∀・)ノ
I'm glad it worked.

And I forgot to mention...WELCOME to the forums! I just noticed that you recently joined.

Good luck on your projects!
Also, I can't tell from the images, but make sure there aren't any spaces in your file names. I am pretty sure I just read something about that being a problem in an older thread about MV.
You should not have any spaces or special characters in any filenames in either MV or MZ.

They are both Web-based games, which means they use HTML file protocols.

Once you stop play testing and deploy the game, any character that would get turned into a % URL code can break the game's ability to load it.

Original thread: https://forums.rpgmakerweb.com/threads/game-wont-load-because-of-font.168424/