14 Commits
v5 ... v6

Author SHA1 Message Date
jazir5
8ac1b1f33a Update Enable GamesDows Playnite.bat 2024-12-26 17:26:09 -08:00
jazir5
bd73881d7a Update README.md 2024-12-26 15:34:45 -08:00
jazir5
5c73816ead Update README.md 2024-12-25 23:11:38 -08:00
jazir5
a401cebb39 Update README.md 2024-12-25 23:11:05 -08:00
jazir5
4bd7664265 Update README.md 2024-12-25 23:10:13 -08:00
jazir5
86e9a0171f Update README.md 2024-12-25 23:00:48 -08:00
jazir5
3b322f4ab3 Update README.md 2024-12-25 22:59:52 -08:00
jazir5
aa8a0d9f7d Update README.md 2024-12-25 22:58:52 -08:00
jazir5
e567ed85b5 Update README.md 2024-12-25 22:57:20 -08:00
jazir5
4129b605b7 Update README.md 2024-12-25 22:56:38 -08:00
jazir5
1a6122f684 Update README.md 2024-12-25 15:27:57 -08:00
jazir5
f6ab856467 Update README.md 2024-12-25 15:27:39 -08:00
jazir5
8c0a43dbac Update README.md 2024-12-25 15:27:30 -08:00
jazir5
e22ef998ef Update README.md 2024-12-25 15:26:38 -08:00
2 changed files with 48 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
@echo off
SETLOCAL EnableExtensions EnableDelayedExpansion
SETLOCAL EnableExtensions
echo Setting Playnite as default shell
SET "KEY_NAME=HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
SET "KEY_NAME=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
SET "VALUE_NAME=Shell"
SET "PLAYNITE_FOLDER=%LOCALAPPDATA%\Playnite"
SET "PLAYNITE_PATH=%LOCALAPPDATA%\Playnite\Playnite.FullscreenApp.exe"
@@ -14,6 +14,9 @@ SET "EXPLORER_PATH=C:\Windows\explorer.exe"
SET "VBS_NAME=RunBatchSilently.vbs"
SET "VBS_PATH=%PLAYNITE_FOLDER%\%VBS_NAME%"
@echo off
SETLOCAL EnableExtensions EnableDelayedExpansion
echo Creating DelayedExplorerStart.bat script
echo Create the DelayedExplorerStart.bat script in the Playnite folder
@@ -23,11 +26,11 @@ echo rem Check if user is logged on
echo whoami ^| find /i "%USERNAME%" ^>nul
echo if ERRORLEVEL 1 exit
echo rem Set Shell back to Explorer
echo REG ADD "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f
echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%EXPLORER_PATH%" /f
echo timeout /t 20 /nobreak ^>nul
echo start C:\Windows\explorer.exe
echo timeout /t 10 /nobreak ^>nul
echo REG ADD "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%PLAYNITE_PATH%" /f
echo REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%PLAYNITE_PATH%" /f
) > "%SCRIPT_PATH%"
@@ -36,6 +39,7 @@ echo %VBS_PATH%
echo Creating RunBatchSilently.vbs script
rem Create VBScript to run the batch file silently
@echo off
echo Set WshShell = CreateObject("WScript.Shell") > "%VBS_PATH%"
echo WshShell.Run chr(34)^&"%SCRIPT_PATH%"^&chr(34), 0, True >> "%VBS_PATH%"
echo Set WshShell = Nothing >> "%VBS_PATH%"
@@ -93,10 +97,10 @@ echo ^</Task^>
) > "%XML_PATH%"
echo Delete the existing scheduled task if it exists
schtasks /delete /tn "RunDelayedExplorerStart" /f /ru "%USERNAME%"
schtasks /delete /tn "RunDelayedExplorerStart" /f
echo Create the scheduled task using the XML file
schtasks /create /tn "RunDelayedExplorerStart" /xml "%XML_PATH%" /ru "%USERNAME%"
schtasks /create /tn "RunDelayedExplorerStart" /xml "%XML_PATH%"
echo Delayed Explorer start script and VBScript created in Playnite folder.
echo Scheduled Task added to run the script at logon.
@@ -107,7 +111,7 @@ bcdedit.exe -set {globalsettings} bootuxdisabled on
echo Disable Logon UI
reg add "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DisableLogonUI /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DisableLogonUI /t REG_DWORD /d 1 /f
echo Disable Visual Effects
reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v VisualEffects /t REG_DWORD /d 3 /f

View File

@@ -1,4 +1,6 @@
Transform your Windows Computer into a Video Game console first, PC second!
Transform your Windows Computer into a Video Game console first, PC second! GamesDows is intended to emulate Steam OS's "Game Mode" as closely as possible.
**New: Now with Decky Loader support for Windows!**
**This script is a WIP. Currently, the main functionality works as intended. Steam Big Picture (or Playnite) launches automatically when the OS boots with high priority set as as the shell, then explorer starts automatically after a delay, which allows you to exit to desktop via the menu without needing to launch a shortcut for Explorer.exe first.**
@@ -69,3 +71,37 @@ What remains to be fixed:
I will gladly take PRs to fix the 3 remaining issues if anyone knows how to solve them.
**Note: If for any reason explorer doesn't start and you get a black screen and cannot view the desktop, it needs to be launched manually via task manager by launching explorer.exe. It needs to be set as the shell first before it is launched from task manager for the desktop to appear when launched a single time, otherwise it will just launch a file browser window. Due to this limitation, you must start explorer.exe twice from task manager to load the Desktop**
-------------------
# Decky Loader for Windows
https://github.com/ACCESS-DENIIED/Decky-Loader-For-Windows
ACCESS-DENIIED's Decky Install Scripts are now included with GamesDows! Just run the separate install-decky.bat to get Decky automatically installed and configured for Steam! **Please ensure Python and Steam have already been installed and configured, and make sure to already be signed into Steam before running the install script for Decky!**
**Please make sure to check the original thread for the caveats described by ACCESS-DENIIED, the author of the Decky install scripts:**
https://www.reddit.com/r/WindowsOnDeck/comments/1hl40i5/i_created_a_python_script_to_install_decky_loader/
Below is the description of these scripts from ACCESS-DENIIED's repo:
A Work-in-progress Python-based installer and build system for Decky Loader on Windows. This tool automates the entire process of building, installing, and configuring Decky Loader - bringing the Steam Deck's popular plugin system to Windows.
## Features
- 🚀 Simple installation and build process
- ⚙️ Automatic dependency management (Node.js, npm, pnpm, Python)
- 🔧 Configures Steam for plugin development
- 🏃‍♂️ Sets up autostart for PluginLoader
- 📁 Creates proper homebrew directory structure
- 💻 Builds both console and GUI executables
## Requirements
- Windows 10/11
- Steam installation
- Internet connection for downloading dependencies
## Usage
Download the files or the zip in the releases section, run the Enable GamesDows script for either Steam or Playnite.
If you would also like to install Decky Loader, run "install_decky.bat" as administrator and follow the prompts. This script is not necessary for GamesDows to function, it enables the Decky Loader plugin system for Steam. I've included it in this project as it brings Windows one step closer to Steam OS functionality.