Skip to content

fix: remove duplicate VEGAS DX wrapper entry + feat: add delete, local install, progress bar to VEGAS config dialog#84

Open
isygold wants to merge 3 commits into
The412Banner:mainfrom
isygold:main
Open

fix: remove duplicate VEGAS DX wrapper entry + feat: add delete, local install, progress bar to VEGAS config dialog#84
isygold wants to merge 3 commits into
The412Banner:mainfrom
isygold:main

Conversation

@isygold

@isygold isygold commented Jul 8, 2026

Copy link
Copy Markdown

Summary

Two changes to the VEGAS+VKD3D configuration in the DX wrapper system:

1. Removed duplicate standalone VEGAS DX wrapper entry

app/src/main/res/values/arrays.xml: Removed the plain VEGAS entry from dxwrapper_entries. Both VEGAS and VEGAS+VKD3D hit the same contains("vegas") branch in XServerDisplayActivity.java:1835, so standalone VEGAS was identical to VEGAS+VKD3D. Only VEGAS+VKD3D remains.

2. New UI elements for VEGAS+VKD3D config dialog

app/src/main/java/com/winlator/star/ui/screens/ContainerDetailScreen.kt (+98 lines):

  • Delete button — removes installed VEGAS content profile with Toast feedback. Uses direct profile iteration (fixes getProfileByEntryName misparsing vegas- prefixed names)
  • Local file picker — launches InAppFilePicker (WCP extensions), installs and refreshes version list
  • Progress bar — LinearProgressIndicator during operations, buttons disabled while processing
  • User notifications — 13 Toast messages for all outcomes; all 8 InstallFailedReason values mapped to human-readable messages

Files Changed

File Change
app/src/main/res/values/arrays.xml Removed duplicate VEGAS entry (1 deletion)
app/src/main/java/com/winlator/star/ui/screens/ContainerDetailScreen.kt +98 / -3 lines

Error Messages

Reason Message
ERROR_NOSPACE Not enough storage space
ERROR_BADTAR Corrupted archive file
ERROR_NOPROFILE No valid profile found in package
ERROR_BADPROFILE Invalid profile in package
ERROR_MISSINGFILES Missing required files in package
ERROR_EXIST This version is already installed
ERROR_UNTRUSTPROFILE Untrusted profile, installation blocked
ERROR_UNKNOWN Unknown installation error

isygold added 2 commits July 8, 2026 02:01
Remove standalone VEGAS option, keep only VEGAS+VKD3D which
includes VKD3D for DirectX 12 support alongside VEGAS for
D3D9/10/11.
…cations (#1)

* feat(ui): add delete, local file picker, and progress bar to VEGAS config dialog with user notifications

* fix: use direct profile iteration instead of getProfileByEntryName which misparses vegas- prefix

* fix: null-safety on findActivity() return value
@isygold isygold changed the title feat: add delete, local file picker, and progress bar to VEGAS config dialog fix: remove duplicate VEGAS DX wrapper entry + feat: add delete, local install, progress bar to VEGAS config dialog Jul 8, 2026
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.

1 participant