Difference between revisions of "Steam (日本語)"
m |
m (→音が鳴らない) |
||
Line 76: | Line 76: | ||
=====トラブルシューティング===== | =====トラブルシューティング===== | ||
======音が鳴らない====== | ======音が鳴らない====== | ||
− | |||
システムに PulseAudio がインストールされてないと発生します。 | システムに PulseAudio がインストールされてないと発生します。 | ||
Alsa を使いたい場合は、Steam やゲームを起動するときに {{ic|SDL_AUDIODRIVER=alsa}} を加えて下さい。 | Alsa を使いたい場合は、Steam やゲームを起動するときに {{ic|SDL_AUDIODRIVER=alsa}} を加えて下さい。 |
Revision as of 04:46, 7 December 2012
Template:Article summary start Template:Article summary text
Template:Article summary heading Template:Article summary wiki Template:Article summary end
project Wiki pageや Application Database のページにより多くの情報があります。
Contents
- 1 ネイティブクライアント
- 2 Wine で Steam を動かす
ネイティブクライアント
AUR から steam をインストールできます。 (ライセンスの関係で、現在では community/multilib から取り除かれています。mailing list thread を見て下さい。)
プライベートベータ版ではまだできませんが、steam の URL steam://open/games
からも起動できます。ウェブブラウザか、ターミナルから url を起動できます。
フィックス/バグ/エラーメッセージ
Steam はベータ版であり Arch Linux はサポートされていません。正確に動かすにはユーザー側でいくつかの修正が必要になります。いくつかのゲームでは依存が見つからない可能性もあります。ゲームが起動に失敗した(ほとんどの場合エラーメッセージを出力しません)時は、ゲームに必要なライブラリ全てがインストールされているか確認してください(下のリストは未完成です)。
GUI problems with KDE
If you are using KDE and you have problems with the GUI (such as lag or random crashes) modify the compositing type to OpenGL/Raster. So don't use the XRender!
Mouse Cursor Overwritten
Steam は起動時に X11 Cursor theme を上書きします。Gnome や他の WM/DM ではカーソルテーマを設定しないという問題があります。マウスカーソルテーマを設定して上書きできます。
この問題を解決するには、root になって /usr/share/icons/default/index.theme
に次のように加えて下さい(必要なら /usr/share/icons/default
ディレクトリを作ります):
/usr/share/icons/default/index.theme
[Icon Theme] Inherits=Adwaita
Note: "Adwaita" の代わりに、他のカーソルテーマを選べます(Human など)。 もしくは、AUR から gnome-cursors-fixAUR をインストールすることでも修正できます。
他の WM/DM を使っている場合、カーソルテーマを設定する他の方法が必要かもしれません。
Steam 起動後、カーソルが明後日の方向に動くときの解決方法は xsetroot -cursor_name left_ptr
です(the awesomewm wiki より)。
And Yet It Moves
Dependencies
- lib32-libtheoraAUR
- lib32-libjpeg6AUR
- lib32-libtiff4AUR
Compatibility
ゲームの起動が失敗し、次のメッセージを残す場合、
readlink: extra operand ‘Yet’ Try 'readlink --help' for more information.
テキストエディタで~/.steam/root/SteamApps/common/And Yet It Moves/AndYetItMovesSteam.sh
を開き、
ayim_dir="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
を
ayim_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
に変えてください。
Superbrothers: Sword & Sworcery EP
Dependencies
Team Fortress 2
Dependencies
トラブルシューティング
音が鳴らない
システムに PulseAudio がインストールされてないと発生します。
Alsa を使いたい場合は、Steam やゲームを起動するときに SDL_AUDIODRIVER=alsa
を加えて下さい。
(From SteamCommunity).
起動後ブラックアウトする
Steam やゲームを起動するときに LC_NUMERIC=POSIX
を加えて下さい。
(From the same SteamCommunity).
For launching the game direclty you need to quit the Steam at first and then:
SDL_AUDIODRIVER=alsa LC_NUMERIC=POSIX steam steam://rungameid/440
Amnesia: The Dark Descent
Dependencies
Serious Sam 3: BFE
Dependencies
Steel Storm: Burning Retribution
トラブルシューティング
起動後ブラックアウトする
デフォルトでは、ゲームの起動は 1024x768 解像度のフルスクリーンモードで行われますが、これに対応していないデバイスがあります。 (例えば Samsung Series9 ラップトップ with intel hd4000 video)。 ウィンドウモードで起動することで対処してください。
Steam のゲームプロパティを開き、General タブの "Set launch options..." を選び、"-window" と入力します。
これでゲーム中で解像度を変更できます。
No English fonts
Intel のビデオカードを使っている場合、DriConf で S3TC を無効にしてください。
Trine 2
Dependencies
Killing Floor
トラブルシューティング
screen resolution
--RAfitiiixxx 15:39, 22 November 2012 (UTC)
Killing Floor runs pretty much from scratch, altough you might have to change in-game resolution screen as the default one is 800x600 and a 4:3 screen format.
If you try to modify screen resolution in-game, it might crash your desktop enviroment.
To fix this, please set the desired resolution screen size by modifing your ${HOME}/.killingfloor/System/KillingFloor.ini
with your prefered editor.
# nano /root/.killingfloor/System/KillingFloor.ini
... [WinDrv.WindowsClient] WindowedViewportX=???? WindowedViewportY=???? FullscreenViewportX=???? FullscreenViewportY=???? MenuViewportX=??? MenuViewportY=??? ... [SDLDrv.SDLClient] WindowedViewportX=???? WindowedViewportY=???? FullscreenViewportX=???? FullscreenViewportY=???? MenuViewportX=???? MenuViewportY=???? ...
Save the file and restart the game, it should work now.
Wine で Steam を動かす
公式レポジトリから wine をインストールしこのページに描いてある指示に従って下さい。
必要なマイクロソフトフォント ttf-microsoft-tahomaAUR と ttf-ms-fontsAUR を AUR か winetricks-svnAUR からインストールします。
すでに Wine 環境 (~/.wine
) があるのならば、それを削除して新しい環境を作ることで問題を避けるべきです(新しい環境に保持したいファイルを移動することもできます)。
インストール
Steam インストーラを steampowered.com からダウンロードして起動します。.exe
ファイルではないので msiexec
で起動してください:
$ msiexec /i SteamInstall.msi
Steamを起動
x86 環境:
$ wine ~/.wine/drive_c/Program\ Files/Steam/Steam.exe
x86_64 環境:
$ wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe
もしくは、これでも可能です:
$ wine "C:\\Program Files\\Steam\\steam.exe"
エイリアスを作って steam を簡単に起動できるようにして(そしてそれをシェルの rc ファイルに記述する)もよいかもしれません、例えば:
alias steam='wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'
optirun
。Tips
パフォーマンス向上
シェルのrcファイルに次のように記述することで wine のデバッグ出力を無効にできます:
export WINEDEBUG=-all
もしくは steam エイリアスに付け加えることで steam だけ無効化:
alias steam='WINEDEBUG=-all wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe >/dev/null 2>&1 &'
また、Source のゲームはページプールメモリ量によってオーディオが異なり、WINE はデフォルトでは値を設定しません。設定するには:
wine reg add "HKLM\\System\\CurrentControlSet\\Control\\Session Manager\\Memory Management\\" /v PagedPoolSize /t REG_DWORD /d 402653184 /f
アプリケーション起動オプション
"Properties" の "Set Launch Options" から設定します。例えば:
-console -dxlevel 90 -width 1280 -height 1024
-
console
アプリケーションの設定を変更できるアプリケーション内コンソールを有効にします。
-
dxlevel
アプリケーションの DirextX のレベルを設定します、例えば 90 は DirectX バージョン 9.0 です。クラッシュを防ぐためビデオカードにあった DirectX のバージョンを使って下さい。公式 Valve Software Wiki http://developer.valvesoftware.com/wiki/DirectX_Versions に詳しく書かれています。
-
width
andheight
スクリーン解像度を設定します。アプリケーションからグラフィック設定が保存されず、起動毎にデフォルトの解像度に戻ることがあります。 全ての起動オプションのリストは http://developer.valvesoftware.com/wiki/Launch_options を参照してください。
すでにインストール済みの Steam を利用する
Windows とドライブを共有していて、どこかに Steam をインストールしている場合、Steam ディレクトリから~/.wine/drive_c/Program Files/Steam/
へシンボリックリンクを作成できます。 However, be sure to do all the previous steps in this wiki. Confirm Steam launches and logs into your account, then do this:
cd ~/.wine/drive_c/Program\ Files/ mv Steam/ Steam.backup/ (or you can just delete the directory) ln -s /mnt/windows_partition/Program\ Files/Steam/
steamapps
subdirectory in your existing wine steam folder instead.Running Steam in a second X Server
Assuming you are using the script above to start Steam, make a new script, called x.steam.sh
. You should run this when you want to start Steam in a new X server, and steam.sh
if you want Steam to start in the current X server.
If due to misconfiguration a black screen is shown, you could always close down the second X server by pressing Template:Keypress + Template:Keypress + Template:Keypress.
#!/bin/bash DISPLAY=:1.0 xinit $HOME/steam.sh $* -- :1
Now you can use Template:Keypress + Template:Keypress + Template:Keypress to get to your first X server with your normal desktop, and Template:Keypress + Template:Keypress + Template:Keypress to go back to your game.
Because the second X server is only running the game and the first X server with all your programs is backgrounded, performance should increase. In addition, it is much more convenient to switch X servers while in game to access other resources, rather than having to exit the game completely or Template:Keypress-Template:Keypress out. Finally, it is useful for when Steam or WINE goes haywire and leaves a bunch of processes in memory after Steam crashes. Simply Template:Keypress + Template:Keypress + Template:Keypress on the second X server to kill that X and all processes on that desktop will terminate as well.
If you get errors that look like "Xlib: connection to ":1.0" refused by server" when starting the second X: You will need to adjust your X permissions.
If you lose the ability to use the keyboard while using Steam: This is an odd bug that does not happen with other games. A solution is to use a WM in the second X as well. Thankfully, you do not need to run a large WM. Openbox and icewm have been confirmed to fix this bug (evilwm, pekwm, lwm do not work), but the icewm taskbar shows up on the bottom of the game, thus it's recommended to use Openbox. Install openbox from the official repositories, then add openbox &
to the top of your steam.sh
file. Note you can run other programs (ex. Teamspeak &) or set X settings (ex. xset, xmodmap) before the WINE call as well.
Steam Links in Firefox, Chrome, Etc
To make steam:// urls in your browser connect with steam in wine, there are several things you can do. One involves making steam url-handler keys in gconf, another involves making protocol files for kde, others involve tinkering with desktop files or the Local State file for chromium. These seem to only work in firefox or under certain desktop configurations. One way to do it that works more globally is using mimeo, a tool made by Xyne (an Arch TU) which follows. For another working and less invasive (but firefox-only) way, see the first post here .
- Make
/usr/bin/steam
with your favorite editor and paste:
#!/bin/sh # # Steam wrapper script # exec wine "c:\\program files\\steam\\steam.exe" "$@"
- Make it executable.
# chmod +x /usr/bin/steam
- Install mimeoAUR and xdg-utils-mimeoAUR from AUR. You will need to replace the existing xdg-utils if installed. In XFCE, you will also need xorg-utils.
- Make
$HOME/.config/mimeo.conf
with your favorite editor and paste:
/usr/bin/steam %u ^steam://
- Lastly, open
/usr/bin/xdg-open
in your favorite editor. Go to thedetectDE()
section and change it to look as follows:
detectDE() { #if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde; #elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome; #elif `dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.gnome.SessionManager > /dev/null 2>&1` ; then DE=gnome; #elif xprop -root _DT_SAVE_MODE 2> /dev/null | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce; #elif [ x"$DESKTOP_SESSION" == x"LXDE" ]; then DE=lxde; #else DE="" #fi DE="" }
- Restart the browser and you should be good to go. In chromium, you cannot enter a
steam://
link in the url box like you can with firefox. The forum link above has asteam://open/friends
link to try if needed.
/usr/bin/xdg-open
.文字が表示されない問題
もし steam を起動した時、文字が表示されない場合、-no-dwrite
パラメータをつけて steam を起動してください。詳しくはこの問題についてのスレッドを見て下さい。
wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite