diff --git a/pseudo.txt b/pseudo.txt index 10ab99a..fcd26fb 100644 --- a/pseudo.txt +++ b/pseudo.txt @@ -1,32 +1,31 @@ - Prompt Accept License (MPL 2.0) - scripts/ps/license.ps1 - Checks --- Internet connection - scripts/ps/netcheck.ps1 ------ Ping GW ------ Ping DNS obtained from DHCP ------ Name resolution test (resolve domains we need to contact, list todo) +----- Ping GW - scripts/ps/netcheck.ps1 +----- Ping DNS obtained from DHCP - scripts/ps/netcheck.ps1 +----- Name resolution test (resolve domains we need to contact, list todo) - scripts/ps/netcheck.ps1 --- RAM - scripts/ps/syscheck.ps1 ------ 8GB minimum +----- 8GB minimum - scripts/ps/syscheck.ps1 --- Disks - scripts/unattend/autounattend.xml --- C:\ minimum of 80GB - scripts/unattend/autounattend.xml --- D:\ consumes remaining disk - scripts/unattend/autounattend.xml --- Correct OS version - scripts/ps/syscheck.ps1 --- Valid product key check - scripts/ps/syscheck.ps1 -- User prompts ---- Specify monitor resolution ---- Specify control type, number of buttons, joysticks ---- Desired D:\ partition size +- User prompts - TODO +--- Specify monitor resolution - TODO +--- Specify control type, number of buttons, joysticks - TODO - Begin install process --- Create restore point for C:\ - scripts/ps/makerespt.ps1 --- Resize C:\ to 80GB - scripts/unattend/autounattend.xml --- Resize D:\ to consume desired disk space - scripts/unattend/autounattend.xml - OS Configuration --- Set user to auto-login - scripts/unattend/autounattend.xml ---- Disable auto-sleep and turning off screen +--- Disable auto-sleep and turning off screen - TODO --- Disable Windows Defender - scripts/unattend/autounattend.xml --- Disable OneDrive - scripts/unattend/autounattend.xml ---- Create folders -------- C:\sctools\ -------- D:\sccontent\* +--- Create folders - scripts/ps/makedirs.ps1 +------- C:\sctools\ - scripts/ps/makedirs.ps1 +------- D:\sccontent\* - scripts/ps/makedirs.ps1 --- Download supporting applications - scripts/ps/download.ps1 ----- 7-Zip binary - scripts/ps/download.ps1 ----- wget - scripts/ps/download.ps1 @@ -40,9 +39,9 @@ ----- FastIO2KB - scripts/ps/download.ps1 ----- WinIPAC Tool - scripts/ps/download.ps1 ----- Data Management Tool (maybe included with Launchbox/Attractmode?) - scripts/ps/download.ps1 ---- Download drivers (find way to autoquery, download, and autoinstall) ------ GPU ------ Chipset & others +--- Download drivers (find way to autoquery, download, and autoinstall) - scripts/ps/gpudriver.ps1 +----- GPU - scripts/ps/gpudriver.ps1 +----- Chipset & others - TODO --- Sweetcade uninstall script - scripts/ps/uninstall.ps1 ----- Remove Launcher, CRU, etc. from startup folder - scripts/ps/uninstall.ps1 ----- Delete C:\sctools - scripts/ps/uninstall.ps1 diff --git a/scripts/ps/gpudriver.ps1 b/scripts/ps/gpudriver.ps1 new file mode 100644 index 0000000..00f828e --- /dev/null +++ b/scripts/ps/gpudriver.ps1 @@ -0,0 +1,14 @@ +Write-Host "---Detecting GPU Type---" +#PSEUDO - Detect GPU vendor without drivers TODO +# if nvidia +# then +# C:\sctools\git\bin\git.exe clone https://github.com/lord-carlos/nvidia-update +# nvidia.ps1 -clean -folder C:\sctools\nvidia + +# if amd +# then +# TODO - Find or make script similar to nvidia-update + +# if intel_arc +# then +# TODO - Find or make script similar to nvidia-update diff --git a/scripts/ps/install.ps1 b/scripts/ps/install.ps1 index a573bce..1d01176 100644 --- a/scripts/ps/install.ps1 +++ b/scripts/ps/install.ps1 @@ -1 +1,15 @@ -#Todo \ No newline at end of file +Write-Host "---Installing Programs---" +Write-Host "---Installing git---" +C:\sctools\7zip\7zr.exe x -o "C:\sctools\git\" "C:\sctools\git\PortableGit.7z.exe" +Write-Host "---Installing Custom Resolution Utility---" +C:\sctools\7zip\7zr.exe x -o "C:\sctools\cru\" "C:\sctools\cru\customresolutionutility.zip" +Write-Host "---Installing AntiMicroX---" +C:\sctools\7zip\7zr.exe x -o "C:\sctools\antimicrox\" "C:\sctools\antimicrox\antimicrox-portable.zip" +Write-Host "---Installing Attract Mode---" +C:\sctools\7zip\7zr.exe x -o "C:\sctools\attractmode\" "C:\sctools\attractmode\attract.zip" +Write-Host "---Installing FastIO2KB---" +C:\sctools\7zip\7zr.exe x -o "C:\sctools\fastio2kb\" "C:\sctools\fastio2kb\fastio2kb.zip" +Write-Host "---Installing AutoHotKeyV2---" +C:\sctools\ahk\ahk-v2.exe /S +Write-Host "---Installing WinIPAC Version 2---" +C:\sctools\ipac\winipacv2setup.exe /S /W