Jump to content




How To Make An Installer.


  • You cannot reply to this topic
6 replies to this topic

#1 mrdawgza

  • Members
  • 110 posts
  • LocationSouth Africa

Posted 24 September 2013 - 02:19 PM

Hello, again...
I have almost finished my operating system, which will hopefully be live in a couple hours.
But I want to know how to make a installer. Like from Lyqyd OS and others.

General explanation:
I have a normal operating system for a old regular computer.
It currently has 9 files required for fully functional use.
How do I make a old computer download these files off Pastebin and make them files again?

Another question, does this make the operating system closed source so it cannot be claimed with another name?

#2 BigTwisty

  • Members
  • 106 posts

Posted 24 September 2013 - 02:36 PM

1. The best thing to do would be to look at the pastebin program built into your computer. It is at rom/programs/http/pastebin if I remember correctly. Basically I would recommend you take that code and manipulate it to do what you want specifically.

2. There is no way to make ANYTHING closed source in ComputerCraft. Everything is saved in source code form. Anyone downloading the 9 files would be able to reading them.

#3 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 24 September 2013 - 02:49 PM

View PostBigTwisty, on 24 September 2013 - 02:36 PM, said:

2. There is no way to make ANYTHING closed source in ComputerCraft. Everything is saved in source code form. Anyone downloading the 9 files would be able to reading them.
there are ways to obufuscate lua code
you can use string.dump/luac to turn the program into bytecode, that can be decompiled/dissasembled though, there is a program to randomize the localize names making it harder to dissasemble (i forget where)
sometimes i localize random functions with random function names and make the code completely unreadable, though its kind of hard developing something like that

i find it completely useless to make CC programs closed source, or anything for that matter because there are always ways of retrieving the source

#4 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 24 September 2013 - 04:10 PM

There is the option of compiling it, but then you cannot publish on these forums.

#5 mrdawgza

  • Members
  • 110 posts
  • LocationSouth Africa

Posted 24 September 2013 - 06:39 PM

Thanks everyone for your help, but I think I found out how to make an installer :P
You can see the code on my OS post for the installer.

#6 BigTwisty

  • Members
  • 106 posts

Posted 24 September 2013 - 10:33 PM

View PostPixelToast, on 24 September 2013 - 02:49 PM, said:

View PostBigTwisty, on 24 September 2013 - 02:36 PM, said:

2. There is no way to make ANYTHING closed source in ComputerCraft. Everything is saved in source code form. Anyone downloading the 9 files would be able to reading them.
there are ways to obufuscate lua code
you can use string.dump/luac to turn the program into bytecode, that can be decompiled/dissasembled though, there is a program to randomize the localize names making it harder to dissasemble (i forget where)
sometimes i localize random functions with random function names and make the code completely unreadable, though its kind of hard developing something like that

i find it completely useless to make CC programs closed source, or anything for that matter because there are always ways of retrieving the source

Interesting. I was unaware of this. I would think server admins would dislike this a bit, as they can't go in and see if it is your code screwing up their server. I figured CC was open source by design.

I can see how this might be of use in a war server, however.

#7 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 24 September 2013 - 10:39 PM

though apparently you arent allowed to post obfuscated code, i diddnt know that before





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users