安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
The file
It crashes the skin on loading when using a case-sensitive system. Windows doesn't care about capitals, so it can't be reproduced on a Windows machine; I am using Linux, which is case-sensitive. Renaming the TSbar.xml file as TSBar.xml fixes the issue.
Great work on the skin by the way. Now I can finally imagine C:S as what SimCity 2013 was supposed to look like!
System.Reflection.TargetInvocationException during skin "Silicon" rollback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Array index is out of range.
at ColossalFramework.UI.UIMultiStateButton+SpriteSetState.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.get_normalBgSprite () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.GetBackgroundSprite () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.CalculateMinimumSize () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.set_size (Vector2 value) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator+<>c__DisplayClass3.<SetPropertyValueWithRollback>b__1 () [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.RollbackInternal () [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.Rollback () [0x00000] in <filename unknown>:0
System.Reflection.TargetInvocationException during skin "Silicon" rollback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException:
at (wrapper managed-to-native) UnityEngine.Component:get_gameObject ()
at ColossalFramework.UI.UIComponent.GetUIView () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.Invalidate () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UILabel.Invalidate () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UITextComponent.set_textColor (Color32 value) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator+<>c__DisplayClass3.<SetPropertyValueWithRollback>b__1 () [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.RollbackInternal () [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.Rollback () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton+SpriteSetState.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.get_normalBgSprite () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.GetBackgroundSprite () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.CalculateMinimumSize () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.set_size (Vector2 value) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayoutAbsolute (Vector2 parentSize, Vector2 componentSize) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayoutInternal () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayout () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.PerformLayout () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.OnSizeChanged () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.set_size (Vector2 value) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayoutProportional (Vector2 parentSize, Vector2 componentSize) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayoutInternal () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayout () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.PerformLayout () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.OnSizeChanged () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.set_size (Vector2 value) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.SetPropertyValue (System.Object component, System.Reflection.PropertyInfo property, System.Object value) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.SetPropertyValueWithRollback (System.Object component, System.Reflection.PropertyInfo property, System.Object value) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.SetPropertyValue (System.Xml.XmlNode setNode, System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component, Boolean optional, Boolean rollback) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.ApplyGenericProperty (System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.ApplyInternalRecursive (System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinModule.WalkModuleInternalRecursive (Sapphire.ModuleWalkCallback visitor, System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinModule.ApplyComponentSelector (Sapphire.ModuleWalkCallback visitor, System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinModule.WalkModuleInternalRecursive (Sapphire.ModuleWalkCallback visitor, System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinModule.WalkModule (Sapphire.ModuleWalkCallback visitor) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.ApplyInternal (Sapphire.SkinModule skinModule) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.Apply (System.Collections.Generic.List`1 skinModules) [0x00000] in <filename unknown>:0
Sapphire.MissingUIComponentException while applying skin module "/media/pepino/Kingston/SteamLibrary2/steamapps/workshop/content/255710/424995783/_SapphireSkin/Modules/TSbar.xml" at node "<Component name="TSBar">
<Component name="ZoomButton">..</Component
</Component>
": Missing UI component - "ZoomButton" with parent "TSBar"
Quartz.MissingUIComponentException while applying skin module "C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\424995783\_SapphireSkin\Modules/TSbar.xml" at node "<Component name="TSBar">
<Component name="ZoomButton">..</Component
</Component>
": Missing UI component - "ZoomButton" with parent "TSBar"