# Cboy R Codebase

**URL:** https://forum.makecode.com/t/cboy-r-codebase/9774
**Category:** Show & Tell
**Tags:** game
**Created:** [August 27, 2021, 2:49pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774 "2021-08-27T14:49:37Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [August 27, 2021, 2:49pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/1 "2021-08-27T14:49:37Z")

</div>

(please note this can be tagged extention)  
Want to make a Makecode-Operating System with Storage and Settings but don’t know where to start? Introducing the Cboy R Codebase! With 22 lines of code, Cboy R provides you with the basic fundamentals for making your own Makecode Operating System. Of course, It doesn’t have a GUI or anything… since you can make your own unique one! Here’s how to use it.

When you Copy and Paste the Code into your OS, you should see this.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/95386b1ae6cbf0a694b669adb70c4797adebea43.png)  
To make new settings, duplicate the function definition. It should name itself file\_2. ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/c/c08316081b0d62f12dc13bd2742e78eda93b3a4e.png)  
you don’t have to change the setting value… it’s just what I do. Insert the file in either cboy (main system files) user (custom self-made files) or apps (applications) make sure to drag it into the on-start block  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/2a504900c44bc9d09073aefd810f690ca2b748e4.png)  
This mess right here is the storage system behind Cboy R (yes even Cboy R needs coding to work). So, you can build on top of this and also look in [this thread](https://forum.makecode.com/t/windos-insider-build-program-applications-open/9482/111) for any discoveries I’ve or @Sarge have made when WindOS v(1 I guess) and Cboy Azure were being developed. Please note this does need the **Settings Extension** to work so please keep that in mind when copying Cboy R’s code. Also give credit If you do use this I worked very hard on it. Another Cboy (Cboy R Starter) will come out and will be much easier to build upon with a pre-built GUI.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/75760fb678037fc78c2f6abbbd7dff256eac157b.png)

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [August 27, 2021, 5:27pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/2 "2021-08-27T17:27:57Z")

</div>

Where is the code link tho?

---

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [August 27, 2021, 5:28pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/3 "2021-08-27T17:28:00Z")

</div>

Here is the link to the Current Build (1.00.1) [https://makecode.com/\_Pdr4KhLkbDrd](https://makecode.com/_Pdr4KhLkbDrd)

---

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [August 30, 2021, 2:10pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/4 "2021-08-30T14:10:05Z")

</div>

fun fact - my user wallpaper (the background image you see on my profile) Is actually Cboy 2022’s wallpaper.

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [August 30, 2021, 2:11pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/5 "2021-08-30T14:11:37Z")

</div>

Anyways, I don’t quite understand what this is used for. Can you make it a little bit more clear?

---

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [August 30, 2021, 4:56pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/6 "2021-08-30T16:56:40Z")

</div>

Let’s say you wanted to make your own OS- but storage and settings are to complicated for you. Cboy R can help provide the start to your OS without you having to do many of the complicated things.

P.S. This could possibly help with WindOS

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [August 30, 2021, 5:07pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/7 "2021-08-30T17:07:10Z")

</div>

Yeah, but you just put some random settings together and called it a day. I don’t wanna sound offensive but I really don’t see a use for the code you put together, it just lists the ammount of settings.

---

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [August 30, 2021, 5:17pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/8 "2021-08-30T17:17:12Z")

</div>

> [@Sarge](#):
>
> I really don’t see a use for the code you put together, it just lists the amount of settings.

It makes it easier to make settings and folders and such. But yeah, a new version will come out because this needs some revising. Like I said before,

> [@E-EnerG-Gamecentral](#):
>
> Another Cboy (Cboy R Starter) will come out and will be much easier to build upon with a pre-built GUI.

I just need to keep working on Cboy R so that it will be better than ever

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [August 30, 2021, 5:19pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/9 "2021-08-30T17:19:11Z")

</div>

Well if it “makes it easier to make folders” then why didn’t you just straight up implement folders and files into the codebase, like a full file system?

---

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [August 30, 2021, 5:53pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/10 "2021-08-30T17:53:35Z")

</div>

Okay. I understand this needs lots of revisions. It will definitely get those revisions.

> [@E-EnerG-Gamecentral](#):
>
> It makes it easier to make settings and folders and such.

What this means is you could store settings in the 3 default folders easier by copying and pasting a function definition and editing some of it. I know this sounds very complicated, but It is what I have so far. This will get better over time.  
Development Is Required.

---

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [August 30, 2021, 6:40pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/11 "2021-08-30T18:40:40Z")

</div>

> **[Cboy R 1.02.1](https://arcade.makecode.com/08769-44160-48549-66884)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Much more improved build of R, which has more functionality and compatibility than 1.00.1 did.

---

<div class="post-metadata">

### Author: ![E-EnerG-Gamecentral](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/e-energ-gamecentral/32/5353_2.png) [@E-EnerG-Gamecentral](https://forum.makecode.com/u/E-EnerG-Gamecentral)
#### Post date: [March 23, 2022, 4:41pm UTC](https://forum.makecode.com/t/cboy-r-codebase/9774/12 "2022-03-23T16:41:23Z")

</div>

I’m gonna be working on this project again! 😃
