Steam Deck Setup

Steam Deck Setup
  • Views Views: 2,232
  • Last updated Last updated:
  • Steam Deck Setup​

    Linux Install (Lutris)​

    This will be a general guide on installing the SWGR client on Linux - the steps are exactly the same for setting up the Steam Deck. This guide will make the assumption that you know how to install the required content, normally I use Flatpaks to install the required software.

    Software you will need
    • ProtonUp QT (or ProtonPlus)
    • Lutris
    First install the latest Proton-GE (10.28 at the time of this writing)
    Browse to https://lutris.net/games/star-wars-galaxies-an-empire-divided/ install the SWG Restoration client
    then once its installed and patched, change the runner to Proton X.XX (whatever version is the latest)

    Linux Install (Steam)​

    Software you will need
    • Steam
    • protontricks (for installing Directx9 into the SWGR Proton directory)
    • Proton-GE (follow the installation instructions on the README)
    Steps To Install
    1. Download the SWG Restoration (SWGR) Installer
    2. Add the SWGR Installer to Steam's Non-Steam Games (Games > Add a Non-Steam Game to My Game Library)
    3. In the game's Steam properties (it will be named SWG Restoration Install.exe)
      1. Set "Start In" to be the directory you'd like the game files to be located (Example /home/username/.local/share/swgr)
      2. Set the game's compatibility tool to Proton-GE
    4. Launch the installer from Steam and complete the installation (uncheck start SWGR at the end of the installation process)
    5. Find where within steam the SWGR launcher was installed. Run the following in the terminal
      Code:
      find ~/.local/share/Steam/ -name 'SWG Restoration.exe'

      It should be something like
      Code:
      /home/username/.local/share/Steam/steamapps/compatdata/123456789/pfx/drive_c/Program Files/SWG Restoration/SWG Restoration.exe
    6. Note down the App ID (it's the folder name with only numbers. In the example above it's 123456789)
    7. In the game's Steam properties
      1. Update the target to be the full path of SWG Restoration.exe
      2. Update the game name to SWG Restoration
    8. Install Directx9 and configure SWGR's Proton settings using the App ID in the earlier step. Run the following in the terminal, replacing APP_ID_HERE:

      Code:
      protontricks <APP_ID_HERE> d3dx9_39 dxvk win10 windowmanagerdecorated=n windowmanagermanaged=y hidewineexports=enable
      Using the App Id in the example:
      Code:
      protontricks 123456789 d3dx9_39 dxvk win10 windowmanagerdecorated=n windowmanagermanaged=y hidewineexports=enable

    You've now installed and can run the SWG Restoration Launcher from Steam.

    **Steam Deck - Black Screen with Audio Fix**​

    Upgrade Proton-GE to the latest version with ProtonUp, and make sure you have ProtonTricks installed.

    Follow the instructions to install the game via lutris, but do not add it to steam through Lutris, you'll need to add the game to steam as a non-steam game instead of a shortcut to lutris.

    Head over to steam and click on the + sign in the bottom left of the screen. Select Add a non-steam game, and browse to the SWG Restoration install from Lutris at "/home/deck/Games/Star Wars Galaxes - An Empire Divide" or whatever name you chose for the game folder. Select SWG Restoration.exe

    Select properties on the new steam game and change the compatibility mode **to the same Proton version as Lutris**. Launch the game once so it will appear in Proton Tricks, but close it right after.

    Launch Proton Tricks and find the non-steam game in the list of games and either double-click it. *Proton Tricks will take some time to open again, it will not hang!*

    The checkbox *select the default wineprefix* should be selected, click ok. Select *Change settings* and click Ok. Check the boxes for **hidewineexports=enable**, **win10**, **windowmanagerdecorated=n**, **windowmanagermanaged=y** and click okay. *Again, Proton Tricks will take some time.* Some scary looking pop-ups will appear after a long while, they can be ignored.

    Finally you should be able to see all the options again, select *Install a Windows DLL or component* and click Ok. Check the boxes for **d3dx9_39** and **dxvk** and then click Ok. Once again some scary looking pop-ups will appear after a long while, though they should just be telling you to check the documentation.

    If everything worked as planned, this non-steam game, named "SWG Restoration.exe" by default, should work in desktop and gaming mode!

    I found that renaming the game in gaming mode to SWG Legends would pull up the best community control schemes, (defib's steam deck controls is the set i use, with slight alterations).
    [/LIST]