Skip to content

Latest commit

 

History

History
141 lines (92 loc) · 5.99 KB

scripts.md

File metadata and controls

141 lines (92 loc) · 5.99 KB

Scripts



Install Steam Games from Windows Desktop to SteamDeck (CopyToDeck)

This Script will automatically scan your Desktop PC for Steam LIbraries and Detect all Installed Games Then show you which games are not installed on your Steam Deck and allow you to install them via your Home Network or Removable Media (MicroSDXC Card)

Prerequisites

There are 2 known methods for directly transferring games to your SteamDeck

Additional Prerequisites

  • Windows 10
  • PowerShell 5.1+ Installed in Windows 10 by Default

Installing the Script

  • Easy Method: Download Zip And Place the steamdeck-tips folder anywhere on your PC
  • Advanced Method (GIT): (Assumes you have git installed https://git-scm.com/download/win)
    1. Create an empty directory on your PC using PowerShell or CMD

      mkdir steamdeck-tips
      cd steamdeck-tips
      

      You should now be inside the steamdeck-tips directory

    2. Run the following git commands from the steamdeck-tips directory

      git init
      git remote add origin https://github.com/Matalus/steamdeck-tips.git
      git pull origin master
      

Running the Script


  • Easy Method: Double-Click the included Batch File
  • I've included a simple clickable batch file for those that may not be familiar with PowerShell
  1. Open the steamdeck-tips\scripts Directory from the location you downloaded it
  2. Double-Click the CopyToDeck.cmd file

/images/dbl-click-coptodeckcmd.jpg

  1. Click Yes if prompted by User Account Control

  • Advanced Method: PowerShell RunAs Administrator
  1. Open a PowerShell Prompt as Administrator and Run the following command

    .\scripts\CopyToDeck.ps1

Using the Script

  1. The Script will run and search your local hard drives for appmanifest*.acf files
  2. These files will be scanned and used to build an inventory of your installed games
  3. Additionally the Script will scan mapped drives and removable media to determine what games are installed on them.
  • appmanifest_*.acf are the files Steam uses to determine what Games are installed.
  • Each Steam Library on your PC will contain potentially multiple of these files in the steamapps directory
  • The default location of these is c:\program files (x86)\Steam\steamapps

/images/script-run-inventory.jpg

  1. If any games common directories are missing or the directory is empty, the Script will flag it and remove it from the selection.

/images/script-run-inventory.jpg

  1. Additionally the Script will attempt to scan Remote Media
  • This includes:
  • Mapped Drives mounted using SSHFS-Win as explained in the prereqs section
  • Removable Media such as MicroSDXC cards mounted locally

/images/script-run-remotescan.jpg

  1. You'll now see an additional PowerShell GUI window popup where you can select which games to install

/images/select-games.jpg

  1. Click the games you'd like to install

    NOTE: you can use Ctrl + Click and Shift + Click to select multiple choices Additionally: you can use the Filter field to find specific games

    /images/select-filter.jpg

    All Columns can be sorted by clicking them

    /images/select-sorted.jpg

  2. Once you've selected the Games you'd like to install on your SteamDeck, Click OK

  3. Select the Remote Steam Library you'd like to install these games on.

    /images/select-remotevol.jpg

  4. The Games will begin to copy to your Remote Steam Library

    This process utilizes Robocopy an included windows utility for copying files, Robocopy is capable of transferring large volumes of files very quickly, however actual transfer speed is dependent on factors such as your WLAN tx speed and the maximum write speed of the destination media

    /images/copy-games.jpg

  5. Once all games you've selected have been copied to their remote destination a sound will play to let you know the transfer is complete.

  6. You'll now be presented with a summary of games you've installed during your session, as well as you'll be presented with an option to either quit or copy additional games. answer y to copy more games, any other response will quit

    /images/transfer-complete.jpg

  7. Now if you restart your deck STEAM > Power > Restart, And go to your Library

    /images/deck-games-installed.jpg



List All Steam Games (GetSteamGames)

WIP

  1. Open a PowerShell Prompt as Administrator and Run the following command

    .\scripts\GetSteamGames.ps1