Prototype D2Decomp on Android phones and tablets

Open
#41 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
android, cpp
Domain
mobile-dev

Research direction

Start with the linked platform support plan, controller plan, and prerequisite shared mobile foundations issue #44; coordinate the shared action and controls work in #33, #36, #38, and #39. Audit the current SDL3 Android activity/build flow, dependencies, data import, and lifecycle requirements before choosing an implementation path. Done means a reproducible APK is validated on a named phone and tablet against the acceptance criteria, with build steps, constraints, and a go/no-go recommendation recorded.

Written by the indexing model from the issue text.

Description

enhancement platform

Goal

After the mobile foundation is proven, build an installable Android prototype for phones and tablets with an appropriate first-run game-data flow, touch controls, optional physical gamepad, and safe lifecycle/save behavior. This issue is for a prototype and validation; it does not promise store release or supported status.

Background

Scope

  • Use the current supported SDL3 Android activity/build flow and document NDK, Gradle, ABI, minimum OS/API, and dependency versions.
  • Package only project code and permitted dependencies. Provide a mobile first-run flow (not the Qt desktop launcher) to explicitly select/import the user's own game data through the system document picker or another currently supported API. Do not scan shared storage or request blanket access.
  • Implement touch controls as an adapter to the shared action model, not a second game behavior path. Support physical controllers using the same actions when available.
  • Handle portrait/landscape changes, safe areas/cutouts, varied aspect ratios and DPI, Android lifecycle pause/resume, audio focus, memory pressure, save completion, text entry/software keyboard, and recovery after permission revocation.
  • Validate phones and tablets separately: one representative phone and one tablet. On tablet also examine large-screen UI, external keyboard/mouse, and multi-window/resizing where the OS supports it.
  • Check current Google Play and intended alternative-store requirements for the BYO-data app before selecting a release channel; keep this an explicit human-owned review.

Acceptance criteria

  • A reproducible debug/test APK installs and launches on a named supported Android phone and tablet; record model, Android version, ABI and build steps.
  • A new user can choose/import data using supported UI, launch into gameplay, quit/relaunch, and retain access and saves without command-line steps or broad permissions.
  • Core title flow and currently implemented gameplay are operable by touch; controller input works through shared actions; physical keyboard/mouse remains optional where appropriate.
  • Background/resume, rotation, audio interruption and low-storage/import errors do not corrupt saves or leave the app unusable.
  • Package contains no Diablo II content or Blizzard binaries. Unsupported codecs/features are clearly reported; no silent fake-success behavior.
  • Report performance/memory constraints and a go/no-go recommendation for a maintained release path. Do not claim Android support until the full platform support gate in the design document passes.

Not in scope

Store submission, online services, Nintendo console code, a separate tablet app, or a second simulation/input command model.

Contributor expectation: AI assistance is welcome, but the human contributor must review and test the work, take responsibility for the result, and sign off on the PR. Do not add AI co-authorship.

Dominant language
C++
Stars
17
Forks
6
Avg merge
6h 14m
Merged PRs (30d)
570

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from psi29a/d2decomped

All issues in psi29a/d2decomped

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.