# Space Quest II VGA Deluxe Remake for SteamDeck I got the Linux build of the **Space Quest II - Deluxe VGA fan remake** working on the SteamDeck the other day and thought I would share what I had to do. - Download the newest Linux build (**SQ2_V2_0_Linux.rar** ) from https://infamousadventures.itch.io/space-quest-ii-vga-remake - Copy it over to your steam deck using something like `scp`. - These steps can be done via `ssh` or **Desktop mode**, among other ways, - Create a directory to store the game and *cd* into there. (e.g. `cd ~/Games/misc`) - Then unarchive the download with `unrar x SQ2_V2_0_Linux.rar` - Rename the resulting **Linux** directory to something like **SQ2_VGA**. (e.g. `mv Linux SQ2_VGA`) - Move into the new directory `cd SQ2_VGA`. Inside this directory is the script that can launch the game; However, we need to replace some files here before we can run the game. - We also want this script to be executable, so go ahead and run `chmod u+x SQ2_VGA` now. - Move into the **data** directory. `cd data` - We need to replace the files **ags64**, **ags32** and all the library files in **lib64** and **lib32**. - To do this, we need to download a newer version of the generic Linux release of **Adventure Game Studio (AGS)** from https://github.com/adventuregamestudio/ags/ . In my case, I used `wget https://github.com/adventuregamestudio/ags/releases/download/v3.6.0.56/ags_3.6.0.56_linux.tar.gz` - Unarchive the new AGS release. (e.g. `tar -xvzf ags_3.6.0.56_linux.tar.gz -C /tmp`) - Delete the tarball. (e.g. `rm ags_3.6.0.56_linux.tar.gz`) - Move the new files into the correct locations and set the correct permissions. ```sh cp /tmp/data/ags . chmod u+x ags* cp /tmp/data/lib32/lib* lib32/ cp /tmp/data/lib64/lib* lib64/ ``` - Then move back into the directory containing the **SQ2VGA_V2** startup script with `cd ..` - If you are already in **Desktop mode** on the Steam Deck, then you can run the game now; If you are not, then enter **Desktop mode**, open up a terminal, navigate to the directory that contains the script, and then run `./SQ2VGA_V2` - If all goes well, this should work. - You can also Launch Steam from **Desktop mode** and then quickly add this game to your Library as a **Non-Steam Game** so that you can run it from your Library in the normal Steam Deck interface. - https://retroresolve.com/guides/how-to-add-non-steam-games-on-steam-deck-with-pictures/ - Make sure the entry points to the **SQ2VGA_V2** startup script. - **Note**: Since this is a Linux game, you do NOT need to enable compatibility mode. - I have found that a **Mouse Only** based controller configuration works the best. > **Note**: There is also a Windows version that might be able to run fine on the SteamDeck, but I had some controller issues with it, and it is harder to update AGS for that release, so I decided to go this route instead. Feel free to explore the Windows version if you want; however, using the Linux version worked for me. > > I also did run into a single bug in the last 5 minutes of the game. I was no longer able to save. It was mildly annoying but wasn't a show-stopper since it was right at the end of the game. Enjoy! ![sq2-vga](https://gist.github.com/assets/129629/be4e87a6-8ad4-4c73-a36d-1b7c8a92201a)