Skip to content

Commit 74546aa

Browse files
0.5.0.0
1 parent 053af47 commit 74546aa

File tree

4 files changed

+196
-0
lines changed

4 files changed

+196
-0
lines changed

Playnite/README.MD

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,31 @@
1+
# Playnite-Shell
2+
Playnite-Shell is a tool to add a Splash screen and setting Playnite as Shell so that when logging in you are greeted by your chosen video and Playnite Fullscreen without any Windows Shell untill you exit Playnite or switch to desktop mode.
13

4+
### Prerequisites:
5+
- Playnite installed
6+
- Playnite fully closed when installing (Check system tray bottom right to ensure its not running in the background)
7+
- [FFPLAY](https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip)
8+
- Video to set as splash
9+
10+
### Settings and configuration:
11+
If you want to change where the program looks for your FFPLAY, your video and Playnite there is a settings app included at `C:\Playnite-Shell\`
12+
13+
The settings program also allows you to set your screen size for the splash video, please set as laid out in the examples below:
14+
15+
1920 x 1080 - Full HD screen:
16+
> -x 1920 -y 1080
17+
18+
3840 x 2160 - 4K screen:
19+
> -x 3840 -y 2160
20+
21+
### Attention:
22+
If you get notified the program is a virus this may be due to the way I have used a powershell script to change a Playnite setting in config.json and heavily use BAT files throughout the project.
23+
24+
List of programs used to compile:
25+
- [Advanced BAT to EXE Converter PRO](https://www.battoexeconverter.com/)
26+
- Splash-Shell.exe - https://github.com/MotionDevelopment123/playnite-shell/blob/main/Splash-Shell.bat
27+
- Windows-Shell.exe - https://github.com/MotionDevelopment123/playnite-shell/blob/main/Windows-Shell.bat
28+
- [Inno Setup](https://jrsoftware.org/isinfo.php)
29+
- Playnite-Shell.1.0.0.0.exe
30+
31+
During setup the program sets the shell by editing the following key:

SETUP.BAT

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
@ECHO OFF
2+
REM BFCPEOPTIONSTART
3+
REM Advanced BAT to EXE Converter www.BatToExeConverter.com
4+
REM BFCPEEXE=C:\Users\hbrow\Desktop\Motion-Shell Setup.exe
5+
REM BFCPEICON=
6+
REM BFCPEICONINDEX=-1
7+
REM BFCPEEMBEDDISPLAY=0
8+
REM BFCPEEMBEDDELETE=1
9+
REM BFCPEADMINEXE=0
10+
REM BFCPEINVISEXE=0
11+
REM BFCPEVERINCLUDE=1
12+
REM BFCPEVERVERSION=1.0.0.0
13+
REM BFCPEVERPRODUCT=Motion-Shell Setup
14+
REM BFCPEVERDESC=Install and Setup Motion-Shell
15+
REM BFCPEVERCOMPANY=Motion Development
16+
REM BFCPEVERCOPYRIGHT=
17+
REM BFCPEWINDOWCENTER=1
18+
REM BFCPEDISABLEQE=0
19+
REM BFCPEWINDOWHEIGHT=30
20+
REM BFCPEWINDOWWIDTH=120
21+
REM BFCPEWTITLE=Motion-Shell Setup
22+
REM BFCPEOPTIONEND
23+
@ECHO OFF
24+
25+
:Welcome
26+
ECHO Welcome to Motion-Shell Setup
27+
ECHO.
28+
ECHO Please take a moment to read the following before continuing:
29+
ECHO.
30+
ECHO Motion-Shell will replace the Windows Shell of the account running this script, please do not run the script as administrator!
31+
ECHO.
32+
ECHO It is recommended to run the Setup from a secondary PC account, Steam is accsessible accross PC accounts and Playnite is best to be installed as a portable program to the C:\Playnite location
33+
ECHO.
34+
ECHO.
35+
36+
CLS
37+
38+
ECHO Please select which program you would like to set as the Shell:
39+
ECHO.
40+
ECHO 1. Steam
41+
ECHO 2. Playnite Splash (Has support for a custom launch video)
42+
ECHO 2. Playnite
43+
ECHO 3. Custom (COMING SOON!)
44+
ECHO 4. Exit
45+
ECHO.
46+
ECHO.
47+
set /p op=Please select which locations you would like to set:
48+
if "%op%"=="1" goto Steam
49+
if "%op%"=="2" goto Playnite-Splash
50+
if "%op%"=="3" goto Custom
51+
if "%op%"=="4" goto end
52+
53+
:Steam
54+
CLS
55+
ECHO Motion-Shell - Steam
56+
ECHO Sets the Shell to Steam and opens the Windows-Shell once closed
57+
ECHO.
58+
ECHO.
59+
ECHO Installing...
60+
START %MYFILES%\Steam-Setup.exe
61+
GOTO end
62+
63+
:Playnite-Splash
64+
CLS
65+
ECHO Motion-Shell - Playnite-Splash
66+
ECHO Sets the Shell to Playnite with a launch video of your choice then opens the Windows-Shell once closed
67+
ECHO.
68+
ECHO.
69+
ECHO Installing...
70+
START %MYFILES%\Playnite-Setup.exe
71+
GOTO end
72+
73+
:custom
74+
CLS
75+
ECHO This is coming soon!
76+
ECHO.
77+
GOTO Welcome
78+
79+
:end
80+
Exit

Steam/Setup.bat

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
@ECHO OFF
2+
REM BFCPEOPTIONSTART
3+
REM Advanced BAT to EXE Converter www.BatToExeConverter.com
4+
REM BFCPEEXE=C:\Shared Folder\GitHub\Motion-Shell\Steam\Steam-Setup.exe
5+
REM BFCPEICON=C:\Program Files (x86)\Advanced BAT to EXE Converter PRO v4.61\ab2econv461pro\icons\icon12.ico
6+
REM BFCPEICONINDEX=-1
7+
REM BFCPEEMBEDDISPLAY=0
8+
REM BFCPEEMBEDDELETE=1
9+
REM BFCPEADMINEXE=0
10+
REM BFCPEINVISEXE=0
11+
REM BFCPEVERINCLUDE=1
12+
REM BFCPEVERVERSION=0.5.0.0
13+
REM BFCPEVERPRODUCT=Motion-Shell Setup - Steam
14+
REM BFCPEVERDESC=Motion-Shell Setup - Steam
15+
REM BFCPEVERCOMPANY=Motion Development
16+
REM BFCPEVERCOPYRIGHT=
17+
REM BFCPEWINDOWCENTER=1
18+
REM BFCPEDISABLEQE=0
19+
REM BFCPEWINDOWHEIGHT=30
20+
REM BFCPEWINDOWWIDTH=120
21+
REM BFCPEWTITLE=Motion-Shell Setup
22+
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\CLOSED.LOCATION
23+
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\ICON.ico
24+
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\Return To Gaming Mode.exe
25+
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\SDL.exe
26+
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\STEAM.LOCATION
27+
REM BFCPEEMBED=C:\Motion-Shell\Steam\Return To Gaming Mode.exe
28+
REM BFCPEOPTIONEND
29+
@ECHO OFF
30+
ECHO Motion-Shell - Steam
31+
ECHO.
32+
ECHO Installing...
33+
CD C:\Motion-Shell\
34+
md Steam
35+
CD C:\Motion-Shell\Steam
36+
copy %MYFILES%\*.* C:\Motion-Shell\Steam
37+
reg add "HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "C:\Motion-Shell\Steam\SDL.exe" /f
38+
39+
CLS
40+
ECHO Please select your Steam.exe
41+
rem BrowseFiles
42+
ECHO|set /p=%result%>STEAM.LOCATION
43+
44+
CLS
45+
ECHO 1. Launch Windows Shell (default & recommened)
46+
ECHO 2. Logout (recommened)
47+
ECHO 3. Launch custom program
48+
49+
set /p EXITop=Select what you would like to happen when you close Steam:
50+
51+
if "%EXITop%"=="1" goto EXITop1
52+
if "%EXITop%"=="2" goto EXITop2
53+
if "%EXITop%"=="3" goto EXITop3
54+
55+
:EXITop1
56+
SET /P EXITaction=explorer.exe
57+
ECHO|set /p=%EXITaction%>CLOSED.LOCATION
58+
goto misc
59+
60+
:EXITop2
61+
SET /P EXITaction=Shutdown -l
62+
ECHO|set /p=%EXITaction%>CLOSED.LOCATION
63+
goto misc
64+
65+
:EXITop3
66+
ECHO|set /p=%EXITaction%>CLOSED.LOCATION
67+
goto misc
68+
69+
:misc
70+
CLS
71+
goto complete
72+
73+
:complete
74+
CLS
75+
ECHO Motion-Shell - Steam is now installed and set as the Shell
76+
ECHO.
77+
ECHO Would you like to logout now to use the new shell?
78+
set /p logoutop=Y/N:
79+
IF "%logoutop%"=="Y" goto logout
80+
IF "%logoutop%"=="N" goto end
81+
82+
:logout
83+
shutdown -l -f
84+
85+
:end
86+
EXIT

Steam/Steam-Setup.exe

638 KB
Binary file not shown.

0 commit comments

Comments
 (0)