[Tutorial PSP] - GL Support in PSPQuake - PSPGL

Post tutorials on how to do certain tasks within game or engine code here.
Post Reply
Team Xlink
Posts: 368
Joined: Thu Jun 25, 2009 4:45 am
Location: Michigan

[Tutorial PSP] - GL Support in PSPQuake - PSPGL

Post by Team Xlink »

Hello.

Today I learned how to do something that is very nice and useful.

I learned how use GL when compiling anything (Quake for example) for the psp.

it is very useful for anyone working with PSP Quake.

Step 1.

Make sure you can compile for the PSP if not go to this link and follow the tutorial.

http://forums.inside3d.com/viewtopic.php?t=1667


Step 2.

Launch Cygwin and type this in:

svn co svn://svn.pspdev.org/psp/trunk/pspgl

When it finishs move onto Step 3.

Step 3.

Type this:

cd pspgl

Step 4.

Type make

When it finishes move onto Step 5.

Step 5.

Type make install

When it finishes your done. But there is more info here.

Optional Stuff.

Step 6.

Now if you want to know how to use it then download this:

http://edorul.free.fr/psp/NeheTutorials1-10_v0.1.rar

^Credit for the link goes to edorul.free.fr^

That includes 10 tutorials on using PSPGL.

Thank you for reading.

Credit
Nehe for the tutorials
PSPGl Author
Team Xlink
Last edited by Team Xlink on Sun Jul 11, 2010 6:54 pm, edited 2 times in total.
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Post by Baker »

Sounds cool. It doesn't worry me a little that PSPGL might not be totally "OpenGL" compatible. I wonder about the performance differences between it and PSPGU (the native PSP 3D API for those that do not know).

Either way this is great information to have available. Thanks!
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Downsider
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Post by Downsider »

PSPGL is just a wrapper that calls the same functions PSPGU does. It's for the ease of programmers that are more familiar with OpenGL than the PSP's GU.
Mexicouger
Posts: 514
Joined: Sat May 01, 2010 10:12 pm
Contact:

Post by Mexicouger »

I'm probably asking a dumb question, But How Do I tie this in with kurok?

And Can I add hlbsp to the psp engine after I do this tutorial?
Downsider
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Post by Downsider »

There's no reason to use this unless you have prior OpenGL experience and are too lazy to learn PSPGU.

And you clearly have zero experience.
mh
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Post by mh »

hlbsp has absolutely nothing to do with the rendering API chosen, you can add it right now if you want.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Post by Baker »

And Can I add hlbsp to the psp engine after I do this tutorial?
Most graphics tutorials don't directly translate to the PSP very well due to hardware contraints and working within a framework of memory limitations.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Downsider
Posts: 621
Joined: Tue Sep 16, 2008 1:35 am

Post by Downsider »

If you want to have the most optimal experience with HLBSP on the PSP, you must:

1) Upload them as 8 BPP instead of 32 (Baker's tutorial does 32)
2) Compress them to one of the DXT formats upon loading them.
Mexicouger
Posts: 514
Joined: Sat May 01, 2010 10:12 pm
Contact:

Post by Mexicouger »

Hmm, Well that's one step closer to Getting hlbsp I guess.

And I do have 0 experience, But I'm willing to learn. I am not a lazy modder, If I need to do something, I will get up and do it.

So I am gonna try my best to mod the kurok engine a bit. And Baker, Whatever happened to that awesome PSP engine you were working on that Combined all the engines?
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Post by Baker »

Mexicouger wrote:And Baker, Whatever happened to that awesome PSP engine you were working on that Combined all the engines?
Time limitations mostly. From February until about a week ago, I had very little free time and the quality was low. This week was different and I got to actually do some stuff for a change ;)

Maybe the trend will continue, I hope so ...
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Mexicouger
Posts: 514
Joined: Sat May 01, 2010 10:12 pm
Contact:

Post by Mexicouger »

I hope will all my hopes that You will come through with this PSP engine...

It would make the psp quake 1 community like so much better and easier
Spirit
Posts: 1065
Joined: Sat Nov 20, 2004 9:00 pm
Contact:

Post by Spirit »

The bar already seems pretty low.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Post Reply