AlamoEngineTools.PG.StarWarsGame.Infrastructure
4.0.24
dotnet add package AlamoEngineTools.PG.StarWarsGame.Infrastructure --version 4.0.24
NuGet\Install-Package AlamoEngineTools.PG.StarWarsGame.Infrastructure -Version 4.0.24
<PackageReference Include="AlamoEngineTools.PG.StarWarsGame.Infrastructure" Version="4.0.24" />
paket add AlamoEngineTools.PG.StarWarsGame.Infrastructure --version 4.0.24
#r "nuget: AlamoEngineTools.PG.StarWarsGame.Infrastructure, 4.0.24"
// Install AlamoEngineTools.PG.StarWarsGame.Infrastructure as a Cake Addin #addin nuget:?package=AlamoEngineTools.PG.StarWarsGame.Infrastructure&version=4.0.24 // Install AlamoEngineTools.PG.StarWarsGame.Infrastructure as a Cake Tool #tool nuget:?package=AlamoEngineTools.PG.StarWarsGame.Infrastructure&version=4.0.24
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. |
-
.NETStandard 2.0
- AlamoEngineTools.Modinfo (>= 7.0.9)
- AnakinRaW.CommonUtilities (>= 12.0.91)
- AnakinRaW.CommonUtilities.FileSystem (>= 12.0.91)
- AnakinRaW.CommonUtilities.Registry (>= 12.0.91)
- HtmlAgilityPack (>= 1.11.72)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.1)
- QuikGraph (>= 2.5.0)
- semver (>= 3.0.0)
-
.NETStandard 2.1
- AlamoEngineTools.Modinfo (>= 7.0.9)
- AnakinRaW.CommonUtilities (>= 12.0.91)
- AnakinRaW.CommonUtilities.FileSystem (>= 12.0.91)
- AnakinRaW.CommonUtilities.Registry (>= 12.0.91)
- HtmlAgilityPack (>= 1.11.72)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.1)
- QuikGraph (>= 2.5.0)
- semver (>= 3.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AlamoEngineTools.PG.StarWarsGame.Infrastructure:
Package | Downloads |
---|---|
AlamoEngineTools.PG.StarWarsGame.Infrastructure.Clients
Provides tools for launching Petroglyph Star Wars games on various clients, such as Steam or Disk release. |
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 | 261 | 8/3/2024 |
4.0.15-beta | 127 | 8/3/2024 |
4.0.14-beta | 111 | 8/3/2024 |
4.0.12-beta | 113 | 8/3/2024 |
3.1.5 | 345 | 5/30/2024 |
3.1.4 | 158 | 5/30/2024 |
3.0.6 | 247 | 4/7/2024 |
3.0.1 | 236 | 3/30/2024 |