7 Days to Die

7 Days to Die

View Stats:
seven May 17, 2023 @ 9:38am
Adding launch options to a steam shortcut
I have different versions of the game installed, along with various overhaul and other mods and I use launch options to specify the UserDataFolder. With separate UserDataFolders you can have multiple game setups and they don't conflict. The standard way of using launch options is to add them to the game's property page in the library. This only allows one configuration though.

You can create a shortcut to the game exe and add launch options to the target field which is what I've done for a long time. However with this method you don't get the steam overlay, and so no steam screenshots. I don't use the overlay for anything else, but I do like the screenshot feature.

You can add launch options to the normal steam shortcut, like

steam://rungameid/251570//-UserDataFolder=D:\7D2D\UserDataFolder\steam -logfile D:\7D2D\UserDataFolder\steam\output_log.txt -usenativeinput -nogs

and this works, but then you get a dialog asking do you really want to run the game with these parameters?

So, now what I've found is you can do this. Create a shortcut to the game exe in the steam folder, then change the shortcut target to something like this.

"C:\Program Files (x86)\Steam\steam.exe" -applaunch 251570 -UserDataFolder=D:\7D2D\UserDataFolder\steam -logfile D:\7D2D\UserDataFolder\steam\output_log.txt -usenativeinput -nogs

and it runs the game without the prompt.


This only works for the steam installed version, and mods that don't use the new Mod folder location won't work.

Anyway, not a question, just thought someone else might find it useful.
< >
Showing 1-1 of 1 comments
...👑 JOST AMMAN 👑... (Banned) May 17, 2023 @ 10:17am 
Noice! :HappyMask::gearthumbsup:
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: May 17, 2023 @ 9:38am
Posts: 1