Jump to content




[Official] CCLite - Lightweight CC Emulator

utility

  • This topic is locked This topic is locked
138 replies to this topic

#21 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 13 June 2013 - 07:46 AM

View Postnutcase84, on 13 June 2013 - 07:38 AM, said:

Your not going to make it support multiple computers, are you? If so, my dreams would be crushed. :(

Have you heard about CC-Emu or CC-Desk?

#22 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 June 2013 - 07:47 AM

View PostJarle212, on 13 June 2013 - 07:41 AM, said:

View Postnutcase84, on 13 June 2013 - 07:38 AM, said:

Your not going to make it support multiple computers, are you? If so, my dreams would be crushed. :(
LOL wut?
Rephrase:
Are you going to make it so I can have multiple computers open at once? If not, my dreams will be crushed. :(

View Postjesusthekiller, on 13 June 2013 - 07:46 AM, said:

Have you heard about CC-Emu or CC-Desk?
CC-Emu is discontinued and will never be upgraded to new versions of CC.

#23 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 13 June 2013 - 08:07 AM

But is funny :ph34r:

#24 Sorroko

  • Members
  • 87 posts

Posted 13 June 2013 - 08:49 AM

Well, enough about trolls :P , and no I will not be supporting multiple computers until LOVE supports multiple windows.

I have another little teaser for you, I solved that fs bug as well as added a few new features: the cursor blinks, a handful of fs improvements, os.shutdown and os.reboot support, key shortcuts such as ctrl + s and ctrl + r.

Posted Image

What do you guys think about the bar along the bottom, I'm open to suggestions on how to make it look nicer, I just needed to do something for now to allow turning on/off!

A few more things to implements, the last major one is term.scroll after that I'll release a preview for all you lot to test and/or crash ;)

Also, the bios and programs are run in a coroutine, is there anyway to force the coroutine to yield? I'm guessing not?

#25 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 13 June 2013 - 08:58 AM

Nah, bar does not fit really...

Make bar do instant CTRL + something and I'll be happy :P

And make that FPS counter be togglable :)

#26 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 June 2013 - 09:07 AM

I say put the FPS down on the bottom bar, instead of on the computer screen.

#27 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 13 June 2013 - 09:09 AM

Good idea :)

#28 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 13 June 2013 - 09:10 AM

Instead of having multiple windows within one game instance, why not make it so that opening the program again opens a new computer? You could just open the program again, and have the ability to change IDs. Bam, two different computers. You're on your own with rednet communication though. :P

View PostSorroko, on 13 June 2013 - 08:49 AM, said:

Also, the bios and programs are run in a coroutine, is there anyway to force the coroutine to yield? I'm guessing not?
Force it how? On a keypress?

#29 Sorroko

  • Members
  • 87 posts

Posted 13 June 2013 - 09:12 AM

View Postjesusthekiller, on 13 June 2013 - 08:58 AM, said:

Nah, bar does not fit really...

Make bar do instant CTRL + something and I'll be happy :P

And make that FPS counter be togglable :)

That's a good idea, I'll add reboot and terminate buttons. And yeah, I don't really like the bar either, but I need a way to turn it on. :P

#30 Sorroko

  • Members
  • 87 posts

Posted 13 June 2013 - 09:16 AM

View PostKingdaro, on 13 June 2013 - 09:10 AM, said:

Instead of having multiple windows within one game instance, why not make it so that opening the program again opens a new computer? You could just open the program again, and have the ability to change IDs. Bam, two different computers. You're on your own with rednet communication though. :P

View PostSorroko, on 13 June 2013 - 08:49 AM, said:

Also, the bios and programs are run in a coroutine, is there anyway to force the coroutine to yield? I'm guessing not?
Force it how? On a keypress?

Yeah running seperate instances and making them talk to each other would be a nightmare ;)
Force it as in vanilla, "too long without yielding"

Also, The FPS is a debug option, but I'll move it to the bar

#31 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 13 June 2013 - 09:21 AM

Make pressing any key to turn it on :P

#32 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 13 June 2013 - 10:43 AM

View PostSorroko, on 13 June 2013 - 09:16 AM, said:

Force it as in vanilla, "too long without yielding"
Hm...you could try running files in a separate thread.

#33 nutcase84

  • Members
  • 711 posts
  • LocationIn My Lonely Little Computer Corner

Posted 13 June 2013 - 01:42 PM

I don't know why some people don't understand what I said, but whatever. I don't think I'm a trool. If I am, sorry. Will this be open source? I would love to make something out of this when it's done.

#34 Sorroko

  • Members
  • 87 posts

Posted 13 June 2013 - 03:00 PM

View Postnutcase84, on 13 June 2013 - 01:42 PM, said:

I don't know why some people don't understand what I said, but whatever. I don't think I'm a trool. If I am, sorry. Will this be open source? I would love to make something out of this when it's done.
Lua isn't very closed source in general so yes I'll probably be making this open source, I'm fine with you using it however you like as long as you give me a bit of credit ;).
I also saw your post about wanting to distribute a program outside of cc, not sure why, but anyhow this can easily be done (you will still want to load the bios though since it contains parts of the cc api).

Also, I'll be (hopefully) releasing a version tomorrow, I don't think I'll include it in tomorrows version but I have thought of a more efficient way of rendering which I will add soon, along with threads. I completely glanced over that part of the LOVE api, thanks Kingdaro for pointing that out!

#35 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 14 June 2013 - 12:00 PM

o.o i knew it was possible but it might break because LuaJ has "features" that C lua dosent
this easialy allows you to write awesome graphics to the screen :D
and because its love2d you can edit its code easialy instead of having pesky decompilers
(if you didnt know, .love files are actually .zip files with source files inside)
you can convert a .love to a exe by copying them together with -b

#36 Sorroko

  • Members
  • 87 posts

Posted 14 June 2013 - 02:50 PM

Just released a beta, currently only distributing as a .love file.

There is still lots to do and there is probably lots of bugs too. Please report all the bugs you find, and I'll give you a virtual cookie! ;)

I removed the bar along the bottom, and as I'm writing this I have realised that I have not disabled debug (EDIT: All fixed :) )

Suggestions for a name are also appreciated, not sure what to call it yet (I've gone with "cclove" for now).

#37 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 14 June 2013 - 03:02 PM

Woo! Download :-)

#38 nutcase84

  • Members
  • 711 posts
  • LocationIn My Lonely Little Computer Corner

Posted 14 June 2013 - 06:29 PM

Awesome! A bit buggy, but truly awesome!

#39 Shazz

  • Members
  • 175 posts

Posted 14 June 2013 - 07:56 PM

View PostSorroko, on 14 June 2013 - 02:50 PM, said:

Just released a beta, currently only distributing as a .love file.

There is still lots to do and there is probably lots of bugs too. Please report all the bugs you find, and I'll give you a virtual cookie! ;)

I removed the bar along the bottom, and as I'm writing this I have realised that I have not disabled debug (EDIT: All fixed :) )

Suggestions for a name are also appreciated, not sure what to call it yet (I've gone with "cclove" for now).

What about ccLite?

#40 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 14 June 2013 - 08:10 PM

I really like this, especially since it is written in lua. And I have to say I love open source! :D
The only thing that is bugging me, is the font rendering. When you have time to sort that out, I think you have a pretty good simulator right there.

Please keep updating this, it has very much potential! And for the name, make it something easy so peoplecan remember it. Also putting in the name what it does in the name is a very good idea. I was thinking: "loveEmu for CC"

Edit: Also, I might want to help you out, but only if you want it. Because it seemse very fun to work on something like this!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users