The Challenge: An out of game CC emulator, that runs the lua scripts the same way as CC does in game, with a similar interface. Hopefully something that will run on a computer that minecraft wont run on so that we can work on scripts without access to minecraft
This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
Strange Request...
Started by Selkitty, 25 February 2012 - 01:54 AMPosted 25 February 2012 - 02:54 AM
I dont really know much about coding things, but I do dabble in lua for CC. However I find when I want to mess around with scripts is usually when I'm on my netbook (which cant run minecraft) and dont have a lot else to do XD
The Challenge: An out of game CC emulator, that runs the lua scripts the same way as CC does in game, with a similar interface. Hopefully something that will run on a computer that minecraft wont run on so that we can work on scripts without access to minecraft
The Challenge: An out of game CC emulator, that runs the lua scripts the same way as CC does in game, with a similar interface. Hopefully something that will run on a computer that minecraft wont run on so that we can work on scripts without access to minecraft
Posted 25 February 2012 - 03:13 AM
I dont really know much about coding things, but I do dabble in lua for CC. However I find when I want to mess around with scripts is usually when I'm on my netbook (which cant run minecraft) and dont have a lot else to do XD
The Challenge: An out of game CC emulator, that runs the lua scripts the same way as CC does in game, with a similar interface. Hopefully something that will run on a computer that minecraft wont run on so that we can work on scripts without access to minecraft
I'm sure it could be done,
But I doubt it would be easy as you would need to interpret both the lua code and somehow be able to interpret the CC functions seperately, With a specialized library of some kind.
Posted 25 February 2012 - 03:36 AM
I don't think this is as hard as it sounds. All you need to do is emulate some functions: fs.*; redstone.*, term.*, turtle.* can probably be ignored.
Most of the apis are defined in lua, the other are (parts) of lua standard libraries.
You can get LuaForWindows or whatever OS you have, then make an emulator for CC (in lua) that then loads the /lua directory.
Still, this would be quite a messy task, as you still have to do ticks, etc, and you'd probably want multiple computers being emulated, too…
Most of the apis are defined in lua, the other are (parts) of lua standard libraries.
You can get LuaForWindows or whatever OS you have, then make an emulator for CC (in lua) that then loads the /lua directory.
Still, this would be quite a messy task, as you still have to do ticks, etc, and you'd probably want multiple computers being emulated, too…
Posted 29 February 2012 - 09:50 AM
I swear if I knew anything about coding I'd make one myself, but realy we do have so many brilliant programmers out there! and I'm sure they themselves could see a use for such a thing :x
Posted 30 August 2012 - 06:57 AM
I swear if I knew anything about coding I'd make one myself, but realy we do have so many brilliant programmers out there! and I'm sure they themselves could see a use for such a thing :x
The person who 1st replied to your post has answered your prayers! Check out http://www.computercraft.info/forums2/index.php?/topic/2674-cc133computercraft-emulator-v04/ hosted here on the forums :)/>/>
Posted 30 August 2012 - 11:44 AM
yes but that requires you to have the game installed (that is where it gets the CC functions from), maybe you can copy the mod folder onto your netbook and direct it there
Posted 30 August 2012 - 01:09 PM
yes but that requires you to have the game installed (that is where it gets the CC functions from), maybe you can copy the mod folder onto your netbook and direct it there
That's why I made it search the working directory first, And the next version will solve this even more
Posted 30 August 2012 - 03:09 PM
I did not know it did that, +1 to you sir
Posted 07 September 2012 - 05:08 AM
This is interesting indeed! Having minecraft installed and having to run it are two very different things, the latter which my poor netbook can actually handle. I cant wait to check this out ! (waiting for CC to catch up with minecraft x3)