4 ms·
Lua IDE "Decoda" open sourced
- deevus 14y agoThis is pretty exciting. Unknown Worlds seem like a great bunch of guys, and this only makes me think better of them.
- tucaz 14y agoTheir first game, NS1 a mod for half life, took away some years of my life! They are indeed very good and I'm very happy that NS2 went out as a success after so long. It's even cooler seeing that they can now give something else back to the community.
- snogglethorpe 14y agoIt looks neat, but unfortunately it's currently only for Windows, and only 32-bit Windows to boot... Maybe open-sourcing will help them to add support for more platforms though.
- dguaraglia 14y agoYup, from a cursory glance at it, it looks like it's been written using WxWidgets, so it should be (more or less) easy to port to other platforms. Even though I'm not an active Lua programmer by any extent, I hope the community does a good job of porting it.
- snogglethorpe 14y ago> it looks like it's been written using WxWidgets Hmmm... indeed. So maybe it's mostly a matter of fixing the build system (which looks pretty hardwired for windows) and the odd portability problem...
- mischanix 14y agoThe debugger is a whole different story. https://github.com/unknownworlds/decoda/blob/master/src/LuaInject/Hook.cpp#L486-L503 https://github.com/unknownworlds/decoda/blob/master/src/LuaI... https://github.com/unknownworlds/decoda/blob/master/src/LuaInject/DebugHelp.h https://github.com/unknownworlds/decoda/blob/master/src/LuaI... https://github.com/unknownworlds/decoda/blob/master/src/LuaInject/LuaDll.cpp https://github.com/unknownworlds/decoda/blob/master/src/LuaI...
- devbug 14y agoNot the end of the world. Cross platform (and "architecture") hooking libraries exist for this very reason[1]. It's not a hard issue, and symbol lookup for callstacks is not an issue either[2]. I wouldn't say it's trivial but it's certainly not novel. [1] http://www.gamedeception.net/content/193-Cross-platform-x86-x86-64-detours http://www.gamedeception.net/content/193-Cross-platform-x86-... [2] http://www.kernel.org/doc/man-pages/online/pages/man3/backtrace.3.html http://www.kernel.org/doc/man-pages/online/pages/man3/backtr...
- Cogito 14y agoIt took me about 5 minutes to install via wine. Looks like no issues but I haven't played with it much. Getting native linux support would be nice, and I think open-sourcing it has the potential to allow this. Mostly comes down to how the project is run, and if any linux devs get involved. Until that time, wine seems to work!
- shawndumas 14y agoanyone know how to get debugging working with a regular, command-line only, lua file?
- mischanix 14y agoDownload Lua 5.1.4 and run the file through that. The debugger doesn't appear to support 5.2 (crashes the target process). You will need something like `io.read("*line")` at the top so the debugger can attach. Once that's done, just attach by going into "Debugger > Processes..." and choosing lua5.1.exe.
- shawndumas 14y agoah; you are correct. 5.2 was the issue. once i switched to 5.1.4 debugging worked.