This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Xtansia's profile picture

ComputerCraft Emulator

Started by Xtansia, 15 July 2012 - 06:27 AM
Xtansia #1
Posted 15 July 2012 - 08:27 AM
Just me testing my latest project an emulator for ComputerCraft,
[media]http://www.youtube.com/watch?v=CJ-GMuiyEvM[/media]
Sxw #2
Posted 15 July 2012 - 05:13 PM
Wow. Thats awesome. Whats the red ring for?
Xtansia #3
Posted 16 July 2012 - 05:12 AM
Wow. Thats awesome. Whats the red ring for?

To denote the "focused" terminal(ie the terminal that key presses are sent to),
the colour is configurable.
It's just a colour overlay.
It also has the ability to focus all terminals which you see in the vid when both go red.
It supports between 1 terminal and a 5*5 grid of terminals, so 1 -> 25
rex41043 #4
Posted 16 July 2012 - 10:09 AM
COOOL when do you think we will be able to download it? :P/>/>
Xtansia #5
Posted 16 July 2012 - 11:07 AM
COOOL when do you think we will be able to download it? :P/>/>

Once I can make sure it will run on osx,
And let dan200 have a go :)/>/>
kazagistar #6
Posted 16 July 2012 - 12:35 PM
Any chance of a source release? Also, what language/environment did you make it in?

My main development machine when not at my desktop is a linux netbook that is wholly incapable of running minecraft, so a CC emulator would be incredibly useful for me.
Xtansia #7
Posted 16 July 2012 - 01:13 PM
Any chance of a source release? Also, what language/environment did you make it in?

My main development machine when not at my desktop is a linux netbook that is wholly incapable of running minecraft, so a CC emulator would be incredibly useful for me.

I'm not sure about a source release.
This is coded in Java. And developed on a Windows XP computer,
It *should* work on windows, osx and linux but I still need to test osx and linux.
Unfortunately I don't have access to a computer running either of those :P/>/>
Dan200 gave me permission to use the mods actual classes but I'm not allowed to distribute those for obvious reasons so what this does is it looks for and detects ComputerCraft installations in the .minecraft folder or in the current folder and loads them for use.
kazagistar #8
Posted 16 July 2012 - 02:55 PM
I see, it makes sense why you would not want a source release. I was under the impression that this was standalone, but using the CC source classes is a elegant solution as well. So, I guess my feature requests would be (1) A way to customize the path to source classes, or even just have it search its local directory for them (2) "Hidden terminals", so you can run more computers then you can display at the same time (3) the ability to start up many terminals at the same time, each from their own startup folder, and (4) rednet emulation of some kind.

I don't know which if these are easily implementable… the main reason I was asking for a source release is so I might possibly be able to submit patches for any lacking features. Even if none of these are available though an emulator would be incredibly useful.
1lann #9
Posted 16 July 2012 - 04:19 PM
Any chance of a source release? Also, what language/environment did you make it in?

My main development machine when not at my desktop is a linux netbook that is wholly incapable of running minecraft, so a CC emulator would be incredibly useful for me.

I'm not sure about a source release.
This is coded in Java. And developed on a Windows XP computer,
It *should* work on windows, osx and linux but I still need to test osx and linux.
Unfortunately I don't have access to a computer running either of those :P/>/>
Dan200 gave me permission to use the mods actual classes but I'm not allowed to distribute those for obvious reasons so what this does is it looks for and detects ComputerCraft installations in the .minecraft folder or in the current folder and loads them for use.

Oh, I use Ubuntu, I'm happy to test it out and give it feedback if you wish. Or you could just install Ubuntu alongside windows.
http://www.ubuntu.com/download/desktop/windows-installer
Xtansia #10
Posted 17 July 2012 - 05:54 AM
I see, it makes sense why you would not want a source release. I was under the impression that this was standalone, but using the CC source classes is a elegant solution as well. So, I guess my feature requests would be (1) A way to customize the path to source classes, or even just have it search its local directory for them (2) "Hidden terminals", so you can run more computers then you can display at the same time (3) the ability to start up many terminals at the same time, each from their own startup folder, and (4) rednet emulation of some kind.

I don't know which if these are easily implementable… the main reason I was asking for a source release is so I might possibly be able to submit patches for any lacking features. Even if none of these are available though an emulator would be incredibly useful.

(1): It already does search the local directory
(2): I may look into some thing like this or a sort of scrolling/page type setup
(3): Well you can have up to 25 at the same time atm, and each do have their own directories just like normal CC does
(4): It already has rednet, You can see me using it in the video.
Xtansia #11
Posted 17 July 2012 - 01:09 PM
Houston, We have lift off.
[topic='2674']ComputerCraft Emulator[/topic]
theoriginalbit #12
Posted 14 December 2012 - 05:30 AM
COOOL when do you think we will be able to download it? :D/>/>

Once I can make sure it will run on osx,
And let dan200 have a go :D/>/>

I love you man. Finally SOMEONE who supports ALL OSes!!!!!!!! :D/>
Tiin57 #13
Posted 14 December 2012 - 12:05 PM
:?
Tomass has had this released for some time, check the Programs/Apis and Utilities forum. (Spoiler: It's about 9001 times better than this topic's version :D/>)
Edit: Of course, it still struggles to support OS X.
AfterLifeLochie #14
Posted 14 December 2012 - 08:37 PM
Edit: Of course, it still struggles to support OS X.

Namely because JRE7 on Mac is an absolute monster to work with. There's been a pile of problems that neither Tomass or myself have been able to fix, and I dare not try and poke around with JRE7 for Mac and it's breaking-of LWJGL - I'd probably die before I got everything fixed completely.
TheDavster #15
Posted 31 January 2013 - 01:58 AM
I think that ComputerCraft Emulator should be able to print from REAL printers!
NeverCast #16
Posted 31 January 2013 - 09:03 AM
1. Bad Idea
2. You just dug up a really old topic.


1 Explained.

What stops me from starting up a program on your CC-Emulator, forking in to a background coroutine where you can't get me, and queuing up 100s of pages of ASCII Penis! For your mummy to see? Hmm?

Sorry, but in my opinion, CC Interfacing with the real world is bad unless constrained, and access to a real printer isn't a constraint.