07th-mod / 07th-mod/python-patcher

Add non-steam game to steam when installing console arcs

Open
#11 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
214
Forks
12
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue is about adding a non-Steam game shortcut to Steam after installing console arcs. Research involves understanding the shortcuts.vdf file format, located in Steam userdata config. Look at the linked Python VDF library and Steam Shortcut Manager for how to read/write this file. The installer likely needs to detect the installed game executable, create a shortcut entry, and potentially restart Steam. Start by examining the existing installer code to see where post-install steps are handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
cli, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.