35 posts
Posted 26 June 2014 - 11:53 AM
CCWin 0.9
(1.0 is coming)
CCWin is an in-development operating system with an extendable GUI subsystem which supports multitasking and many other features. To make the long story short, CCWin currently has:- GUI system with 14 widgets and 2 common dialogs
- Messaging system between processes
- Cooperative multitasking
- Http queue
- Ini parser
- Windows Explorer-like file browser with shortcuts (also available as a widget)
- Paintbrush (to edit images in CCWin format, which is a little bit different from the one implemented in Paintutils)
- Notepad (built-in text editor)
- LUAEdit (a more complex text editor with syntax highlighting)
- Task Manager with RAM usage statistics
- CraftOS emulator
- Customizable setup component (so that you can create rich and beautiful GUI setup wizards without programming at all!)
- Updater utility
- Pack utility (can create non-compressed self-extracting archives)
The OS is currently in development - it lacks lots and lots of features, which I am currently working on:
Native CraftOS emulator Done!TextArea component (which is a must!) Done!- Text copy&paste
- Multiple accounts
- File system permissions
Syntax highlighting support in TextArea Done!- OS Configuration utility
Updater Done!
Screenshots
Spoiler
Desktop
File Browser
Paintbrush
LUAEdit
Notepad
Browse File dialog, available for use in programs
Task Manager
Creating a shortcut…
A video which shows the work of the new Task Manager:
Spoiler
[media]http://www.youtube.com/watch?v=CS-b7D9gBXU[/media] API
The full API documentation and some tutorials will be available here and in the
GitHub CCWin Wiki soon.
Downloads
Version 0.9.0 (stable release):Pastebin installer:
pastebin run BCz5hkVh
Version 1.0.0 (latest alpha release):Pastebin installer:
pastebin run sWNRkXH0
System Requirements
CCWin requires ComputerCraft 1.6+
The changelog will be no longer available here, please visit GitHub repo for the latest release information, documentation and more. Update 30.04.2015User
KAYOver made a cool mod WinUltimate with new look and features!
DownloadPlease note, that I am not responsible for the possible damage made by this modUpdate 04.07.2015I made a
GitHub repo for this project.
Edited on 02 August 2015 - 09:35 PM
2151 posts
Location
Auckland, New Zealand
Posted 27 June 2014 - 12:22 PM
Wow, this is really impressive.
As I found with PearOS, having a proprietary program format isn't ideal. As you have mentioned, a CraftOS emulator is essential. It's far from easy, but vital.
One issue I had with the installer was not being able to install it at room. This may have been intentional, but having a default or recommended path would be nice.
Also, one question, why the custom image format as opposed to something fairly standard like NFT (which supports text)?
Edited on 27 June 2014 - 10:23 AM
98 posts
Location
Australia
Posted 27 June 2014 - 01:12 PM
I have another question; why the need for another bootloader/manager?
I already made one, and it has an API (but I haven't made documentation for it yet).
EDIT:
As I found with PearOS, having a proprietary program format isn't ideal. As you have mentioned, a CraftOS emulator is essential. It's far from easy, but vital.
I don't understand, does this mean the way you execute programs won't work with ordinary programs?
Edited on 27 June 2014 - 11:54 AM
35 posts
Posted 27 June 2014 - 01:32 PM
I have another question; why the need for another bootloader/manager?
I already made one, and it has an API (but I haven't made documentation for it yet).
Also, one question, why the custom image format as opposed to something fairly standard like NFT (which supports text)?
Because I had fun writing it:)
Seriously, I was planning to add the ability to store dynamic canvas effects. It's possible to write something like a converter in the future, I guess…
35 posts
Posted 27 June 2014 - 01:56 PM
I have another question; why the need for another bootloader/manager?
I already made one, and it has an API (but I haven't made documentation for it yet).
Didn't know about that) By the way, the "winldr" provided by CCWin can work just like CCWin OS loader, if only one startup configuration in "boot.ini" is listed.
35 posts
Posted 27 June 2014 - 02:33 PM
Some words about capability with ordinary programs:
It is impossibe (at least now) to run programs which were not written for CCWin because CCWin API is very different from the standard one. There are process messaging queues instead of events, there is no direct access to term, and implementing those things right in the kernel module actually means implementing a CraftOS emulator there, which would make "kernel" file even bigger. So I decided to implement a CraftOS emulator as a standalone application. By the way, it is already included in the current release (as wncvm.app in %OSPATH%/system2 folder), but quite useless (and scrolling is broken).
The only applications that have access to standard CraftOS APIs are kernel-mode drivers (like http.app), which can obtain that access through "kernel.env" variable and catch raw events by adding a hook (through kernel.kiRegisterEventReceiver(event) and kernel.kiUnRegisterEventReceiver(event)). Any program which should be run in kernel mode must be placed in %OSPATH%/drivers folder. Kernel mode programs are loaded once on startup and are present all the time while the computer is on. As you can see in Task Manager (Ctrl+T), those applications are loaded even before taskbar.app and desktop.app.
By the way, has anyone already seen a BSoD?
98 posts
Location
Australia
Posted 27 June 2014 - 03:25 PM
Didn't know about that) By the way, the "winldr" provided by CCWin can work just like CCWin OS loader, if only one startup configuration in "boot.ini" is listed.
Well, if you need help moving over your OS to use my bootloader (only if you want to) I'd be more than happy to help.
35 posts
Posted 27 June 2014 - 03:54 PM
Well, if you need help moving over your OS to use my bootloader (only if you want to) I'd be more than happy to help.
Thanks! I tried installing my os in your bootloader (via Pastebin). The first time everything went smoothly, but my installer downloaded nothing. The second time (on a clear computer), after I added ability to choose installation path, my installer crashed in attempt to download it's first file - the computer just rebooted. All the directories however were created.
98 posts
Location
Australia
Posted 27 June 2014 - 03:58 PM
Well, if you need help moving over your OS to use my bootloader (only if you want to) I'd be more than happy to help.
Thanks! I tried installing my os in your bootloader (via Pastebin). The first time everything went smoothly, but my installer downloaded nothing. The second time (on a clear computer), after I added ability to choose installation path, my installer crashed in attempt to download it's first file - the computer just rebooted. All the directories however were created.
It's still very buggy, but I can manually modify your install script to check if luagrub is installed, and install into the specified bootloader folder. (But this won't work if any of your code needs to access or create files outside of the installation folder, so it would be really handy if you could move those too)
35 posts
Posted 27 June 2014 - 04:09 PM
It's still very buggy, but I can manually modify your install script to check if luagrub is installed, and install into the specified bootloader folder. (But this won't work if any of your code needs to access or create files outside of the installation folder, so it would be really handy if you could move those too)
The only two files which are not downloaded in the specified installation folder are "winldr" and "startup". They are just saved in the root (which seems not to be a big problem since your bootloader redirects all fs.* calls (at least it seems to)).
Edited on 27 June 2014 - 02:11 PM
98 posts
Location
Australia
Posted 27 June 2014 - 04:16 PM
The only two files which are not downloaded in the specified installation folder are "winldr" and "startup". They are just saved in the root (which seems not to be a big problem since your bootloader redirects all fs.* calls (at least it seems to)).
It should redirect all fs.* calls to the new OS folder, but the way it changes the path is very hacky and confusing to the point where even I don't fully understand it. (It doesn't even fully work, as some files escape.) I'll try and fix this right now, but if I can't come up with a fix, i'll work on a modified installer instead.
98 posts
Location
Australia
Posted 27 June 2014 - 05:17 PM
Alright, I've updated the bootloader and confirmed that it works when installing CCWin, but it doesn't like fileListView:99. I think it's this line that messes with line 99:
local path = string.gsub(self.path, "home:/", "", 1)
35 posts
Posted 27 June 2014 - 05:30 PM
Alright, I've updated the bootloader and confirmed that it works when installing CCWin, but it doesn't like fileListView:99. I think it's this line that messes with line 99:
local path = string.gsub(self.path, "home:/", "", 1)
Strange… I have just installed CCWin through your bootloader on a clear machine and everything works fine. Could you please describe what actually goes wrong - what error appears and when (I mean - on startup or when you launch Explorer, it happens like BSoD or a message box appears)?
This line, as you can see, just removes "home:/" from the component's absolute path. Line 99 from fileListView just gets the list of files in the specified directory, which should exist (explorer won't let you navigate to a non-existing dir). If that error happens in desktop.app (which is more likely), then it means that something went wrong during the installation and directory %OSPATH%/userdata/Desktop does not exist.
Also, if you installed CCWin over previous installation, file "boot.ini" may contain wrong path. Try fixing it (or deleting, and reinstall CCWin again).
Edited on 27 June 2014 - 03:41 PM
35 posts
Posted 27 June 2014 - 05:55 PM
I figured out what was wrong. Installer writes wrong path to boot.ini if it is not in root directory. Already fixing…
Update:
I was wrong, just placing "/" at the end of a path fixed the problem :)/>.
Edited on 27 June 2014 - 06:33 PM
35 posts
Posted 28 June 2014 - 11:03 PM
New release! Version 0.8 is out.
Changelog:
- Added text area component!
- Added built-in text editor (notepad.app)
- *.txt, *.ini and *.lua files now are opened in Notepad by default
- Fixed bug with shortcuts sometimes not working in Explorer
- Settings folder now contains shortcuts to all configuration files
Also, added a new screenshot.
Edited on 28 June 2014 - 09:10 PM
35 posts
Posted 29 June 2014 - 01:36 PM
Today's release 0.81 brought the following stuff:
- Working syntax highlighting in TextArea component!
- LUAEdit, a built-in LUA editor with syntax highlighting!
- Small bugfix for TextArea component
- Desktop changed a bit
The newest version is always available for download via pastebin, using the same pastebin code.
Edited on 29 June 2014 - 11:55 AM
35 posts
Posted 30 June 2014 - 02:53 PM
Version 0.82:
- Task Manager now shows RAM usage of every process! (Currenty only global variables are counted since ComputerCraft programs don't have access to debug.getlocal() function)
- New widget! GLSurface, which allows access to base term object without buffering, makes drawing a bit faster. It is also the first step to CraftOS Emulator.
I added a video to show you the work of the upgraded Task Manager:
Spoiler
[media]http://www.youtube.com/watch?v=CS-b7D9gBXU[/media]
Edited on 30 June 2014 - 02:34 PM
35 posts
Posted 30 April 2015 - 12:32 PM
Update 30.04.2015User
KAYOver made a cool mod WinUltimate with new look and features!
DownloadPlease note, that I am not responsible for the possible damage made by this mod
797 posts
Posted 30 April 2015 - 04:51 PM
Wow, I'm amazed I didn't see this when it came out. Looks awesome! The design is a bit in-your-face and cluttered, but I guess making windows in CC will always result in that. Is this still being developed?
35 posts
Posted 30 April 2015 - 08:18 PM
Wow, I'm amazed I didn't see this when it came out. Looks awesome! The design is a bit in-your-face and cluttered, but I guess making windows in CC will always result in that. Is this still being developed?
Thanks! I haven't touched it for several months but now think of continuing development.
797 posts
Posted 30 April 2015 - 10:05 PM
-snip-
Thanks! I haven't touched it for several months but now think of continuing development.
I'd maybe wait until the mouse_up and key_up events are in the official version of CC, but I'm looking forward to seeing what you come up with.
429 posts
Posted 01 May 2015 - 04:43 PM
I did not notice this when it came out last year.. in my birthday. Awesome!
18 posts
Posted 02 May 2015 - 01:08 PM
18 posts
Posted 06 May 2015 - 03:43 PM
2679 posts
Location
You will never find me, muhahahahahaha
Posted 06 May 2015 - 09:44 PM
Use pastebin, even for new versions. OR write a mega co nz installer!
18 posts
Posted 07 May 2015 - 05:40 PM
Sorry, i don't know how to make installer. I'm reely noob in this ;(
2679 posts
Location
You will never find me, muhahahahahaha
Posted 07 May 2015 - 07:25 PM
Sorry, i don't know how to make installer. I'm reely noob in this ;(
Actually I was talking to the OP ;)/>
18 posts
Posted 07 May 2015 - 08:31 PM
Oh, ok.
2679 posts
Location
You will never find me, muhahahahahaha
Posted 07 May 2015 - 08:45 PM
Oh, ok.
Is this OS yours because you seem to be developing too.
35 posts
Posted 07 May 2015 - 10:53 PM
Use pastebin, even for new versions. OR write a mega co nz installer!
The mod (WinCC) is not mine, so I posted it without any changes.
18 posts
Posted 08 May 2015 - 03:18 PM
Is this OS yours because you seem to be developing too.
Not quite I'm just doing mod for this OS
Edited on 08 May 2015 - 01:20 PM
18 posts
Posted 23 May 2015 - 09:28 AM
2679 posts
Location
You will never find me, muhahahahahaha
Posted 23 May 2015 - 09:48 AM
Seriously, use pastebin.
2679 posts
Location
You will never find me, muhahahahahaha
Posted 23 May 2015 - 10:13 AM
You know why I prefer pastebin. 1st I do not necessarily trust mega.co.nz second I f you are on a server I don't have access to the filesystem. 3rd, it is faster.
18 posts
Posted 23 May 2015 - 12:35 PM
0) I probably already said, I do not know how to do this installer
1) Why? I think it's pretty safe file cloud
2) I do not quite understand what you mean
3) Yes, but look at "0)"
Edited on 23 May 2015 - 10:38 AM
2679 posts
Location
You will never find me, muhahahahahaha
Posted 23 May 2015 - 06:15 PM
Making an installer is quite simple, here is how: download
Compress on the conputer where you are developing CCWin. Then type :
Compress CCwin (if this is the folder CCwin is in) destinationFile
Then take the resulting file and publish it on pastebin.
Then make downloaders type
pastebin run pastebinID CCWin
18 posts
Posted 23 May 2015 - 10:25 PM
I have some difficulties with the creation of the installer. For example, one of these problems:
pastebin:101: attempt the index ? (a nil value)
Besides, I have several times repackage operating system files, because it is not a one folder.
2679 posts
Location
You will never find me, muhahahahahaha
Posted 23 May 2015 - 11:13 PM
Did you take a look at the precise instructions on the Compress page?
18 posts
Posted 24 May 2015 - 10:25 AM
Of course
2679 posts
Location
You will never find me, muhahahahahaha
Posted 24 May 2015 - 11:29 AM
What exactly have you done to get the error?
18 posts
Posted 24 May 2015 - 04:05 PM
I have many errors, but now i can not just download your program :(/>
When i trying to download Compress i get: pastebin:101:…
2679 posts
Location
You will never find me, muhahahahahaha
Posted 24 May 2015 - 04:16 PM
It works fine with me, tried it 30 secs ago.
35 posts
Posted 01 June 2015 - 12:54 AM
Sooo… After a really long break I came back to development and issued a major update:
- Command shell with CraftOS support!
- Animated search helper for Explorer
- And much more… I'll cover everything later.
Pastedin code hasn't changed, feel free to download and test.
Screenshots:
Spoiler
New Explorer
Cmd running Worm
Cmd running Luaide
2679 posts
Location
You will never find me, muhahahahahaha
Posted 01 June 2015 - 06:13 AM
The design is really nice! And the explorer too!
18 posts
Posted 04 June 2015 - 05:08 PM
Thanks oeed for so cool and convenient compiler! ;)/>
WinCC 7 Update! 04.06.15 (Developer Build!)
Download - pastebin run mYGVZgKg
100 posts
Posted 07 June 2015 - 11:27 AM
This is a great Windows clone!
22 posts
Posted 12 June 2015 - 11:29 PM
Really glad you are still working on this. What do you think about making a linux distro? That way, a computer could boot straight into your OS. I think it could be really cool and useful for learning to code. Thanks!
35 posts
Posted 13 June 2015 - 12:08 PM
Really glad you are still working on this. What do you think about making a linux distro? That way, a computer could boot straight into your OS. I think it could be really cool and useful for learning to code. Thanks!
Wow, thank you for feedback! Although, I'm not quite sure what do you mean by making a 'linux distro'…
56 posts
Posted 13 June 2015 - 12:48 PM
I get a bluescreen :D/> after the startup.
kernel:342 attemt to call index ? (a nil value)
35 posts
Posted 13 June 2015 - 01:01 PM
I get a bluescreen :D/> after the startup.
kernel:342 attemt to call index ? (a nil value)
Do you run CCWin from a "fresh install" or use a kind of external bootloader?
22 posts
Posted 13 June 2015 - 02:05 PM
Linux "distro" just means a custom version of linux, configured by you, to run your OS at startup.
I am obsessed with electronics and robot building. I have a $30 Raspberry Pi computer that can be configured to run any linux app on boot.
If you were able to build your OS as a stand alone linux app, then it could easily become an actual, independant OS, that is the first thing a person sees when they turn on a real-world computer!
This would mean fans of CC could buy a real world CCOS computer for only $30, sound like fun?
35 posts
Posted 13 June 2015 - 02:24 PM
Linux "distro" just means a custom version of linux, configured by you, to run your OS at startup.
I am obsessed with electronics and robot building. I have a $30 Raspberry Pi computer that can be configured to run any linux app on boot.
If you were able to build your OS as a stand alone linux app, then it could easily become an actual, independant OS, that is the first thing a person sees when they turn on a real-world computer!
This would mean fans of CC could buy a real world CCOS computer for only $30, sound like fun?
Well, it's not that easy to configure a Computercraft program to be ran outside Computercraft. You'll need a Computercraft emulator with linux support (those, which are based on Love Engie should be easy to port though, as the engine itself supports Linux). But it also means that you should include in your distro all that gui stuff, which will remain useless and will only serve as yet another lag layer… It would be great if somebody made a Computercraft emulator which works only with command prompt.
Also, I'm developing (well, at least trying to develop) a real x86-compliant multiboot OS, but I'm currently stuck with hard disk driver, and yet so much has to be done. Maybe, if I cope with filesystem and memory management, I'll be able to run LUA vm on that, which sounds like even more fun to me :D/>
22 posts
Posted 13 June 2015 - 05:35 PM
Yeah, I think CClite emulator is the closest thing to making my dreams come true. It can be built for Linux as an emulator, although it would take some tweaking to use CC code as a stand alone linux app. The advantage of using Raspbian Linux would be that everything is already configured for the hardware of the Raspberry Pi computer, and it only costs $30.
I really want to build a little computer that boots CCOS, with a 5" screen, battery, and bluetooth keyboard. I could already do all that for about $60, except for the CCOS part, I am still stuck with Linux GUI and it is pretty hard to use on a 5" screen. That is why CCOS seems like a great alternative, since everything is designed for low resolution, small screens. I also see this little Linux-Craft-Top as a great way to learn game programming. Currently, Raspberry Pi uses Scratch to teach coding, and it really does not teach very well. Scratch is basically only good for the under 10 year old crowd, after that, I feel lua is a great place to start.
35 posts
Posted 13 June 2015 - 07:15 PM
Yeah, I think CClite emulator is the closest thing to making my dreams come true. It can be built for Linux as an emulator, although it would take some tweaking to use CC code as a stand alone linux app. The advantage of using Raspbian Linux would be that everything is already configured for the hardware of the Raspberry Pi computer, and it only costs $30.
I really want to build a little computer that boots CCOS, with a 5" screen, battery, and bluetooth keyboard. I could already do all that for about $60, except for the CCOS part, I am still stuck with Linux GUI and it is pretty hard to use on a 5" screen. That is why CCOS seems like a great alternative, since everything is designed for low resolution, small screens. I also see this little Linux-Craft-Top as a great way to learn game programming. Currently, Raspberry Pi uses Scratch to teach coding, and it really does not teach very well. Scratch is basically only good for the under 10 year old crowd, after that, I feel lua is a great place to start.
Well, I get it now. Sounds like fun to me :3
I guess, you can make an emulator run CC code as a standalone app just with a simple script that would modify the CraftOs startup file right before launching the emulator. I'm not quite sure how exactly CClite works, though.
18 posts
Posted 15 June 2015 - 01:19 PM
WinCC 7 Update! (15.JUN.2015)
Download - pastebin run xDM7PE7L
35 posts
Posted 04 July 2015 - 12:07 PM
GitHub repo with all issues, fixes and milestones can be found
here.
17 posts
Location
%secretdata%
Posted 13 July 2015 - 06:45 PM
A bug in the 1.0.0 version: kernel:1269: bios:114: bad argument: string-expected, got nil;.
During the use of control.app.
35 posts
Posted 02 August 2015 - 11:15 PM
A bug in the 1.0.0 version: kernel:1269: bios:114: bad argument: string-expected, got nil;.
During the use of control.app.
1.0.0 Version is in development is just sort of a "preview", I'm still working on it. Thank you for feedback!
1029 posts
Location
Missouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension
Posted 07 August 2015 - 12:49 AM
WinCC 7 Update! (15.JUN.2015)
Download - pastebin run xDM7PE7L
shouldn't you make your own topic instead of hijacking some else's topic?
2 posts
Posted 13 August 2015 - 06:00 AM
I found a few bugs while using the operating system with the actual mod, not an emulator. Whenever I open the app "Explorer", or open Programs, Documents, or Settings, I get an error saying:
explorer.app
kernel:1269: explorer.app:870: attempt to concatenate string and nil;
If I open the Control Panel and I open Display, Hardware, Network, or System, it says:
control.app
kernel:1269: bios:114 bad argument: string- expected, got nil;
And finally, if I go to LUA Editor and press run whitout typing any code (for example, I don't type anything or I type random letters and numbers), the computercraft screen says:
An error has occurred.
Module "bios" generated an unexpected exception and is unable to continue. If this is the first time you have seen this error, restart your computer. Otherwise, contact software developer or server administrator for more details regarding this error.
Technical information:
bios:114: bad argument: string expected, got nil
Press [Enter] to reboot.
[blinking cursor]
Please fix these bugs.
35 posts
Posted 13 August 2015 - 01:13 PM
I found a few bugs while using the operating system with the actual mod, not an emulator. Whenever I open the app "Explorer", or open Programs, Documents, or Settings, I get an error saying:
explorer.app
kernel:1269: explorer.app:870: attempt to concatenate string and nil;
If I open the Control Panel and I open Display, Hardware, Network, or System, it says:
control.app
kernel:1269: bios:114 bad argument: string- expected, got nil;
And finally, if I go to LUA Editor and press run whitout typing any code (for example, I don't type anything or I type random letters and numbers), the computercraft screen says:
An error has occurred.
Module "bios" generated an unexpected exception and is unable to continue. If this is the first time you have seen this error, restart your computer. Otherwise, contact software developer or server administrator for more details regarding this error.
Technical information:
bios:114: bad argument: string expected, got nil
Press [Enter] to reboot.
[blinking cursor]
Please fix these bugs.
Thank you for your detailed report.
it seems like you found a bug in Explorer which results in crashing if any drive has a music disc in it. I've fixed this in dev branch, the master branch will obtain this fix after the next pull request. Unfortunately I cannot test it with a real mod right now, but you can download patched version of explorer.app
here and see if it truly works.
Another crash happens sometimes if a corrupted code is being run. Such behavior will be changed in the final release. Also, please note, that not all control panel applications are actually implemented as it is still alpha and I'm currently working on this.
42 posts
Posted 31 December 2015 - 11:44 AM
Nice looking OS.
7 posts
Posted 22 January 2016 - 11:30 PM
I can't wait until this is finished, it will be so awesome!!! Keep up the good work!
2 posts
Posted 31 January 2016 - 01:04 AM
Thanks for fixing that bug that rendered CCWin unusable on the actual mod (not the emulator) in the 1.0 beta release. I've just installed it, and I see no bugs (despite the control panel). I say it wont take long before the 1.0 final release.
Suggestions
-Right-click menus (sereously)
-Change Backround
-And last but not least… Fix bugs on Control Panel
150 posts
Posted 01 February 2016 - 04:34 AM
couldnt tell if it already got report but on line 1054 there is a space in term.setCursorPos(1,1) which is causing an index error for me, i am going to continue bug hunting if you dont mind and see if i can dig anythig else up