Counter-Strike:Source Server の続き
無理やり -binary ./srcds_i686 オプションをつけて起動してみたら Segmentation fault で落ちた。emulation 環境だし大人しく i486 で我慢しよう。
クライアントは勝手にアップデートしていくので、たまにサーバ側もアップデートしないと、接続できなくなるのでアップデートしよう。
% ./steam -command update -game "Counter-Strike Source" -dir /var/tmp/cs-source/ Checking bootstrapper version ... Getting version 18 of Steam HLDS Update Tool Downloading. . . . . . . . . . . . Steam Linux Client updated, please retry the command
む。steam 自身がアップデートしたようなのでもう一回
% ./steam -command update -game "Counter-Strike Source" -dir /var/tmp/cs-source/ Checking bootstrapper version ... Updating Installation Updating 'Counter-Strike Source Shared Content' from version 46 to version 47 Downloading: /var/tmp/cs-source/\cstrike\bin\server.dll Downloading: /var/tmp/cs-source/\cstrike\bin\server_i486.so <snip>
アップデートされたようだ。
% ./srcds_run -game cstrike -secure +map de_dust +maxplayers 32 -autoupdate
こうやって -autoupdate オプションをつけると起動時にアップデートをチェックしてくれるみたい。でも同じディレクトリに steam, test1.so, test2.so, test3.so がないと無理っぽい。あと挙動が少し怪しい。