Skip to content

Add Non Steam Game

podiki edited this page Mar 15, 2021 · 24 revisions

Adding a Non-Steam Game to Steam using stl is very easy. This can be done either completely via Command Line or via Gui.

The Gui can either be started via commandline using the addnonsteamgame (ansg) parameter without any further arguments or with the additional -ep=|--exepath= parameter plus a gui parameter or from the main Settings Menu under Extra Buttons Menu.

For Command Line only mode the following options followed by the addnonsteamgame (ansg) parameter are accepted:

  • -an=|--appname= (App Name - optional)
  • -ep=|--exepath= (Full gamepath required!)
  • -sd=|--startdir= (Start Dir - optional)
  • -ip=|--iconpath= (Icon Path - optional)
  • -lo=|--launchoptions (Game Launch Options - optional)
  • -hd=|--hide= (Hide Game - optional, default disabled)
  • -adc=|--allowdesktopconf= (Allow Desktop Conf - optional,?, default disabled)
  • -ao=|--allowoverlay= (Allow Overlay - optional, default disabled)
  • -vr=|--openvr= (OpenVR - optional, default disabled)
  • -t=|--tags= (Tags - comma-separated, default empty)

A working example for a bare minimum command line is: stl ansg -ep=/media/B4-1/GOG/Pirates\!/start.sh (the game will be added with Title start.sh to the Games Library as no -an was provided, as -sd the game directory will be used automatically)

*NOTICE: Steam needs to be restarted to make a newly added Game available. When Tags are selected for the new game the command steam steam://resetcollections must be run and confirmed afterwards in the Steam Client to active them. (or alternatively with 'stl src' or directly within the stl Tray Icon menu

If the Steam Category 'Non-Steam' exists (at least one regular game needs to have this category else it can't be found currently), the checkbox for the corresponding tag is auto-enabled.

Clone this wiki locally