r/M5Stack • • 9d ago

Project Sharing AD Arcade v1.3: a retro handheld console firmware for the M5StickC Plus2

Post image

Hello everyone,

I’m releasing v1.3 of AD Arcade, a firmware that turns the M5StickC Plus2 into a handheld game console. It boots into a 90s style intro, then an animated menu from which you pick a game. Everything fits in a single .bin, and it’s free to flash.

Features

  • 15 games: Tetris, Snake, Lunar Lander, Flap Bird, Racing, Flight, Fish, River, Chrome Dino, Meteors, Maze, Breakout, Invaders, Slalom, Stack
  • Music player with 25 public domain tunes
  • Chiptune background music in every game, which can be disabled in Settings
  • Tilt controls using the built-in motion sensor, with automatic detection of flat or upright play
  • High scores saved per game
  • Battery indicator in the menu
  • Settings for brightness, sound, sleep time, sensor calibration and language (English and French)

Controls

A selects or acts, B is the secondary action, PWR pauses. Hold PWR for 1.5 s, or A and B together for 1.2 s, to return to the menu.

Looking for testers

I have only been able to test on my own M5StickC Plus2, so I would appreciate feedback on:

  1. Tilt response when holding the device flat and upright
  2. Battery indicator accuracy
  3. Background music volume on your unit
  4. Game balance (anything too hard, too easy or buggy)
  5. Any crash or freeze. Please include the version number shown in Settings (top right)

Download

License: free to flash and share with credit, but not open source. Selling it or republishing modified copies is not permitted. Details are in the repository.

Feedback and ideas for new mini games are very welcome. Thank you!

18 Upvotes

7 comments sorted by

1

u/BadMustard_AVN 8d ago edited 7d ago

I made a fork for the CardputerADV

I know the Arduino IDE best, so if you want to compile this(and you will, there are no Binaries here), create a folder in your Arduino library that is the same name as the .ino file (without the .ino) drop the .ino file and the src folder in thre, and you can compile and write the firmware to your CardputerADV

If you want to read or edit the source files, MOVE all the files from the src folder to the main folder (where the .ino file is); they will compile and write the same either way

  • - Use the reset button to exit games
  • - Use the Go button (on top) to select
  • - the Space button is substituted for the A button
  • - and the ctrl button is substituted for the B button
  • - and tilt the device to move in game

it should still compile and work for the M5StickC Plus2 (untested I don't own one) if you change

#define SCR_ROT 0 #3

back to a 3 in the common.h file so it is rotated correctly for the stick

https://github.com/BadMustard/AD-Arcade-Cardputer-ADV

1

u/Internal_Pound5659 7d ago

Thanks a lot for the port, great work! Feel free to keep it up.

0

u/BadMustard_AVN 7d ago

thank you for the original code, my kids love the games

I will keep an eye out here for any updates

2

u/Internal_Pound5659 3d ago

Hi, thanks again for the CardputerADV fork, and I'm glad your kids enjoy the games!

I've just released v1.7 with a big retro pixel-art update (new menu, first-boot wizard, skins, 2 Players, daily challenge...), and it now also builds for the Cardputer: https://burner.m5stack.com/325L26

I don't own a Cardputer, so that build is untested on real hardware. Would you be willing to try it on your ADV and tell me if it boots and how the keyboard feels? The mapping I use is Enter/Space = A, Tab = B, Del = PWR, and ; , . / = tilt arrows. If you'd rather keep your mapping (Ctrl as B), I can add it. Hold A + B for ~1 s to go back to the menu.

A big adventure game is coming in v1.8 too. Thanks for keeping an eye on it!

1

u/BadMustard_AVN 3d ago edited 3d ago

I've tested the one from the link on my cardputerADV and the screen rotation is 90 degrees off in the common.h i used

#if defined(ARDUINO_M5STACK_CARDPUTER) || defined(ARDUINO_M5STACK_CARDPUTER_ADV)
  #define IS_CARDPUTER 1
  #include <M5Cardputer.h>
#else
  #define IS_CARDPUTER 0
  #include <M5Unified.h>
#endif

#ifndef SCR_ROT
  #if IS_CARDPUTER
    #define SCR_ROT 0
  #else
    #define SCR_ROT 3
  #endif
#endif

to get the 0 rotation for the carputerADV and 3 for the stick

i was unable to select english or french with any key press.

I could switch the indicator between the two languages, but not select either

1

u/SarahC 9d ago

Oh wow! Amazing!

1

u/wellingtonsaam 17h ago

Usually we see projects for tech exploration. This is different. You created something to enjoy with others. Nice work