Would anybody be interested in a port of LuaPlayer to Dreamcast?
I could try and port it. Is there anything I should be aware off that would make it unportable to the Dreamcast so I don't waste my time in trying?
LuaPlayer for Dreamcast
- BB Hood
- DC Developer
- Posts: 189
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Fri Mar 30, 2007 12:09 am
- Has thanked: 41 times
- Been thanked: 10 times
-
- DC Developer
- Posts: 9951
- Joined: Sun Dec 30, 2001 9:02 am
- Has thanked: 0
- Been thanked: 1 time
Re: LuaPlayer for Dreamcast
Aside from using the same scripting language (Lua), no. No relation.Stryfe wrote:What exactly is LuaPlayer? Any relation to the LUA based Dcplaya?
http://www.luaplayer.org/
http://en.wikipedia.org/wiki/Lua_Player
Basically, it's a Lua interpreter for the PSP, with built-in wrappers around some of the PSP's hardware functionality.
Nothing inherently non-portable, as far as I know. However, some of the functionality LuaPlayer provides isn't likely to work on a Dreamcast. The wireless networking functionality obviously won't work. The VMU doesn't work anything at all like the PSP's memory stick, so saving won't work. LuaPlayer's 3D API is just a thin wrapper around the native 3D API, so that obviously won't work either.BB Hood wrote:Is there anything I should be aware off that would make it unportable to the Dreamcast so I don't waste my time in trying?
Your best bet it to just disable or remove all that stuff, or replace it with a stub that does nothing.
However... 2D video ought to work, along with sound, and controller input. That should be enough to get many LuaPlayer games working at least.
- SWAT
- Insane DCEmu
- Posts: 191
- Joined: Sat Jan 31, 2004 2:34 pm
- Location: Russia/Novosibirsk
- Has thanked: 1 time
- Been thanked: 0
- Contact:
Re: LuaPlayer for Dreamcast
If you want to write programs in Lua for DC, you should look in the direction DreamShell 4.0. All applications for it are written in lua, and the GUI is constructed from the layout XML.
DreamShell 4.0 supports many functions in lua (DS, SDL, GUI, STD, KOS), a full list of which can be viewed here: http://www.dc-swat.net.ru/ds/doc/
Functional DreamShell and lua can expand and improve with the help of the modules (SDK included).
DreamShell 4.0 supports many functions in lua (DS, SDL, GUI, STD, KOS), a full list of which can be viewed here: http://www.dc-swat.net.ru/ds/doc/
Functional DreamShell and lua can expand and improve with the help of the modules (SDK included).
-
- Psychotic DCEmu
- Posts: 577
- Joined: Mon Aug 11, 2008 9:34 am
- Location: Nowhere U.S.A.
- Has thanked: 0
- Been thanked: 0
Re: LuaPlayer for Dreamcast
Doesn't DreamShell take up a considerable amount of the DC's RAM?
Not to mention that if it'd require the SD loader, it wouldn't be practical for your average Dreamcast homebrew user.
Not to mention that if it'd require the SD loader, it wouldn't be practical for your average Dreamcast homebrew user.
- SWAT
- Insane DCEmu
- Posts: 191
- Joined: Sat Jan 31, 2004 2:34 pm
- Location: Russia/Novosibirsk
- Has thanked: 1 time
- Been thanked: 0
- Contact:
Re: LuaPlayer for Dreamcast
Memory can be freed without having to load modules and do not use GUI desktop.
1ST_READ.BIN takes only ~1.4 Mb.
Module luaDS (it includes API DS, SDL, GUI and Console binded to lua) takes about ~400 kb.
Other modules with lua binding takes only about ~50-70 kb.
You do not have to use the file system support SD cards, as well the module sdiso.
1ST_READ.BIN takes only ~1.4 Mb.
Module luaDS (it includes API DS, SDL, GUI and Console binded to lua) takes about ~400 kb.
Other modules with lua binding takes only about ~50-70 kb.
You do not have to use the file system support SD cards, as well the module sdiso.
-
- Psychotic DCEmu
- Posts: 577
- Joined: Mon Aug 11, 2008 9:34 am
- Location: Nowhere U.S.A.
- Has thanked: 0
- Been thanked: 0
Re: LuaPlayer for Dreamcast
Did you ever consider anything more on this?BB Hood wrote:I could try and port it. Is there anything I should be aware off that would make it unportable to the Dreamcast so I don't waste my time in trying?