Arduboy Crosscompiling

By Sorunome, 5 months ago

So, some time ago I worked on cross-compilation of Arduboy games.

For those of you who don't know, Arduboy is an Arduino-based gaming system, similar to the Gamebuino Classic but with a different screen and with a different MCU. You can find their website here: https://arduboy.com/


Anyhow, here is a screenshot of cross-compiled Mystic Balloon:

And the settings page:

There are two display modes: fast and recordable. In fast display mode games should actually run at 60FPS.

Frameskip happens automatically if CPU usage goes up, and gets disabled again automatically if enough CPU time is free.


To cross-compile your own games you need to replace the Arduboy includes with the correct cross-compile library ones:

You will also need to remove everything that has to do with Serial.

If a game defines its own main function, comment that out / remove it.


On that note, use this at your own risk, some games may work better than others.

Last comments

Blixten

NEW 1 month ago

Sorunome Sorunome

Thanks!

I did find out that if I used release 1.0.6 of https://github.com/Gamebuino/Gamebuino-META/ then it worked, but now I changed to the latest and using the moved cross-compile library, and that also works.
It always feels best using the latest revision.
Thanks again for you help!

Sorunome

NEW 1 month ago

Blixten Blixten

The repos moved to github, sorry! The only one that needs updating is https://github.com/Sorunome/Gamebuino-Arduboy2

I'll go right ahead and edit the top post with the new repo URLs

Blixten

1 month ago

Thanks!

I did find out that if I used release 1.0.6 of https://github.com/Gamebuino/Gamebuino-META/ then it worked, but now I changed to the latest and using the moved cross-compile library, and that also works.
It always feels best using the latest revision.
Thanks again for you help!

Blixten

NEW 1 month ago

Sorunome Sorunome

Sorunome

1 month ago

The repos moved to github, sorry! The only one that needs updating is https://github.com/Sorunome/Gamebuino-Arduboy2

I'll go right ahead and edit the top post with the new repo URLs

You must be logged in in order to post a message on the forum

Log in

Quality seal