Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
awsmazinggenius

Emulator Discussion (NOT one of those stupid "I can't search" topics)

Recommended Posts

I wanted to discuss emulators with the OC community:

What would the OC community think of an emulator? The ComputerCraft community is pretty open to the idea, as not everyone has a good PC that can just open Minecraft, but the OC community might have a different stance.

Would anyone object to an emulator with both CC and OC support? It's an idea I've had in mind for a little while, but those who feel that there is a heated competition between the mods might object to it.

Would you use the emulator? Why or why not?

That's all from me. Let the war-ahem, discussion-begin!

Link to post
Share on other sites

Most of the OC community is also part of the CC community  :P

 

An emulator for OC would be great, an emulator that supports both CC and OC would be even better!

 

However; it should be more as "click to add a computer", since you can have a different hardware setup for each computer.

Link to post
Share on other sites

I planned for "Click to make a new computer setup" as it is important to test your program under different settings. I also plan on letting you switch between native mode and fallback mode. (I only plan on releasing this for Windows and Mac, though I guess it's Java, so I can release it on anything. If I do release it for other platforms, if the native library isn't available, you'll have to use fallback mode.)

Link to post
Share on other sites

An emulator would definetely be helpful. Actually, the modular nature of OC would make writing one rather easy. If CC was supported too, it would be nice, but I'm not sure if it's really feasible to add both to one system in regards of the different architectures.

 

As OC is open source, it would be best if we could use as much of the regular OC code as possible. I did that with computercraft a while ago and it worked quite well; the core logic from computercraft is strongly separated from minecraft specific classes. Unfortunately, this is not the case for opencomputers: The Architecture implementations could probably reused, but they depend on the global Settings class and on the minecraft save logic; and the Machine class is far too strongly integrated with Minecraft logic (eg. client-server) to be reused.

Link to post
Share on other sites

I've stopped working on my emulator a while ago but while writing it, I was able to use a few bits of OC's source code to write the emulator. I used things such as, NativeLuaArchitecture and components' code.

 

The reason why I stopped working on the emulator is because, since OC 1.3 was coming out with breaking changes, I would have to redo a lot of the emulator. But since OC 1.3 changes are starting to show in commits, I might start working on the emulator again.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.