Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: LUA on Dreamcast Tutorial

                  
   
  1. #1

    Dreamcast LUA on Dreamcast Tutorial

    showka wrote a tutorial on how to use the programming language LUA on Dreamcast:

    http://border-town.com/code/DcSimpleLua5.1/


    - Maybe we will now see some LUA based PSP hombrew on Dreamcast ?


    Source: DCEmulation Forums

  2. #2
    Dream Coder
    Join Date
    Apr 2004
    Location
    Miami, FL
    Age
    37
    Posts
    4,675
    Rep Power
    50

    Default

    All the LUA homebrew (or like...99% of it) uses a thing called LUAplayer which adds a lot to the normal lua stuff. LUA has been on the DC for as long as I've used KOS, it's just not all that useful unless you need a good light scripting engine.
    If anyone is looking to buy, sell, trade games and support a developer directly at the same time, consider joining Goozex. Enjoy!

  3. #3

    Default

    Would it be possible to port this LUAplayer thing to DC ?

  4. #4
    DCEmu Newbie zaero's Avatar
    Join Date
    Nov 2005
    Location
    Ukraine/Odessa
    Age
    36
    Posts
    9
    Rep Power
    0

    Default

    Dreamshell compile lua script!
    http://dc-swat.net.ru/ds/

    PS sorry my english...

  5. #5
    DCEmu Newbie
    Join Date
    Feb 2006
    Posts
    10
    Rep Power
    0

    Default

    Oh wow, I didn't realize anybody was viewing that thing!

    In light of this discovery, I've appended it with a note on Black Aura's fix to keep incorrect Lua scripts from crashing the program. Basically, you just change the line "#if defined(__cplusplus)" found in luaconf.h to something undefined and it seems to work.

    Using Lua is pretty fun once you set up your glue functions, since you can change scripts without recompiling, or screw things up royally and Lua will politely catch the error and tell you about it (usually even giving you a line number in the process).

  6. #6
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    52
    Posts
    139,590
    Blog Entries
    3209
    Rep Power
    50

    Default

    a standalone Lua Player for Dreamcast would be awesome

    esp if it were easy to convert the hundreds of PSP to the Dreamcast

    pity a script couldnt be written to change things if they need changing ?

  7. #7
    DCEmu Old Pro Elven6's Avatar
    Join Date
    May 2006
    Posts
    1,158
    Rep Power
    71

    Default

    Wow I hope someones up for it, 2008 could be the return of Dreamcast homebrew.

  8. #8
    DCEmu Newbie
    Join Date
    Jul 2007
    Posts
    15
    Rep Power
    0

    Default

    For DreamShell you can write applications using lua scripts and xml markup.

    http://www.dc-swat.net.ru/news/12/

    I have a forum you can find some information about creating applications.

    http://www.dc-swat.net.ru/forum/index.php?showforum=33

    DreamShell 4.0 - XML Doc (full)
    DreamShell 4.0 - App dev (very simple)
    DreamShell 4.0 - API Doc (very simple)

    You can use the google translator, but sure to read the code in its original form (translator makes it an error).

    Translate it

  9. #9
    DCEmu Newbie
    Join Date
    Jun 2009
    Posts
    3
    Rep Power
    0

    Default

    being a kid im still learning programming ive experimented with some minor things with lua (with lua player) on the psp (mainly following tutorials and expanding from there) nothing to serious.

    swat

    what would i need to do to get my.. 'programs' to run on dreamshell?

  10. #10
    DCEmu Newbie
    Join Date
    Jul 2007
    Posts
    15
    Rep Power
    0

    Default

    Use tutorials and example application from DreamShell.
    Write your application and put him to /cd/apps/appname
    When you start DreamShell, your application will appear on your desktop

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •