• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 … 46 47 48 49 50 … 117 Next »

Adding Lua Support BACK into dolphin!
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Adding Lua Support BACK into dolphin!
04-17-2013, 05:39 AM
#1
Dantarion Offline
Junior Member
**
Posts: 5
Threads: 2
Joined: Feb 2013
So, I did some google searching on Dolphin's LUA Support, and found that it DID exist at some point, but now doesn't.

https://code.google.com/p/dolphin-emu/is...an=1&q=lua


This page states that while there WAS lua support, it was taken away because Dolphin wasn't mature enough, and that it wasnt being used by many people.

I would like to add this feature back.

The ability to automate the process of setting breakpoints, reading registers, and setting breakpoints will enable people to extend games with new features that will allow some cool things to be developed!

I see that someone is working on a branch...
https://code.google.com/r/rachelbryk-lua...rce/browse


And I will be looking at this branch when developing my own build (I haven't had a chance to really go at it so I am not sure how hacky this branch is so far)

What is the current official stance on Lua Scripting support, and is this a feature that would gladly be accepted in trunk?


I have some amazing ideas for my portfolio that I would like to use this for
Find
Reply
04-17-2013, 05:40 AM (This post was last modified: 04-17-2013, 05:41 AM by neobrain.)
#2
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
You should probably come to IRC (#dolphin-emu on freenode) and ask there instead. While your question is development related, many devs aren't active on the forums at all.
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
04-17-2013, 06:28 AM (This post was last modified: 04-17-2013, 06:28 AM by RachelB.)
#3
RachelB Offline
Developer
*******
Moderators
Posts: 1,003
Threads: 1
Joined: Dec 2011
Quote:I see that someone is working on a branch...
I'm not really working on that. I just made it compile, and got just enough working so one person could kind of use it. As is, all of my changes were a hack, i disabled most things that needed to be updated instead of fixing them, and it crashes when not run in a debugger.

Lua would be really really great to have, but i think it'd be best to rewrite it, rather than use any of the old code. It was removed for a reason.
Find
Reply
04-17-2013, 06:44 AM
#4
Dantarion Offline
Junior Member
**
Posts: 5
Threads: 2
Joined: Feb 2013
Thanks for the feedback!
Find
Reply
04-17-2013, 07:56 AM
#5
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
My opinion on the matter: nothing like lua support should be merged until libdolphin is done. And the libdolphin implementation work won't start before 4.0 is released.

When libdolphin will be done, exporting the API to Lua should be trivial (if we don't want to write wrappers ourselves, SWIG will do a fine job). Then it's just a matter of having the API export whatever is needed.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
04-17-2013, 02:39 PM
#6
Dantarion Offline
Junior Member
**
Posts: 5
Threads: 2
Joined: Feb 2013
So I guess for now I will just work on getting all the features I want working, and ill take a look at the libdolphin API as it develops so I can make sure things will be possible when its finished
Find
Reply
04-17-2013, 05:34 PM
#7
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
If you just want debugger support, Dolphin has USBGecko emulation support and you should be able to run a debugger inside Dolphin. Parlane has also been working on a gdbstub that allows Dolphin to communicate with an external debugger to debug what's currently running inside of the emulator - I'm not sure what the state of this feature is, I think it was merged in wii-network at some point.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
05-08-2013, 01:24 PM
#8
King Dude Offline
Junior Member
**
Posts: 20
Threads: 6
Joined: May 2013
I'm all for Lua being added to Dolphin.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma