Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Steamのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Steam
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ゲーム]] [[en:Steam]] [[ru:Steam]] [[zh-hans:Steam]] {{Related articles start}} {{Related|Steam/Wine}} {{Related|Steam/トラブルシューティング}} {{Related|Steam/ゲーム別のトラブルシューティング}} {{Related|ゲームパッド}} {{Related articles end}} [https://store.steampowered.com/about/ Steam] は Valve による人気のゲーム配信プラットフォームです。 {{Note|Steam for Linux は Ubuntu LTS のみサポートします[https://support.steampowered.com/kb_article.php?ref=1504-QHXN-8366]。したがって、Arch Linux での Steam の問題のサポートを Valve に頼らないでください。}} == インストール == [[multilib]] リポジトリを有効にして、{{Pkg|steam}} パッケージを[[インストール]]します。 Arch Linux で Steam を実行するには、以下の要件を満たす必要があります。 * 32 ビット版の [[Xorg#Driver installation|OpenGL graphics driver]] をインストールします。 * [[Locale#Generating locales|en_US.UTF-8]] ロケールを生成して、無効なポインタエラーを防ぎます。 * GUI は Arial フォントを多用しています。[[MS フォント]] を参照してください。別の方法は、代替として {{Pkg|ttf-liberation}} や [[Steam/トラブルシューティング#文字が化けたり表示されない|Steam が提供するフォント]] を使うこともできます。 * アジア言語のサポートを追加するには、{{Pkg|wqy-zenhei}} をインストールしてください。 * ネットワーク管理に [[systemd-networkd]] を使用している場合は、Steam がサーバーに接続できるようにするために {{Pkg|lib32-systemd}} をインストールしてください。 === SteamCMD === [https://developer.valvesoftware.com/wiki/SteamCMD Steam のコマンドライン版] {{AUR|steamcmd}} を[[インストール]]します。 === Alternative Flatpak installation === Steam can also be installed with [[Flatpak]] as {{ic|com.valvesoftware.Steam}} from [https://flathub.org/ Flathub]. The easiest way to install it for the current user is by using the Flathub repo and flatpak command: flatpak --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo flatpak --user install flathub com.valvesoftware.Steam flatpak run com.valvesoftware.Steam The Flatpak application currently does not support themes. Also you currently cannot run games via {{ic|optirun}}/{{ic|primusrun}}, see [https://github.com/flatpak/flatpak/issues/869 Issue#869] for more details. Steam installed via Flatpak is not able to access your home directory and overriding this will cause Steam to not run because it is not safe. However, you can freely add directories outside the home directory. If you want to add an external library, run the following command to add it: flatpak override com.valvesoftware.Steam --filesystem=/path/to/directory ==== Asian Font Problems with Flatpak ==== If you are having problem getting Asian fonts to show in game, it's because org.freedesktop.Platform does not include it. First try mounting your local font : flatpak run --filesystem=~/.local/share/fonts --filesystem=~/.config/fontconfig com.valvesoftware.Steam If that does not work, consider this hack: make the fonts available by directly copying the font files into org.freedesktop.Platform's directories, e.g. # replace ? with your version and hash /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/?/?/files/etc/fonts/conf.avail /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/?/?/files/etc/fonts/conf.d /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/?/?/files/share/fonts == ディレクトリ構造 == Steam のデフォルトのインストール先は、{{ic|~/.local/share/Steam}} です。Steam がこの場所を見つけられない場合、再インストールするか新しい場所を選択するように促されます。この記事では、{{ic|~/.steam/root}} シンボリックリンクを使用してインストール場所を参照します。 === ライブラリフォルダ === すべての Steam アプリケーションには固有の AppID が設定されており、[https://store.steampowered.com/ Steam ストア]のページパスを見ればわかります。 Steam はゲームを {{ic|''LIBRARY''/steamapps/common/}} 以下のディレクトリにインストールします。{{ic|''LIBRARY''}} は通常、 {{ic|~/.steam/root}} ですが、複数のライブラリフォルダを作成することもできます。 (''Steam > Settings > Downloads > Steam Library Folders''). Steam がゲームを認識するためには、{{ic|''LIBRARY''/steamapps/}} に{{ic|appmanifest_''AppId''.acf}} ファイルが必要です。appmanifest ファイルは [https://developer.valvesoftware.com/wiki/KeyValues KeyValues] フォーマットを使用し、その {{ic|installdir}} プロパティでゲームのディレクトリを決定しています。 == 使用方法 == steam [ -options ] [ steam:// URL ] 使用可能なコマンドラインオプションについては、 [https://developer.valvesoftware.com/wiki/Command_Line_Options#Steam_.28Windows.29 Valve Developer Wiki のコマンドラインオプションの記事] を参照してください。 Steam はオプションで Steam URL も受けいれます。 [https://developer.valvesoftware.com/wiki/Steam_browser_protocol Steam ブラウザプロトコル] を参照してください。 == 起動オプション == Steam ゲームを起動すると、Steam は [[Bash]] シェルで '''起動コマンド''' を実行します。起動コマンドを変更するために、Steam は '''起動オプション''' を提供しています。起動オプションはライブラリ内のゲームを右クリックして、properties を選択し、''Launch Options'' を設定します。 デフォルトでは、Steam はオプションの文字列を起動コマンドに追加します。環境変数を設定したり、起動コマンドを他のコマンドの引数として渡したりするには、{{ic|%command%}} で代替して使用します。 === 使用例 === * 引数のみ: {{ic|-foo}} * 環境変数: {{ic|1=FOO=bar BAZ=bar %command% -baz}} * 完全に異なるコマンド: {{ic|othercommand # %command%}} == ヒントとテクニック == === Start Minimized === It's possible to have Steam start minimized to the system tray, rather than taking focus. Simply add {{ic|-silent}} to the list of arguments in the autostart file. {{hc|~/.config/autostart/steam.desktop|<nowiki> ... Exec=/usr/bin/steam -silent ...</nowiki>}} === Fsync patch === Valve has [https://steamcommunity.com/app/221410/discussions/0/3158631000006906163/ released] a special kernel patch that should help increase FPS in massively-threaded applications. There are few methods to get and use this patch: * Use binary kernel provided directly from Valve. See [[Unofficial user repositories#valveaur]] and once you add this repository, kernel packages <span class="archwiki-template-pkg">linux-fsync</span> and <span class="archwiki-template-pkg">linux-fsync-headers</span> become available. You will likely need to replace some regular packages (e.g. {{pkg|nvidia}}) with [[DKMS]] packages (e.g. {{pkg|nvidia-dkms}}) as well. * Install {{Pkg|linux-zen}} kernel that includes the fsync patches since the 5.2 release[https://github.com/zen-kernel/zen-kernel/commit/f39367fdbc68e8b1e623239d13db6efaa5a67ae1] * Install {{AUR|linux-pf}} or {{AUR|linux-pf-git}} kernel. === Proton Steam-Play === Valve developed a compatibility tool for Steam Play based on Wine and additional components named [[w:Proton (software)|Proton]]. It allows you to launch many Windows games (see [https://www.protondb.com/ compatibility list]). It is open-source and available on [https://github.com/ValveSoftware/Proton/ GitHub]. Steam will install its own versions of Proton when Steam Play is enabled. Proton needs to be enabled on Steam client: ''Steam > Settings > Steam Play''. You can enable Steam Play for games that have and have not been whitelisted by Valve in that dialog. If needed, to force enable Proton or a specific version of Proton for a game, right click on the game, click ''Properties > General > Force the use of a specific Steam Play compatibility tool'', and select the desired version. Doing so can also be used to force games that have a Linux port to use the Windows version. You can also install Proton from AUR with {{AUR|proton}} or {{AUR|proton-git}}, but extra setup is required for them to work with Steam. See the Proton GitHub for details on how Steam recognizes Proton installs. === Big Picture Mode without a window manager === To start Steam in Big Picture Mode from a [[Display manager]], you can either: * Install {{AUR|steamos-compositor}} * Alternatively, install {{AUR|steamos-compositor-plus}}, which hides the annoying color flashing on startup of Proton games and adds a fix for games that start in the background * Manually add a Steam entry (''but you lose the steam compositor advantages: mainly you '''cannot''' control Big Picture mode with keyboard or gamepad''): create a {{ic|/usr/share/xsessions/steam-big-picture.desktop}} file with the following contents: {{hc|/usr/share/xsessions/steam-big-picture.desktop|<nowiki> [Desktop Entry] Name=Steam Big Picture Mode Comment=Start Steam in Big Picture Mode Exec=/usr/bin/steam -bigpicture TryExec=/usr/bin/steam Icon= Type=Application</nowiki>}} === Steam のスキン === {{Note|最新の Steam クライアントのバージョンに対応していないスキンを使うと外観がおかしくなる可能性があります。}} インターフェースファイルをスキンディレクトリにコピーしたりファイルを修正することで Steam のインターフェースを完全にカスタマイズすることができます。 スキンのリストは [http://forums.steampowered.com/forums/showthread.php?t=1161035 Steam のフォーラム] にあります。 === Steam のスキン === Steam インターフェースは、スキンを使用してカスタマイズできます。スキンは {{ic|~/.steam/root}} にあるインターフェース固有のファイルを上書きできます。 スキンをインストールするには、 # ファイルを {{ic|~/.steam/root/skins}} ディレクトリの配置します # ''Steam > Settings > Interface'' を開き、選択します # Steam を再起動します スキンの広範なリストは [http://forums.steampowered.com/forums/showthread.php?t=1161035 Steam のフォーラム] にあります。 {{Note|古いスキンを使用すると、ビジュアルエラーが発生する場合があります。}} ==== スキンの作成 ==== ほとんどすべての Steam スタイルは {{ic|~/.steam/root/resource/styles/steam.styles}} (このファイルは 3,500 行以上あります)で定義されています。スキンが認識されるためには、独自の {{ic|resource/styles/steam.styles}} が必要です。Steam のアップデートで公式の {{ic|steam.styles}} が変更されると、スキンが古くなり、ビジュアルエラーが発生する可能性があります。 スキンの作成方法については、{{ic|~/.steam/root/skins/skins_readme.txt}} を参照してください。 === Changing the Steam notification position === The default Steam notification position is bottom right. You can change the Steam notification position by altering {{ic|Notifications.PanelPosition}} in * {{ic|resource/styles/steam.styles}} for desktop notifications, and * {{ic|resource/styles/gameoverlay.styles}} for in-game notifications Both files are overwritten by Steam on startup and {{ic|steam.styles}} is only read on startup. {{Note|Some games do not respect the setting in {{ic|gameoverlay.styles}} e.g. XCOM: Enemy Unknown.}} ==== Use a skin ==== You can create a skin to change the notification position to your liking. For example to change the position to top right: $ cd ~/.steam/root/skins $ mkdir -p Top-Right/resource $ cp -r ~/.steam/root/resource/styles Top-Right/resource $ sed -i '/Notifications.PanelPosition/ s/"[A-Za-z]*"/"TopRight"/' Top-Right/resource/styles/* ==== Live patching ==== {{ic|gameoverlay.styles}} can be overwritten while Steam is running, allowing you to have game-specific notification positions. {{hc|~/.steam/notifpos.sh| sed -i "/Notifications.PanelPosition/ s/\"[A-Za-z]*\"/\"$1\"/" ~/.steam/root/resource/styles/gameoverlay.styles }} And the [[#Launch options]] should be something like: ~/.steam/notifpos.sh TopLeft && %command% === Steam Remote Play === {{Note|Steam In-Home Streaming [https://store.steampowered.com/news/51761/ has become Steam Remote Play].}} Steam has built-in support for [https://store.steampowered.com/streaming/ remote play]. See [https://steamcommunity.com/sharedfiles/filedetails/?id=680514371 this Steam Community guide] on how to setup a headless streaming server on Linux. === Steam Controller === Normally a Steam controller requires the use of the Steam-overlay. In non-Steam native Linux games however the overlay may not be practical. For that, while the Steam client is running it will maintain a "desktop configuration". With your Steam controller, configure the desktop configuration for it as a generic XBOX controller. As long as the Steam client is running you can then use your Steam controller in other games, such as GOG games, as an XBOX controller. Make sure to select your type of controller to map to in "general controller settings". === Sharing Games With Windows Using Proton / Other Compatibility Layers === With the addition of Proton compatibility for games has increased thanks to Valve, you can use custom forks such as [https://github.com/GloriousEggroll/proton-ge-custom Proton GE] or others, to increase the amount of games that will work with it, you can extend this further to create a steam library on an NTFS volume containing your games, the only thing you ideally will have to force the uid and gid of the user you are currently logged in as so Steam may write files as needed, you will also need to make sure not to have the noexec option in your [[fstab]] or Steam will not be able to detect your games. === Steam フレンド通知の位置を変える === {{Note|ゲームによっては位置の変更をサポートしていないことがあります。例えば XCOM: Enemy Unknown では使えません。}} ==== 方法 1: スキンを使う ==== 通知コーナーを変更だけを行うスキンを作ることができます。手動でスキンを作成する時間を節約したい場合は mediafire にアップロードされたスキンを使って下さい。[http://www.mediafire.com/download/lnt2cjlbcdccm11/Steam-Notifications.zip ここからダウンロード] してホームフォルダに展開します (サブディレクトリには展開しないで下さい、つまり zip の中にある .local フォルダはホームディレクトリに移動する必要があります)。その後 Steam を開いて、設定から、インターフェースタブを開いて下さい。{{ic|< デフォルトスキン >}} と書かれたドロップダウンリストからお望みのスキンを選択すれば通知が移動されます。 ファイルを手動で作成してみたい場合、以下がその方法です。まずディレクトリを作成する必要があります: $ mkdir -p $HOME/Top-Right/resource $ cp -R $HOME/.steam/steam/resource/styles $HOME/Top-Right/resource/ $ mv $HOME/Top-Right $HOME/.local/share/Steam/skins/ $ cd .local/share/Steam/skins/ $ cp -R Top-Right Top-Left && cp -R Top-Right Bottom-Right それから好きなテキストエディタで修正したいファイルを開いてください。{{ic|gameoverlay.style}} はゲーム内のオーバーレイでのコーナーを変更し {{ic|steam.style}} はデスクトップでのコーナーを変更します。次の例では nano を使ってゲーム内のオーバーレイのファイルを編集します。 $ nano Top-Right/resource/styles/gameoverlay.style そして開いたファイルの中にある {{ic|Notifications.PanelPosition}} エントリを探して適当な値に変更して下さい、例えば右上にするには: Notifications.PanelPosition "TopRight" この行はどちらのファイルでも同じです。3つの種類 (Top-Right, Top-Left, Bottom-Left) があるので満足するまでスキン毎にデスクトップ・ゲーム内オーバーレイのコーナーを調整して、ファイルを保存してください。 上で説明しているように Steam でスキンを選択すれば作業は完了です。このスキンファイルは違うディストリビューションでも Windows でも使用することができます (macOS にはデスクトップ通知の配置を決める別のエントリが存在します)。 ==== 方法 2: オンザフライパッチ ==== この方法は Steam が将来アップデートされても互換性があります。上のスキンファイルは steam の一部としてアップデートされオリジナルのファイルが変更されたような場合、スキンは steam のグラフィックの変更に追従しないため、変更される度に再作成する必要があります。また、この方法ではゲームの起動オプションで通知の位置を変更するパッチを実行するように指定することができるので、ゲームごとに通知の場所を変えることが可能です。 Steam はアップデートするたびに (起動する度に行います) 編集する必要があるファイルを更新するので、Steam を起動した後にファイルにパッチをあてるのが一番効率的です。 まず [http://www.mediafire.com/download/ao3dhpdg9omj94r/topright.patch このパッチ][https://pastebin.com/FWHZNdUU (pastebin バージョン)] が必要です。エントリを編集して "BottomRight" (デフォルト), "TopRight", "TopLeft", "BottomLeft" で変えることができますが元のファイルでは "TopRight" を使っています。このファイルを {{ic|$HOME/.steam/topright.patch}} として保存してください。 {{Note|For pastebin to work you need to copy the raw data from line 1 through line 12 (line 12 is whitespace, but the patch will fail without it, this is why I provided a mediafire version too) you basically need to start copying behind the "-" sign at the bottom of the raw paste data and go up from there.}} 次に {{ic|$HOME/.bashrc}} にエイリアスを作成します: alias steam_topright='pushd $HOME/.steam/ && patch -p1 -f -r - --no-backup-if-mismatch < topright.patch && popd' 一度ログアウトしてログインしなおしエイリアスを更新してください。Steam を起動して完全にロードされるまで待ってから、エイリアスを実行します: $ steam_topright これでほとんどのゲームで通知が右上のコーナーに表示されるようになります。 ゲームによって使用するコーナーを変えたい場合、パッチを複製して他のコーナーのエイリアスを作成することができます。 この作業を自動化したい場合、steam の起動オプションはエイリアスを読み取れないためスクリプトファイルが必要です。ファイルのパスや名前は例えば {{ic|$HOME/.scripts/steam_topright.sh}} などにして、実行可能属性を付与する必要があります: $ chmod +755 $HOME/.scripts/steam_topright.sh ファイルの中身は以下のようになります: #!/bin/sh pushd $HOME/.steam/ && patch -p1 -f -r - --no-backup-if-mismatch < topright.patch && popd 起動オプションは以下のようになります: $HOME/.scripts/steam_topright.sh && %command% {{ic|gameoverlay.style}} フォルダと同じフォルダに {{ic|steam.style}} という名前の別のファイルが存在し、パッチをあてたファイルと同じように働くエントリが存在し、(ゲーム内ではなく)デスクトップの通知コーナーを変更しますが、このファイルを編集して使うには steam を起動する前に設定して steam がファイルを書き換えないように読み取り専用にフォルダを設定する必要があります。そのためこのファイルを編集する方法は、ディレクトリを読み取り専用にして steam が起動時に変更しないようにする (アップデートが壊れる可能性あり) か、方法1のようにスキンを作成するかのどちらかしかありません。 === サイレントモード === 起動時にメインウィンドウを表示させたくない場合、{{ic|-silent}} オプションを使ってください: $ steam -silent {{Tip|上記のオプションは[[デスクトップエントリ]]に追加できます。}} === ストリーミングサーバー === https://steamcommunity.com/sharedfiles/filedetails/?id=680514371 を参照してください。 === ゲームの appid の取得 === 以下の手順に従うことでゲームの appid を確認することができます: # Steam の中からゲームを右クリックしてデスクトップショートカットを作成 # デスクトップファイル (例: {{ic|~/Desktop/<game>.desktop}}) を開いてください # 以下のような行があったら 65980 がゲームの appid です: Exec=steam steam://rungameid/65980 appid を使うことでコマンドラインから直接ゲームを起動できます。例: {{bc|<nowiki> $ cat ~/Desktop/<game>.desktop | grep rungameid Exec=steam steam://rungameid/65980 $ cd .steam/steam/steamapps/common/<game> $ touch steam_appid.txt $ echo 65980 > steam_appid.txt $ ./<game></nowiki>}} 問題をトラブルシューティングするときに有用です。コマンドラインからゲームを起動したときに appid が見つからないというエラーが出る問題も解決できます。 == トラブルシューティング == [[Steam/トラブルシューティング]]を参照してください。 == 参照 == * [https://wiki.gentoo.org/wiki/Steam Steam] at Gentoo wiki * [http://pcgamingwiki.com/wiki/The_Big_List_of_DRM-Free_Games_on_Steam The Big List of DRM-Free Games on Steam] at PCGamingWiki * [http://steam.wikia.com/wiki/List_of_DRM-free_games List of DRM-free games] at wikia * [https://store.steampowered.com/browse/linux Steam Linux store] * [https://github.com/ValveSoftware/Proton/ Proton] Compatibility tool for Steam Play based on Wine and additional components.
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Hc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:META Message
(
ソースを閲覧
)
テンプレート:META Related articles start
(
ソースを閲覧
)
テンプレート:Move
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
テンプレート:Pkg
(
ソースを閲覧
)
テンプレート:Related
(
ソースを閲覧
)
テンプレート:Related articles end
(
ソースを閲覧
)
テンプレート:Related articles start
(
ソースを閲覧
)
Steam
に戻る。
検索
検索
Steamのソースを表示
話題を追加