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

The copyright of built-in CC code

Started by Tobias SN, 05 January 2017 - 11:44 AM
Tobias SN #1
Posted 05 January 2017 - 12:44 PM
Question: Can I use parts of the Lua code in CC in my own project?

Introduction: I'm intending to make a ROM for ComputerCraft based on the existing one. So I'd need permission to use some of the Lua parts of CC

Why it wouldn't be bad:
  • It's very easy to extract the .jar, and get all the code from there
  • I can and will obfuscate the code before distribution (Not the filenames, unless requested)
Priority: Needed for compatibility with most programs
Lupus590 #2
Posted 05 January 2017 - 01:26 PM
Dan200 (the owner of CC) said on IRC once that he doesn't care what people do with the Lua code. I would still give him credit for it however, a link to the ComputerCraft website also would be considerate.

As for the exact license, at a guess, public domain, theunlicense or MIT.
See bomblokes post below. Second guess, a modified version of the unlicense with an added clause limiting the license to ComputerCraft related projects. As for outside of CC, it's implied that he would like to be asked for permission.

Dan200 should actually write an actual license somewhere, perhaps in the jar under a file called license? I wrote a tutorial on licensing. [/shameless plug]
Edited on 06 January 2017 - 09:17 AM
TheRockettek #3
Posted 05 January 2017 - 03:10 PM
obfuscated code isnt allowed tho to be distributed on the forums
H4X0RZ #4
Posted 05 January 2017 - 10:55 PM
obfuscated code isnt allowed tho to be distributed on the forums

I think it's okay though to distribute minified code, as long as the original source code can be accessed too (and probably even with instructions on how you minified it to verify that the code you uploaded is valid)
Bomb Bloke #5
Posted 06 January 2017 - 12:06 AM
Dan200 (the owner of CC) said on IRC once that he doesn't care what people do with the Lua code.

He expanded on that a bit here.
Tobias SN #6
Posted 06 January 2017 - 03:12 PM
Thanks a lot! And I am planning to host the source code on GitHub, including the releases, as it's gonna be open source
CrazedProgrammer #7
Posted 06 January 2017 - 10:42 PM
Thanks a lot! And I am planning to host the source code on GitHub, including the releases, as it's gonna be open source
https://github.com/alekso56/ComputercraftLua