The Steam Deck isn’t just for modern games. It’s a surprisingly capable retro gaming machine, especially for DOS classics. This guide offers a straightforward method for playing your favorite DOS games on the Steam Deck using DOSBox, ensuring a seamless experience from setup to gameplay.
Setting Up DOSBox and Your Games
1. Access Desktop Mode
Switching to Desktop Mode is simple: Press the Steam button, navigate to Power, and select “Switch to Desktop.” You’ll control the cursor with the right trackpad, use R2 and L2 for left and right clicks, and Steam+X to activate the on-screen keyboard.
2. Install DOSBox
DOSBox emulates the DOS environment, enabling classic games to run on modern hardware. From the desktop taskbar, open the Discover store (shopping bag icon), select Home in the left sidebar, search for “DOSBox,” and click Install.
3. Organize Your DOS Games
For a streamlined setup, consolidate your DOS games into a single folder. Open the file manager (Dolphin – the folder icon on the taskbar) and create a “DOS” subfolder within your Documents folder. Each game should have its own subfolder within “DOS,” with all necessary files extracted. Excellent resources for DOS games include the Internet Archive’s MS-DOS Games collection and MyAbandonware.
Creating Launch Files
4. Create a Launch File
Within your “DOS” folder, right-click, select “Create New > Text File…,” and name it after the game with a “.sh” extension (e.g., “dukenukem.sh”).
5. Copy the Game’s EXE Location
Navigate to the game’s folder, right-click the .exe file, and select “Copy Location.”
6. Edit the Launch File
Right-click the .sh file, choose “Run with Kate,” and enter the following: flatpak run com.dosbox.DOSBOX ""
Paste the copied .exe location between the quotes. For example: flatpak run com.dosbox.DOSBOX "/home/deck/Documents/DOS/darkforces/dark.exe"
Save and close the file.
Adding to Steam and Playing
7. Add to Steam Library
In Desktop mode, open Steam, go to Games > Add a Non-Steam Game to My Library > Browse, select the .sh file, and click “Add Selected Programs.” Right-click the game in your library, select Properties, and rename it.
8. Optional: Add Artwork
Enhance your library with custom artwork using tools like Decky Loader with the SteamGridDB plugin (in Game Mode) or SDGBoop (in Desktop Mode).
9. Play!
Switch back to Game Mode. Your DOS game will appear under “Non-Steam.” Use the Steam Deck’s controller mapping features to customize the controls.
10. Add More Games
Repeat steps 4-7 for each DOS game you want to add.
Enjoy your retro gaming experience on the Steam Deck!