forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NOOB Info

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
NOODL3



Joined: 21 Aug 2006
Posts: 3

PostPosted: Mon Aug 21, 2006 5:28 am    Post subject: NOOB Info Reply with quote

ok i am very very new to lua but i know some basics. I started learning lua for the primarly purpose of game/application dev. for the psp. Right now i am a noob and need some resources and some guidence. I need to know what i need for me to be able to write programs on my pc, compile them(if needed) transfer them to my psp and run them. I have read the lua tutorial.
please dont flame me i just want to get to the point where i can just write my own programs and them test them on my psp, then if good enough maybe submit them to the public.
Back to top
View user's profile Send private message
JC



Joined: 02 Jun 2006
Posts: 16

PostPosted: Tue Aug 22, 2006 9:33 am    Post subject: Reply with quote

First off check out
http://www.luaplayer.org/

There you can download both windows and PSP versions of Lua Player.
You can use any text editor to edit your code.
You can test your programs on your PC using the windows version of LUAPlayer and then transfer the code to your PSP. The file extension for LUA is usually .lua and there is no need to compile. You should be aware that not all commands that work on the PSP version work on the PC version.


HTH,
JC
_________________
Remember, don't sweat the petty things
and don't pet the sweaty things.......
Back to top
View user's profile Send private message
NOODL3



Joined: 21 Aug 2006
Posts: 3

PostPosted: Thu Aug 24, 2006 6:45 am    Post subject: Reply with quote

that was very very helpfull and very well written, thank you

-NOODL3-
Back to top
View user's profile Send private message
NOODL3



Joined: 21 Aug 2006
Posts: 3

PostPosted: Thu Aug 24, 2006 11:06 am    Post subject: Reply with quote

One more question though, when in the read my for lua player for windows it says to open it with the command prompt with "luaplayer yourscript.lua" Thats not working for me, any suggestions. Thanks again

and yes i made a .lua file named yourscript
Back to top
View user's profile Send private message
KawaGeo



Joined: 27 Aug 2005
Posts: 191
Location: Calif Mountains

PostPosted: Fri Aug 25, 2006 8:32 am    Post subject: Reply with quote

The PC version of Lua Player is not up to date yet. You'll need to modify some in your code before attempting to run it on your PSP.

I am hoping someone would be able to update the PC version soon.
_________________
Geo Massar
Retired Engineer
Back to top
View user's profile Send private message Send e-mail
JC



Joined: 02 Jun 2006
Posts: 16

PostPosted: Fri Aug 25, 2006 10:04 am    Post subject: Reply with quote

Where have you installed luaplayer ?
You will probably need to give an explicit path to the luaplayer.exe.

The why I tend to do things is install something along the following:

1) install luaplayer in c:\luaplayer
2) Make a new directory for the game/app i am working on like
c:\luaplayer\test
3) So the file I am editing is c:\luaplayer\test\yourscript.lua
4) Open a command prompt and cd c:\luaplayer\test
5) from this directory run ..\luaplayer yourscript.lua


This should run the yourscript.lua file. There are probably other/better ways to structure things but this works for me.

If you are still having problems post the error you are getting and I may be able to shed some more light.

HTH,
JC
_________________
Remember, don't sweat the petty things
and don't pet the sweaty things.......
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group