You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Java installations (`~/.local/jdk/`) - use `--remove-java` to delete
367
+
368
+
**Note:** Steam shortcuts (non-Steam games) must be removed manually in Steam.
369
+
370
+
## Known Issues
371
+
372
+
### SSH + curl | bash Causes Script Crash
373
+
374
+
**Problem:** When running the installer via `curl | bash` over SSH, the script crashes at interactive prompts (exit code 139/SIGSEGV).
375
+
376
+
**Root Cause:** The `prompt_user` function tries to read from `/dev/tty` for `curl | bash` compatibility, but this fails in certain SSH configurations.
377
+
378
+
**Workaround:** Download the script first, then run it directly:
**Problem:** When launching on Steam Deck without external controllers, the script detects the Steam virtual controller, filters it out, and then stops because no "real" controllers remain.
When launching on Steam Deck without external controllers, the script detects the Steam virtual controller, filters it out, and then stops because no "real" controllers remain.
420
+
421
+
**Problem B: Double Button Presses in Desktop Mode**
422
+
When Steam is running in Desktop Mode, the Steam Deck's physical controls AND Steam's virtual controller BOTH send input to the game, causing every button press to register twice.
423
+
424
+
**Root Cause:** Steam Input creates virtual controller devices that mirror physical inputs. In Desktop Mode with Steam running:
425
+
- Physical controller → `/dev/input/js0` → game
426
+
- Steam virtual controller → `/dev/input/js1` → game (duplicate!)
334
427
335
-
**Current State:** The launcher script correctly filters Steam virtual controllers but doesn't handle the case where that's the ONLY controller available.
428
+
**Current State:** The launcher script tries to filter Steam virtual controllers but:
429
+
1. Doesn't handle when virtual controller is the ONLY option
430
+
2. Doesn't prevent double-input when both physical AND virtual are active
336
431
337
-
**Solution:** Modify controller detection logic to:
338
-
- If on Steam Deck AND only Steam virtual controller detected AND no external controllers → allow using Steam Deck as Player 1
339
-
- Provide a fallback "keyboard only" mode or prompt user
340
-
- Consider: Steam Deck's built-in controls should count as 1 player
432
+
**Solution Approaches:**
433
+
434
+
*For Problem A (no controllers):*
435
+
- If on Steam Deck AND only Steam virtual controller detected → allow using it as Player 1
436
+
- Provide "keyboard only" fallback mode
437
+
438
+
*For Problem B (double presses):*
439
+
1.**User-side fix:** Disable Steam Input per-game in Steam properties
440
+
2.**Script-side detection:** Warn user when both physical and virtual detected
441
+
3.**Script-side fix:** Before launching, advise user to either:
442
+
- Launch from Game Mode (Steam handles this correctly there)
443
+
- Disable Steam Input for Minecraft in Steam settings
444
+
- Close Steam before launching (if not using Steam integration)
445
+
446
+
**Controllable Mod Note:** The Controllable mod has device selection settings. Users may be able to manually select only the physical controller there. Worth documenting.
341
447
342
448
**Files to modify:**`modules/launcher_script_generator.sh` (the generated script template)
343
449
@@ -412,12 +518,78 @@ The installer generates `minecraftSplitscreen.sh` at runtime with:
**Problem:** When users run the installer multiple times, it starts fresh each time without recognizing existing installations. Users may want to update mods, change Minecraft version, or modify their setup without full reinstallation.
523
+
524
+
**Desired Behavior:**
525
+
- Detect if splitscreen instances already exist (check for `latestUpdate-1` through `latestUpdate-4`)
0 commit comments