QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

question (yes im a noob)

This is a discussion on question (yes im a noob) within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; i was looking trough the forums to find out how to code in lua. i followed the tutorials, and when ...

Reply
 
LinkBack Thread Tools
Old 03-13-2006, 04:28 PM   #1
 
Join Date: Dec 2005
Location: mastic, ny
Posts: 22
Trader Feedback: 0
Default question (yes im a noob)

i was looking trough the forums to find out how to code in lua. i followed the tutorials, and when the code is finished, its a .txt file. i want to know how to convert the scripts to .lua. thanks
lefty0523 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-13-2006, 04:35 PM   #2
 
EminentJonFrost's Avatar
 
Join Date: Dec 2005
Location: Here
Posts: 2,715
Trader Feedback: 0
Default

when you save the file it asks you for:
File Name:Here you put "script.lua"
Save Type As:Here you have to select "All Files"

This is assuming that you are using Notepad. its what i use because of its straightforwardness.
__________________
[CENTER][IMG]http://img148.imageshack.us/img148/6985/siglw8.jpg[/IMG][/CENTER]
EminentJonFrost is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-13-2006, 04:36 PM   #3

Tha Sigerator
 
Xodiac21's Avatar
 
Join Date: Jul 2005
Location: New Orleans, LA
Posts: 4,047
Trader Feedback: 0
Default

save it as script.lua (must add .lua to filename)

if it's still now working then go to the test file that came with the luaplayer 4 windows, copy, paste, rename, open it, paste code there, and save as (script.lua)
__________________
- - - - Somewhere Lurking in THA SHADOWS - - - -

Check Out My Myspace HERE
Comment My Qj Wiki
Xodiac21 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-13-2006, 05:06 PM   #4
 
PSPMillionaire's Avatar
 
Join Date: Oct 2005
Location: Alabama
Posts: 272
Trader Feedback: 0
Default

best thing to do is go to your folder options and deselect hide all known file types.
then it will show your file name extensions, and if you rename files it will give them the correct extension.
__________________
My lua tutorials for PSP - [url=http://www.evilmana.com/tutorials]www.evilmana.com/tutorials[/url]
[B]PSP Lua CodeBase[/B] - Add your own code examples to the codebase! - [url=http://evilmana.com/tutorials/codebase/]www.evilmana.com/tutorials/codebase/[/url]
PSPMillionaire is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-13-2006, 05:15 PM   #5
No longer a community member.
 
Join Date: Dec 2005
Posts: 22
Trader Feedback: 0
Default

Quote:
Originally Posted by PSPMillionaire
best thing to do is go to your folder options and deselect hide all known file types.
then it will show your file name extensions, and if you rename files it will give them the correct extension.
to do that, in a folder, go to tools, folder options, the second tab (i think its view), then the uncheck hide known extensions

then name your script script.lua, and it will ask you if you really want to, and go ya, because im cooler than you window$!!!
Hardrive is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-13-2006, 06:57 PM   #6
 
Join Date: Dec 2005
Location: mastic, ny
Posts: 22
Trader Feedback: 0
Default

ok thanks! it worked
lefty0523 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-14-2006, 05:12 AM   #7
11th Squad Captain
 
c5cha7's Avatar
 
Join Date: Jun 2005
Location: You are here -----> 名前: アダム | 飲むコー&#1
Posts: 2,562
Trader Feedback: 0
Default

Sorry to Revive this thread but
does anybody actually use
Properties Plus?
That Can Rename Extension's, change
the modified date etc etc...

Look it up here
http://mikrocomputertechnik.fh-mannh...e/software.htm
Its at the bottom :icon_wink .
It also has a "Tiny" hex editor for on the go
hex editing :razz: .
__________________
FAVORITE GAME! - BEER & ANIME! - SO EXICTING!

開発者, 携帯用プログラマー 日本サポータおよび恋人 本名のアダムの鍛冶屋
Currently Working On: - Flashmod V2.50 - Flashmod V2.60
Currently Drinking: Coffee! - 私はコーヒーを飲む
Chao Garden: DEMO v0.6
Chao Garden V0.5b Review!
c5cha7 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
noob , question

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 Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 06:36 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us