GameDataReader 0.0.4

dotnet add package GameDataReader --version 0.0.4                
NuGet\Install-Package GameDataReader -Version 0.0.4                
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="GameDataReader" Version="0.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GameDataReader --version 0.0.4                
#r "nuget: GameDataReader, 0.0.4"                
#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 GameDataReader as a Cake Addin
#addin nuget:?package=GameDataReader&version=0.0.4

// Install GameDataReader as a Cake Tool
#tool nuget:?package=GameDataReader&version=0.0.4                

Continuous Deployment Discord last commit

GameDataReader

An open-source NuGet library providing simple access to game settings.

Reading data from games like Battlefield 2 - i.e. to access player data from BF2 specific .con configuration files.

Open to integration of more games & data.

Usage

  • Add the GameDataReader NuGet package to your project: Install-Package GameDataReader
  • Add import statement: using GameDataReader;
  • For (optional) dependency injection, register your preferred DataReader to your IServiceCollection by configuring i.e. services.AddBf2DataReader(); and you're ready to inject i.e. IBf2DataReader instances.
  • For (straight forward) static access to GameData, simply invoke a supported method like: GameDataReaders.Bf2.ReadActivePlayer()

Currently supported games

Battlefield 1942

  • GameDataReaders.Bf1942.ReadActivePlayer()
    • Bf1942Player.OnlineName - from {localAppData}\VirtualStore\Program Files (x86)\EA GAMES\Battlefield 1942\Mods\bf1942\Settings\Profiles\{profileName}\GeneralOptions.con

Battlefield Vietnam

  • GameDataReaders.BfVietnam.ReadActivePlayer()
    • BfVietnamPlayer.OnlineName - from {localAppData}\VirtualStore\Program Files (x86)\EA GAMES\Battlefield Vietnam\Mods\BfVietnam\settings\Profiles\{profileName}\GeneralOptions.con

Battlefield 2

  • GameDataReaders.Bf2.ReadActivePlayer()
    • Bf2Player.OnlineName - from {userDocuments}\Battlefield 2\Profiles\{profileNumber}\Profile.con
    • Bf2Player.ClanTag - from {userDocuments}\Battlefield 2\Profiles\Global.con

Battlefield 2142

  • GameDataReaders.Bf2142.ReadActivePlayer()
    • Bf2142Player.OnlineName - from {userDocuments}\Battlefield 2142\Profiles\{profileNumber}\Profile.con
    • Bf2142Player.ClanTag - from {userDocuments}\Battlefield 2142\Profiles\Global.con

Battlefield Bad Company 2

  • GameDataReaders.BfBc2.ReadActivePlayer()
    • BfBc2.OnlineName - from {userDocuments}\BFBC2\GameSettings.bin
    • BfBc2.ClanTag - from {userDocuments}\BFBC2\GameSettings.ini
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. 
.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

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
0.0.4 935 3/11/2023
0.0.3 1,086 8/29/2022
0.0.2 1,060 7/29/2022
0.0.1 1,171 7/28/2022