NorthEdge.MagicLoaderGenerator
1.1.0
The Zip archives generated by the library are invalid because the ZipArchive object wasn't disposed before writing the file.
See the version list below for details.
dotnet add package NorthEdge.MagicLoaderGenerator --version 1.1.0
NuGet\Install-Package NorthEdge.MagicLoaderGenerator -Version 1.1.0
<PackageReference Include="NorthEdge.MagicLoaderGenerator" Version="1.1.0" />
<PackageVersion Include="NorthEdge.MagicLoaderGenerator" Version="1.1.0" />
<PackageReference Include="NorthEdge.MagicLoaderGenerator" />
paket add NorthEdge.MagicLoaderGenerator --version 1.1.0
#r "nuget: NorthEdge.MagicLoaderGenerator, 1.1.0"
#:package NorthEdge.MagicLoaderGenerator@1.1.0
#addin nuget:?package=NorthEdge.MagicLoaderGenerator&version=1.1.0
#tool nuget:?package=NorthEdge.MagicLoaderGenerator&version=1.1.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 (first time only)
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.
Localization
These parameters control the loading of the localization data.
LocalizationSource
Default value: Localization
This parameter controls the source of the localization data.
It can be a relative path to the working directory of the executable or an absolute path.
The library only supports loading JSON files extracted using FModel. The expected structure is one folder per language (see Languages below) containing a file namedGame.json.
This translation data will not be provided.
IncludedSections
Default value: [ "ST_FullNames" ]
This parameter controls which sections of the game localization data are loaded.
Possible values are :
ST_FullNamesST_ResponseTextsST_ScriptContentST_BookContentST_LogEntriesST_HardcodedContentST_AltarDynamicTextsST_DescriptionsST_AltarStaticTextsST_MissingEntries
See: LocalizationFileMagicLoader can expand translation keys using the following syntax
$[[<translation key>]]e.g.$[[LOC_FN_Miscarcand01]]. However, please note that it might not expand keys other than FullNames (starting withLOC_FN_).This syntax will be used by the default transformer TranslateFileTransform if a localization key is not found for a specific language. For instance,
LOC_FN_SancreTorhas no translation in French or German.
Languages
Default value: [ "de", "en", "es", "fr", "it", "ja", "pl", "pt", "ru", "zh-Hans" ]
This parameter which languages are loaded by the localization provider which in turn changes the files generated by the mod.
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. The two supported sections are
FullNamesEditEntries(FullNames_Edit) andFullNameEntries: (FullNames).
See MagicLoaderFile
| 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)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.