AlamoEngineTools.SteamAbstraction 4.0.24

dotnet add package AlamoEngineTools.SteamAbstraction --version 4.0.24                
NuGet\Install-Package AlamoEngineTools.SteamAbstraction -Version 4.0.24                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AlamoEngineTools.SteamAbstraction" Version="4.0.24" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AlamoEngineTools.SteamAbstraction --version 4.0.24                
#r "nuget: AlamoEngineTools.SteamAbstraction, 4.0.24"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AlamoEngineTools.SteamAbstraction as a Cake Addin
#addin nuget:?package=AlamoEngineTools.SteamAbstraction&version=4.0.24

// Install AlamoEngineTools.SteamAbstraction as a Cake Tool
#tool nuget:?package=AlamoEngineTools.SteamAbstraction&version=4.0.24                

Petroglyph Game Infrastructure

.NET library for managing and launching Petroglyph's Star Wars Empire at War and mod installations.

Nuget Build

Main Features

  • Works for Empire at War, Forces of Corruption on any platform (Steam, Disk, GoG, EA Origin)
  • Supports any kind of mod, including mods from Steam Workshops
  • Supports Steam Sub-mods (e.g, STEAMMOD=123 STEAMMOD=456)
  • Finds any game and mod installations automatically
  • Launches the game, including debug builds with full Steam support.

Usage

Include the library as a nuget package: AlamoEngineTools.PG.StarWarsGame.Infrastructure

See the listed code below to see a minimal example how to use the library.

var fs = new FileSystem();
var sc = new ServiceCollection();
sc.AddSingleton(WindowsRegistry.Default);
sc.AddSingleton<IFileSystem>(fs);

// Initialize the library
PetroglyphGameInfrastructure.InitializeServices(sc);

var serviceProvider = sc.BuildServiceProvider();

// Search for Forces of Corruption at the specified directory
var gameFactory = services.GetRequiredService<IGameFactory>();
var detector = new DirectoryGameDetector(fs.DirectoryInfo.New("YOUR_GAME_DIR"), serviceProvider);
var game = gameFactory.CreateGame(detector.Detect(GameType.Foc), CultureInfo.CurrentCulture);


// Create a client and launch the game with WINDOWED arugment.
var client = services.GetRequiredService<IGameClientFactory>().CreateClient(game);
using var gameArgs = new GameArgumentsBuilder().Add(new WindowedArgument());
client.Play(gameArgs.Build());

See the sample application for an extended example including how to work with game mods.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AlamoEngineTools.SteamAbstraction:

Package Downloads
AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients

Provides augmented, but optional Steam support for Petroglyph Star Wars games.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.24 0 2/2/2025
4.0.17-beta 262 8/3/2024
4.0.15-beta 115 8/3/2024
4.0.14-beta 106 8/3/2024
4.0.12-beta 108 8/3/2024
3.1.5 341 5/30/2024
3.1.4 154 5/30/2024
3.0.6 236 4/7/2024
3.0.1 214 3/30/2024