Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Fixed launch
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Jan 12, 2023
1 parent 9bf461c commit 634aa80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<!--Development Variables-->
<PropertyGroup>
<Version>1.21.0</Version>
<Version>1.21.1</Version>
<HarmonyVersion>2.2.2</HarmonyVersion>
<BUTRSharedVersion>3.0.0.127</BUTRSharedVersion>
<BUTRModuleManagerVersion>5.0.166</BUTRModuleManagerVersion>
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 1.21.1
Game Versions: v1.0.0,v1.0.1,v1.0.2,v1.0.3
* Fixed launch
---------------------------------------------------------------------------------------------------
Version: 1.21.0
Game Versions: v1.0.0,v1.0.1,v1.0.2,v1.0.3
* Added support for displaying Chinese, Japanese and Korean logograms
Expand Down
4 changes: 1 addition & 3 deletions src/Bannerlord.BUTRLoader.LauncherEx/Manager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static void Enable()
case BUTRLocalizationManager.Korean:
{
var asset = new AssetPackage(Path.Combine(BasePath.Name, "Modules/Native/AssetPackages/gauntlet_ui.tpac"));
if (asset.Items.OfType<Texture>().FirstOrDefault(x => x.Name == "ui_fonts_1") is { } korean)
if (asset.Items.OfType<Texture>().FirstOrDefault(x => x.Name == "ui_fonts_4") is { } korean)
{
GraphicsContextManager.CreateAssetTextureAndRegister("NanumGothicKR", korean);
SpriteDataManager.CreateGenericAndRegister("NanumGothicKR");
Expand All @@ -113,14 +113,12 @@ public static void Enable()
WidgetFactoryManager.CreateAndRegister("Launcher.ToggleButton", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Widgets.Launcher.ToggleButton.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.SearchBox", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Widgets.Launcher.SearchBox.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.Scrollbar", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Widgets.Launcher.Scrollbar.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.Dropdown", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Widgets.Launcher.Dropdown.xml"));

WidgetFactoryManager.CreateAndRegister("Launcher.SettingsPropertyBoolView", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Properties.Launcher.SettingsPropertyBoolView.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.SettingsPropertyButtonView", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Properties.Launcher.SettingsPropertyButtonView.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.SettingsPropertyFloatView", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Properties.Launcher.SettingsPropertyFloatView.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.SettingsPropertyIntView", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Properties.Launcher.SettingsPropertyIntView.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.SettingsPropertyStringView", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Properties.Launcher.SettingsPropertyStringView.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.SettingsPropertyDropdownView", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Properties.Launcher.SettingsPropertyDropdownView.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.Options", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Launcher.Options.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.Options.OptionTuple", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Launcher.Options.OptionTuple.xml"));
WidgetFactoryManager.CreateAndRegister("Launcher.Mods2", Load("Bannerlord.BUTRLoader.Resources.Prefabs.Launcher.Mods.xml"));
Expand Down

0 comments on commit 634aa80

Please sign in to comment.