GameFinder.RegistryUtils
2.4.0
See the version list below for details.
dotnet add package GameFinder.RegistryUtils --version 2.4.0
NuGet\Install-Package GameFinder.RegistryUtils -Version 2.4.0
<PackageReference Include="GameFinder.RegistryUtils" Version="2.4.0" />
paket add GameFinder.RegistryUtils --version 2.4.0
#r "nuget: GameFinder.RegistryUtils, 2.4.0"
// Install GameFinder.RegistryUtils as a Cake Addin #addin nuget:?package=GameFinder.RegistryUtils&version=2.4.0 // Install GameFinder.RegistryUtils as a Cake Tool #tool nuget:?package=GameFinder.RegistryUtils&version=2.4.0
GameFinder
.NET library for finding games. The following launchers are supported:
The following launchers are not yet supported or support has been dropped:
If you are interested in understanding how GameFinder finds these games, check the wiki for more information.
Supported Launchers
Steam
Steam is supported on Windows and Linux. Use SteamDB to find the ID of a game.
Usage:
// use the Windows registry on Windows
// Linux doesn't have a registry
var handler = RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
? new SteamHandler(new WindowsRegistry())
: new SteamHandler(registry: null);
// method 1: iterate over the game-error result
foreach (var (game, error) in handler.FindAllGames())
{
if (game is not null)
{
Console.WriteLine($"Found {game}");
}
else
{
Console.WriteLine($"Error: {error}");
}
}
// method 2: use the dictionary if you need to find games by id
Dictionary<SteamGame, int> games = handler.FindAllGamesById(out string[] errors);
// method 3: find a single game by id
SteamGame? game = handler.FindOneGameById(570940, out string[] errors);
GOG Galaxy
GOG Galaxy is only supported on Windows. Use the GOG Database to find the ID of a game.
Usage:
var handler = new GOGHandler();
// method 1: iterate over the game-error result
foreach (var (game, error) in handler.FindAllGames())
{
if (game is not null)
{
Console.WriteLine($"Found {game}");
}
else
{
Console.WriteLine($"Error: {error}");
}
}
// method 2: use the dictionary if you need to find games by id
Dictionary<GOGGame, long> games = handler.FindAllGamesById(out string[] errors);
// method 3: find a single game by id
GOGGame? game = handler.FindOneGameById(1971477531, out string[] errors);
Epic Games Store
Epic Games Store is only supported on Windows.
Usage:
var handler = new EGSHandler();
// method 1: iterate over the game-error result
foreach (var (game, error) in handler.FindAllGames())
{
if (game is not null)
{
Console.WriteLine($"Found {game}");
}
else
{
Console.WriteLine($"Error: {error}");
}
}
// method 2: use the dictionary if you need to find games by id
Dictionary<EGSGame, string> games = handler.FindAllGamesById(out string[] errors);
// method 3: find a single game by id
EGSGame? game = handler.FindOneGameById("3257e06c28764231acd93049f3774ed6", out string[] errors);
Origin
Origin is only supported on Windows. Note: EA is deprecating Origin and will replace it with EA Desktop.
Usage:
var handler = new OriginHandler();
// method 1: iterate over the game-error result
foreach (var (game, error) in handler.FindAllGames())
{
if (game is not null)
{
Console.WriteLine($"Found {game}");
}
else
{
Console.WriteLine($"Error: {error}");
}
}
// method 2: use the dictionary if you need to find games by id
Dictionary<OriginGame, string> games = handler.FindAllGamesById(out string[] errors);
// method 3: find a single game by id
OriginGame? game = handler.FindOneGameById("Origin.OFR.50.0001456", out string[] errors);
EA Desktop
EA is deprecating Origin and replacing it with EA Desktop or EA App or whatever you want to call this new fancy launcher. The "old way" of finding games for Origin does not work for EA Desktop. In fact, I haven't found a clean way of finding games installed with the new launcher. See the wiki for more information.
Bethesda.net
As of May 11, 2022, the Bethesda.net launcher is no longer in use. The package GameFinder.StoreHandlers.BethNet has been deprecated and marked as legacy.
Xbox Game Pass
The package GameFinder.StoreHandlers.Xbox has been deprecated and marked as legacy. I no longer maintain this package because it never got used. I initially made GameFinder for Wabbajack and other modding tools however, you can't mod games installed with the Xbox App on Windows. These games are installed as UWP apps, which makes them protected and hard to modify. Another issue is the fact that you can't distinguish between normal UWP apps and Xbox games, meaning your calculator will show up as an Xbox game.
The final issue is related to actual code: in order to find all UWP apps I used the Windows SDK, which was a pain to integrate. The CI had to be on Windows, the .NET target framework had to be a Windows specific version (net6.0-windows-XXXXXXXXXX
), and it was overall not nice to use.
The package is still available on NuGet and should still work, but it's marked as deprecated and won't receive any updates.
Contributing
See CONTRIBUTING for more information.
License
See LICENSE for more information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Microsoft.Win32.Registry (>= 5.0.0)
-
net7.0
- Microsoft.Win32.Registry (>= 5.0.0)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on GameFinder.RegistryUtils:
Package | Downloads |
---|---|
GameFinder.StoreHandlers.Steam
Library for finding games installed with Steam. |
|
GameFinder.StoreHandlers.GOG
Library for finding games installed with GOG Galaxy. |
|
GameFinder
Package Description |
|
GameFinder.StoreHandlers.EGS
Library for finding games installed with the Epic Games Store. |
|
GameFinder.StoreHandlers.Origin
Library for finding games installed with Origin. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.3.3 | 2,471 | 10/31/2024 |
4.3.2 | 3,010 | 10/7/2024 |
4.3.1 | 912 | 10/1/2024 |
4.3.0 | 348 | 9/28/2024 |
4.2.4 | 29,703 | 7/4/2024 |
4.2.3 | 895 | 6/25/2024 |
4.2.2 | 4,836 | 6/6/2024 |
4.2.1 | 178 | 6/5/2024 |
4.2.0 | 13,867 | 1/28/2024 |
4.1.0 | 3,943 | 1/8/2024 |
4.0.0 | 8,074 | 9/3/2023 |
3.2.2 | 2,735 | 8/11/2023 |
3.2.1 | 2,030 | 7/25/2023 |
3.2.0 | 852 | 7/25/2023 |
3.1.0 | 3,028 | 5/23/2023 |
3.0.2 | 1,241 | 5/10/2023 |
3.0.1 | 823 | 5/10/2023 |
3.0.0 | 913 | 5/9/2023 |
2.6.0 | 2,456 | 3/7/2023 |
2.5.0 | 4,188 | 1/17/2023 |
2.4.0 | 120,836 | 1/13/2023 |
2.3.0 | 2,342 | 12/16/2022 |
2.2.2 | 8,633 | 11/11/2022 |
2.2.1 | 30,259 | 10/21/2022 |
2.2.0 | 1,592 | 10/21/2022 |
2.1.0 | 1,427 | 10/21/2022 |
2.0.1 | 1,462 | 10/19/2022 |
2.0.0 | 1,900 | 10/15/2022 |
1.8.0 | 7,466 | 6/27/2022 |
1.7.3 | 79,896 | 5/14/2022 |
1.7.2 | 58,313 | 11/10/2021 |
1.7.1 | 24,408 | 8/19/2021 |
1.7.0 | 31,239 | 8/9/2021 |
1.6.4 | 1,662 | 8/3/2021 |
1.6.3 | 2,843 | 7/30/2021 |
1.6.2 | 1,883 | 7/17/2021 |
1.6.1 | 2,308 | 7/10/2021 |
1.6.0 | 1,691 | 7/10/2021 |
1.5.3 | 25,663 | 6/13/2021 |
1.5.2 | 1,760 | 6/9/2021 |
1.5.1 | 1,711 | 6/6/2021 |
1.5.0 | 16,933 | 5/29/2021 |
1.4.1 | 36,296 | 3/26/2021 |
1.4.0 | 1,691 | 3/26/2021 |
1.3.1 | 1,714 | 3/14/2021 |
1.3.0 | 1,808 | 3/13/2021 |
1.2.0 | 1,821 | 3/13/2021 |