How can I load an XMB icon?

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

Moderators: cheriff, TyRaNiD

Post Reply
-DaRealXecon-
Posts: 31
Joined: Wed Jul 09, 2008 7:50 am

How can I load an XMB icon?

Post by -DaRealXecon- »

Hi,

I would like to know how I could load an XMB icon in a Homebrew (User mode) :)

I would like to use "blitAlphaImageToScreen" ;)

I don't know how I could load this because it is in an .rco file... :D


Thanks in advance!

-DaRealXecon-
Mashphealh
Posts: 18
Joined: Wed Nov 28, 2007 4:18 am

Post by Mashphealh »

Use vlf library.
You find it, on Dark_AleX's resurrection source code.
-DaRealXecon-
Posts: 31
Joined: Wed Jul 09, 2008 7:50 am

Post by -DaRealXecon- »

Thank you a lot but I cannot find the code. :p

When you had an link for me, please :)


-DaRealXecon-
Mashphealh
Posts: 18
Joined: Wed Nov 28, 2007 4:18 am

Post by Mashphealh »

-DaRealXecon-
Posts: 31
Joined: Wed Jul 09, 2008 7:50 am

Post by -DaRealXecon- »

Ohh... Thanks!! :)
Pirata Nervo
Posts: 409
Joined: Tue Oct 09, 2007 4:22 am

Post by Pirata Nervo »

REMEMBER THERE ARE BUGS AS IT IS NOT A COMPLETED LIBRARY.
So don't ask for fixes.
Don't bother Dax with bug fixes for that library because I'm sure he has already fixed some of the bugs.
I have never used that library but I know it is not finished and it has some issues (I read this here on this forums).

If you don't want to have problems using it, just don't use it.
Image
Upgrade your PSP
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

If you already have a working program and you want to load an XMB icon as an image for use in your program, then you will have to write code to extract the icon from the RCO (and decompress the RCO).

vlflib allows you to load and use XMB stuff, but only using its own functions. You cannot load the icon from the RCO and then freely use it in your own ways.
Post Reply