Font not appearing for People who download my game

So, here's an odd situation. On my computer, my game's font appears just fine. However, when I try to send the build to one of my testers, they've been reporting that they cannot see any text, even after downloading the rtp. Interestingly, this issue does not appear to be happening with other RPG Maker XP games, or so has been reported by one of my testers. I don't want to have to tell all players to "grab a game.exe and launcher.exe" from another game just to get mine to work, so I'd like to know if this is a common issue, and if so, how to fix it.
Are you saying your game's font isn't using Arial by default? What font are you using then?
I'm not sure what font it is but I know it's not arial. Perhaps that's the issue ... 1608738945840.png
Try not excluding files.
Try not excluding files.
Is that an option, or are you telling me not to exclude files in the build? Because I'm not doing the latter, to my knowledge.
Your game is using a custom font, so you'll need to provide the font file for other users to install on their system. Since you don't even know what it is, you could try adding this script I quickly whipped up
Code:
$used_fonts = []
$used_fonts << Font.default_name

class Font
  alias set_name name=
  def name=(name)
    $used_fonts += Array(name)
    $used_fonts.uniq!
    set_name(name)
  end
  
  class << self
    alias set_default_name default_name=
    def default_name=(name)
      $used_fonts += Array(name)
      $used_fonts.uniq!
      set_default_name(name)
    end
  end
end
Run your game through all the problem areas your testers reported, and then just do a script call:
Code:
p $used_fonts
This will tell you what font files your game may be using.
Is that an option, or are you telling me not to exclude files in the build? Because I'm not doing the latter, to my knowledge.
Some times the plugins dont always tell the engine to pull data so when ppl exclude files that are not used they get taken out as they are not requested via plugin. I recommend to include all files to rule out this. If it still doesn't work then you have a different issue.
Your game is using a custom font, so you'll need to provide the font file for other users to install on their system. Since you don't even know what it is, you could try adding this script I quickly whipped up
Code:
$used_fonts = []
$used_fonts << Font.default_name

class Font
  alias set_name name=
  def name=(name)
    $used_fonts += Array(name)
    $used_fonts.uniq!
    set_name(name)
  end
 
  class << self
    alias set_default_name default_name=
    def default_name=(name)
      $used_fonts += Array(name)
      $used_fonts.uniq!
      set_default_name(name)
    end
  end
end
Run your game through all the problem areas your testers reported, and then just do a script call:
Code:
p $used_fonts
This will tell you what font files your game may be using.
I have tried that. The window that popped up said "nil".

Some times the plugins dont always tell the engine to pull data so when ppl exclude files that are not used they get taken out as they are not requested via plugin. I recommend to include all files to rule out this. If it still doesn't work then you have a different issue.
I've been using the "Compress Game Data" option to compress my builds to send to others. Is that what you mean?
They are talking about "excluding unused files" when deploying your project.
I have tried that. The window that popped up said "nil".
This sounds like you didn't even put the script above Main like you're supposed to...
This sounds like you didn't even put the script above Main like you're supposed to...
I did not, because I did not know I was supposed to. I have not done anything with scripting yet, prior to this.

Now that that's done, it came up with "Arial", "Perfect DOS VGA 437". I take it the second one is that one I need to send to my testers?
Yes. You will need your players to have this font installed. I'm assuming for the time being you can just send them a link to download the TTF. But you should look into another method to ensure it is installed automatically. For example, I think this script works, but some people have reported issues with it in the past.

And while you're at it, you should CTRL + SHIFT + F in your scripts to find Perfect DOS VGA 437. You say you haven't done anything with scripting, but changing the game font is definitely something that involves scripting.
Some times the plugins dont always tell the engine to pull data so when ppl exclude files that are not used they get taken out as they are not requested via plugin. I recommend to include all files to rule out this. If it still doesn't work then you have a different issue.
They are talking about "excluding unused files" when deploying your project.
You're both talking about something MV/MZ does. OP is using RPG Maker XP and there's no excluding files option when deploying your game. (And there's no such things as "plugins" in XP, it's called scripts.)
Yeah, i thought it was like that when OP seemed confused about it. Wasn't sure myself. Been ages when i used XP the last time. @Zwataketa , is there a specific reason you're using this dated software? Because right now, MV is on sale for a measly ~20 Bucks on steam. Maybe it's a good idea to think about upgrading.
You're both talking about something MV/MZ does. OP is using RPG Maker XP and there's no excluding files option when deploying your game. (And there's no such things as "plugins" in XP, it's called scripts.)
Yeah I wasn't thinking straight, in transit on my mobile, I tried helping but wasn't helpful! So in that case, i would look at your fonts, and the scripts you have used, as @KK20 has mentioned you must of used a script. You may need to find a way to have the fonts included in your compiled pack and then distribute your game this way.

ultimatley I would look at the scrips being used.
Yes. You will need your players to have this font installed. I'm assuming for the time being you can just send them a link to download the TTF. But you should look into another method to ensure it is installed automatically. For example, I think this script works, but some people have reported issues with it in the past.

And while you're at it, you should CTRL + SHIFT + F in your scripts to find Perfect DOS VGA 437. You say you haven't done anything with scripting, but changing the game font is definitely something that involves scripting.
Well, I haven't done anything, but I am building off of an already existing game, so I'm certain that means there is some font scripting going on already. I'll investigate.

Also, I added the Memory Font Loader and a Fonts folder, putting the ttf files inside, but it causes the game to stop responding before it loads.

Edit: Okay, found this in main:
Spoiler
1608869059391.png
Yet, after testing, though the menus appear in arial if I change line 9, the dialog boxes ar still in Perfect Dos VGA 437, which means there's also somewhere else in the code that changes the font.

Yeah, i thought it was like that when OP seemed confused about it. Wasn't sure myself. Been ages when i used XP the last time. @Zwataketa , is there a specific reason you're using this dated software? Because right now, MV is on sale for a measly ~20 Bucks on steam. Maybe it's a good idea to think about upgrading.
I got XP because I specifically needed it for this project, since the game I'm working off of was made in said engine. It's not a matter of upgrading right now.
Maybe that font is not there in their computer. It is required to install that font but in later rpg maker like vx ace can include font files in their game. But this can be maybe fixed by some script usage and including your font

Original thread: https://forums.rpgmakerweb.com/threads/font-not-appearing-for-people-who-download-my-game.131291/