Table of Contents

Class GameFolderLocator

Namespace
ValveResourceFormat.IO
Assembly
ValveResourceFormat.dll

Provides methods for locating Steam game installations and libraries.

public static class GameFolderLocator

Inheritance

Inherited Members

Properties

SteamPath

Path to the root of Steam installation. null if not found.

public static string? SteamPath { get; }

Property Value

string?

Methods

FindAllSteamGames()

Find all installed games in all Steam library folders.

public static List<GameFolderLocator.SteamLibraryGameInfo> FindAllSteamGames()

Returns

List<GameFolderLocator.SteamLibraryGameInfo>

A list of all installed Steam games.

FindSteamGameByAppId(int)

Optimized way to find Steam game by app id. Opens only 1 file for the specified app, instead of opening new file for every installed game.

public static GameFolderLocator.SteamLibraryGameInfo? FindSteamGameByAppId(int appId)

Parameters

appId int

Returns

GameFolderLocator.SteamLibraryGameInfo?

FindSteamLibraryFolderPaths()

Find all the Steam installation library paths.

public static List<string> FindSteamLibraryFolderPaths()

Returns

List<string>

A list of Steam library paths.