| View previous topic :: View next topic |
| Author |
Message |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Sun Dec 21, 2008 5:59 pm Post subject: Programming Help |
|
|
all i noe is that the psp relies on the Famous C Programming code..
i need help to find a place where i could learn the basics of programming...
| Quote: | i am a complete noob at programming but i am good at computing..
pls HELP ASAP!! |
_________________ -NM23- |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Sun Dec 21, 2008 10:42 pm Post subject: |
|
|
Step 1: Open web browser
Step 2: Type in google.com as the URL
Step 3: Search for C programming tutorials
Step 4: Read, learn on a PC and come back when you have experience in coding on a simple platform.
Not wanting to sound callous but the PSP is really not the best place to start learning low level C programming. Its debugging capabilities is limited, it is hardware limited (RAM etc.) and you will only have more trouble that just learning C.
If you really want to do some stuff on the PSP then perhaps look into LUAPlayer which uses the language LUA which hides a lot of the pain from you. |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Sun Dec 21, 2008 11:06 pm Post subject: RE:Programming Help |
|
|
| TyRaNiD wrote: | | If you really want to do some stuff on the PSP then perhaps look into LUAPlayer which uses the language LUA which hides a lot of the pain from you. |
i've tried looking for the tutorials but i end up getting the same things...they do not teach me the basics of programming...pls help!! _________________ -NM23- |
|
| Back to top |
|
 |
PosX100
Joined: 15 Aug 2007 Posts: 98
|
Posted: Mon Dec 22, 2008 6:17 am Post subject: Re: Programming Help |
|
|
| nathanmoon wrote: | all i noe is that the psp relies on the Famous C Programming code..
i need help to find a place where i could learn the basics of programming...
| Quote: | i am a complete noob at programming but i am good at computing..
pls HELP ASAP!! |
|
Programming isn't for you , better find something else to waste your time... |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 8:52 am Post subject: Re: Programming Help |
|
|
| PosX100 wrote: | | nathanmoon wrote: | all i noe is that the psp relies on the Famous C Programming code..
i need help to find a place where i could learn the basics of programming...
| Quote: | i am a complete noob at programming but i am good at computing..
pls HELP ASAP!! |
|
Programming isn't for you , better find something else to waste your time... |
but i plan to become a computer programmer in the near future...i cant back off now.. _________________ -NM23- |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Dec 22, 2008 9:33 am Post subject: |
|
|
| We don't teach programming here. Go google for places that do. There are THOUSANDS of web pages out there to help beginners learn to program. Go bug them and don't come back until you're not a beginner. If you need lessons, you really shouldn't be here. This is a DEVELOPER site, not a school of programming. |
|
| Back to top |
|
 |
Dariusc123456
Joined: 12 Aug 2008 Posts: 394
|
Posted: Mon Dec 22, 2008 1:12 pm Post subject: Re: Programming Help |
|
|
You cant become a programmer all in one day. It takes time.
We can help you with psp, but its not good to start of on the psp. Google "Basic C Tutorial", and start from there.
And when you learn basic of C and how to use it, then let us know. |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 4:14 pm Post subject: Re: Programming Help |
|
|
| J.F. wrote: | | We don't teach programming here. Go google for places that do. There are THOUSANDS of web pages out there to help beginners learn to program. Go bug them and don't come back until you're not a beginner. If you need lessons, you really shouldn't be here. This is a DEVELOPER site, not a school of programming. |
i came to this site coz TyRaNiD suggested it in his vid..i didnt noe that ppl here dont help other users to try to be a part of something big...do not underestimate ppl man..
| Dariusc123456 wrote: | You cant become a programmer all in one day. It takes time.
We can help you with psp, but its not good to start of on the psp. Google "Basic C Tutorial", and start from there.
And when you learn basic of C and how to use it, then let us know. |
thx dude... _________________ -NM23- |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Dec 22, 2008 4:34 pm Post subject: Re: Programming Help |
|
|
| nathanmoon wrote: | | J.F. wrote: | | We don't teach programming here. Go google for places that do. There are THOUSANDS of web pages out there to help beginners learn to program. Go bug them and don't come back until you're not a beginner. If you need lessons, you really shouldn't be here. This is a DEVELOPER site, not a school of programming. |
i came to this site coz TyRaNiD suggested it in his vid..i didnt noe that ppl here dont help other users to try to be a part of something big...do not underestimate ppl man..
|
This has nothing to do with anyone's estimation. TyRaNiD suggested developers interested in working on the PSP come here, not beginners looking to learn how to program. If you can learn how to program (elsewhere) in two days, I'll be glad to see you again in two days. I was just making it clear that we here are not going to be the ones teaching you how to program. |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 4:36 pm Post subject: Re: Programming Help |
|
|
| J.F. wrote: | | nathanmoon wrote: | | J.F. wrote: | | We don't teach programming here. Go google for places that do. There are THOUSANDS of web pages out there to help beginners learn to program. Go bug them and don't come back until you're not a beginner. If you need lessons, you really shouldn't be here. This is a DEVELOPER site, not a school of programming. |
i came to this site coz TyRaNiD suggested it in his vid..i didnt noe that ppl here dont help other users to try to be a part of something big...do not underestimate ppl man..
|
This has nothing to do with anyone's estimation. TyRaNiD suggested developers interested in working on the PSP come here, not beginners looking to learn how to program. If you can learn how to program (elsewhere) in two days, I'll be glad to see you again in two days. I was just making it clear that we here are not going to be the ones teaching you how to program. |
i was hoping that u all could give me the correct tools required to develop a EBOOT...i will learn the programming language later but i need the tools first..can u help?? _________________ -NM23- |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Dec 22, 2008 5:52 pm Post subject: Re: Programming Help |
|
|
| nathanmoon wrote: |
i was hoping that u all could give me the correct tools required to develop a EBOOT...i will learn the programming language later but i need the tools first..can u help?? |
Well, I think the tools should come AFTERWARDS (since you can't use them until you know how), but I guess there's no harm in getting them first. If you're in Windows, use the devkit put together by Heimdall: http://forums.ps2dev.org/viewtopic.php?t=9812
If you're in linux, do the following in a terminal:
| Code: | | svn co svn://svn.ps2dev.org/psp/trunk/psptoolchain |
and then follow the directions in the readme-ubuntu.txt file. The instructions can be applied to virtually any distro as they're all rather similar. Then make the libraries by doing:
| Code: | svn co svn://svn.ps2dev.org/psp/trunk/psplibraries
cd psplibraries
./libraries.sh |
|
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 6:49 pm Post subject: Re: Programming Help |
|
|
| J.F. wrote: | | nathanmoon wrote: |
i was hoping that u all could give me the correct tools required to develop a EBOOT...i will learn the programming language later but i need the tools first..can u help?? |
Well, I think the tools should come AFTERWARDS (since you can't use them until you know how), but I guess there's no harm in getting them first. If you're in Windows, use the devkit put together by Heimdall: http://forums.ps2dev.org/viewtopic.php?t=9812
If you're in linux, do the following in a terminal:
| Code: | | svn co svn://svn.ps2dev.org/psp/trunk/psptoolchain |
and then follow the directions in the readme-ubuntu.txt file. The instructions can be applied to virtually any distro as they're all rather similar. Then make the libraries by doing:
| Code: | svn co svn://svn.ps2dev.org/psp/trunk/psplibraries
cd psplibraries
./libraries.sh |
|
thx a lot dude..btw, just one more question
how to u turn a .lua file into a EBOOT.PBP file??? _________________ -NM23- |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Dec 22, 2008 7:54 pm Post subject: Re: Programming Help |
|
|
| nathanmoon wrote: | just one more question
how to u turn a .lua file into a EBOOT.PBP file??? |
You don't. Lua is a scripted language that is interpreted. The main interpreter used by most folks for "stand-alone" Lua apps is luaplayer. You give your Lua script the "right" name and put it in the same directory as the luaplayer EBOOT and it will interpret the script. |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 8:43 pm Post subject: Re: Programming Help |
|
|
| J.F. wrote: | | nathanmoon wrote: | just one more question
how to u turn a .lua file into a EBOOT.PBP file??? |
You don't. Lua is a scripted language that is interpreted. The main interpreter used by most folks for "stand-alone" Lua apps is luaplayer. You give your Lua script the "right" name and put it in the same directory as the luaplayer EBOOT and it will interpret the script. |
then how to i turn my HELLO WORLD lua script into an EBOOT for the CFW 5.00 M33??? _________________ -NM23- |
|
| Back to top |
|
 |
jsharrad
Joined: 20 Oct 2005 Posts: 102
|
Posted: Mon Dec 22, 2008 8:51 pm Post subject: Re: Programming Help |
|
|
| nathanmoon wrote: |
then how to i turn my HELLO WORLD lua script into an EBOOT for the CFW 5.00 M33??? |
| J.F. wrote: | | nathanmoon wrote: | just one more question
how to u turn a .lua file into a EBOOT.PBP file??? |
You don't. [snip] |
QFE
/facepalm |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 8:56 pm Post subject: Re: Programming Help |
|
|
| jsharrad wrote: | | nathanmoon wrote: | | J.F. wrote: | | nathanmoon wrote: | just one more question
how to u turn a .lua file into a EBOOT.PBP file??? |
You don't. Lua is a scripted language that is interpreted. The main interpreter used by most folks for "stand-alone" Lua apps is luaplayer. You give your Lua script the "right" name and put it in the same directory as the luaplayer EBOOT and it will interpret the script. |
then how to i turn my HELLO WORLD lua script into an EBOOT for the CFW 5.00 M33??? |
QFE
/facepalm |
i'm sorry..i dont understand...pls elaborate?? _________________ -NM23- |
|
| Back to top |
|
 |
angelo
Joined: 29 Aug 2007 Posts: 168
|
Posted: Mon Dec 22, 2008 9:19 pm Post subject: |
|
|
LUA is LUA.
LUA PSP code runs by loader the PSP LUA player. A LUA scrpit is not converted into an EBOOT, but simply run by it.
To create an EBOOT from scratch, you have to code C/C++.
To excecute your LUA code you need "LUAPlayer" for the PSP.
Good luck with your programming future, you're gonna need it!
Hall of shame guys?
Angelo |
|
| Back to top |
|
 |
hibbyware
Joined: 28 Mar 2007 Posts: 78
|
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 10:46 pm Post subject: |
|
|
@ hibbyware: thx a lot man, very nice of u...
@angelo: dont underestimate ppl..u should let ppl try to be a part of something big..u nvr noe when u might need help.. _________________ -NM23- |
|
| Back to top |
|
 |
hibbyware
Joined: 28 Mar 2007 Posts: 78
|
Posted: Mon Dec 22, 2008 10:57 pm Post subject: |
|
|
@nathanmoon - I may not agree that beginners should be flamed but this is still not a beginners forums,
When you have learned the basics members here will be happy to help with PSP programming related code,
Good luck, |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 11:04 pm Post subject: |
|
|
| hibbyware wrote: | @nathanmoon - I may not agree that beginners should be flamed but this is still not a beginners forums,
When you have learned the basics members here will be happy to help with PSP programming related code,
Good luck, |
i guess so..anyways, i was told that the PSP is not the best option to program on...why?? _________________ -NM23- |
|
| Back to top |
|
 |
hibbyware
Joined: 28 Mar 2007 Posts: 78
|
Posted: Mon Dec 22, 2008 11:17 pm Post subject: |
|
|
The reason why people say to learn to code for the PC before the PSP is because...
There is lots more information either free on the internet or even if you want to spend money and buy books,
A lot of things are done a little different on PSP and without the knowledge of how it is meant to be done you will find it harder to work out what is different and more importantly how you need to do it,
I do know people that have started programming on PSP first but most end up making silly mistakes which are covered in the first few chapters of most C/C++ online tutorials or books,
Try not to make the same mistake and start off on a good foot so you don't get confused over what most regular members here class as basics, |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 11:19 pm Post subject: |
|
|
| hibbyware wrote: | The reason why people say to learn to code for the PC before the PSP is because...
There is lots more information either free on the internet or even if you want to spend money and buy books,
A lot of things are done a little different on PSP and without the knowledge of how it is meant to be done you will find it harder to work out what is different and more importantly how you need to do it,
I do know people that have started programming on PSP first but most end up making silly mistakes which are covered in the first few chapters of most C/C++ online tutorials or books,
Try not to make the same mistake and start off on a good foot so you don't get confused over what most regular members here class as basics, |
thx for the elaboration man...
u have a team?? _________________ -NM23- |
|
| Back to top |
|
 |
hibbyware
Joined: 28 Mar 2007 Posts: 78
|
Posted: Mon Dec 22, 2008 11:24 pm Post subject: |
|
|
| nathanmoon wrote: |
thx for the elaboration man...
|
No problem just try to think about that before your next thread, lol
| nathanmoon wrote: |
u have a team??
|
No I don't and I have no reason to be in one, |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 11:34 pm Post subject: |
|
|
| hibbyware wrote: | | nathanmoon wrote: | | hibbyware wrote: | | nathanmoon wrote: |
thx for the elaboration man... |
No problem just try to think about that before your next thread, lol |
u have a team?? |
No I don't and I have no reason to be in one, |
but u should join a team and then work on a project that could be a great project for the scene...dont u think so?? _________________ -NM23- |
|
| Back to top |
|
 |
hibbyware
Joined: 28 Mar 2007 Posts: 78
|
Posted: Mon Dec 22, 2008 11:41 pm Post subject: |
|
|
I already have a few projects on the go,
I don't want to be part of any team I'm happy enough writing all my own code,
As for releasing my projects to the scene well there are other apps already available that do the same type of thing and I won't be adding to "OMG not another shell"
Also this thread has completely gone off topic, |
|
| Back to top |
|
 |
nathanmoon

Joined: 21 Dec 2008 Posts: 15 Location: return (0)
|
Posted: Mon Dec 22, 2008 11:43 pm Post subject: |
|
|
| hibbyware wrote: | I already have a few projects on the go,
I don't want to be part of any team I'm happy enough writing all my own code,
As for releasing my projects to the scene well there are other apps already available that do the same type of thing and I won't be adding to "OMG not another shell"
Also this thread has completely gone off topic, |
thx anyways... _________________ -NM23- |
|
| Back to top |
|
 |
|