PSP Hacks - Forums
Go Back   PSP Hacks - Forums > Tech Talk > LUA Scripting

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-15-2006, 02:00 AM
bubbasider's Avatar
bubbasider bubbasider is offline
PSP Smarty
 
Join Date: Jan 2006
Posts: 140
bubbasider User Has a Beginner Reputation
Default

Yes yes, noobiest question. I read a tutorial. Was a simple thing to teach me how the codes work. I wrote the code, and idk how to save it in a LUA format? I named it "script.lua" but its a txt file. Im confsued and very new to LUA. Help :(

Bubba
__________________
Got my psp 01/28/06 10:26 PM V2.01

PSP History 2.01 -> 2.6 -> 2.71 -> 1.5 -> 2.0 -> 1.5 -> 3.03 OE-C -> 3.10 OE-A -> 1.5 -> 3.52 M33-4 -> 3.71 M33 -> OMG WTF BRICK (thanks Pandora!) -> 1.5 -> 3.52 M33-4 -> 3.71 M33-2 -> 1.5 -> 3.8 M33 -> 3.8 M33 - 5
Reply With Quote
  #2  
Old 09-15-2006, 06:03 PM
Man. Man. is offline
Senior Member
PSP Titan
 
Join Date: Feb 2006
Location: ~~~~~~UK~~~~~~
Posts: 3,652
Man. User Has a Beginner Reputation
Default

the .cmd is the file that loads the code

the lua is the scripting(code) that the .cmd runs

-------------------
open notepad and type

luaplayer script.lua
pause

then save as script.cmd

-----
then open a new notepad and type your code
and save it as script.lua



i'm also new to this just have a mess around
__________________
--------------------мαкανєℓι тнα ∂ση--------------------
Reply With Quote
  #3  
Old 09-15-2006, 07:56 PM
bubbasider's Avatar
bubbasider bubbasider is offline
PSP Smarty
 
Join Date: Jan 2006
Posts: 140
bubbasider User Has a Beginner Reputation
Default

The guide told me do just write the code and save it as script.lua i did that and put it in the luaplayer folder like it said. didn't work. I did what you said and it didn't work. IDK what to do =( god im retarded :$

Bubba
__________________
Got my psp 01/28/06 10:26 PM V2.01

PSP History 2.01 -> 2.6 -> 2.71 -> 1.5 -> 2.0 -> 1.5 -> 3.03 OE-C -> 3.10 OE-A -> 1.5 -> 3.52 M33-4 -> 3.71 M33 -> OMG WTF BRICK (thanks Pandora!) -> 1.5 -> 3.52 M33-4 -> 3.71 M33-2 -> 1.5 -> 3.8 M33 -> 3.8 M33 - 5
Reply With Quote
  #4  
Old 09-16-2006, 08:07 AM
Man. Man. is offline
Senior Member
PSP Titan
 
Join Date: Feb 2006
Location: ~~~~~~UK~~~~~~
Posts: 3,652
Man. User Has a Beginner Reputation
Default

place it in the script.lua and script.cmd in the luaplayerwindows
__________________
--------------------мαкανєℓι тнα ∂ση--------------------
Reply With Quote
  #5  
Old 09-16-2006, 01:42 PM
LordCthulu LordCthulu is offline
Senior Member
PSP Veteran
 
Join Date: Mar 2005
Posts: 1,029
LordCthulu User Has a Beginner Reputation
Default

When you save it, theres a drop down box under where you type in the name. Select "All files" and not "Text (*.txt)"
__________________
Member number: 3
Meat lover? Watch: http://www.chooseveg.com/animal-cruelty.asp
Reply With Quote
  #6  
Old 09-17-2006, 02:53 AM
bubbasider's Avatar
bubbasider bubbasider is offline
PSP Smarty
 
Join Date: Jan 2006
Posts: 140
bubbasider User Has a Beginner Reputation
Default

Quote:
Originally Posted by Man.
place it in the script.lua and script.cmd in the luaplayerwindows
Im confused ? and ill change the "txt" to all files in a few when I mess with it. Should I make a folder called test with all the other games in the applications folder or just keep the 2 files in the luaplayer folder.
__________________
Got my psp 01/28/06 10:26 PM V2.01

PSP History 2.01 -> 2.6 -> 2.71 -> 1.5 -> 2.0 -> 1.5 -> 3.03 OE-C -> 3.10 OE-A -> 1.5 -> 3.52 M33-4 -> 3.71 M33 -> OMG WTF BRICK (thanks Pandora!) -> 1.5 -> 3.52 M33-4 -> 3.71 M33-2 -> 1.5 -> 3.8 M33 -> 3.8 M33 - 5
Reply With Quote
  #7  
Old 09-17-2006, 03:28 AM
bubbasider's Avatar
bubbasider bubbasider is offline
PSP Smarty
 
Join Date: Jan 2006
Posts: 140
bubbasider User Has a Beginner Reputation
Default

Quote:
Originally Posted by Man.
in the luaplayerwindows
wait, you mean put the cmd file and the scrip.lua in the "luaplayer" and "luaplayer%" ???
__________________
Got my psp 01/28/06 10:26 PM V2.01

PSP History 2.01 -> 2.6 -> 2.71 -> 1.5 -> 2.0 -> 1.5 -> 3.03 OE-C -> 3.10 OE-A -> 1.5 -> 3.52 M33-4 -> 3.71 M33 -> OMG WTF BRICK (thanks Pandora!) -> 1.5 -> 3.52 M33-4 -> 3.71 M33-2 -> 1.5 -> 3.8 M33 -> 3.8 M33 - 5
Reply With Quote
  #8  
Old 09-17-2006, 09:38 AM
Man. Man. is offline
Senior Member
PSP Titan
 
Join Date: Feb 2006
Location: ~~~~~~UK~~~~~~
Posts: 3,652
Man. User Has a Beginner Reputation
Default

if you want to test it on the pc first

then put it the luaplayerwindows
__________________
--------------------мαкανєℓι тнα ∂ση--------------------
Reply With Quote
  #9  
Old 09-17-2006, 05:21 PM
bubbasider's Avatar
bubbasider bubbasider is offline
PSP Smarty
 
Join Date: Jan 2006
Posts: 140
bubbasider User Has a Beginner Reputation
Default

Whats the luaplayerwindows? Do you mean out the CMD file AND the script.lua in the "luaplayer" folder AND the "luaplayer%" folder????
__________________
Got my psp 01/28/06 10:26 PM V2.01

PSP History 2.01 -> 2.6 -> 2.71 -> 1.5 -> 2.0 -> 1.5 -> 3.03 OE-C -> 3.10 OE-A -> 1.5 -> 3.52 M33-4 -> 3.71 M33 -> OMG WTF BRICK (thanks Pandora!) -> 1.5 -> 3.52 M33-4 -> 3.71 M33-2 -> 1.5 -> 3.8 M33 -> 3.8 M33 - 5
Reply With Quote
  #10  
Old 09-17-2006, 06:13 PM
Man. Man. is offline
Senior Member
PSP Titan
 
Join Date: Feb 2006
Location: ~~~~~~UK~~~~~~
Posts: 3,652
Man. User Has a Beginner Reputation
Default

luaplayerwindows is a lua player for windows so you can test your scripting before you put it on the psp

you should def. get it
__________________
--------------------мαкανєℓι тнα ∂ση--------------------
Reply With Quote
Reply

 



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:14 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©