NorthEdge.MagicLoaderGenerator
2.0.0
dotnet add package NorthEdge.MagicLoaderGenerator --version 2.0.0
NuGet\Install-Package NorthEdge.MagicLoaderGenerator -Version 2.0.0
<PackageReference Include="NorthEdge.MagicLoaderGenerator" Version="2.0.0" />
<PackageVersion Include="NorthEdge.MagicLoaderGenerator" Version="2.0.0" />
<PackageReference Include="NorthEdge.MagicLoaderGenerator" />
paket add NorthEdge.MagicLoaderGenerator --version 2.0.0
#r "nuget: NorthEdge.MagicLoaderGenerator, 2.0.0"
#:package NorthEdge.MagicLoaderGenerator@2.0.0
#addin nuget:?package=NorthEdge.MagicLoaderGenerator&version=2.0.0
#tool nuget:?package=NorthEdge.MagicLoaderGenerator&version=2.0.0
MagicLoader generator
Description
This library is intended to facilitate the generation of translation files to be used by MagicLoader in order to mod Oblivion: Remastered.
Project and Solution templates
are available by using dotnet new
as follows:
dotnet new install NorthEdge.MagicLoaderGenerator.Templates
(the first time or when updating)
dotnet new mlg-sln -n MyMod
for a complete solution or
dotnet new mlg-mod -n MyMod
for a console project only.
Configuration
The configuration of an application using this library is broken down in several parts. See the sample configuration file.
Filesystem
These parameters control the output of the generator. See:
IModOutputGenerator
FolderOutputGenerator
ZipOutputGenerator
MagicLoaderMod
ModDirectoryStructure
Default value: OblivionRemastered\Content\Dev\ObvData\Data\MagicLoader\
This parameter describes the directory structure generated by the mod.
It is intended to reflect the directory structure of the game so that end-users of the mod can extract the mod archive at the root directory of their game installation.
OutputDirectory
Default value: MagicLoader
This parameter controls where the generator will output the mod file it produces.\
It can be a relative path to the working directory of the executable or an absolute path.
InputDirectory
Default value: Input
This parameter controls where the configuration will look for existing MagicLoader files.\
It can be a relative path to the working directory of the executable or an absolute path.
Mod
These parameters control the output of the generator by describing files and the localization keys to include.
ModName
Default value: MagicLoaderMod
This parameter controls the root directory of the generator output as well as the name of the ZIP archives when using ZipOutputGenerator.
If ModFiles (see below) contains more than one entry, this value will also be used to create a folder inside ModDirectoryStructure.
ModFiles
This parameter describes a dictionary of files to generate using a list of localization keys.
The keys of the dictionary represent the name of the files generated by the mod. The values contain dictionaries representing the sections handled by MagicLoader as their keys and a list of localization keys as their value.
See MagicLoaderFile
Changelog
Version 1.1.0
- Initial stable release
Version 1.2.0
- Add an overload to MagicLoaderMod::Generate to handle variants
- Allow extra localization data to be added from the configuration
- Added support to import existing localization files into the mod
Version 1.2.1
- Fix an issue with the ZIP creation in ZipOutputGenerator where the ZipArchive wasn't disposed properly before writing the stream to the filesystem
Version 1.3.0
- Add optional logging to the MagicLoaderMode::Generate method and implementations of IModOutputGenerator
Version 2.0.0
- Add support for MagicLoader version 2+
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Microsoft.Extensions.Configuration (>= 9.0.5)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.5)
- Microsoft.Extensions.Configuration.Json (>= 9.0.5)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.