Skip to content

Commit 62811f3

Browse files
1.0.0.0 Beta2
1 parent 1289676 commit 62811f3

File tree

8 files changed

+99
-52
lines changed

8 files changed

+99
-52
lines changed

Motion-Shell Setup.exe

5.65 KB
Binary file not shown.

Playnite/Motion-Shell-Playnite.exe

1.44 KB
Binary file not shown.

Playnite/Setup.bat

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@ECHO OFF
22
REM BFCPEOPTIONSTART
33
REM Advanced BAT to EXE Converter www.BatToExeConverter.com
4-
REM BFCPEEXE=C:\Shared Folder\GitHub\Motion-Shell\Playnite\Playnite-Setup.exe
4+
REM BFCPEEXE=C:\Shared Folder\GitHub\Motion-Shell\Playnite\Motion-Shell-Playnite.exe
55
REM BFCPEICON=C:\Program Files (x86)\Advanced BAT to EXE Converter PRO v4.61\ab2econv461pro\icons\icon12.ico
66
REM BFCPEICONINDEX=-1
77
REM BFCPEEMBEDDISPLAY=0
@@ -10,8 +10,8 @@ REM BFCPEADMINEXE=0
1010
REM BFCPEINVISEXE=0
1111
REM BFCPEVERINCLUDE=1
1212
REM BFCPEVERVERSION=1.0.0.0
13-
REM BFCPEVERPRODUCT=Motion-Shell Setup - Playnite
14-
REM BFCPEVERDESC=Motion-Shell Setup - Playnite
13+
REM BFCPEVERPRODUCT=Motion-Shell Setup
14+
REM BFCPEVERDESC=Motion-Shell Setup
1515
REM BFCPEVERCOMPANY=Motion Development
1616
REM BFCPEVERCOPYRIGHT=
1717
REM BFCPEWINDOWCENTER=1
@@ -26,9 +26,11 @@ REM BFCPEEMBED=C:\Shared Folder\GitHub\playnite-shell\Playnite\SCREENSIZE.PIXELS
2626
REM BFCPEEMBED=C:\Shared Folder\GitHub\playnite-shell\Playnite\Splash-Shell.exe
2727
REM BFCPEEMBED=C:\Shared Folder\GitHub\playnite-shell\Playnite\VIDEO.LOCATION
2828
REM BFCPEEMBED=C:\Shared Folder\GitHub\playnite-shell\Playnite\Windows-Shell.exe
29+
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Header.txt
2930
REM BFCPEOPTIONEND
3031
@ECHO OFF
31-
ECHO Motion-Shell - Playnite
32+
type %MYFILES%\Header.txt
33+
ECHO.
3234
ECHO.
3335
ECHO Installing...
3436
ECHO.
@@ -40,19 +42,32 @@ md Motion-Shell
4042
CD C:\Motion-Shell
4143
md Playnite
4244
CD C:\Motion-Shell\Playnite
43-
copy %MYFILES%\*.* C:\Motion-Shell\Playnite
45+
copy %MYFILES%\Splash-Shell.exe C:\Motion-Shell\Playnite
46+
copy %MYFILES%\Windows-Shell.exe C:\Motion-Shell\Playnite
47+
copy %MYFILES%\config-Script.ps1 C:\Motion-Shell\Playnite
48+
copy %MYFILES%\PLAYNITE.LOCATION C:\Motion-Shell\Playnite
49+
copy %MYFILES%\FFPLAY.LOCATION C:\Motion-Shell\Playnite
50+
copy %MYFILES%\SCREENSIZE.PIXELS C:\Motion-Shell\Playnite
51+
copy %MYFILES%\VIDEO.LOCATION C:\Motion-Shell\Playnite
4452
goto locations
4553

4654
:locations
55+
CLS
56+
type %MYFILES%\Header.txt
57+
ECHO.
58+
ECHO.
4759
ECHO Please select your Playnite installation folder
4860
rem BrowseFolder
4961
ECHO|set /p=%result%>Playnite.LOCATION
5062
ECHO Playnite install folder set to: %result%
5163
ECHO.
5264
ECHO.
5365

54-
55-
ECHO FFPLAY Location
66+
CLS
67+
type %MYFILES%\Header.txt
68+
ECHO.
69+
ECHO.
70+
ECHO Please select your FFPLAY.exe Location
5671
ECHO.
5772
ECHO NOTE: FFPLAY.EXE can be downloaded from: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip
5873
rem BrowseFiles
@@ -62,7 +77,10 @@ ECHO FFPLAY.exe set to: %result%
6277
ECHO.
6378
ECHO.
6479

65-
80+
CLS
81+
type %MYFILES%\Header.txt
82+
ECHO.
83+
ECHO.
6684
ECHO Screen size:
6785
ECHO.
6886
ECHO width (in pixels)
@@ -74,10 +92,14 @@ ECHO.
7492
set /p SIZE=-x %WIDTH% -y %HEIGHT%
7593
ECHO|set /p=%SIZE%>SCREENSIZE.PIXELS
7694
ECHO.
77-
ECHO size set to: %HEIGHT% X %WIDTH%
95+
ECHO size set to: %WIDTH% X %HEIGHT%
7896
ECHO.
7997
ECHO.
8098

99+
CLS
100+
type %MYFILES%\Header.txt
101+
ECHO.
102+
ECHO.
81103
ECHO Splash Video
82104
ECHO.
83105
set /p VIDEO=Video location:
@@ -92,14 +114,13 @@ goto misc
92114

93115
:misc
94116
CLS
95-
ECHO Motion-Shell - Playnite
117+
type %MYFILES%\Header.txt
118+
ECHO.
96119
ECHO.
97120
ECHO Installing...
98121
ECHO.
99122
ECHO.
100123

101-
ECHO Installing...
102-
103124
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "C:\Motion-Shell\Playnite\Splash-Shell.exe" /f
104125

105126
powershell.exe -noprofile -executionpolicy bypass -file .\config-Script.ps1
@@ -108,7 +129,9 @@ goto complete
108129

109130
:complete
110131
CLS
111-
132+
type %MYFILES%\Header.txt
133+
ECHO.
134+
ECHO.
112135
ECHO Motion-Shell is now installed and set as the Shell to launch Playnite with your splash video and when closed run will launch the Windows Shell
113136
ECHO.
114137
ECHO For help and more information please visit: https://sites.google.com/view/motion-shell/

SETUP.BAT

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,21 @@ REM BFCPEWINDOWWIDTH=120
2121
REM BFCPEWTITLE=Motion-Shell Setup
2222
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Playnite\Motion-Shell-Playnite.exe
2323
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Steam\Motion-Shell-Steam.exe
24+
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Header.txt
25+
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Welcome.txt
2426
REM BFCPEOPTIONEND
2527
@ECHO OFF
26-
27-
Set /P Header=>Header.txt
28-
2928
:Welcome
30-
ECHO Welcome to Motion-Shell Setup
31-
ECHO.
32-
ECHO Please take a moment to read the following before continuing:
33-
ECHO.
34-
ECHO Motion-Shell will replace the Windows Shell of the account running this script (please ensure this account has admin rights)
35-
ECHO.
36-
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
37-
ECHO.
38-
ECHO.
39-
40-
CLS
41-
ECHO %Header%
42-
43-
ECHO Please select which program you would like to set as the Shell:
29+
type %MYFILES%\Welcome.txt
4430
ECHO.
4531
ECHO 1. Steam
46-
ECHO 2. Playnite Splash (Has support for a custom launch video)
32+
ECHO 2. Playnite Splash (Has support for a custom launch video)
4733
ECHO 3. Playnite (Without splash coming soon)
48-
ECHO 4. Custom (COMING SOON!)
34+
ECHO 4. Custom (COMING SOON!)
4935
ECHO 5. Exit
5036
ECHO.
5137
ECHO.
52-
set /p op=Please select which locations you would like to set:
38+
set /p op=Please select:
5339
if "%op%"=="1" goto Steam
5440
if "%op%"=="2" goto Playnite-Splash
5541
if "%op%"=="3" goto Playnite
@@ -58,8 +44,7 @@ if "%op%"=="5" goto end
5844

5945
:Steam
6046
CLS
61-
ECHO Motion-Shell - Steam
62-
ECHO Sets the Shell to Steam and opens the Windows-Shell once closed
47+
type %MYFILES\Header.txt
6348
ECHO.
6449
ECHO.
6550
ECHO Installing...
@@ -68,8 +53,7 @@ GOTO end
6853

6954
:Playnite-Splash
7055
CLS
71-
ECHO Motion-Shell - Playnite-Splash
72-
ECHO Sets the Shell to Playnite with a launch video of your choice then opens the Windows-Shell once closed
56+
type %MYFILES%\Header.txt
7357
ECHO.
7458
ECHO.
7559
ECHO Installing...
@@ -78,12 +62,14 @@ GOTO end
7862

7963
:Playnite
8064
CLS
65+
type %MYFILES%\Header.txt
8166
ECHO This is coming soon!
8267
ECHO.
8368
GOTO Welcome
8469

8570
:custom
8671
CLS
72+
type %MYFILES%\Header.txt
8773
ECHO This is coming soon!
8874
ECHO.
8975
GOTO Welcome

Steam/Motion-Shell-Steam.exe

2.63 KB
Binary file not shown.

Steam/Setup.bat

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@ECHO OFF
22
REM BFCPEOPTIONSTART
33
REM Advanced BAT to EXE Converter www.BatToExeConverter.com
4-
REM BFCPEEXE=C:\Shared Folder\GitHub\Motion-Shell\Steam\Steam-Setup.exe
4+
REM BFCPEEXE=C:\Shared Folder\GitHub\Motion-Shell\Steam\Motion-Shell-Steam.exe
55
REM BFCPEICON=C:\Program Files (x86)\Advanced BAT to EXE Converter PRO v4.61\ab2econv461pro\icons\icon12.ico
66
REM BFCPEICONINDEX=-1
77
REM BFCPEEMBEDDISPLAY=0
@@ -10,8 +10,8 @@ REM BFCPEADMINEXE=0
1010
REM BFCPEINVISEXE=0
1111
REM BFCPEVERINCLUDE=1
1212
REM BFCPEVERVERSION=1.0.0.0
13-
REM BFCPEVERPRODUCT=Motion-Shell Setup - Steam
14-
REM BFCPEVERDESC=Motion-Shell Setup - Steam
13+
REM BFCPEVERPRODUCT=Motion-Shell Setup
14+
REM BFCPEVERDESC=Motion-Shell Setup
1515
REM BFCPEVERCOMPANY=Motion Development
1616
REM BFCPEVERCOPYRIGHT=
1717
REM BFCPEWINDOWCENTER=1
@@ -22,29 +22,40 @@ REM BFCPEWTITLE=Motion-Shell Setup
2222
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\CLOSED.LOCATION
2323
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\ICON.ico
2424
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\Return To Gaming Mode.exe
25+
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\Return To Gaming Mode.lnk
2526
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\SDL.exe
2627
REM BFCPEEMBED=C:\Shared Folder\GitHub\SDL\SDL\STEAM.LOCATION
28+
REM BFCPEEMBED=C:\Shared Folder\GitHub\Motion-Shell\Header.txt
2729
REM BFCPEOPTIONEND
2830
@ECHO OFF
29-
ECHO Motion-Shell - Steam
31+
type %MYFILES%\Header.txt
3032
ECHO.
3133
ECHO Installing...
3234

33-
@ECHO OFF
3435
CD C:\
3536
md Motion-Shell
3637
CD C:\Motion-Shell
3738
md Steam
3839
CD C:\Motion-Shell\Steam
39-
copy %MYFILES%\*.* C:\Motion-Shell\Steam
40-
40+
copy %MYFILES%\ICON.ico C:\Motion-Shell\Steam
41+
copy %MYFILES%\SDL.exe C:\Motion-Shell\Steam
42+
copy %MYFILES%\"Return To Gaming Mode".* C:\Motion-Shell\Steam
43+
copy %MYFILES%\STEAM.LOCATION C:\Motion-Shell\Steam
44+
copy %MYFILES%\CLOSED.LOCATION C:\Motion-Shell\Steam
4145

4246
CLS
47+
type %MYFILES%\Header.txt
48+
ECHO.
49+
ECHO.
4350
ECHO Please select your Steam.exe
4451
rem BrowseFiles
4552
ECHO|set /p=%result%>STEAM.LOCATION
4653

4754
CLS
55+
type %MYFILES%\Header.txt
56+
ECHO.
57+
ECHO.
58+
4859
ECHO 1. Launch Windows Shell (default)
4960
ECHO 2. Logout (recommened)
5061
ECHO 3. Launch custom program
@@ -73,12 +84,19 @@ goto misc
7384

7485
:misc
7586
CLS
87+
type %MYFILES%\Header.txt
88+
ECHO.
7689
ECHO Installing...
90+
7791
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "C:\Motion-Shell\Steam\SDL.exe" /f
92+
7893
goto complete
7994

8095
:complete
8196
CLS
97+
type %MYFILES%\Header.txt
98+
ECHO.
99+
ECHO.
82100
ECHO Motion-Shell is now installed and set as the Shell to launch Steam and when closed run %EXITaction%
83101
ECHO.
84102
ECHO For help and more information please visit: https://sites.google.com/view/motion-shell/

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 Beta 2
11+
12+
13+
Thank you for choosing to use Motion-Shell, please take a few moments to read the following:
14+
15+
Please ensure this script is running as the user logged in, if the account doesnt have admin privlages but it is requested the script will run on the account that has authenticated the rights, please enable admin rights for the initial install and turn them back off after if desired.
16+
17+
It is recommended to use a secondary account instead of your primary account.
18+
19+
Please select which version of Motion-Shell you would like to set up:

header.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
███╗ ███╗ ██████╗ ████████╗██╗ ██████╗ ███╗ ██╗ ███████╗██╗ ██╗███████╗██╗ ██╗
2-
████╗ ████║██╔═══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║ ██╔════╝██║ ██║██╔════╝██║ ██║
3-
██╔████╔██║██║ ██║ ██║ ██║██║ ██║██╔██╗ ██║█████╗███████╗███████║█████╗ ██║ ██║
4-
██║╚██╔╝██║██║ ██║ ██║ ██║██║ ██║██║╚██╗██║╚════╝╚════██║██╔══██║██╔══╝ ██║ ██║
5-
██║ ╚═╝ ██║╚██████╔╝ ██║ ██║╚██████╔╝██║ ╚████║ ███████║██║ ██║███████╗███████╗███████╗
6-
╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝
7-
8-
Version 1.0.0.0
1+
$$\ $$\ $$\ $$\ $$$$$$\ $$\ $$\ $$\
2+
$$$\ $$$ | $$ | \__| $$ __$$\ $$ | $$ |$$ |
3+
$$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$\ $$$$$$$\ $$ / \__|$$$$$$$\ $$$$$$\ $$ |$$ |
4+
$$\$$\$$ $$ |$$ __$$\\_$$ _| $$ |$$ __$$\ $$ __$$\ $$$$$$\\$$$$$$\ $$ __$$\ $$ __$$\ $$ |$$ |
5+
$$ \$$$ $$ |$$ / $$ | $$ | $$ |$$ / $$ |$$ | $$ |\______|\____$$\ $$ | $$ |$$$$$$$$ |$$ |$$ |
6+
$$ |\$ /$$ |$$ | $$ | $$ |$$\ $$ |$$ | $$ |$$ | $$ | $$\ $$ |$$ | $$ |$$ ____|$$ |$$ |
7+
$$ | \_/ $$ |\$$$$$$ | \$$$$ |$$ |\$$$$$$ |$$ | $$ | \$$$$$$ |$$ | $$ |\$$$$$$$\ $$ |$$ |
8+
\__| \__| \______/ \____/ \__| \______/ \__| \__| \______/ \__| \__| \_______|\__|\__|
99

10+
Version 1.0.0.0 Beta 2

0 commit comments

Comments
 (0)