Skip to content

Commit c28c77a

Browse files
0.1.0
1 parent 4c085af commit c28c77a

File tree

13 files changed

+169
-9
lines changed

13 files changed

+169
-9
lines changed
File renamed without changes.

Files/Playnite-NSV/Header.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
$$\ $$\ $$\ $$\ $$$$$$\ $$\ $$\ $$\
2+
$$$\ $$$ | $$ | \__| $$ __$$\ $$ | $$ |$$ |
3+
$$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$\ $$$$$$$\ $$ / \__|$$$$$$$\ $$$$$$\ $$ |$$ |
4+
$$\$$\$$ $$ |$$ __$$\\_$$ _| $$ |$$ __$$\ $$ __$$\ $$$$$$\\$$$$$$\ $$ __$$\ $$ __$$\ $$ |$$ |
5+
$$ \$$$ $$ |$$ / $$ | $$ | $$ |$$ / $$ |$$ | $$ |\______|\____$$\ $$ | $$ |$$$$$$$$ |$$ |$$ |
6+
$$ |\$ /$$ |$$ | $$ | $$ |$$\ $$ |$$ | $$ |$$ | $$ | $$\ $$ |$$ | $$ |$$ ____|$$ |$$ |
7+
$$ | \_/ $$ |\$$$$$$ | \$$$$ |$$ |\$$$$$$ |$$ | $$ | \$$$$$$ |$$ | $$ |\$$$$$$$\ $$ |$$ |
8+
\__| \__| \______/ \____/ \__| \______/ \__| \__| \______/ \__| \__| \_______|\__|\__|
9+
10+
Version 0.1.0.0

Playnite-NSV/Portable-config-Script.PS1 renamed to Files/Playnite-NSV/Portable-config-Script.PS1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ else{
1414
}
1515
else
1616
{
17-
#DESKTOPmode
17+
# DESKTOPmode
1818
}
1919
2020
}'

Files/Playnite-NSV/Welcome.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
$$\ $$\ $$\ $$\ $$$$$$\ $$\ $$\ $$\
2+
$$$\ $$$ | $$ | \__| $$ __$$\ $$ | $$ |$$ |
3+
$$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$\ $$$$$$$\ $$ / \__|$$$$$$$\ $$$$$$\ $$ |$$ |
4+
$$\$$\$$ $$ |$$ __$$\\_$$ _| $$ |$$ __$$\ $$ __$$\ $$$$$$\\$$$$$$\ $$ __$$\ $$ __$$\ $$ |$$ |
5+
$$ \$$$ $$ |$$ / $$ | $$ | $$ |$$ / $$ |$$ | $$ |\______|\____$$\ $$ | $$ |$$$$$$$$ |$$ |$$ |
6+
$$ |\$ /$$ |$$ | $$ | $$ |$$\ $$ |$$ | $$ |$$ | $$ | $$\ $$ |$$ | $$ |$$ ____|$$ |$$ |
7+
$$ | \_/ $$ |\$$$$$$ | \$$$$ |$$ |\$$$$$$ |$$ | $$ | \$$$$$$ |$$ | $$ |\$$$$$$$\ $$ |$$ |
8+
\__| \__| \______/ \____/ \__| \______/ \__| \__| \______/ \__| \__| \_______|\__|\__|
9+
10+
Version 1.0.0.0
11+
12+
Thank you for choosing to use Motion-Shell, please take a few moments to read the following:
13+
14+
Motion Shell is a script to replace the default Windows Shell with a different program and restores the default Windows Shell once closed, creating a separate gaming mode from desktop mode similar to the Steam Deck.
15+
16+
Motion Shell does not include Steam or Playnite, please download and install them from the respective official source before continuing with this installer.
17+
18+
Currently only Playnite is supported, with and without a splash video.
19+

Setup/Playnite-NSV - BAT.BAT

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
@ECHO OFF
2+
type .\txt\Welcome.txt
3+
ECHO.
4+
ECHO.
5+
ECHO Installing...
6+
ECHO.
7+
ECHO.
8+
9+
@ECHO OFF
10+
rem Extracting required files to a temp directory
11+
md %temp%\Motion-Shell
12+
copy .\Files\Playnite-NSV\Windows-Shell.exe %temp%\Motion-Shell
13+
copy .\Files\Playnite-NSV\Default-Config-Script.ps1 %temp%\Motion-Shell
14+
copy .\Files\Playnite-NSV\Portable-Config-Script.ps1 %temp%\Motion-Shell
15+
copy .\Files\Playnite-NSV\PLAYNITE.LOCATION %temp%\Motion-Shell
16+
copy .\Files\txt\Header.txt %temp%\Motion-Shell
17+
18+
@ECHO OFF
19+
rem Creating folders and copying required files from temp
20+
CLS
21+
CD C:\Users\%USERNAME%\
22+
md Motion-Shell
23+
CD C:\Users\%USERNAME%\Motion-Shell
24+
md Playnite-NSV
25+
CD C:\Users\%USERNAME%\Motion-Shell\Playnite-NSV
26+
copy %temp%\Motion-Shell\Windows-Shell.exe C:\Users\%USERNAME%\Motion-Shell\Playnite-NSV
27+
copy %temp%\Motion-Shell\Default-config-Script.ps1 C:\Users\%USERNAME%\Motion-Shell\Playnite-NSV
28+
copy %temp%\Motion-Shell\Portable-config-Script.ps1 C:\Users\%USERNAME%\Motion-Shell\Playnite-NSV
29+
copy %temp%\Motion-Shell\PLAYNITE.LOCATION C:\Users\%USERNAME%\Motion-Shell\Playnite-NSV
30+
goto locations
31+
32+
:locations
33+
rem setting user Playnite installation folder
34+
CLS
35+
type %temp%\Motion-Shell\Header.txt
36+
ECHO.
37+
ECHO.
38+
ECHO Set your playnite installation location
39+
ECHO.
40+
ECHO By default this is C:\Users\%USERNAME%\AppData\Local\Playnite but may be different if you selected to change location or used the portable install option during setup.
41+
ECHO Please do not use quotation marks ("")
42+
Set /p Playniteloc=Enter your playnite installation location:
43+
ECHO|set /p=%result%>Playnite.LOCATION
44+
ECHO Playnite install folder set to: %result%
45+
ECHO.
46+
ECHO.
47+
timeout /t 10
48+
49+
:misc
50+
rem adding registry key to set Playnite as shell and running a Powershell script to set Playnite startup and close script.
51+
CLS
52+
type %temp%\Motion-Shell\Header.txt
53+
ECHO.
54+
ECHO.
55+
ECHO Installing...
56+
ECHO.
57+
ECHO.
58+
59+
set /p PLAYNITE=<PLAYNITE.LOCATION
60+
61+
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "%PLAYNITE%\Playnite.FullscreenApp.exe" /f
62+
63+
IF "%Installtype%="Default" goto Defaultinst
64+
IF "%Installtype%="Portable" goto Portableinst
65+
66+
:Defaultinst
67+
powershell.exe -noprofile -executionpolicy bypass -file %temp%\Motion-Shell\Default-config-Script.ps1
68+
CLS
69+
type %temp%\Motion-Shell\Header.txt
70+
ECHO.
71+
ECHO.
72+
ECHO Motion Shell has set Playnite as the Shell, this will launch Playnite when you next sign in, when you close Playnite the default Windows Explorer will be opened.
73+
ECHO.
74+
ECHO.
75+
goto complete
76+
77+
:Portableinst
78+
powershell.exe -noprofile -executionpolicy bypass -file %temp%\Motion-Shell\Portable-config-Script.ps1
79+
CLS
80+
type %temp%\Motion-Shell\Header.txt
81+
ECHO.
82+
ECHO.
83+
ECHO Motion Shell has set Playnite as the Shell, this will launch Playnite when you next sign in, when you close Playnite the default Windows Explorer will be opened.
84+
ECHO.
85+
ECHO If you move your Playnite installation, please re-run this script else your system will login to a blank screen, if this does happen please use CTRL + ALT + Delete to open Task Manager.
86+
ECHO Once in Task Manager click Run New Task and type Explorer into the box and hit enter.
87+
ECHO.
88+
ECHO.
89+
goto complete
90+
91+
:complete
92+
rem removing temp folder and offering for user to logout.
93+
RMDIR /S /Q %temp%\Motion-Shell
94+
ECHO Would you like to logout now to use the new shell?
95+
set /p logoutop=Y/N:
96+
IF "%logoutop%"=="Y" goto logout
97+
IF "%logoutop%"=="N" goto end
98+
IF "%logoutop%"=="y" goto logout
99+
IF "%logoutop%"=="n" goto end
100+
101+
:logout
102+
shutdown -l -f
103+
104+
:end
105+
EXIT

Setup/Playnite-NSV.BAT

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ REM BFCPEDISABLEQE=0
1919
REM BFCPEWINDOWHEIGHT=30
2020
REM BFCPEWINDOWWIDTH=120
2121
REM BFCPEWTITLE=Motion-Shell Setup
22-
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Header.txt
23-
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Playnite\config-Script.PS1
24-
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Playnite\FFPLAY.LOCATION
25-
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Playnite\Motion-Shell.exe
26-
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Playnite\PLAYNITE.LOCATION
27-
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Playnite\SCREENSIZE.PIXELS
28-
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Playnite\VIDEO.LOCATION
29-
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Playnite\Windows-Shell.exe
3022
REM BFCPEOPTIONEND
3123
@ECHO OFF
3224
type %MYFILES%\Header.txt

0 commit comments

Comments
 (0)