PSP3D Left Header
PSP3D Header Right
PSP3D Logo CraveOnline Logo
Help the PSP 3D community grow!
Vote for us below:


Vote on the PSP Top 200
PSP Top 200 - Games, Videos, Wallpapers, Files, Hacks, Homebrew

Development Center - Learn the basics of coding or talk about advanced coding techniques with other developers.

Welcome to PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums!

You are currently viewing our website as a guest, which gives you limited access to reply and interact to discussions and other members. By joining our free community, you will be able to post topics in the forums, communicate privately with other members, vote in polls, and access many other special features.

Registration is fast, simple, and absolutely free so join our community today!

Go Back PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums > PSP Forums > Development Center

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-13-2006, 05:44 AM
2.6,CRACKED!'s Avatar
2.6,CRACKED! 2.6,CRACKED! is offline
Senior Member
My Mood:
 
Join Date: Feb 2006
Posts: 328
Points: 12.84
Donate
Anyone willing to port my games?

First of all I have done the scriptscribbler tutorials all 1-6(I think six is new) and everytime I type Make in Cygwin I get this;

"C:\PSPDev\hellopsp_src>make
The syntax of the command is incorrect.
psp-gcc -I. -IC:/PSPDev/psp/sdk/samples/sdktest/include -O2 -G0 -Wall -L. -LC:/
PSPDev/psp/sdk/samples/sdktest/lib hellopsp.o pg.o -lmad -lpspaudiolib -lpspau
dio -lpsppower -lpspdebug -lpsplibc -lpspkernel -o .elf
/cygdrive/c/PSPDev/hellopsp_src/../lib/gcc/psp/4.0.0/../../../../psp/bin/ld: can
not find -lmad
collect2: ld returned 1 exit status
make: *** [.elf] Error 1

C:\PSPDev\hellopsp_src> "


I can't be bothered to redo everything so is there either an auto-installer or some package that downloads automatically or is there someone who has it installed who is willing to do this for me. Once I know I will upload I just want to see if I have done everything right then I can really contribute because I think I can understand the language, thanks!!
__________________
---!CONGRATS TO FANJITA+DITLEW+CARTER 4 MAKING EBOOT HOMEBREW POSSIBLE!---



Reply With Quote
  #2 (permalink)  
Old 02-13-2006, 05:50 AM
badg0r's Avatar
badg0r badg0r is offline
Senior Member
 
Join Date: Dec 2005
Location: Tilburg, The Netherlands
Posts: 1,647
Points: 15.67
Donate
Lesson 01
Setting up the Development Environment
How to get the toolchain and PSPSDK up and running with CYGWIN on a windows machine. The complete newbie's guide.
This is the first installment in a series of tutorials focussed on getting a novice programmer well on his way to developing his own homebrew applications for the Sony Playstation Portable (PSP). If you are reading this, congratulations, you have hurdled one of the biggest obstacles for a programmer. Likely the most difficult thing about programming is getting started. Well, by starting to read this tutorial, you are well on your way.

The first step to creating your own program is getting your environment set up. This environment is how you will convert the source code you write into a compiled file formatted for execution on you PSP. We will be setting up two important tools on our system.

The first of these tools is called CYGWIN. It is basically a Linux emulator for windows. It will create a simulated Linux environment on your computer so that you can run native Linux applications. This may sound intimidating, but don't worry, it's very simple to use.

The second thing you'll need is the toolchain. This is the key to programming for the PSP. It will set up everything you need, from header files, to libraries, to the compiler itself, to the sample programs. Once you have this installed, you will be nearly ready to create your first program.

Now for the part we've all been waiting for: the installation.

The first step is to install CYGWIN. You can download the install file from the CYGWIN website here. After it has finished downloading, open up the executable. You will see a splash screen; click next. Now you will be asked what you want to do. Select the default option of "Install from Internet," and hit the next button. Now you will be prompted where you want to install CYGWIN. Change the install directory to "C:/cygwin" if it is not set as such already (where C: is your local hard drive). Leave the other options set to their defaults and hit next. Now you will be asked where you want to save the installation files. What you select here doesn't really matter, but I suggest putting them someplace where you will be able to find them and delete them after the installation is complete. Once you have selected a suitable location, click next. The next screen will ask about your network settings, if you don't use a proxy (or don't know what a proxy is), just click next on this screen. If it doesn't work, go back and try letting it use Internet Explorer's settings. Now you should be presented with a list of servers to download the installation files from. Any one of these will do, so select one, and then click on next. Now it will download the package list, this could take a few minutes, depending on your connection speed. Once it is done, scroll down to "devel" and click on where it says "default" so that it becomes "install." Then scroll down to "web," click the "+" next to it, scroll down and set "wget" to "install."

When you are finished, click next. CYGWIN will now download and install the selected packages. This will quite possibly take a while, so go watch a TV show or do some web surfing while you wait. After the install has finished, you are ready to install the toolchain.

Now, we are going to install the toolchain into our CYGWIN environment. To set up our environment, we will need to run CYGWIN first. So, either from the start menu, or from "C:/cygwin," run a CYGWIN bash shell (cygwin.bat). This will open up a command line. Once you see "yourusername@yourcomputername ~" you may close the window; your environment has successfully set up. To download the latest toolchain, go here. It should be at the very bottom of the page. At the time of writing, the latest toolchain file is dated 20051202. Download this file. When it is finished, use Winrar to extract the file contents to "C:/cygwin/home/user," where "user" is your username.

Now it's time to actually install, so open up your CYGWIN bash shell again. Now it's time to introduce you to the Linux command line. You should see a "$" at the beginning of the line. This means that you are running the shell in user mode, as opposed to root (or admin) mode. This is of little importance in CYGWIN, but if you ever use an actual Linux command line, this is an important thing to notice.

We now need to change directories to where we extracted the toolchain. Type "ls" in the bash shell; this stands for list. It will give us an output of all of the files in our current directory (this is similar to "dir" in a Windows command line). Now you should see a folder named "psptoolchain," this is where we want to go. So type "cd psptoolchain" and hit enter. CD stands for change directory, and it will (obviously) switch the current operating directory). Now do a quick "ls" again, and you will see the files in this folder. The one that we are going to use to set everything up is "toolchain.sh."

Due to a recent problem with the toolchain, we need to update everything, so to get the updates and have them modify the toolchain script, you will need to type "svn update" and hit enter.

After that is finished, execute the updated script by typing "./toolchain.sh" and hitting enter. In Linux, "." means the current directory, and ".." means the parent directory, so this command means to execute "toolchain.sh," which is in the current directory. The toolchain.sh script will do the rest, for you. This can take up to several hours, depending on the specifications of your machine. For a frame of reference, my 3.0GHz Pentium 4 took about three hours to run the entire script, so be patient. Some people have reported it taking over 24 hours, but this is a little overkill. Go take a break and come back in a few hours. Or better yet, let it go while you sleep and when you wake up in the morning you should be ready for the next step.

Now for the last step. We have to tell CYGWIN where it can find the PSPSDK (which the toolchain just installed) and the toolchain. To do this, we need to change "C:/cygwin/cygwin.bat" to include the paths. So, close CYGWIN, and navigate Explorer to "C:/cygwin" and right click on cygwin.bat. Select "Edit" and a Notepad window should appear with the following (you'll need to replace all instances of "C:" with "D:" or "E:" or "_:" if you installed CYGWIN on a drive other than your "C:" drive):
@echo off

C:
chdir C:\cygwin\bin

bash --login -i

Change this to:
@echo off

C:
chdir C:\cygwin\bin

set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev

bash --login -i










HERE IT IS have fun
__________________

PSP Hacking & Homebrew in het nederlands
Kom ook even bij ons een kijkje nemen

Im working on my own website called: www.badg0r.com Check it out now and then to see if there are any updates

BIG LOL!!

Quote:
Originally Posted by PSPRoX
Im 13 i sex My Pillow....

Jk

Last edited by badg0r : 02-13-2006 at 05:56 AM.
Reply With Quote
  #3 (permalink)  
Old 02-13-2006, 05:58 AM
2.6,CRACKED!'s Avatar
2.6,CRACKED! 2.6,CRACKED! is offline
Senior Member
My Mood:
 
Join Date: Feb 2006
Posts: 328
Points: 12.84
Donate
no i made da programs xcept for my computer shuts it down if I dont make it become a cmd so what i need is someone to port my games/apps for me!
__________________
---!CONGRATS TO FANJITA+DITLEW+CARTER 4 MAKING EBOOT HOMEBREW POSSIBLE!---



Reply With Quote
  #4 (permalink)  
Old 02-13-2006, 06:01 AM
badg0r's Avatar
badg0r badg0r is offline
Senior Member
 
Join Date: Dec 2005
Location: Tilburg, The Netherlands
Posts: 1,647
Points: 15.67
Donate
Man this is not for flaming. This is the best tip you will ever get. And you will never forget this. Try to port it yourself. Try everything you can. And the next time you will need to port a app. You can port your own apps that are the best programmers. Be the best.
I know it is kinda hard. But you must read, read and read and try things to know it
Good Luck
__________________

PSP Hacking & Homebrew in het nederlands
Kom ook even bij ons een kijkje nemen

Im working on my own website called: www.badg0r.com Check it out now and then to see if there are any updates

BIG LOL!!

Quote:
Originally Posted by PSPRoX
Im 13 i sex My Pillow....

Jk
Reply With Quote
  #5 (permalink)  
Old 02-13-2006, 06:04 AM
2.6,CRACKED!'s Avatar
2.6,CRACKED! 2.6,CRACKED! is offline
Senior Member
My Mood:
 
Join Date: Feb 2006
Posts: 328
Points: 12.84
Donate
I have been trying for the last week it is becoming impossible now I can't do it can some1 give me a video tutorial then I would be sooooooooo grateful
__________________
---!CONGRATS TO FANJITA+DITLEW+CARTER 4 MAKING EBOOT HOMEBREW POSSIBLE!---



Reply With Quote
  #6 (permalink)  
Old 02-13-2006, 06:07 AM
badg0r's Avatar
badg0r badg0r is offline
Senior Member
 
Join Date: Dec 2005
Location: Tilburg, The Netherlands
Posts: 1,647
Points: 15.67
Donate
one week is not enough. Somethimes things could take weeks to learn. Somethimes things take a few minutes to learn. Are you 100% possitive you did everything by the book? Becouse it worked with others Try it again. Step by step. How more you try it how faster you learn. How more you read it how more you know. How more you do it how faster you can make a second app. Please do this and dont go to other sites for your question. You will love me becouse of this believe me.
__________________

PSP Hacking & Homebrew in het nederlands
Kom ook even bij ons een kijkje nemen

Im working on my own website called: www.badg0r.com Check it out now and then to see if there are any updates

BIG LOL!!

Quote:
Originally Posted by PSPRoX
Im 13 i sex My Pillow....

Jk

Last edited by badg0r : 02-13-2006 at 06:10 AM.
Reply With Quote
  #7 (permalink)  
Old 02-13-2006, 06:09 AM
2.6,CRACKED!'s Avatar
2.6,CRACKED! 2.6,CRACKED! is offline
Senior Member
My Mood:
 
Join Date: Feb 2006
Posts: 328
Points: 12.84
Donate
My scriptibng is fine I have been learning c++ well over 3 years I can code fine it is just gettin this damn cygwin to work, and yes i have done everything by the book I just need a video tutorial to help me.
__________________
---!CONGRATS TO FANJITA+DITLEW+CARTER 4 MAKING EBOOT HOMEBREW POSSIBLE!---



Reply With Quote
  #8 (permalink)  
Old 02-13-2006, 06:13 AM
badg0r's Avatar
badg0r badg0r is offline
Senior Member
 
Join Date: Dec 2005
Location: Tilburg, The Netherlands
Posts: 1,647
Points: 15.67
Donate
I can PM you the name of the creator of Toolchain. He is trustworty and helpfull for this. Say that you have a app and you want to port it. He will help i think. Dont pm his name to other members oke
__________________

PSP Hacking & Homebrew in het nederlands
Kom ook even bij ons een kijkje nemen

Im working on my own website called: www.badg0r.com Check it out now and then to see if there are any updates

BIG LOL!!

Quote:
Originally Posted by PSPRoX
Im 13 i sex My Pillow....

Jk
Reply With Quote
  #9 (permalink)  
Old 02-13-2006, 06:14 AM
2.6,CRACKED!'s Avatar
2.6,CRACKED! 2.6,CRACKED! is offline
Senior Member
My Mood:
 
Join Date: Feb 2006
Posts: 328
Points: 12.84
Donate
sure. At the moment I am helping the scene by helping myself leeching info aint in my interest!
__________________
---!CONGRATS TO FANJITA+DITLEW+CARTER 4 MAKING EBOOT HOMEBREW POSSIBLE!---



Reply With Quote
  #10 (permalink)  
Old 02-13-2006, 06:16 AM
badg0r's Avatar
badg0r badg0r is offline
Senior Member
 
Join Date: Dec 2005
Location: Tilburg, The Netherlands
Posts: 1,647
Points: 15.67
Donate
He is not online at the moment. But you have a pm. Just PM him and then it's going to be alright. Release it on psp3d first that would be awsome. When i see him online at my aim i will say that he has a PM of you. Then your app will be released in maybe 6 hours from now.
__________________

PSP Hacking & Homebrew in het nederlands
Kom ook even bij ons een kijkje nemen

Im working on my own website called: www.badg0r.com Check it out now and then to see if there are any updates

BIG LOL!!

Quote:
Originally Posted by PSPRoX
Im 13 i sex My Pillow....

Jk

Last edited by badg0r : 02-13-2006 at 06:21 AM.
Reply With Quote
Reply

« fanjita newest eloader (maybe) | Downgrader Confirmed???? »



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 0.00
Points Per Thread: 1.00
Points Per Reply: 0.10

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Official: Nintendo DS Vs. PSP Thread! spartan878 General PSP Discussion 21 04-20-2006 11:40 PM
Games you wanna see Kjeezy General PSP Discussion 20 04-12-2006 09:26 PM
2.01 Can you play games off memory ???? IMPredator Homebrew/Hacking 13 01-29-2006 04:42 PM
The Official: Nintendo DS Vs. PSP Thread! spartan878 General PSP Discussion 3 01-21-2006 04:10 PM
Adventure Maker v4.2 Released - Games Work on 2.60 Firmware Southparkmaniac Homebrew/Hacking 103 01-01-2006 02:34 PM





Crave Partner Sites: CraveOnline.com | DVDFile.com | PSP3D.com | ComingSoon.net | SuperHeroHype.com | RedBalcony.com | ActionTrip.com | CraveLyrics.com
Soundtrack.net | CraveFix.com | SpikedHumor.com | RPGamer.com | TattooNow.com | ImpactWrestling.com | SeekLyrics.com | PedalBMX.com | WildKO.com
vidKing.com | StrategyInformer.com | HHdb.com | RapLeagues.com | HipHop-Lyrics.com | Cravecocktails.com | ThePhatPhree.com | RideJudge.com | HottieSpots.com

ShopTapNham Shop Online Powered by Custom vB Version 5.1.0 for Crave Online Media, LLC.
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd. and PSP3D.com.
LinkBacks Enabled by vBSEO 3.0.0 RC8

All times are GMT -4. The time now is 12:32 PM.
ShopTapNham Footer Right