Go Back   PSP Crazy Forums - PSP Games, PSP Downloads, PSP News, and PSP Themes > Playstation Chat > PSP Homebrew Discussion

Reply
 
LinkBack Thread Tools
Old 04-24-2006   #1 (permalink)
GamingCrazy Novice
 
Join Date: Nov 2005
Posts: 215
Credits: 318
Send a message via AIM to Slasher
LUA Snippets/Help Section

So, your new to programming and what to get a good grip on what it's all about? LUA is the perfect coding language for you. It's aimed at 'new' developers and is quite easy to learn. It's like a stepping stone towards some of the more difficult languages such as C/C++.

You can pick up a copy of Luaplayer over at pspupdate. Luaplayer is basically an interpreter and it will run your code for you.

Also, check out these great tutorials courtesy of Whitehawk, Shine/Lumo, and our very own C5cha7!

Whitehawk -
[Only registered and activated users can see links. ] [link doesn't work cause pspcrazy's retarded]
[Only registered and activated users can see links. ] [link doesn't work cause pspcrazy's retarded]

Shine/Lumo -
[Only registered and activated users can see links. ]

C5cha7 -
[Only registered and activated users can see links. ]
I'll be posting various snippets and things to help you out later.

Last edited by Slasher; 06-21-2006 at 10:08 AM.
Slasher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04-25-2006   #2 (permalink)
GamingCrazy Rookie
 
Ace High's Avatar
 
Join Date: Aug 2005
Age: 21
Posts: 158
Credits: 317
Re: LUA Snippets/Help Section

If you want to make your Lua app launch from the memory stick menu under game then you:

1. Create one or two folders (depending on what version you have) under PSP\Game directory. Name them whatever you want it doesn't matter except if you use 1.5 then add a % on the end of the second folder.

2. Copy the eboot from the luaplayer folder into your new folder.

3. Copy all your lua files to the same folder as the eboot.

4. rename your Index.lua file to script.lua (make sure it doesn't screw up anything in the code by renaming the file)

Now your game will launch from the menu but launch screen will look like the luaplayer one. To fix this one you down load a eboot editor program. I use PSPbrew. you can find it online, google it. I'll upload it in awhile. with this program you can change the background of the eboot, the icon, and the music that plays in the background (atrac3) you can also have an animation play but I haven't figured out how to use a custom one.

note: with the eboot editor the pictures have to be the right dimensions and they have to have the right file name.

voila, custom eboot for your app!

Last edited by Ace High; 05-07-2006 at 03:59 AM.
Ace High is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-25-2006   #3 (permalink)
GamingCrazy Semi-Addict
 
c5cha7's Avatar
 
Join Date: Jul 2005
Location: You are Here ---> Status: Backup Provider Thanked: 35 Times in 2 Posts
Age: 17
Posts: 648
Credits: 803
LUA Snippets/Help Section

Neat Idea Slasher !
Atleast your involving PSPCrazy more into
development !
I will contribute soon so i will edit this post .
I might create a Lua Tutoiral for begginers cause
pspcrazy doesn't have one yet !

Unless you beat me to it .
c5cha7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-07-2006   #4 (permalink)
GamingCrazy Rookie
 
Ace High's Avatar
 
Join Date: Aug 2005
Age: 21
Posts: 158
Credits: 317
Re: LUA Snippets/Help Section

edit update
Ace High is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-10-2006   #5 (permalink)
GamingCrazy Semi-Addict
 
TexasKing's Avatar
 
Join Date: May 2006
Location: Some where in Texas
Age: 19
Posts: 631
My Mood:
Credits: 1,311
Send a message via AIM to TexasKing Send a message via Yahoo to TexasKing
Re: LUA Snippets/Help Section

will this stuff work wit tha gta loader
TexasKing is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-10-2006   #6 (permalink)
GamingCrazy Novice
 
Join Date: Nov 2005
Posts: 215
Credits: 318
Send a message via AIM to Slasher
Re: LUA Snippets/Help Section

Quote:
Originally Posted by TexasKing
will this stuff work wit tha gta loader
Yes, luaplayer works with it.
Slasher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-12-2006   #7 (permalink)
I Haz Cheez!
 
dan_barney's Avatar
 
Join Date: Oct 2005
Location: UK,Hampshire
Age: 16
Posts: 3,954
Credits: 9,529
Send a message via MSN to dan_barney
Re: LUA Snippets/Help Section

Quote:
Originally Posted by TexasKing
will this stuff work wit tha gta loader
Yes, but the newer versions of Lua Player don't seem to work on higher firmwares.
dan_barney is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-22-2006   #8 (permalink)
GamingCrazy Novice
 
Join Date: Nov 2005
Posts: 215
Credits: 318
Send a message via AIM to Slasher
Re: LUA Snippets/Help Section

Quote:
Originally Posted by dan_barney
Yes, but the newer versions of Lua Player don't seem to work on higher firmwares.
I'm pretty sure 2.0+ users must use luaplayer version 0.14, or if not that version, than it's version 0.16.
Slasher is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04-02-2007   #9 (permalink)
GamingCrazy Beginner
 
Join Date: Dec 2006
Posts: 80
Credits: 350
Re: LUA Snippets/Help Section

hi,
im pretty new to this thing of coding and i need alittle bit help...
well what does this comand do and what will happen if i change it:
x = math.sin(pi * 2 / 360 * time) * 150 + 192.5
and this one please
pi = math.atan(1) * 4

Last edited by Luc1d; 04-02-2007 at 10:37 AM.
Luc1d is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2007   #10 (permalink)
GamingCrazy Beginner
 
Nardok's Avatar
 
Join Date: May 2007
Posts: 62
Credits: 590
Re: LUA Snippets/Help Section

Can you explain me what is an homebrew coder.
I know that is a stupid question but please telll me!
Nardok is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  PSP Crazy Forums - PSP Games, PSP Downloads, PSP News, and PSP Themes > Playstation Chat > PSP Homebrew Discussion


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

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

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

visitor stats
All times are GMT. The time now is 07:02 AM.


Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
© 2005-2007 PSPCrazy.com Network
vB Ad Management by =RedTyger=