RSDKModding / RSDKv4-Decompilation

A complete decompilation of Sonic 1 & Sonic 2 (2013) & Retro Engine (v4)
Other
955 stars 177 forks source link

[Android} No ability to switch games/Data.rsdk files #429

Open nonremittal opened 7 months ago

nonremittal commented 7 months ago

Expected Behavior

User is able to switch game inside/outside the app

Actual Behavior

App is restricted to one game/file in its folder and settings

Steps to Reproduce

  1. Install APK from Releases page.
  2. Set up Data.rsdk file as normal for chosen game.
  3. This is now the only game playable.

On desktop computers this is a non-issue, since you can simply set up multiple directories each with separate Data.rsdk files for different games.

Issue #380 suggests a launcher which I understand is outside the scope of this project. However unlike in Windows, Linux, etc. you can (usually) only have one instance of an app installed.

Rather than have 2-3 separate apps or a fancy in-app launcher, what about something like the following: settings.ini's DataFile=Data.rsdk is instead something like DataFile=Data.rsdk,Data2.rsdk,Data3.rsdk for different games? Alternatively, DataFile=Data.rsdk, DataFile2=Data2.rsdk etc,

It would load the first RSDK file as normal, but a Dev Menu option allows the user to select one of the others and restart the app with the chosen data file.

Screenshots

No response

Log File

No response

Decompilation Version

N/A

Game

Sonic 2

Game Version

Mobile (Sega Forever)

Game Revision

No response

Platform

Android 11

Additional Comments

No response

MegAmi24 commented 7 months ago

@stxticOVFL planned to bring over the directory system from the RSDKv5(U) decomp, however she never did so. Would be cool to see, so I'll leave this issue open as a feature request.

diogodiogo2 commented 6 months ago

I'd suggest having 2 separated folders and 2 different apks for the games (such as RSDKv4 and RSDKv4_2). Would probably be an easy fix.