Difference between revisions of "Game Packaging"

From ScummVM :: Wiki
Jump to navigation Jump to search
m
m
Line 7: Line 7:


== How to extend DLC support to more distribution stores ==
== How to extend DLC support to more distribution stores ==
The general steps and tips are:
The general steps/tips are:
# Identify if the store have DLC support and have appropriate API or SDK for managing on-demand downloads. You may check [https://docs.google.com/spreadsheets/d/1JMh8SNANgmUq-TZv5KvzNOJFNoVZtuHerza1R_XksHA/edit#gid=0 this] sheet containing information about various distribution stores for reference (might be outdated).
# Identify if the store have DLC support and have appropriate API or SDK for managing on-demand downloads. You may check [https://docs.google.com/spreadsheets/d/1JMh8SNANgmUq-TZv5KvzNOJFNoVZtuHerza1R_XksHA/edit#gid=0 this] sheet containing information about various distribution stores for reference (might be outdated).
# Create a new class that implements <code>backends/dlc/store.h</code>. See <code>backends/dlc/android/playstore.cpp</code> as an example.
# Create a new class that implements <code>backends/dlc/store.h</code>. See <code>backends/dlc/android/playstore.cpp</code> as an example.
# Set the <code>dlcspath</code> in appropriate backends.
# Set the <code>dlcspath</code> in appropriate backends.
# Make sure to use <code>#ifdef USE_DLC</code> where applicable. To enable DLC support, use <code>--enable-dlc</code> with <code>./configure</code>.
# Make sure to use <code>#ifdef USE_DLC</code> where applicable. Before building, make sure to enable DLC support by using <code>--enable-dlc</code> with <code>./configure</code>.

Revision as of 03:21, 27 August 2023

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. Make sure to use #ifdef USE_DLC where applicable. Before building, make sure to enable DLC support by using --enable-dlc with ./configure.