• 0
pneuma

1.3.1 Game Freeze at Loading Resource Definition Bundles

Question

KSP: 1.3.1 Windows Version x64 [Simplified Chinese]

Problem: My game freezes at Loading Resource Definition Bundles screen when the game language is simplified Chinese. It loads successfully once I change the game language to English. 

Mods installed:

Community Resource Pack (CommunityResourcePack 0.8.0.0)
Module Manager (ModuleManager 3.0.1)

Reproduction steps:

Set the game language to Simplified Chinese while have mod Community Resource Pack(CRP) or any mods require CRP installed and launch the game. It will freeze at screen "正在加载资源包定义"(Loading Resource Definition Bundles).

Log:

output_log.txt

ArgumentOutOfRangeException: startIndex + length > this.length
Parameter name: length
  at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in <filename unknown>:0 
  at PartResourceDefinition.GetShortName (Int32 length) [0x00000] in <filename unknown>:0 
  at PartResourceDefinition.Load (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at PartResourceDefinitionList.Add (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at PartResourceLibrary.LoadDefinitions () [0x00000] in <filename unknown>:0 
  at GameDatabase+<CreateDatabase>c__Iterator4B.MoveNext () [0x00000] in <filename unknown>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0 

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 1

Here is my solution:

1.delete the file "zh-cn.cfg" located under the directory: "...\Kerbal Space Program\GameData\CommunityResourcePack\Localization"

2.open file "en-us.cfg" located in the same folder with any text editor 

3.change the expression "en-us" on line two to "zh-cn" and save

4.change the name of the file "en-us.cfg" to "zh-cn.cfg"

5.launch the game

Hope this is helpful.

Share this post


Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.