PGF Font: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(17 intermediate revisions by the same user not shown)
Line 39: Line 39:
List of games using this file format:
List of games using this file format:
* Lunar: Silver Star Harmony (*.PGF) (PSP)
* Lunar: Silver Star Harmony (*.PGF) (PSP)
* many more...


=== Compatible Programs ===  
=== Compatible Programs ===  


* [https://psp.brewology.com/downloads/get.php?id=4911 ttf2pgf]
* [https://psp.brewology.com/downloads/get.php?id=4911 ttf2pgf] (+ [https://github.com/soywiz-archive/pspemu/tree/master/tools/ttf2pgf source code]) / [https://drive.google.com/file/d/1xlcyA08Ri24XChMEo3PzNLYPi5z0LLv-/view?usp=sharing mirror1]
* mkfontset
* mkfontset (this is just a shell script for ttf2pgf tool)
* [https://github.com/tpunix/pgftool pgftool]
* [https://drive.google.com/file/d/1ISTYcWNx5blAfk-g5SMCtDEIZEkmd9IB/view?usp=sharing pgftool] (+[https://github.com/tpunix/pgftool source code])
* [https://ppsspp-font.netlify.app/ PGF font editor (online app)]
* [https://wololo.net/talk/viewtopic.php?t=25767 font hacker]
* [https://wololo.net/talk/viewtopic.php?t=25767 font hacker]
* [https://www.gamebrew.org/wiki/FONTOOL_PSP FONTOOL PSP]


=== See Also ===
=== See Also ===

Latest revision as of 20:37, 9 February 2022

Back to index | Edit this page

PGF

  • Format Type : Font
  • Endian Order : Little Endian
  • Signature : PGF0


Format Specifications

//header
2 bytes (uint16) - header offset  // always 0
2 bytes (uint16) - header size // 392
4 bytes (char) - signature // "PGF0"
4 bytes (uint32) - version major // e.g. 2
4 bytes (uint32) - version minor // e.g. 6
4 bytes (uint32) - length of character map table
4 bytes (uint32) - length of character pointer table
4 bytes (uint32) - number of bits per packed character map entry  // 15
4 bytes (uint32) - number of bits per packed character pointer table entry // 20
4 bytes (uint32) - unknown

// TODO

MultiEx BMS Script

Not written yet.

Notes and Comments

  • The PGF format is a bitmap based font format used in some PSP games.
  • Each letter in font is compressed with RLE compression.

Games

List of games using this file format:

  • Lunar: Silver Star Harmony (*.PGF) (PSP)
  • many more...

Compatible Programs

See Also