I recently find myself needing to start Steam in offline mode rather frequently (my wife is hogging my account to play Plants Vs. Zombies, and most of what I play doesn’t really need to be online).
I was wondering if there is some way to launch Steam in offline mode without first logging in (and selecting it from the menu), since that usually beats the purpose.
While I know that killing my network connection before launching Steam is an option, I am looking for a more “civilized” way, such as a command line switch or something of the sort.
I can confirm that creating/editing steam.cfg (in the same directory as the Steam executable) with the following lines works, as long as you’ve set Steam to remember your password (thanks DarkAnime):
If you want to manage this with a command-line parameter, you could create a script to do something like the following (Windows .bat file):
IF "%1"=="offline" ( IF EXIST steam.cfgx ( rename steam.cfgx steam.cfg ) ) ELSE ( IF EXIST steam.cfg ( rename steam.cfg steam.cfgx ) ) start steam.exe
It used to be that you could hit “Cancel” while Steam was starting up and it would allow you to start offline mode from there, but that no longer works.