Skip to content

Instantly share code, notes, and snippets.

@spkane
Created February 14, 2024 15:42
Show Gist options
  • Save spkane/10c654105248e2dbbdfc0dab1975c0fa to your computer and use it in GitHub Desktop.
Save spkane/10c654105248e2dbbdfc0dab1975c0fa to your computer and use it in GitHub Desktop.
Space Quest II - Deluxe VGA fan remake running natively on the Steam Deck

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.
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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment