RetiPie

Uploading Games

Package an HTML5 game as one HTML file or a ZIP, upload new versions, roll back to an earlier one, and submit updates to a live game for review.

This guide covers how to prepare, upload, and manage versions of your game on RetiPie.

Upload formats

RetiPie accepts two upload formats.

Single HTML file

If your entire game is in one .html file (inline CSS, inline JavaScript, embedded assets, up to 5 MB), you can upload it directly.

ZIP archive

If your game has multiple files — HTML, CSS, JavaScript, images, audio, fonts — package them as a .zip archive. Engine exports use this format.

ZIP structure requirements:

  • The archive must contain an index.html file.
  • index.html must be at the root of the ZIP, or inside a single root folder.

RetiPie removes a single folder that contains everything. Both of these structures work:

game.zip
  index.html
  style.css
  main.js
  assets/
    player.png
game.zip
  my-game/
    index.html
    style.css
    main.js
    assets/
      player.png

In the second case, my-game/ is removed, so index.html ends up at the root.

macOS users: Finder may add __MACOSX metadata folders when creating ZIPs. RetiPie filters these out during extraction, so they won't cause issues.

What happens after you upload

  1. Upload. The file goes straight from your browser to storage.
  2. Checks. RetiPie checks the file type, size, and file names, and looks for executables and third-party ad or tracking scripts. See Game Requirements for the rules.
  3. Extraction. A ZIP is extracted and each file is checked in the background. Compressed Unity build files are decompressed. See Unity WebGL Export.
  4. Analysis. RetiPie opens the build in a phone-sized browser, the same sandbox players use. It detects the orientation, checks that the game fits two reference phone sizes (see Screen Size and Fit), and listens for SDK declarations such as leaderboards.
  5. New version. For a draft, the build becomes the game's current version right away. For a live game, it joins your update draft. See Update a live game.

Automated checks also flag risky patterns, such as remote scripts, eval, service workers, or code that tries to replace window.retipie. Moderators see these signals during review.

Automatic SDK feature detection

You don't choose in Slice whether your game has a leaderboard. Declare it in game code:

retipie.game.configure({
  leaderboards: {
    default: { order: 'desc', unit: 'points', precision: 0 },
  },
});

When RetiPie finds the declaration, the feed shows the leaderboard button for that version. If a later version drops the declaration, old scores are kept but the button is hidden.

RetiPie also scans source files for retipie.leaderboards.submitScore(...) as a fallback, and a score submitted while players play also turns the leaderboard on. The runtime declaration is the preferred signal. See Leaderboards.

Versions

  • Every upload creates a new version. Version numbers go up by one (v1, v2, v3, and so on).
  • RetiPie keeps 3 versions. When a new upload goes over the limit, the oldest archived version and its files are permanently deleted.
  • The newest version becomes current. For a draft this happens as soon as the upload is processed. For a live game it happens when a moderator approves your update. The previous version is then archived.

The Versions card on the game page lists every kept version with its state: Published, Pending review, Draft, Rejected, or Archived.

Upload a new version

  1. Open My games in Slice.
  2. Choose the game.
  3. Choose Upload new version.
  4. Upload your updated .html or .zip file.

For a draft, the new version becomes current right away. For a live game, it joins your update draft.

Update a live game

Changes to a live game collect in an update draft: a new version, a rollback, edited details, or a new feed preview. Players keep the current version and details.

When the draft is ready, open the game and choose Submit update for review. While the update is in review, you can't change it or upload another version. To edit it again, choose Withdraw; the update leaves the moderation queue and becomes editable.

A stricter age rating is the exception: it applies at once. A rating that lowers the minimum age waits for review like other changes.

If a moderator rejects the update, your game stays live as it was, and you get an email with the reason.

You don't need to unpublish your game to update it. Updates are reviewed in submission order; most are reviewed within a day.

Preview

Every game page has a Preview panel. In the feed shows the card players see; Try the game runs your game in a phone frame, in the same sandboxed environment players use. Pick a phone under Device to try different screen sizes.

Use the preview to check that:

  • Your game loads without errors
  • Layout and controls work at different screen sizes
  • All assets (images, audio, fonts) load
  • The game is playable from start to finish

Upload status

The upload screen follows the file:

  • Uploading… — the file is going from your browser to storage. Stay on the page until it finishes.
  • Extracting ZIP… — RetiPie is extracting and checking the ZIP. You move to Game profile when it's done. If you close the page, the draft stays in My games.

If extraction or a check fails, the upload screen shows the reason. The previous version stays as it was; fix the issue and upload again.

FAQ

On this page