Game Packaging

From ScummVM :: Wiki
Revision as of 15:18, 27 August 2023 by Ankushdutt (talk | contribs)
Jump to navigation Jump to search

Introduction

This page contains information for packaging and distributing freeware games & demos (as DLCs) through in-app DLC downloader.

Platform-specific Guides

  1. ScummVM Cloud
  2. Android

How to extend DLC support to more distribution stores

The general steps/tips are:

  1. Identify if the store have DLC support and have appropriate API or SDK for managing on-demand downloads. You may check this sheet containing information about various distribution stores for reference (might be outdated).
  2. Create a new class that implements backends/dlc/store.h. See backends/dlc/android/playstore.cpp as an example.
  3. Set the dlcspath in appropriate backends.
  4. Use #ifdef USE_DLC where applicable. Before building, make sure to enable DLC support by using --enable-dlc with ./configure.
  5. Add new entry to packaging/export-platforms.json for how to prepare, package and/or upload DLC packages for this specific distribution platform. You can include the 3rd party SDK/scripts/tools or self-written scripts in packaging/scripts directory. It is possible that you might need to change the schema for export-platforms.json and adapt the packaging/package.py accordingly. For more details and reasoning, you may read this blog.