236 posts
Location
Germany
Posted 21 April 2012 - 01:31 PM
so i sat myself down and coded a lua emulator for Windows :)/>/>
NOTE: FOR NOW THIS DOESNT UNDERSTAND CC SYNTAXWARNING: U NEED .NET Framework 4Please note im to busy to work on this right now so please use this lovely tool instead: http://www.computercraft.info/forums2/index.php?/topic/2674-computercraft-emulator-v03/if that is proper english :)/>/>
DownloadSpoiler
Click me :)/>/> Screenshots Spoiler
http://imgur.com/a/R5JOh#0.Net FwSpoiler
http://www.microsoft...s.aspx?id=17851Changelog Spoiler
1.0.0.1 added the network check for version info and added read() command
1.0.0.0 Initial Releaseif u find any errors feel free to report them to me :)/>/>
195 posts
Location
Cambridgeshire, England
Posted 21 April 2012 - 02:03 PM
Why did you bother when you can get lua for windows anyway.
Lua is just a programming language, you don't emulate it, you interpret it.
http://code.google.com/p/luaforwindows/ <the official version made by the original lua devs.
236 posts
Location
Germany
Posted 21 April 2012 - 02:42 PM
Why did you bother when you can get lua for windows anyway.
Lua is just a programming language, you don't emulate it, you interpret it.
http://code.google.c.../luaforwindows/ <the official version made by the original lua devs.
i know that :)/>/> but well i coded this one for the circumstances of adding computer craft code syntax, so u can test ur program outgame and thats also the point why it is an emulator :)/>/>
and also as u can tell my tool is lightweight instead of the original lua for windows :)/>/>
hoped i coud clearificate my point :)/>/>
193 posts
Posted 21 April 2012 - 03:59 PM
When I attempt to run the program it doesn't do anything.
I run windows 7 Home premium and its a pretty clean install atm
236 posts
Location
Germany
Posted 21 April 2012 - 04:03 PM
When I attempt to run the program it doesn't do anything.
I run windows 7 Home premium and its a pretty clean install atm
ur running the latest .net framework ?
:)/>/> thats probably the issiue
http://www.microsoft...s.aspx?id=17851
454 posts
Location
London
Posted 21 April 2012 - 06:27 PM
I don't really see the use of this unless it also emulates cc.
474 posts
Posted 21 April 2012 - 06:36 PM
Ignore:
(please remove this reply)
236 posts
Location
Germany
Posted 21 April 2012 - 07:03 PM
I don't really see the use of this unless it also emulates cc.
i know :)/>/> i just wanted to try out the lua.net stuff and wanted to see how the released thing looks :)/>/> im working on addin the cc functions and maybe a litte constructor where u can set the turtles and stuff and interact to them over program code :)/>/>
992 posts
Posted 21 April 2012 - 10:38 PM
I like the idea of an emulator for CC but I would use it more for ruining lua when computer craft is not updated or when Minceraft is not available ( if you make it portable app for USB ) would be very useful combined with Notepad++ in its own IDE.
while I admire the effort that goes into something like this it just leaves me thinking "Why not make a folder called user on the rom and modify files outside minecraft with Notepad++ and run the in game from rom?"
Edit
for anyone with a bad Internet connection you might want to try this instead of the web installer for .Net 4
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17718
2 posts
Posted 22 April 2012 - 01:00 AM
.NET 4.0 does not come with Windows 7 (Any). .NET 3.5 is included with Windows 7. Did you know that Java also has a lua implimentation called LuaJ that is used by Computer Craft internally. It is very easy to get up and running if you already know how to program in java.
http://luaj.org/luaj/README.html
1604 posts
Posted 22 April 2012 - 02:36 AM
Nice work. I started doing something like this, but with LuaJ. It doesn't have the CC functions yet, just the screen and the lua interpreter (wich doesn't work correctly for some reason), and I can't work on it for now, so it might never be released.
There's some pics of the current progress:
Spoiler
1111 posts
Location
Portland OR
Posted 22 April 2012 - 04:26 AM
It would be nice if this was done so it ran on the java vm so you could run it on any OS. Would be nice to be able to use it on a Linux based systems, I would be able to test my scripts at work then.
236 posts
Location
Germany
Posted 22 April 2012 - 10:29 AM
It would be nice if this was done so it ran on the java vm so you could run it on any OS. Would be nice to be able to use it on a Linux based systems, I would be able to test my scripts at work then.
well jes im not quite that confident with java :)/>/> so i coded it in vb.net but if i ever get to the point of doing it i will post it here :)/>/>
1111 posts
Location
Portland OR
Posted 22 April 2012 - 11:29 AM
Yeah that is about where my java skills are at. I'm learning but not quite there yet. Someday hopefully I can make my own. :)/>/>
Good job on this it will come in handy for sure.
14 posts
Location
Milky Way!
Posted 06 May 2012 - 03:24 PM
Cool Idea.
Was thinking in making something like this.
26 posts
Posted 06 May 2012 - 03:36 PM
I'd love to see this be made cross-platform, or even as a CLI utility.
1243 posts
Location
Indiana, United States
Posted 16 July 2012 - 04:37 PM
Any updates on this?
236 posts
Location
Germany
Posted 17 July 2012 - 03:05 PM
Any updates on this?
sadly im to busy with work to do this atm :/