Skip to content

PowerShell script to easily convert a font file to GFX format.

Notifications You must be signed in to change notification settings

antond15/gfx-font-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

  • Run the convert.ps1 script
  • Drag and drop your font file to the PowerShell window
  • Confirm and enter prompt details
  • Add the new .gfx file from output folder to your script's stream folder
  • Register the font in-game
Example of how to register a custom font
RegisterFontFile('Arial') -- File name without file extension
local fontId = RegisterFontId('Arial') -- Font name you entered in the convert script
local fontText = '<font face="Arial">This text will have the Arial font</font>'

Credits

About

PowerShell script to easily convert a font file to GFX format.

Topics

Resources

Stars

Watchers

Forks