OK. Thank you for the explanation!
OK, I added a simple code that displays the message in the game, as in the example in the tutorial, and everything works.
OK, now I don't understand what the problem is.
Init LauncherModsDLLManager
Need to verify: CustomTextProcessor.dll
Starting verifying DLLs
Couldn't verify dlls
The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at TaleWorlds.MountAndBlade.Launcher.Library.LauncherModsDLLManager.GetDLLVerifyReport(String[] dlls)
CustomTextProcessor
bin
Win64_Shipping_Client
CustomTextProcessor.dll
SubModule.xml
using TaleWorlds.MountAndBlade;
namespace CustomTextProcessor
{
public class SubModule : MBSubModuleBase
{
protected override void OnSubModuleLoad()
{
base.OnSubModuleLoad();
}
protected override void OnSubModuleUnloaded()
{
base.OnSubModuleUnloaded();
}
protected override void OnBeforeInitialModuleScreenSetAsRoot()
{
base.OnBeforeInitialModuleScreenSetAsRoot();
}
}
}
<?xml version="1.0" encoding="UTF-8" ?>
- <Module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/SubModule.xsd">
<Id value="CustomTextProcessor" />
<Name value="CustomTextProcessor" />
<Version value="v0.0.1" />
<DefaultModule value="false" />
<ModuleCategory value="Singleplayer" />
<ModuleType value="Community" />
<Url value="$moduleurl$" />
- <DependedModules>
<DependedModule Id="Native" />
<DependedModule Id="SandBoxCore" />
<DependedModule Id="Sandbox" />
<DependedModule Id="StoryMode" />
<DependedModule Id="CustomBattle" />
</DependedModules>
- <!-- Community Dependency Metadata
-->
- <!-- https://github.com/BUTR/Bannerlord.BLSE#for-modders
-->
- <DependedModuleMetadatas>
<DependedModuleMetadata id="Native" order="LoadBeforeThis" />
<DependedModuleMetadata id="SandBoxCore" order="LoadBeforeThis" />
<DependedModuleMetadata id="Sandbox" order="LoadBeforeThis" />
<DependedModuleMetadata id="StoryMode" order="LoadBeforeThis" />
<DependedModuleMetadata id="CustomBattle" order="LoadBeforeThis" />
</DependedModuleMetadatas>
- <!-- Community Dependency Metadata
-->
- <SubModules>
- <SubModule>
<Name value="CustomTextProcessor" />
<DLLName value="CustomTextProcessor.dll" />
<SubModuleClassType value="CustomTextProcessor.SubModule" />
<Tags />
</SubModule>
</SubModules>
</Module>
Thank you for your reply.
<DLLName value="YOUR_DLL_NAME.dll"/>
The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at TaleWorlds.MountAndBlade.Launcher.Library.LauncherModsDLLManager.GetDLLVerifyReport(String[] dlls)
<SubModuleClassType value="YOUR_MOD_NAME.SubModule"/>
line) is not a descendant of the MBSubModuleBase
class, but is inherited, as I mentioned above, from TaleWorlds.Localization.TextProcessor.LanguageSpecificTextProcessor
.