AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients
4.0.24
dotnet add package AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients --version 4.0.24
NuGet\Install-Package AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients -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.PG.StarWarsGame.Infrastructure.Clients" Version="4.0.24" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients --version 4.0.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients, 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.PG.StarWarsGame.Infrastructure.Clients as a Cake Addin #addin nuget:?package=AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients&version=4.0.24 // Install AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients as a Cake Tool #tool nuget:?package=AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients&version=4.0.24
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Petroglyph Game Infrastructure
.NET library for managing and launching Petroglyph's Star Wars Empire at War and mod installations.
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 | Versions 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 is compatible. |
.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.
-
.NETStandard 2.0
- AlamoEngineTools.PG.StarWarsGame.Infrastructure (>= 4.0.24)
- AlamoEngineTools.SteamAbstraction (>= 4.0.24)
-
.NETStandard 2.1
- AlamoEngineTools.PG.StarWarsGame.Infrastructure (>= 4.0.24)
- AlamoEngineTools.SteamAbstraction (>= 4.0.24)
NuGet packages
This package is not used by any NuGet packages.
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 | 223 | 8/3/2024 |
4.0.15-beta | 83 | 8/3/2024 |
4.0.14-beta | 69 | 8/3/2024 |
4.0.12-beta | 68 | 8/3/2024 |
3.1.5 | 293 | 5/30/2024 |
3.1.4 | 105 | 5/30/2024 |
3.0.6 | 203 | 4/7/2024 |
3.0.1 | 187 | 3/30/2024 |