Get ltn0.pgf from XMB

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
dridri
Posts: 34
Joined: Fri Jul 31, 2009 1:47 am

Get ltn0.pgf from XMB

Post by dridri »

Hi, im creating a graphic library for the XMB. I want to use IntraFont, but it uses too much RAM, so I think it's possible to dump the memory and retrieve the adress of the already loaded font by XMB.
But how ? Anyone know the "real" PGFHeader structure used by XMB ?
I'm French, and 15 years old, so my English is not good...
BenHur
Posts: 28
Joined: Sat Oct 20, 2007 5:26 pm

Re: Get ltn0.pgf from XMB

Post by BenHur »

dridri wrote:Hi, im creating a graphic library for the XMB. I want to use IntraFont, but it uses too much RAM, so I think it's possible to dump the memory and retrieve the adress of the already loaded font by XMB.
But how ? Anyone know the "real" PGFHeader structure used by XMB ?
intraFont was created mostly because the internal workings of the font are quite complicated but the pgf file format is well understood. I don't think a simple PGFHeader structure gets you much closer to what you are trying to do and I can't help you with how it could be done. However, did you try the different intraFont flags (e.g. INTRAFONT_CACHE_ASCII) to try to minimize RAM usage? 20 to 33 kB of RAM does not seem very much to me...

BenHur
Post Reply