←  General

ComputerCraft | Programmable Computers for Minecraft

»

Gamax92's CCLite ComputerCraft Emulato...

gamax92's Photo gamax92 23 Feb 2014

Just note that I don't have an iPhone to test it out on, so you're on your own with this.

Also, it doesn't seem like it would work full at the moment, after reading some of those missing features.

EDIT: It's also not Lua.
Edited by gamax92, 23 February 2014 - 05:59 PM.
Quote

TheOddByte's Photo TheOddByte 23 Feb 2014

Oh, I didn't check it out that much.. :P
Hmm.. Well is it possible to run Love2D with an jailbroken iPhone?
Since it feels like there will never be an CCEmulator for iPhone -_-

Edit: Well then I will try out Corona SDK.. It uses Lua atleast :P
Edited by Hellkid98, 23 February 2014 - 06:14 PM.
Quote

Spexiono's Photo Spexiono 23 Feb 2014

 Hellkid98, on 23 February 2014 - 06:09 PM, said:

Oh, I didn't check it out that much.. :P
Hmm.. Well is it possible to run Love2D with an jailbroken iPhone?
Since it feels like there will never be an CCEmulator for iPhone -_-

I'm checking out HÖVE now, I'll let you know if i come up with something.
Quote

gamax92's Photo gamax92 23 Feb 2014

So, Just got VFS seperated, which means ID's are now supported.
Now it uses the data/ID/ format for storing files.
Also moved the single computer CCLite to use the data/0/ format.

There is an experimental migration tool in single computer CCLite.
If you for some reason have a folder thats name is a integer above -1, it won't get moved, beware.
(Insert usual disclaimer about eating data and computers exploding, yadda yadda yadda)

Gonna start on support for normal computers.

EDIT: Normal computers supported!
Edited by gamax92, 23 February 2014 - 07:21 PM.
Quote

gamax92's Photo gamax92 23 Feb 2014

https://love2d.org/f...hp?f=12&t=76985

You could try this Love2D build, claims to work for iOS
Quote

Csstform's Photo Csstform 24 Feb 2014

 Hellkid98, on 23 February 2014 - 06:09 PM, said:

Oh, I didn't check it out that much.. :P/>
Hmm.. Well is it possible to run Love2D with an jailbroken iPhone?
Since it feels like there will never be an CCEmulator for iPhone -_-/>

Edit: Well then I will try out Corona SDK.. It uses Lua atleast :P/>
http://www.computerc...-androidiphone/
Quote

gamax92's Photo gamax92 27 Feb 2014

So, just got config editing while running working. Which also means I've moved the config location out of conf.lua. Its now in the Save directory.

Also added some more menu entries, I'd like if someone with a mac could test them, launching url's isn't consistent on Linux/Windows/Mac
Quote

lucySan's Photo lucySan 27 Feb 2014

gamax, how FS look then? Last time I've checked code all files were saved in common, hardcoded, computer ID independent "/love/data/" folder. Are files shared between computers?
Quote

Alice's Photo Alice 27 Feb 2014

 lucySan, on 27 February 2014 - 08:22 PM, said:

gamax, how FS look then? Last time I've checked code all files were saved in common, hardcoded, computer ID independent "/love/data/" folder. Are files shared between computers?
The filesystem now works in the same way ComputerCraft's computers work, with /0/, /1/, /2/ and so on.
Quote

gamax92's Photo gamax92 27 Feb 2014

Going based on what death said, in the frames version you're able to select which ID you want.

The main version is still hard coded to the ID 0 but to work with the frames system, has been moved to LOVE/data/0 as well.
Quote

gamax92's Photo gamax92 01 Mar 2014

So, thanks to Michiyo, I got a new system for building executables.
It's just a simple batch file that grabs the latest source code from github and packages/builds everything needed.

You can grab these executables from the builds page.

Check builddate.txt for when these builds were made.

Also, because of this builddate.txt, CCLite can also check the builddate.txt from the builds site and tell the user to update (can be disabled :P)
Edited by gamax92, 01 March 2014 - 07:07 PM.
Quote

JoeNoIce's Photo JoeNoIce 02 Mar 2014

can you make a mac or jar version?
Quote

gamax92's Photo gamax92 02 Mar 2014

I don't have a mac to test on, but I'll try to get a working build system for it.

Jar version are impossible, for one this isn't in Java. My code isn't java and Love2D isn't java.

EDIT: So, I have mac builds. But I'm not paying Apple $100/year to get a proper license for them.
To use these builds, you need to right click on them and select Open, then you can ignore the warning.
You can also disable the warning system entirely but I don't recommend doing this
Edited by gamax92, 02 March 2014 - 09:41 PM.
Quote

bigspaceballs's Photo bigspaceballs 09 Mar 2014

Umm... your 1.6 beta version's link is broken.
Quote

Alice's Photo Alice 10 Mar 2014

Look through the repo, download a zip, rename it to a .love file, ???, profit.
Quote

gamax92's Photo gamax92 10 Mar 2014

Sorry, I was advised not to put .love files in my repo because github will hate me. So for testing the 1.6 Beta CCLite, just download this:

https://github.com/g...te_1_6_beta.zip

Take the CONTENTS of the src folder, put it in a zip. rename the .zip to .love, and done.
Alternatively, just drag the src folder on top of love.exe

Also, I don't really want people using that version of CCLite, so please be aware my current focus is the normal version and the frames version.
Edited by gamax92, 10 March 2014 - 08:31 PM.
Quote

Alice's Photo Alice 12 Mar 2014

So I've been messing around on my Android tablet, and noticed that the keyboard doesn't have a ctrl key. I suggest downloading a keyboard software ( I heard of one, hacker keyboard - has all keys a standard keyboard has ) to run it.
Installing
Quote

Pharap's Photo Pharap 12 Mar 2014

 gamax92, on 23 January 2014 - 05:35 PM, said:

Lua's tonumber locks the output from 0 to 4294967295 (2^32-1), LuaJ doesnt. I've done a patch that enables the output to go from -4294967295 to 4294967295

That's because it's turning them into ints instead of floats.
Can't really get around that without access to the love2D's Lua VM's source code.
If you do have access to it though, it should be easy to fix.
Quote

gamax92's Photo gamax92 13 Mar 2014

Yes, it is possible to get the source code of luajit, which is what love2d uses. No, I don't want to scan though crap tons of assembly code to fix that. No, I don't want to release a special version of Love2D just to fix that.

However, I would make CCLite use a custom version of Love2D, if I could re enable killing threads on demand. The ability to kill threads on demand would allow me to get past a bug with infinite infinte loops.
Edited by gamax92, 13 March 2014 - 01:22 AM.
Quote

Pharap's Photo Pharap 16 Mar 2014

 gamax92, on 13 March 2014 - 01:21 AM, said:

Yes, it is possible to get the source code of luajit, which is what love2d uses. No, I don't want to scan though crap tons of assembly code to fix that. No, I don't want to release a special version of Love2D just to fix that.

However, I would make CCLite use a custom version of Love2D, if I could re enable killing threads on demand. The ability to kill threads on demand would allow me to get past a bug with infinite infinte loops.

If I get time at a later date I'll look into it properly, but after having a quick scan of both Love2D and LuaJit's sources, I expect Love2D is using a configuration of LuaJit that doesn't use doubles for numbers (probably it uses SDL a lot, which doesn't really use doubles much). Finding the issue seems more difficult than fixing it though since the source code for both is quite messy.
Quote