Skip to content

feat: steam dlc manifest gen , game language gui for steam game , Download for import game #580

Draft
TWCM wants to merge 8 commits into
WinNative-Emu:mainfrom
TWCM:feature/steam-dlc-manifest-gen
Draft

feat: steam dlc manifest gen , game language gui for steam game , Download for import game #580
TWCM wants to merge 8 commits into
WinNative-Emu:mainfrom
TWCM:feature/steam-dlc-manifest-gen

Conversation

@TWCM

@TWCM TWCM commented Jun 26, 2026

Copy link
Copy Markdown
  1. Added GUI Game Language in Settings> Other > Game Language
    this var will set into prefManager var container_language, it is used to provide the language to StemUtil to set the language var in manifest acf file.

  2. Added more detail on the steam game manifest generation to let the game can read the DLC.
    Steps to make it work.

if you are copy the game file from the pc, you need to go to steam game tab to select the DLC then click download. the download process will verify the file. it will not download again. This step to make sure the dlc depots write into the db, the manifest generation process will get the data from the steam and the local db and write into the manifest file in android way, the CPP version is used in the steam launcher, passing the var to cpp steam.exe in XserverDisplayActivity.java.

if you are going to the normal download process in steam, no additional step.
Tested: SF6, Elden Ring
I also tested the Online match in SF6, no issue with the steam launcher.

  1. I also hardcoded the Download button is alaway clickable, coz when i try to copy the file to the lib, then i go to steam game tab to click download, it will show i dont have enough storage, it will block the download process.

@Xnick417x

Xnick417x commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Are you part of the discord? If not can you join so we can chat. I appreciate your pr and sounds helpful thank you!

@TWCM

TWCM commented Jun 27, 2026

Copy link
Copy Markdown
Author

Are you part of the discord? If not can you join so we can chat. I appreciate your pr and sounds helpful thank you!

Yes, i am in discord, this is me TWL | 8E5 | 16GB | Y700 G5

From: Xnick417x <nicholas.german20@gmail.com>
Date: Sat, 27 Jun 2026 05:43:04 +0000
Subject: [PATCH] Fix Steam DLC manifest generation and restore install storage
 gate

- Restore the free-space precondition on the Steam/Epic/GOG install
  dialogs; allow a Steam download when the game is already installed
- Compute SizeOnDisk recursively and null-guard the directory listing
  so a listing error no longer drops all depot data
- Escape name/installdir/language/install-script fields in the native
  ACF writer and double backslashes first in the Kotlin manifest escaper
- Size the depot/shared/install-script buffers to the input length to
  stop silent truncation for games with many depots
- Exclude shared depots from InstalledDepots and drop the dead
  depot-id-in-DLC inclusion clause; classify depots the same on both
  manifest paths
- Restore the thread interrupt flag and guard per-DLC depot resolution
- Hide the duplicate Simplified Chinese language option
- Add Game Language strings to all locales
- Rebuild steam.exe
@TWCM TWCM force-pushed the feature/steam-dlc-manifest-gen branch from 4100785 to 51d3190 Compare June 27, 2026 13:25
@Xnick417x

Copy link
Copy Markdown
Collaborator

Needs proper ui. See Workshop and Achievements in latest pr. Background should be (WsBg)
Needs to ensure proper PANE_NAV (aka controller navigation)
Needs to ensure all strings are translated to all locales

@Xnick417x Xnick417x marked this pull request as draft July 1, 2026 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants