forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get ltn0.pgf from XMB

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
dridri



Joined: 31 Jul 2009
Posts: 35

PostPosted: Wed Aug 26, 2009 10:40 pm    Post subject: Get ltn0.pgf from XMB Reply with quote

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...
Back to top
View user's profile Send private message
BenHur



Joined: 20 Oct 2007
Posts: 30

PostPosted: Mon Aug 31, 2009 11:52 pm    Post subject: Re: Get ltn0.pgf from XMB Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group