Skip to content

acpayers-alt/raising-hell-cardputer

Repository files navigation

Raising Hell — Cardputer ADV Edition

A Tamagotchi-style virtual pet game for the M5Stack Cardputer ADV (ESP32).

Raise your infernal companion through multiple life stages, feed it, play mini-games, manage sleep cycles, survive decay, and maybe… resurrect what should not be resurrected.

Latest Release Platform License

Raising Hell


Hardware Target

  • M5Stack Cardputer ADV
  • ESP32 (240 MHz)
  • SD card (required for assets)

Controls

Arrow Keys - Navigate

Enter/G - Confirm

Esc - Menu

Del/Q

GO - Screen Off/On

Shake Your cardputer to wake the screen

Hold GO - Power Menu

/ - Console

Keyz Z-M are hotkeys for all the tabs

(Some mini-games may use alternate input behavior.)

Alternate Navigation - E,A,S,D and O,J,K,L - allows for one handed navigation


Project Structure

src/ (all .cpp and .h files)

assets/ Image Files

docs/ Licensing, Changelog, Contrib

tools/ Asset Manifest Generator and other Dev Tools


Installation

Raising Hell runs on the M5Stack Cardputer ADV.

There are three ways to install the game depending on your setup.


1. Install via M5Launcher (Recommended)

This is the easiest way to install Raising Hell directly from the Cardputer.

Steps

  1. Install M5Launcher on your Cardputer if it is not already installed.
  2. Connect the device to Wi-Fi.
  3. Open M5Launcher.
  4. Browse the application list and locate Raising Hell.
  5. Select the game and choose Install.

After installation:

  • Launch the game from the launcher.
  • On first boot the game will automatically provision required assets via OTA.

No manual asset downloads are required.


2. Install using M5Burner

You can install the firmware from a computer using M5Burner.

Requirements

  • M5Burner installed on your computer
  • USB connection to the Cardputer ADV

Steps

  1. Connect the Cardputer ADV to your computer via USB.
  2. Open M5Burner.
  3. Search for Raising Hell.
  4. Select the application.
  5. Click Burn.
  6. Wait for flashing to complete.

After the first launch:

  • The game will download required assets automatically via OTA.

3. Manual Firmware Install (Advanced)

Advanced users can manually flash the firmware using PlatformIO or esptool.

Step 1 — Download firmware

Download the latest firmware binary from the GitHub Releases page:

https://github.com/acpayers-alt/raising-hell-cardputer/releases

Step 2 — Flash firmware

Flash the firmware to the device.

Example using PlatformIO:

pio run -t upload

Or using esptool:

esptool.py --chip esp32s3 --port /dev/ttyACM0 write_flash 0x10000 firmware.bin

Step 3 — Launch the game

After booting the firmware:

  • The game will automatically provision its asset pack via OTA.

First Boot Behavior

On first launch Raising Hell will:

  • Check for required game assets
  • Download missing assets automatically
  • Store assets on the SD card

This process only occurs once.


Hardware Support

Currently supported hardware:

M5Stack Cardputer ADV

The original first-generation Cardputer has not been tested and may not work correctly.


Troubleshooting

If the game fails to start:

  • Ensure an SD card is installed
  • Ensure the device has Wi-Fi connectivity for asset provisioning
  • Restart the device after flashing

Development Direction

This project is under active architectural cleanup and refactor toward:

  • Modular state architecture
  • Strict include hygiene
  • Removal of legacy globals
  • Separation of platform and gameplay logic
  • Open-source readiness

Arduino IDE Settings

Recommended configuration:

Board: M5Cardputer Flash Mode: QIO 80MHz Flash Size: 4MB (32Mb) Partition Scheme: Huge APP (3MB No OTA / 1MB SPIFFS) CPU Frequency: 240MHz (WiFi) Upload Speed: 921600


Building From Source

  1. Clone the repository.
  2. Copy the assets folder contents to an SD card.
  3. Open raising_hell_cpADV.ino in the Arduino IDE.
  4. Select the board settings listed above.
  5. Compile and upload.

Known Limitations

  • Requires SD card
  • Designed specifically for Cardputer ADV hardware
  • Not optimized for alternate ESP32 boards

License

Code is licensed under the MIT License. See the LICENSE file for details.

Assets licensing is described in ASSETS_LICENSE.md.


Author

Aaron Ayers

If you build this, fork it, improve it, or port it — I’d love to see it.


Screenshots

Raising Hell Choose Your Pet Hatch Your Pet NameYour Pet Meet Your Pet Care for Your Pet Raise Your Pet Neglect Your Pet Mourn Your Pet