Problem when try to run a mod for 1.7.2 in 1.8.0

Users who are viewing this thread

vietanh797

Sergeant at Arms
I am trying to figure out how to port a mod from 1.7.2 to 1.8.0 but I am completely clueless once i ran into this error
Can someone enlighten me what is the problem? I am new to modding in BL so i am not sure how to solve this
Thank you for reading and please help if you can.

yccPoN8.jpg
 
Open the files of the mod you want to port from 1.7.2 to 1.8.0 and open the SubModule.xml file there.

<Module>
<Name value="SwordMusket"/>
<Id value="SwordMusket"/>
<Version value="v1.7.2"/> "THİS ONE"
<SingleplayerModule value="true"/>
<MultiplayerModule value="false"/>
<DependedModules>
<DependedModule Id="Native" DependentVersion="e1.7.2"/> "THİS ONE"
<DependedModule Id="SandBoxCore" DependentVersion="e1.7.2"/> "THİS ONE"
<DependedModule Id="Sandbox" DependentVersion="e1.7.2"/> "THİS ONE"
<DependedModule Id="CustomBattle" DependentVersion="e1.7.2"/> "THİS ONE"
<DependedModule Id="StoryMode" DependentVersion="e1.7.2"/> "THİS ONE"
<DependedModule Id="Bannerlord.Harmony" DependentVersion="v2.2.1.81" />

For 1.7.2 ones, make 1.8.0. @vietanh797
 
Upvote 0
It is trying to use LoadGameTexts(String) function to load game texts. But this is done via SubModule.xml starting with 1.8.0.

Code:
<XmlNode>               
    <XmlName id="GameText" path="module_strings"/>
    <IncludedGameTypes>
            <GameType value = "Campaign"/>
            <GameType value = "CampaignStoryMode"/>
    </IncludedGameTypes>
</XmlNode>
 
Upvote 0
It is trying to use LoadGameTexts(String) function to load game texts. But this is done via SubModule.xml starting with 1.8.0.

Code:
<XmlNode>              
    <XmlName id="GameText" path="module_strings"/>
    <IncludedGameTypes>
            <GameType value = "Campaign"/>
            <GameType value = "CampaignStoryMode"/>
    </IncludedGameTypes>
</XmlNode>
Thank a lot. I think i know what's need to be done now.
 
Upvote 0
Back
Top Bottom