# GameSlots - save multi games at the same time

**URL:** <https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664>\
**Category:** Arcade\
**Tags:** make, tool\
**Created:** [March 21, 2023, 5:02pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664 "2023-03-21T17:02:44Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [April 17, 2023, 5:43pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/42 "2023-04-17T17:43:24Z")

</div>

Got it at:

> **[GameSlots/ConsoleOriginalFiles/ThinkBox at main · hugovianajr/GameSlots](https://github.com/hugovianajr/GameSlots/tree/main/ConsoleOriginalFiles/ThinkBox)**
>
> main/ConsoleOriginalFiles/ThinkBox

There’s 3 files, right?  
[CONFIG.BIN](https://github.com/hugovianajr/GameSlots/blob/main/ConsoleOriginalFiles/ThinkBox/CONFIG.BIN)  
[INDEX.HTM](https://github.com/hugovianajr/GameSlots/blob/main/ConsoleOriginalFiles/ThinkBox/INDEX.HTM)  
[INFO\_UF2.TXT](https://github.com/hugovianajr/GameSlots/blob/main/ConsoleOriginalFiles/ThinkBox/INFO_UF2.TXT)

Though Current.UF2 file is optional, but some wired if it doesn’t appeared on your U-drive.

---

<div class="post-metadata">

**Author:** ![hugov](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@hugov](https://forum.makecode.com/u/hugov)\
**Post date:** [April 18, 2023, 8:02pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/43 "2023-04-18T20:02:44Z")

</div>

Hi AqeeAqee.  
Yes, it’s those three files plus a .uf2 file which is the game itself.

---

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [April 18, 2023, 8:07pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/44 "2023-04-18T20:07:08Z")

</div>

Hi @hugov  
I am afraid that I could not make bootloader with GameSlots for you, because there’s no any ex-Flash defination in config of your CONFIG.bin file, that means there’s no ex-Flash chip on your device, I guess.  
Have the manufator ever claimed MicroPython/CircuitPython supported in manual or intro?

---

<div class="post-metadata">

**Author:** ![pigpigeons\_r\_c00l](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pigpigeons_r_c00l/32/12313_2.png) [@pigpigeons\_r\_c00l](https://forum.makecode.com/u/pigpigeons_r_c00l)\
**Post date:** [April 20, 2023, 9:27pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/45 "2023-04-20T21:27:47Z")

</div>

it worked but i need more space for it to work because my games are basically about 800 or over

---

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [April 20, 2023, 10:24pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/46 "2023-04-20T22:24:32Z")

</div>

Which console are you playing with, Meowbit? Can it run any game 800+ KB?

---

<div class="post-metadata">

**Author:** ![pigpigeons\_r\_c00l](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pigpigeons_r_c00l/32/12313_2.png) [@pigpigeons\_r\_c00l](https://forum.makecode.com/u/pigpigeons_r_c00l)\
**Post date:** [April 20, 2023, 10:25pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/47 "2023-04-20T22:25:17Z")

</div>

if you modify the bootloader to use a SD card for storage and edit how much the games hold

---

<div class="post-metadata">

**Author:** ![pigpigeons\_r\_c00l](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pigpigeons_r_c00l/32/12313_2.png) [@pigpigeons\_r\_c00l](https://forum.makecode.com/u/pigpigeons_r_c00l)\
**Post date:** [April 21, 2023, 4:37am UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/48 "2023-04-21T04:37:18Z")

</div>

![Screenshot 2023-04-21 075945](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/2693548b9617b1bfdbf2796cf71727081546dfcc.png)  
has enough for that much

---

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [April 21, 2023, 4:38am UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/49 "2023-04-21T04:38:19Z")

</div>

Games’s can’t be running in ex-Flash or SD, they should be loaded into main Flash before play.

---

<div class="post-metadata">

**Author:** ![pigpigeons\_r\_c00l](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pigpigeons_r_c00l/32/12313_2.png) [@pigpigeons\_r\_c00l](https://forum.makecode.com/u/pigpigeons_r_c00l)\
**Post date:** [April 21, 2023, 4:39am UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/50 "2023-04-21T04:39:10Z")

</div>

it might work

---

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [April 21, 2023, 4:59pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/51 "2023-04-21T16:59:30Z")

</div>

Ah, the drive of Arcade console is a fake one, virtualized via MSC protocal (USB mass storage device class). And the total space is just a hardcoded size, can’t storage any thing else except Makecode apps. Total main-flash, in where games can run only, of Meowbit(STM32F4RE) is 512KB.

---

<div class="post-metadata">

**Author:** ![EpicKitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/epickitty/32/8358_2.png) [@EpicKitty](https://forum.makecode.com/u/EpicKitty)\
**Post date:** [April 25, 2023, 4:33pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/52 "2023-04-25T16:33:11Z")

</div>

I also found another bug in GameSlots where random blocks aren’t actually random, any random blocks (random number to number, number chance) have the same seeds every time I open the game. Is it possible to randomise the seed every time you run a game?

---

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [April 26, 2023, 5:54pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/53 "2023-04-26T17:54:24Z")

</div>

This is by designed of Arcade, which is using pseudo random.  
About pseudo random vs really random, is another big topic.

---

<div class="post-metadata">

**Author:** ![EpicKitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/epickitty/32/8358_2.png) [@EpicKitty](https://forum.makecode.com/u/EpicKitty)\
**Post date:** [April 26, 2023, 7:01pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/54 "2023-04-26T19:01:41Z")

</div>

I meant like, when you run the game in the default bootloader (Not GameSlots), every number feels random, like this:  
(It’s like, the seed is different on every reset)

```auto
First reset:
37
68
47
06
12
69
Second reset:
16
78
26
48
96
57
Third reset:
18
57
28
78
55
18
23

```

But on GameSlots, it’s like:  
(It’s like for every reset, the seed is the same, the “random” numbers feel repetitive)

```auto
First reset:
28
68
23
59
38
59
Second reset:
28
68
23
59
38
59
Third reset:
28
68
23
59
38
59

```

By reset I mean when you restart the game or boot up the game (Like resetting the device).  
I made a Minecraft clone a while ago, the world generation for that uses Pseadu random. When I ran the code without GameSlots, every time I generate a new world after I reset, they were always different from before. But on GameSlots, now every world is the same (Or well, in a pattern).

---

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [April 26, 2023, 8:31pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/55 "2023-04-26T20:31:43Z")

</div>

I tried on my Meowbit with GameSlot v0.1 with something like “randint(0, 10)”. But can’t reproduce it. Either press reset button, nor slide power switch, every time random result are different after reset/power on.  
Can you share a minimal repro project pls?

---

<div class="post-metadata">

**Author:** ![EpicKitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/epickitty/32/8358_2.png) [@EpicKitty](https://forum.makecode.com/u/EpicKitty)\
**Post date:** [October 9, 2023, 9:57pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/56 "2023-10-09T21:57:43Z")

</div>

Sorry for the late reply. That’s weird, but for some reason my random values started being random again. I have no idea why it started working again.

May I also know how you made GameSlots? And if you forked a GitHub repository or something like that, may I also know the original or forked repository? I want to try make my own firmware for the MeowBit and try adding SD card support.

---

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [October 9, 2023, 10:22pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/57 "2023-10-09T22:22:12Z")

</div>

> [@AqeeAqee](#):
>
> This is an additional feature of bootloader, to Save/Load games into exFlash. Based on [https://github.com/mmoskal/uf2-stm32f](https://github.com/mmoskal/uf2-stm32f), v2.8.2

Sure, I just started from here.

---

<div class="post-metadata">

**Author:** ![EpicKitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/epickitty/32/8358_2.png) [@EpicKitty](https://forum.makecode.com/u/EpicKitty)\
**Post date:** [October 10, 2023, 4:43pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/58 "2023-10-10T16:43:02Z")

</div>

Thanks! Just to be sure, would the build of the repository work fine on the MeowBit, without changing the code? Don’t want to risk my MeowBit getting bricked just because there was an error in the code, or that support isn’t yet enabled for the MeowBit.

---

<div class="post-metadata">

**Author:** ![EpicKitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/epickitty/32/8358_2.png) [@EpicKitty](https://forum.makecode.com/u/EpicKitty)\
**Post date:** [October 10, 2023, 4:46pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/59 "2023-10-10T16:46:44Z")

</div>

Ah I figured it out, it’s because every time I wanted to restart the game, I reflashed the game via the GameSlots menu thus resetting the pseudo randomiser. But now I press the restart button two times and the random values are unique every time.

---

<div class="post-metadata">

**Author:** ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)\
**Post date:** [October 10, 2023, 4:52pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/60 "2023-10-10T16:52:26Z")

</div>

> [@EpicKitty](#):
>
> Don’t want to risk my MeowBit getting bricked

Any bricked can be fixed by SWD, if you have one

---

<div class="post-metadata">

**Author:** ![EpicKitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/epickitty/32/8358_2.png) [@EpicKitty](https://forum.makecode.com/u/EpicKitty)\
**Post date:** [October 10, 2023, 7:22pm UTC](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664/61 "2023-10-10T19:22:48Z")

</div>

Thanks. May I also know how you built uf2-stm32f? I’ve tried running `make` on both Windows (MinGW) and Linux but `make` throws me an error saying that `libopencm3/include/libopencm3/stm32/f4/nvic.h` doesn’t exist. If necessary, you can check my [repository](https://github.com/Stiwen02/meowbit-uf2-bootloader).

[Previous page](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664.md?page=2)

[Next page](https://forum.makecode.com/t/gameslots-save-multi-games-at-the-same-time/18664.md?page=4)
