Cart Builder

From Arduboy Wiki
Revision as of 07:25, 16 June 2024 by Filmote (talk | contribs)
Jump to navigation Jump to search

The Cart Builder is a website that allows you update an Arduboy FX or Arduboy Mini variant with the latest games contributed by the community. There are a number of existing cart definitions ranging from the 'Full Enchilada' - which contains all games available - to speciality carts including Filmote's curated list of games, a Press Play on Tape fan cart and others.

The site also allows you to contribute games and to create your own cart with custom categories, etc. Contributed games can be made available to the community or kept hidden and only available to the cotributor.

Due to the different wiring of the various Arduboy variants, there are a number of different URLs that specify the Arduboy variant and the initial cart configuration. These URLs are enumerated below:

Arduboy FX

  • [The Whole Enchilada] This cart contains all the games that have been published for the Arduboy FX.
  • [Filmotes Curated List] This cart is a selection of games that curated by Filmote, the site's owner. The intent is to keep the list to approximately 100 - 125 titles.
  • [PPOT Flash Cart] This cart contains all Filmotes's & PPOT games in one collection.

Arduboy Mini

  • [Full Enchilada] This cart contains all the games that have been published for the Arduboy Mini. This is also appropriate for any device that uses the PE2/HWB pin for CS on the flash chip.


Flashing a Cart to an Arduboy

Most users will simply want to flash the entire cart to their Arduboy periodically. When using a recent version of Google Chrome, this can be done directly from the site. When using other browsers, there are additional steps and software involved.

Flashing a Cart using Chrome / WebSerial

Uploading a cart using Google Chrome is the easiest way to update an Arduboy. It uses a new technology, called WebSerial, which is not available in other browsers at time of writing. Before using, ensure that your instance of Chrome is up to date.

  1. navigate to the Cart Builder website using the appropriate link above.
  2. ensure your Arduboy is plugged in and powered on.
  3. click the 'Upload' button in the top-left corner of the website.
  4. the website will generate a cart for you based on the selections you have made. This may take up to a few minutes depending on the number of games included in the cart.
  5. once the cart has been finalised, click 'Upload' on the presented dialogue. At this point, Chrome will enumerate the USB ports of the device and present a dialogue showing these connections. Select the USB port that the Arduboy is connected to and click 'Connect'
  6. the cart will be flashed to the Arduboy. Depending on size, this can take a few minutes.


Flashing a Cart using the Arduboy Toolset

Uploading a cart using the Arduboy Toolset can be achieved following the steps below.

  1. navigate to the Cart Builder website using the appropriate link above.
  2. ensure your Arduboy is plugged in and powered on.
  3. click the 'Download Bin' button in the top-left corner of the website.
  4. the website will generate a cart for you based on the selections you have made and download it as a .bin file into your downloads directory. This may take up to a few minutes depending on the number of games included in the cart.
  5. open the Arduboy Toolset and select the 'Flashcart' tab.
  6. the Arduboy Toolset should indicate that it has detected your Arduboy. If not, turn the device off and back on again so that id at the Arduboy bootloader screen.
  7. click the 'Open File' button and select the newly created .bin file then click 'Upload' to flash the cart image to the Arduboy device.


Flashing a Cart using the Python Scripts

Uploading a cart using the Python Scripts can be achieved following the steps below.

Prerequisites

Before attempting to flash a cart, you will need to install Python and some additional libraries:

  1. install Python 3 Download and install Python 3 from [[1]] (for Windows, check option 'Add python.exe to path' when installing)
  2. install PySerial For Windows, run python -m pip install pyserial from command line. For OSX, run easy_install pyserial from a terminal window.
  3. install Pillow For Windows, run python -m pip install pillow from command line. For OSX, run easy_install pillow from a terminal window.
  4. download Mr.Blinky's Python Utilities from the GitHub [repo]. This is a zip file and can be expanded into a convenient directory.


Process:

  1. navigate to the Cart Builder website using the appropriate link above.
  2. ensure your Arduboy is plugged in and powered on.
  3. click the 'Download Bin' button in the top-left corner of the website.
  4. the website will generate a cart for you based on the selections you have made and download it as a .bin file into your downloads directory. This may take up to a few minutes depending on the number of games included in the cart.
  5. open a command window and run the command python flashcart-writer.py {path to bin file}/flashcart-image.bin