Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

MeltingBrain

Members
  • Content Count

    31
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by MeltingBrain

  1. Seems like system specific, try some basic stuff like updating drivers etc that might help, if not then try updating Java, or maybe some antivirus might be interfering. Yes I know it sounds not so probable but sometimes basic checks can save you a Huston SOS

  2. @IlynPayne update the title, it's not staragte controller but stargate there's a typo.
    Brilliant idea, but if you allow me I'd like to implement it as a base program on my new os (totally not self-advertising).
    And by implement I mean to use some of your code into a new program that'd be dedicated for stargates and credited under your name just remade by me.

  3. 1 minute ago, AdorableCatgirl said:

    Ah, I see. I'll probably combine a few of the files together, yeah. I do want to still have it load modules from zorya-modules, just to make it simple to drop a loader in. :P I have some things to add and fix for Zorya 0.2 but I'll do that for the next release.

    With clever resource usage you could fit a lot into this little jewel, and you could keep modules virtually in memory instead of writing them to files, or make a mode where this could be an option, so when the system would boot up you just set all modules to nil so lua's garbage collection will clear them from memory. This could attract more people as the idea of my bootloader downloading something into my filesystem is not what I personally would like, but if it could download custom modules automatically at every startup that'd be great of an option. Of course it would slow down the startup, but making your BIOS configurable can fit many people's taste (I would prefer slow bootups rather than files on my drive).

    Also, (totally not self-advertising there) my kestrelOS will have a hibernation mode. Once I finish the manager, can you add support for fast bootups if a hibernation savefile is found on the system please? :)

  4. 2 minutes ago, AdorableCatgirl said:

    Ah, I would, but I wanted to make the BIOS simple to extend (and patch).

    Just make two copies, one bios.lua being the original one with a very clear and user-friendly code, and a second one compressed using this site.
    That's how I could make a coloured user interface BIOS with of course ability to choose which file on what filesystem will be booted up, ability to flash bios from the bios menu itself and ability to get bios data into a file from the bios itself too, with the options to shutdown and reboot if necessary. Trust me, compressing the file will give you a lot more space for expansion.

  5. There are no tutorials of such, but it's definetly possible (MineOS is an operating system that is compatible with OpenOS and has a powerful user interface).

    Please read the wiki for more information on the topic.

    You'll need to search around the GPU api, as it's the api that allows you to draw on the screen, and get used to signals as it's the only way to get user input.

    Hope I helped :)

  6. Once you've got a computer properly setup with OpenOS on it (which you can get by crafting a Floppy Disk with OpenOS on it, crafting recipes may vary please check on your own), the first thing you'll get into is a terminal.

    This is just a basic tutorial on how to do what you're looking for (and there's no need for any compat modules from redpower to read vanilla minecraft redstone signals).

    Once you boot up your computer you should end up in the openos terminal window. First thing to do is open up a new script.
    To do so in OpenOS, type "edit" without quotes and then the name of your file, let's say redstone1 (it should look like this: edit redstone1)
    Once you press enter you'll get into editing mode.

    It's just like notepad you just type in the program and it will do whatever you desire.
    Now, in OpenOS, you can import external libraries that can help you with various things. In your case, we'll need to import few of them:
     

    local component = require("component")
    local sides = require("sides")


    This will set a new local variable (don't mind the local as of now), which will contain the component library and the sides library.
    Now, we can use the component library to access methods related to the redstone card you have in your computer.
    To do so, we must get a so-called component proxy to the redstone card. There's how it's done:

    local redstone = component.redstone


    What we must do now is determine which side do we want to detect the signal from.
    To do so, using the sides library we can pick a side:
     

    local side = sides.back


    This for example selects the 'back' side of the computer.
    Now, to get information about what redstone signal is in the back of the computer, we can do so:
     

    local signal = redstone.getInput(side)


    Finally, to draw the result on the screen, we can do so:
     

    print(signal)

     

    Finally, by pressing the combination of keys CTRL + S you can save your file, and CTRL + W to exit the editor.
    You can further use the signal variable in your program to whatever your needs are.
    Here's the fully assembled script:
     

    local component = require("component")
    local sides = require("sides")
    
    local redstone = component.redstone
    
    local side = sides.back
    
    local signal = redstone.getInput(side)
    
    print(signal)

    Hope I helped :)

  7. KestrelOS

    GUI-based, Windows-alike, highly customizable, and safe Operating System
    for common pourposes

     

    What's the major GUI-based OS currently available?
    The amazing system created by Igor, called MineOS (I'm sure everyone by now knows about it).
    Igor's system is based on OpenOS, that looks like MacOS and is by itself the most amazing system
    released yet, with all sorts of programs and even 3D libraries which is mind blowing.

     

    So why create yet another GUI-based system?
    There are several reasons why I decided to take on this journey.
    First of all, the majority of OS's out there, including MineOS is based upon OpenOS, which makes it a bit streamline and boring,
    but also unsafe.
    KestrelOS is made entirely from scratch with it's own libraries, services and style.
    I wanted to create something new, that would give less freedom than OpenOS (which is KestrelOS's main disadvantage),
    over a much more secure way to process applications. I also wanted to make KestrelOS as simple as possible,
    so anyone that is familiar to Windows will recognize most of it's content.

    How exactly KestrelOS works?
    KestrelOS implements safety policy, where only so called "managers" have absolute control over
    the system's event management.
    The "heart" of the system is a manager called "taskman" (Task Manager).
    Every other manager is registered to taskman and is a read-only table with functions that cannot be altered once
    the system has booted up. This restrains a lot of freedom for the user, but also prevents malicious software
    of changing core functions of the system in order to spy or corrupt data.
    There is few core managers that will "steer" every process in the system, taskman being the most important one
    as it is the only library in the entire system that has access to a now unavailable command: computer.pullSignal
    This forces every application to register itself into taskman in order to be able to hook itself under the heartbeat.

    What is this weird "heartbeat" you're talking about?
    Taskman has a loop, in which it listens for any signal. I called it the heartbeat, because it waits only 0.25 of a second
    to update any tasks hooked under specific processes even if nothing happens. This allows multitasking, or for example
    updating the clock on the bottom-right of the screen :)

    What are the so-called "managers" doing?
    Those so-called managers are here to serve programs with several system services.
    For example, there's a manager called "driverman", which loads system drivers, which are usually a single
    library that communicates with a specified type of component. There's a driver for graphics, which is
    communicating with the GPU, but uses Igor's amazing double-buffering technique (although I made my own version
    of it from scratch, but it is very primitive right now) to draw into the screen. Drivers are basically bridges
    between gpu's, datacards etc. that make sure such a given component is available and return optimized
    methods to use those components better. Of course, every driver has it's own version, name, description, and can be
    retrieved manually from driverman using the driver id or name, in case you'd like to implement your own driver and use it.

    What other features it has?
    Well, most of the system features are actually the managers which act as the main "pillars" of the system.
    Here's few of main managers that I remember as of now (as I'm not on my home PC right now, I'm writing from my work PC):
    driverman - manages drivers
    fileman - manages mounts for different filesystems and resolves path using mounts
    taskman - heartbeat of the system, manages processes and tasks assigned to those processes
    regman - manages system's registry
    guiman - uses kgraphics driver from driverman to draw complex GUI elements on the screen
    ... (there's a few more that I can't remember now or that are under development) ...

     

    Any concerns/disadvantages?
    Well, like stated before, it actually restrains quite some core functions to prevent
    malicious application of accessing those in order to prevent system spying or corruption.
    This removes quite a lot of freedom, but once you log in and unlock everything, you should be able
    to edit that manually in the system files if you so desire.
     

    Any pictures?
    Well I'm on my work PC not at home so I can't do any pictures,
    what I can say is that most of the baseline managers are implement and that I'm working on the GUI now,
    so don't say hurray yet as I'm working on it. Sorry :(

     

    Release date?
    Undefined.

  8. Is there anything unique you'd like to implement into your OS?

    As far as it goes OpenOS is the way to go, unless your OS would feature something unique and different, or maybe you'd have a special pourpose for your OS? Maybe some kind of OS that allows multitasking different services and that can be ran on servers?

    Please elaborate a bit more when you showcase a product that is in development :)

  9. On 21.11.2016 at 4:22 PM, Gorzoid said:

    Check out CC forums, sadly even though alot of them use OpenComputers, they don't post their server on this forum too, while your at it, you may want to ask the owner if they can post it over here too.

    Yeah i know, a lot of people don't even update their servers there (OC forums seems desertic).
    I've checked some CC servers but most are i would say CC-oriented, way too high ping, no OC at all or way too much people on it.

  10. I remember an old, but great server Shinexus that was out there long ago...
    There was always around 1 or 2 players online at least and at the night time there was around 10 players. The community was great, there were i think 2 cities and we could make things in thaumcraft, make stargates controlled by CC and server towers with OC.
    I was one of the richest on the server and had a decent influence on one of the cities, cause i did something similar to the internet:
    a central tower with OC server racks filled with servers hosting websites for anybody that wanted to rent one, all connected to one central DNS server,
    everyone using wireless cards could connect to the DNS and find a certain website he would like to see.

    I'm working on a new version of that network from scratch, if there's somebody interested and knows/owns a good, calm OC server pm me or post in this thread.

  11. You said you wouldn't abandon this project either. We're going on 9 months now. ...

     

    Sorry I had some serious HDD problems and all of my data was lost, I have to rewrite entire OS, but in the way i'll upgrade it to make it look actually better.

     

    I didn't abandon it like previous one just got that problem and i don't want to annoy people by making abandonned threads on OC.

     

    If you guys like this project and want me to finish it just comment some suggestions that would help me make it better!

  12. Hi there, I was making small program or api for self destroying (I needed to put it in my private program).

    So I decided to share it with all, because I think some people will found this useful.

    To fast self destroy of hdd write in:

    pastebin run eKz1RmEP
    

    And If you need to use it in your program, this code will help you:

    local fs = require("filesystem")
    for file in fs.list("") do
        print("Deleting \"" .. file .. "\"")
        fs.remove(file)
    end
    

    Cheers! :D

     

    This in any way won't destroy the HDD, but destroy the data in it, and this might not work since some files might be protected or in use.

     

    To correctly destroy all your system data you would need to override the init.lua file and do a low-level clean of your system to properly destroy the HDD.

     

    If you just want to clear your HDD, run the computer with OpenOS floppy, then find the mount of your HDD and delete all data in it simply by using rmdir command.

  13. if you want something like this, you'll need to change a computer's init.lua file, or execute an external file. In both cases, you must have access to that computer.

    I can make you one if you still have interest in this.

  14. As I said in my old project, VetaTechOS, i abandoned it to remake it in a new way.

    For now it's still not useful to anything, all you can do is grab "forms" around.


    I'm currently working on the OS itself, with a login system and plently of other things.

    For the ones that are curious how it looks like right now...

    55d7885b251a9e41b437a7cf0eeaf23f.gif

     

    I'll work on it but the difference from VetaTechOS will be the fact that i'll never abandon it now.

    An prototype version shall be released to directly download the OS from a simple pastebin command.

    This OS will only work on tier2+ computers equipped with at least tier2+ graphical card and enough space to contain all the system data.

    It also works for tablets, but highly recommended for computers due to high energy costs for drawing all this stuff.

     

    I know that there's already GUI OS's out there (like the awesome MineOS), but this one will focus on simplicity and will be really fast for the user.
    For now there's no features yet, only a wide range of GUI options.

    Of course you'll be able to make as many programs as you want under this OS and a documentation will be furnished alongside the OS itself.

     

    UPDATE AND NOTIFICATIONS:

    I lost all my data on the first version of Aronus. I'll be re-writing all the code again (6 months in total of work gone please understand that i can't rewrite that in one week).

    Meantime I just want to add that this system will feature an unique threading API capable of running many programs at (almost) once.

    The documentation of the API will be alongside of the whole OS including GUI docs.

     

    Please be patient!

  15. finally an OS with a graphical interface for open computer,I've been waiting this since a looooong time!

    will this have a desktop and a taskbar? and maybee a right click contextual menu?

    since that you seems to be inspired by windows,then I guess all these features will be in,but having a GUI is already a great thing

     

    AS I said in the previous post and in the first one,

     

    There is already a project for the contextual menu, and instead of a "taskbar" there will be a button with a frame showing all processes (scripts) currently running on the GUI. Clicking on a process will "focus" it to the front, and redraw everything.

     

    You may not know it, but when dragging/making many things such as labels/frames (especially images), it slows down the drawing process, making a "flash" of all GUIs.

  16. This is gonna be awesome! I am looking forward to this. This is the kind of thing I've been looking for!

    Would be nice if there was a Terminal window, you click on it, you can type in commands.

     

    Dear friend...

     

    There's already a terminal window, that you can drag/minimize/maximize/close and type in commands (like the cmd.exe in windows7, but a bit changed commands of course).

     

    Mainly it will be click-to-run-.lua-files based, every .lua file can be ran or edited.

  17. Hard to say much without seeing the actual API and code, but it definitely sounds interesting.

     

    How exactly do different scripts access and control the GUI? Does every script have access to all frames, or are frames bound to a script? Does the "process tree" have something to do with the GUI, or is that just another feature of the OS? Do all processes run simultaneously, and can they interact with each other in some way? (I'll stop throwing questions at you now :P)

     

    Regarding import, does it do anything GUI-specific that require doesn't? Because if it's basically the same as require (load a module and make a table out of it) it would be better to not change the name, because require is a standard Lua function and not something specific to OpenOS.

     

     

    The GUI Is the main "Brain" of the system in term of process tree, as it will launch custom functions everytime an action is done.

    The GUI Is like "import" or "dofile" function, only one process called "VetaGUI" should be running, we do not need to import it, it's in the main core.

     

    Basicly, here's an example:

    local Button = gui.addButton()

    Button.backgroundColor = 0x some hex code

    Button.textColor = 0x again

    Button.text = "Hello!"

    Button.size = {x=10, y=1}

    etc...

    but for now, it only has: buttons, frames, text labels, loading bars and image objects.

     

    I want at least add a text input, which is the most hard part of the gui, and of course maybe a sliding bar? context menu (when right clicking on anything, the GUI will, if present, launch a function in the given GUI that has been clicked. If no gui clicked, it will launch, again if present, a right click function for the desktop).

    All the GUIs are colorable, except for the "X" close button in the frames, by default you can hide/show it (gui.addFrame(false/true -- show close button?))

    I changed to import, because it is something easier for me to script.

    It's just a function name, the OS will be even editable from the GUI so you can go, find the system files, and change whatever you want to.

    I'll also add MAYBE a program that will, if internet card is present, find updates (it will of course ask before updating, so you don't loose any changes to your computer without even doing anything).

    It will have basic programs, like window's notepad, a program to flash bioses in GUI etc...

    also added something good  :)

    os.execute(path)  :)

    i know people will love it... (maybe kidding a bit, but this allows multi-process execution, that's why it's important).

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.