If I've figured this correctly, the only mods that have an appid are the ones that have their own dedicated folder (ie: Counter-Strike) with their own hl.exe /steamapps/[EMAIL PROTECTED]/Counter-Strike /steamapps/[EMAIL PROTECTED]/Half-Life /steamapps/[EMAIL PROTECTED]/Day of Defeat etc. They have the mod folders "cstrike", "valve" and "dod" inside them too, so you end up using -game anyway don't you? o.O
- Bruce "Bahamut" Andrews
Brian A. Stumm wrote:
yes and creating a desktop shortcut for svencoop uses:
steam.exe -applaunch 70 -game svencoop
Thus why I first checked if this is a known mod (ie cstrike) and if so use the proper appid else use the -game option.
not all mods have an appid, least not at this time.
On Mon, 25 Oct 2004, 47 wrote:
i thought people knew about it, but you can right click the menu item and create a desktop icon, just look at the path for the game id
On Mon, 25 Oct 2004 13:44:03 -0700 (PDT), Brian A. Stumm <[EMAIL PROTECTED]> wrote:
On Sun, 24 Oct 2004, Bruce "Bahamut" Andrews wrote:
steam.exe -applaunch 70 -game thespecialists
The only problem I saw with using the -game option is that it displays the default half life splash screen on game launch instead of the mod (ie cstrike) splashscreen. What I did in phpUA is check an array to see if the applaunch id is known and use it else use the -game deal.
// need to add source mods $appid_list = array( 10=>'cstrike', 20=>'tfc', 30=>'dod', 40=>'dmc', 50=>'gearbox', 60=>'ricochet', 70=>'valve', 80=>'czero' );
$appid = array_search( $info["mod_dir"], $appid_list ); if ( isset($appid) ) { $steam_launch_string = "steam: -applaunch " . $appid . " +connect " . $ip . ":" . $port; } else { $steam_launch_string = "steam: -applaunch 70 -game " . $info['mod_dir'] . " +connect " . $ip . ":" . $port;
}
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

