Skip to: Site menu | Main content


Welcome to PSP-Programming.com, a place for developers to get together.

Welcome to the forums. Here you can find other user tutorials as well as homebrew releases and the source code repository. You can also ask for help with your code here and post your own homebrew!

PSP-Programming.com Forums
February 04, 2012, 10:03:05 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

News: Check out the Code Section!
Home Help Search Shop Login Register
Digg This!
Pages: [1] 2 3
Print
Author Topic: Tutorials  (Read 23120 times)
harleyg
Give miinaturvat Points!
Full Member
***

Karma: +11/-14
Offline Offline

Posts: 231
0.00 points

View Inventory
Send Money to harleyg

View Profile
« on: July 23, 2006, 09:18:58 AM »

If you have anything you think should go in the tutorials sticky, please post in this thread.

The tutorials sticky is located here: http://www.psp-programming.com/forums/index.php?action=globalAnnouncements;id=1
« Last Edit: November 19, 2006, 05:00:16 AM by Insert_Witty_Name » Logged


whazilla
Sr. Member
****

Karma: +2/-8
Offline Offline

Posts: 377
1793.33 points

View Inventory
Send Money to whazilla


View Profile
« Reply #1 on: July 23, 2006, 09:57:33 AM »

damn nice tuts Very Happy

GU stuff (like graphics.c)
Lokust simple GU sprite demo
sprite transformers using GU
Sprite rotation
resizing images

SDL stuff
SDL turtorial 1
sdl2
sdl docs

Packing
Objects
load .c image as object
Logged
harleyg
Give miinaturvat Points!
Full Member
***

Karma: +11/-14
Offline Offline

Posts: 231
0.00 points

View Inventory
Send Money to harleyg

View Profile
« Reply #2 on: July 23, 2006, 12:18:09 PM »

Done.
Logged
whitehawk
Global Moderator
Full Member
*

Karma: +0/-0
Offline Offline

Posts: 188
459.57 points

View Inventory
Send Money to whitehawk


View Profile WWW
« Reply #3 on: July 31, 2006, 07:09:39 PM »

Are all of those PSP specific, or C in general?

NVM: Some are, some aren't.
Logged


bronxbomber92
Give miinaturvat Points!
All-Around Dev
Hero Member
*

Karma: +16/-2
Offline Offline

Posts: 663
3689.59 points

View Inventory
Send Money to bronxbomber92

View Profile
« Reply #4 on: July 31, 2006, 07:26:36 PM »

is their anyway we could get a good translation of this tut into english?
SDL - Part 1: Installation of SDL on PSPSDK by Eskema 2006
thanks if anyone can do.
Logged

TNR360
Full Member
***

Karma: +0/-0
Offline Offline

Posts: 121
0.00 points

View Inventory
Send Money to TNR360

View Profile
« Reply #5 on: July 31, 2006, 07:39:10 PM »

Quote from: "bronxbomber92"
is their anyway we could get a good translation of this tut into english?
SDL - Part 1: Installation of SDL on PSPSDK by Eskema 2006
thanks if anyone can do.


send me the original link and I'll do it
Logged
bronxbomber92
Give miinaturvat Points!
All-Around Dev
Hero Member
*

Karma: +16/-2
Offline Offline

Posts: 663
3689.59 points

View Inventory
Send Money to bronxbomber92

View Profile
« Reply #6 on: August 01, 2006, 06:43:09 AM »

Thanks, heres the link http://feonix.dommel.be/eng%20tuts/translate01.htm
Its actually translated pretty decent, but from looking at the top there are some stuff that hasnt been translated fully. Anyways, thanks
Logged

TNR360
Full Member
***

Karma: +0/-0
Offline Offline

Posts: 121
0.00 points

View Inventory
Send Money to TNR360

View Profile
« Reply #7 on: August 01, 2006, 08:54:45 AM »

We're going to start by supposing you already have cygwin and the pspsdk installed (of course if you use linux you don't need cygwin).

If not you'll need to install them using the following tutorial: http://www.psp-programming.com/tutorials/c/lesson01.htm
The first step is to open cygwin and type in the following line:

export PATH=$PATH:/usr/local/pspdev/bin

You can also do this by editing the file .bashrc that is in the folder home/user where you have cygwin installed.

When you type tat you're telling the enviroment where the pspsdk directory is, which is necessary to compile the SDL library and be able to use it. Next, we'll go into the toolchain folder and type the following lines one at a time and then just wait:

cd /trunk/SDL

./autogen.sh

LDFLAGS=”-L$(psp-config –-pspsdk-path)/lib -lc -lpspuser” ./configure --host psp --prefix=$(psp-config –-psp-prefix)

make

make install


If you've done everything right you should have SDL installed, now we're going to do the rest of the libraries, we are going to continue by installing SDL_image.

SDL_image needs other libraries to work, zlib, libpng and jpeg, so we'll install those first, we're going to type the following:

cd ..

cd /trunk/zlib

make

make install



now lets do libpng

cd ..

cd /trunk/libpng

make

make install


and last we need jpeg

cd ..

cd/trunk/jpeg

make

make install


Now that we have the libraries to install SDL image lets get to it:

cd ..

cd /trunk/SDL_image

./autogen.sh

LDFLAGS=”-L$(psp-config --pspsdk-path)/lib -lc -lpspuser” ./configure --host psp --with-sdl-prefix=$(psp-config –-psp-prefix) –prefix=$(psp-config –-psp-prefix)

make

make install




Now that SDL_image and it's dependant libraries are installed, we're going to do SDL_mixer.

This library also needs others which are, SDL, libogg, libtremor y libvorbis, we'll satrt with libogg and lubtremor

cd ..

cd /trunk/libogg

LDFLAGS=”-L$(psp-config --pspsdk-path)/lib -lc -lpspuser” ./autogen.sh --host psp --prefix=$(psp-config --psp-prefix)

make

make install


now lets do libtremor

cd ..

cd /trunk/libTremor

LDFLAGS=”-L$(psp-config --pspsdk-path)/lib -lc -lpspuser” ./autogen.sh --host psp --prefix=$(psp-config --psp-prefix)

make

make install



now SDL_mixer

cd..

cd /trunk/SDL_mixer

./autogen.sh

LDFLAGS=”-L$(psp-config --pspsdk-path)/lib -lc -lpspuser” ./configure --host psp --with-sdl-prefix=$(psp-config --psp-prefix) –disable-music-mp3 --prefix=$(psp-config –-psp-prefix)

make

make install



last we're going to install SDL_gfx which we'll use to put in text, make rotations and much more

cd ..

cd /trunk/SDL_gfx

AR=psp-ar

LDFLAGS=”-L$(psp-config --pspsdk-path)/lib -lc -lpspuser” ./configure --host psp --with-sdl-prefix=$(psp-config --psp-prefix) –prefix=$(psp-config --psp-prefix) --disable-mmx --disable-shared

make

make install



NOw we have all the SDL libraries instaled, we're just missing the last one, SDL_ttf, this library is for putting text on the screen using ttf fonts, but since I don't use it I leave it up to you to install it.

You just need to read the README.PSP and you'll have instructions on compiling the library, lets say the library depends on freetype, that means you need to install freetype first and then SDL_ttf.


Hope you enjoyed the tutorial Wink

Translated by me Very Happy yay
Logged
TNR360
Full Member
***

Karma: +0/-0
Offline Offline

Posts: 121
0.00 points

View Inventory
Send Money to TNR360

View Profile
« Reply #8 on: August 01, 2006, 08:56:04 AM »

Quote from: "bronxbomber92"
Thanks, heres the link http://feonix.dommel.be/eng%20tuts/translate01.htm
Its actually translated pretty decent, but from looking at the top there are some stuff that hasnt been translated fully. Anyways, thanks


me knowing spanish as well as english well that translation suks lol

for me at least
Logged
bronxbomber92
Give miinaturvat Points!
All-Around Dev
Hero Member
*

Karma: +16/-2
Offline Offline

Posts: 663
3689.59 points

View Inventory
Send Money to bronxbomber92

View Profile
« Reply #9 on: August 01, 2006, 09:35:40 AM »

Thanks a lot Very Happy So there is nothing I need to dl?
Logged

TNR360
Full Member
***

Karma: +0/-0
Offline Offline

Posts: 121
0.00 points

View Inventory
Send Money to TNR360

View Profile
« Reply #10 on: August 01, 2006, 09:40:27 AM »

If you have everything mentioned in the above to tutorial

no
Logged
TNR360
Full Member
***

Karma: +0/-0
Offline Offline

Posts: 121
0.00 points

View Inventory
Send Money to TNR360

View Profile
« Reply #11 on: August 04, 2006, 10:42:47 AM »

Quote from: "harleyg"
Updated with new format: easyer to read.


@TNR360: Can you please post a link to that tutorial?


what do you mean?

I translated it right here on the forum

you could post it on the tutorial section and link to it from here though
Logged
Soulkiller
Miinaturvat Rules!
Hero Member
*****

Karma: +77/-6
Offline Offline

Posts: 1151
83.50 points

View Inventory
Send Money to Soulkiller


View Profile
« Reply #12 on: August 04, 2006, 11:52:54 AM »

Don't you think this should be in the general PSP section?

Btw soulkillers AI Tuts Wink
http://www.psp-programming.com/dev-forum/viewtopic.php?t=786
Logged

harleyg
Give miinaturvat Points!
Full Member
***

Karma: +11/-14
Offline Offline

Posts: 231
0.00 points

View Inventory
Send Money to harleyg

View Profile
« Reply #13 on: August 04, 2006, 12:03:15 PM »

Added!
Logged
bronxbomber92
Give miinaturvat Points!
All-Around Dev
Hero Member
*

Karma: +16/-2
Offline Offline

Posts: 663
3689.59 points

View Inventory
Send Money to bronxbomber92

View Profile
« Reply #14 on: August 05, 2006, 02:49:38 PM »

Could you please add this? Thanks
http://www.psp-programming.com/dev-forum/viewtopic.php?t=849
Logged

Pages: [1] 2 3
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.264 seconds with 38 queries.
Sister Sites: Guitar Hero 4   BrokeniTouch.com