Jump to content




CCEmuX - A modular ComputerCraft emulator

utility

17 replies to this topic

#1 apemanzilla

  • Members
  • 1,421 posts

Posted 10 June 2018 - 10:04 PM

Posted Image
CCEmuX
Hello everyone! After several years of work by many contributors, I'm proud to announce the first official release of CCEmuX, a new CC emulator written in Java with many unique features.
Posted Image
Features
Spoiler
Download
The CCEmuX launcher can be downloaded from our website. Updates will be applied automatically, and you will be prompted for whether you want to use ComputerCraft or CC-Tweaked on the first run (this can be changed later by editing the launcher configuration).
Getting started
When you start CCEmuX, a single computer will be opened by default. From here, you can use the emu program to perform other emulator actions:
  • emu open - Opens a new emulator window with the next computer ID, or a specific ID if you pass it as an argument.
  • emu close - Closes the current emulator window. If this is the only computer, it will stop the emulator.
  • emu data - Opens the CCEmuX data folder in your file manager. This can be used to browse computer files, add custom plugins or resources, or edit the config files externally.
  • emu config - Opens the configuration window. From here you can change every setting for CCEmuX and your plugins. (Note that only the AWT renderer currently supports this - for other renderers, use emu data and then edit the configuration files).
  • help emu - Read the included help file, describing all of these commands in-depth.
Source code, bug reports, suggestions
You can view the source code, report issues, or make suggestions through GitHub.

Edited by apemanzilla, 10 June 2018 - 10:21 PM.


#2 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 11 June 2018 - 04:25 AM

Posted Image

...I guess I can finally get CCEmuRedux off my desktop. +1'd.


EDIT: It seems that mouse_scroll events are doubled.

Edited by LDDestroier, 11 June 2018 - 06:53 PM.


#3 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 11 June 2018 - 07:13 AM

I've been using this emulator for well over a year (possibly almost 2 years now) so it's amazing to see it finally get a forum post!

The configurable screen dimensions are insanely useful (both for emulating a turtle and just having more screen space). I do like how the high-resolution font (<3 BombBloke) makes it all feel that wee bit more fancy.

View PostLDDestroier, on 11 June 2018 - 04:25 AM, said:

EDIT: It seems that mouse_scroll events are doubled.
Should be fixed now - apparently AWT is a little funky about firing events. The launcher should fetch the latest version, so running it twice (once to download, second time to use) should fix it all.

#4 blunty666

  • Members
  • 79 posts

Posted 16 June 2018 - 11:29 AM

This is really good! Seems to work with my existing CC code without any issues.

It might be worth mentioning in the OP about the lua directory in the data folder where you can put shared code for all computers? I managed to find it but only by accident :)

#5 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 16 June 2018 - 02:05 PM

View Postblunty666, on 16 June 2018 - 11:29 AM, said:

It might be worth mentioning in the OP about the lua directory in the data folder where you can put shared code for all computers? I managed to find it but only by accident :)
I assume you're referencing assets/computercraft/lua? This effectively acts the same way as CC's built-in resource pack support, though I'm not really sure how well documented that is either. While I'd rather like the emulator to be as self-explanatory as possible, there's definitely some bits we need to knuckle down and write something about (though ape's done a jolly good job in the OP).

#6 LoganDark2

  • Members
  • 87 posts
  • LocationYes

Posted 16 June 2018 - 05:36 PM

Oh hey, this has been upgraded.

#7 apemanzilla

  • Members
  • 1,421 posts

Posted 17 June 2018 - 04:47 AM

View PostLoganDark2, on 16 June 2018 - 05:36 PM, said:

Oh hey, this has been upgraded.

Yeah, there's been a few minor fixes. The launcher should automatically apply them.

#8 LoganDark2

  • Members
  • 87 posts
  • LocationYes

Posted 17 June 2018 - 04:48 AM

View Postapemanzilla, on 17 June 2018 - 04:47 AM, said:

View PostLoganDark2, on 16 June 2018 - 05:36 PM, said:

Oh hey, this has been upgraded.

Yeah, there's been a few minor fixes. The launcher should automatically apply them.

I mean, the version that I had prior to noticing this was dated back before `emu config` was a thing.

#9 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 22 June 2018 - 07:28 AM

Another thing, sometimes after terminating a few times, key events will occasionally stop working. Mouse clicks will work, but not any keys.

#10 Lignum

  • Members
  • 558 posts

Posted 22 June 2018 - 03:03 PM

View PostLDDestroier, on 22 June 2018 - 07:28 AM, said:

Another thing, sometimes after terminating a few times, key events will occasionally stop working. Mouse clicks will work, but not any keys.
Please file any issues on GitHub. It's easier for us when everything's in one place.

#11 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 22 June 2018 - 06:18 PM

View PostLDDestroier, on 22 June 2018 - 07:28 AM, said:

Another thing, sometimes after terminating a few times, key events will occasionally stop working. Mouse clicks will work, but not any keys.
Hrmrm, I'm unable to reproduce this at all. It would be really useful if you could do something like while true do print(coroutine.yield()) and try to reproduce - just so we can see what's being queued and what isn't.

#12 biggest yikes

  • Members
  • 573 posts

Posted 30 June 2018 - 11:22 PM

View PostSquidDev, on 22 June 2018 - 06:18 PM, said:

Hrmrm, I'm unable to reproduce this at all. It would be really useful if you could do something like while true do print(coroutine.yield()) and try to reproduce - just so we can see what's being queued and what isn't.
I think this might be a similar (?) issue, so I figured I'd put it here.
Spoiler

Edited by Atenefyr, 05 July 2018 - 10:36 PM.


#13 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 07 July 2018 - 09:15 AM

View PostLDDestroier, on 22 June 2018 - 07:28 AM, said:

Another thing, sometimes after terminating a few times, key events will occasionally stop working. Mouse clicks will work, but not any keys.

View PostAtenefyr, on 30 June 2018 - 11:22 PM, said:

I think this might be a similar (?) issue, so I figured I'd put it here.
Sorry for the delay: this should be fixed in the latest version. Can you both update and double check this works for you? (you'll need to run the emulator, wait for it to download and then restart it). It's possible I've missed some other cases, so do tell me if it's still occurring!

#14 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 29 July 2018 - 11:53 AM

In case people are interested, I've started writing some documentation on the basic functionality of the emulator, in the hope that it'll clear up some of the basic questions. It doesn't cover any of the advanced stuff yet (peripherals, resource packs), but hopefully provides a nice reference point.

If people have any thoughts, or things they'd like to see documented, do let me know - either here or on the issue tracker.

#15 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 13 May 2019 - 09:02 PM

Almost a year later, but I've finally fleshed out the documentation a little! We've now got a pages dedicated to peripherals, the ccemux API, and a couple of other things which didn't show up elsewhere. Hopefully this should alleviate the confusion a little, but do let us know if there's anything which you feel could do with further explanation!

#16 Pyuu

  • Members
  • 203 posts

Posted 18 July 2019 - 06:22 PM

Is it intentional for it to flicker so much when typing? Or is that normal for CC?

#17 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 18 July 2019 - 06:39 PM

View PostPyuu, on 18 July 2019 - 06:22 PM, said:

Is it intentional for it to flicker so much when typing? Or is that normal for CC?
IIRC the refresh rate for CCEmuX is a higher than what you get within Minecraft, which might make any potential flicker a little more obvious. That said, I've never had much of a problem with it, so interesting that you're experiencing it...

#18 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 28 January 2020 - 10:35 PM

Ho ho, it's been a while since I posted here, but thought it would be worth mentioning some of the recent changes in CCEmuX:
  • You can now take screenshots! Use ccemux.screenshot() (or press F2) to take a screenshot. These can be accessed by running emu data, and then navigating to the screenshots folder.
  • You can now point CCEmuX at your Minecraft world's computer/ folder, or even a single computer folder. This should make it easier to use CCEmuX anywhere, rather than forcing you to put all your projects within the data directory. There's more information on the website on how to do that.

Edited by SquidDev, 28 January 2020 - 10:35 PM.






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users