List of all owned (and some unowned) games - Login and scrape https://socialclub.rockstargames.com/games using the following XPaths
List of game ids - //div[contains(@class, "Games__game__")]/@data-ui-name -> array of strs like ['rdr2', 'gtav', 'gtasaunreal', 'gtavcunreal', 'gta3unreal', 'lan', 'lanvr', 'bully', 'mp3', 'gtaiv']
Human-readable game names - //div[contains(@class, "Games__game__")]//img/@alt -> array of strs ['Red Dead Redemption 2', 'Grand Theft Auto V', 'Grand Theft Auto: San Andreas - The Definitive Edition', 'Grand Theft Auto: Vice City - The Definitive Edition', 'Grand Theft Auto III - The Definitive Edition', 'L.A. Noire', 'L.A. Noire: The VR Case Files', 'Bully', 'Max Payne 3', 'Grand Theft Auto IV']
Box art images - //div[contains(@class, "Games__game__")]//img/@src -> array of strs (the urls)
(Probably not needed except to launch a browser) Relative URI to game on socialclub - //div[contains(@class, "Games__game__")]//a/@href (URI base is https://socialclub.rockstargames.com/) -> array of strs
(Likely needs some other metadata for GOG to correspond to a MobyGame title, year, developer(s), and publisher(s))
RS Launcher-installed games are listed at:
Windows
Parse .*Wrote to (.*\\)([^[\\]*\.exe)$ from %ALLUSERSPROFILE%\Rockstar Games\Launcher\service_log.txt
First regex capture group - Path to the game
Second regex capture group - Predictable executable names that never change and are unique per game. There are only about a dozen, so match them with a dict to the name/game id of each possible game
(Not all that useful secondary way) HKCU\Software\Rockstar Games\InstallGUID\ type REG_SZ are GUIDS with names of game identifiers without the unreal suffix. GUIDs don't point to anywhere else in the registry
List of all owned (and some unowned) games - Login and scrape
https://socialclub.rockstargames.com/games
using the following XPaths//div[contains(@class, "Games__game__")]/@data-ui-name
-> array of strs like['rdr2', 'gtav', 'gtasaunreal', 'gtavcunreal', 'gta3unreal', 'lan', 'lanvr', 'bully', 'mp3', 'gtaiv']
//div[contains(@class, "Games__game__")]//img/@alt
-> array of strs['Red Dead Redemption 2', 'Grand Theft Auto V', 'Grand Theft Auto: San Andreas - The Definitive Edition', 'Grand Theft Auto: Vice City - The Definitive Edition', 'Grand Theft Auto III - The Definitive Edition', 'L.A. Noire', 'L.A. Noire: The VR Case Files', 'Bully', 'Max Payne 3', 'Grand Theft Auto IV']
//div[contains(@class, "Games__game__")]//img/@src
-> array of strs (the urls)//div[contains(@class, "Games__game__")]//a/@href
(URI base ishttps://socialclub.rockstargames.com/
) -> array of strsRS Launcher-installed games are listed at:
.*Wrote to (.*\\)([^[\\]*\.exe)$
from%ALLUSERSPROFILE%\Rockstar Games\Launcher\service_log.txt
HKCU\Software\Rockstar Games\InstallGUID\
typeREG_SZ
are GUIDS with names of game identifiers without theunreal
suffix. GUIDs don't point to anywhere else in the registry