""
All times are GMT +2. The time now is 01:45 AM.  

Go Back   PSX/PS2/PS3 Scene Newz > PlayStation2 Forums > PS2 Homebrew/Dev & Emu Scene > Official PS2 LuaPlayer Forums

Official PS2 LuaPlayer Forums Discuss development and gaming on the LuaPlayer platform for the PS2.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-28-2006, 11:23 AM
barf's Avatar
barf barf is offline
if(hacker 2005AD == philosopher 200BC) {
 
Join Date: Sep 2004
Location: /bin/bash
Posts: 1,390

Looking at lua


From README.ps2
---
======================================
Making a Lowser-compatible application
======================================
Making your app play nicely with Lowser is very simple.
1. The main script file should be called "index.lua". Place it, with all its
resources in a folder with the application's name (spaces and everything is
allowed; make the name nice: "Foobar's Magical Quest", not "foobar_game")
2. Instruct your downloaders to install your game in /luaplayer/Applications/
3. Make your game *exitable*, please. Just make sure that the end of the file is
reachable. (Your main loop could look something like this:
while not Controls.read():start() do
[ your app's code ]
end
)
---
Is it possible to extend lowser to also be a sambaclient for attracting new lua scripts to the PS2?
__________________
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 11-29-2006, 09:31 AM
evilo's Avatar
evilo evilo is offline
Moderator
 
Join Date: Aug 2004
Posts: 289
Everything is possible !

I don't know about modifying the lowser script since it basically scan directories from where it is launched, but maybe by specifying it as a parameter to the player ?

i.e. by putting the system.lua (from System) at the same level of the elf :

\Applications
\System
\luaplayer.elf
\system.lua

it could then be run with "luaplayer.elf SambaDrive:/path/system.lua", giving the same result
__________________
froggies psXdev http://www.psxdev.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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 +2. The time now is 01:45 AM.