-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Non-Steam Game via command line and gui #190
Comments
Regarding the non working Tags in 'shortcuts.vdf' I just found this: Edit: Gave it a very quick test, and yay it works! :) |
So, i confirm this feature not properly working, even with the reload of steamlibrary and all. Steam really don't want to show my non-steam games added with this tools, and don't care about tags.. |
Of course this can always break, when steam changes something, but at least for now I can't reproduce your problem. |
Started to implement as standalone feature to
add a Non-Steam Game via command line or gui.
Command line functionality is almost finished (offline) with the following options (from offline
README.md
) :Add Non-Steam Game
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 argumentsor 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)To actually see the added games, the Steam Client needs to be reopened, as the created/modified 'shortcuts.vdf' isn't reloaded on runtime!
NOTICE: Looks like it is not enough to add Tags to the shortcuts.vdf, as they do not show up.
The tags option is more or less useless for now, but in the hope to find the missing puzzle piece I'll keep it implemented
If this would work it would f.e. also be possible to add all Linux native games automatically into a 'Linux' or 'Non-Steam' Games into a 'Non-Steam Steam Category'
The text was updated successfully, but these errors were encountered: