gfx-font-converter
gfx-font-converter copied to clipboard
PowerShell script to easily convert a font file to GFX format.
How to use
- Run the
convert.ps1script - Drag and drop your font file to the PowerShell window
- Confirm and enter prompt details
- Add the new
.gfxfile fromoutputfolder to your script'sstreamfolder - 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>'