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 

state of the allegro port for the psp

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



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Thu Apr 08, 2010 1:21 am    Post subject: state of the allegro port for the psp Reply with quote

I wonder what is the state of the allegro port for the psp, i found on the forum that there was an effort to port it to version 4.3.10 SVN but on the site there is a 4.4 and a 4.5 in development. I downloaded the 4.4 and it cannot build for the PSP it has no cmake support and I wonder if the psp code in the release is the same as the tar.gz uploaded here in the forum, should one try to get a cmake toolchain to work, or stay back in the tar gz from diedel?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Thu Apr 08, 2010 6:14 am    Post subject: Reply with quote

i think that the port is dead i have make the psp mouse port driver
for it but with the old version and since this no new release
Back to top
View user's profile Send private message Send e-mail MSN Messenger
diedel



Joined: 22 Sep 2008
Posts: 16

PostPosted: Sun Apr 11, 2010 5:47 am    Post subject: Reply with quote

A week ago I rescued the project from the oblivion :)

I'm currently working in the Allegro 4.4 PSP version, migrating to the Cmake building system. I will add the sauron_le_noir's Allegro mouse driver (sorry for not doing it before...)

I hope finish it soon.

Regards.
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Sun Apr 11, 2010 4:40 pm    Post subject: Reply with quote

cool, let me know when you are done, because i would like to add it to the minpspw builds as i received a couple of requests to have it bundled with the other libs!!!

If there is something i can help, just let me know
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
diedel



Joined: 22 Sep 2008
Posts: 16

PostPosted: Sun May 16, 2010 11:37 pm    Post subject: Reply with quote

I just sent a patch with the new version of Allegro PSP to the Allegro Developers mailing list.
I hope they commit it soon to the Allegro SVN.

The build system has migrated to Cmake.
I've added the mouse driver from sauron_le_noir.
Only 2 of the 4 Allegro addons are supported: loadpng and jpgalleg.
The logg Allegro addon needs CV_CALLBACKS_DEFAULT symbol to be defined in the vorbisfile, but it seems is missing in the PSP vorbis library.
And for the allegrogl, a new driver is needed from what I've seen. I don't know if it will be difficult or easy to implement it.

Regards.
Back to top
View user's profile Send private message
Salvy



Joined: 30 Jun 2009
Posts: 9

PostPosted: Tue May 18, 2010 3:15 pm    Post subject: Reply with quote

Thanks diedel! glad to hear Allegro PSP isn't dead :)
I just checked their SVN and your patched hasn't been applied yet :(

Could be possible if you could post it?

Thanks !
Back to top
View user's profile Send private message
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Thu May 20, 2010 3:55 am    Post subject: Reply with quote

thx diedel your allegro port is great
Back to top
View user's profile Send private message Send e-mail MSN Messenger
diedel



Joined: 22 Sep 2008
Posts: 16

PostPosted: Thu May 20, 2010 6:58 am    Post subject: Reply with quote

This is the complete Allegro 4.4 version with the PSP patch applied:
http://cid-701f962f3bbcc721.skydrive.live.com/self.aspx/Public/Allegro/Allegro_4.4_SVN_Rev.13323_PSP_patched.tar.gz

To build it is recommended to create a temporary folder from the Allegro root directory (e.g. Build), change to this directory and type in the shell:
1) cmake -DWANT_TESTS=off -DWANT_TOOLS=off -DWANT_LOGG=off -DWANT_ALLEGROGL=off -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-psp-gcc.cmake ..
2) make
3) make install

All the Allegro examples (including the addons examples) and demos are generated as .prx files within the temporary build folder.
Some of these examples may not function as expected. The solution in most cases is to make small modifications in the example's source code to adapt it to the PSP such as graphics resolution reduction, avoid simultaneous installation of the mouse, joystick and keyboard, etc.

All feedback is welcome :)

And thanks for your support.
Back to top
View user's profile Send private message
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Tue May 25, 2010 7:55 am    Post subject: Reply with quote

Downloaded and compiled on F├ędora 12 without any problem great job
All the samples are compiled as prx modules but only exzbuf has been packaged as
eboot.bpb. I propose to make a homebrew that read the directory where the EBOOT.BPB
is located and to propose to launch the prx samples as pure module what do you thing ?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
diedel



Joined: 22 Sep 2008
Posts: 16

PostPosted: Wed May 26, 2010 12:00 am    Post subject: Reply with quote

Thanks for the reporting :)

If I understand correctly you propose to create a "PRX-selector" EBOOT.PBP to be launched from the XMB. But is it possible to launch a PRX from the XMB?
Back to top
View user's profile Send private message
Salvy



Joined: 30 Jun 2009
Posts: 9

PostPosted: Wed May 26, 2010 6:46 am    Post subject: Reply with quote

Thank you for posting it here diedel !
Back to top
View user's profile Send private message
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Fri May 28, 2010 4:46 am    Post subject: Reply with quote

No, just a new homebrew that read the directory where the prx are. Propose a drop down list with all the prx found and whith for example cross or circle launch the prx
when the prx end, return to the homebrew. It react in fact like a shell.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Tue Aug 31, 2010 1:31 am    Post subject: Reply with quote

The next release of MinPSPW will include Allegro 4.4.1.1 thanks to Diedel! Keep your eyes open on the page: http://www.jetdrone.com/minpspw

Or if you are in a hurry you can get the sources from the SVN reppo.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Kreationz



Joined: 18 May 2008
Posts: 53

PostPosted: Tue Aug 31, 2010 2:08 am    Post subject: Allegro. Reply with quote

Excellent as I was planning to use Allegro for a port of another project for to the PSP.
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