07th-mod / 07th-mod/python-patcher
Add non-steam game to steam when installing console arcs
- 主要言語
- JavaScript
- スター
- 214
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
About the console arcs install I asked about in #higurashi
I had a look into it and Non-Steam Game shortcuts are saved in a shortcuts.vdf file, this file is saved in Steam\userdata[STEAMID]\config\
I've tried opening in N++ but it has a lot of characters that don't display correctly,I have found these pages about editing it
https://www.npmjs.com/package/steam-shortcut-editor
https://developer.valvesoftware.com/wiki/Notepad%2B%2B_VDF_languages
https://www.reddit.com/r/Steam/comments/98zn98/releasedocumentation_steam_shortcut_manager_a/
https://github.com/CorporalQuesadilla/Steam-Shortcut-Manager
I've used GLoSC to set up some games with my Steam Controller, and it adds the shortcut automatically and then restarts Steam which reloads the shortcuts.vdf file
I don't know how it could be implemented in the installer, but I imagine that something like this would work to have a Console Arcs shortcut automatically added to Steam after install and I hope that something here might help with it
Link to python vdf library (only supports v1): https://github.com/ValvePython/vdf
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
このissueは、コンソールアークをインストールした後に非SteamゲームのショートカットをSteamに追加することに関するものです。調査には、Steamのuserdata configにあるshortcuts.vdfファイル形式の理解が含まれます。リンクされているPython VDFライブラリとSteam Shortcut Managerを参照して、このファイルの読み書き方法を確認してください。インストーラーは、インストールされたゲームの実行ファイルを検出し、ショートカットエントリを作成し、場合によってはSteamを再起動する必要があるでしょう。まず、既存のインストーラーコードを調べて、インストール後の手順がどこで処理されているかを確認することから始めてください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, python
- 領域
- cli, desktop
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100