icecreamassassin Posted July 30, 2016 Share Posted July 30, 2016 So I have several fields in my MCM menu and for some reason one of those entries (Soul Gems) shows up as SOUL GEMS in all caps all the time. I have searched the script and there are no caps entries anywhere. I can't for the life of me figure out why it's doing this. It does the same thing on another of one my MCM menu scripts and lists one of my sub menus in all caps when it shouldn't any idea what could be causing this? Link to comment Share on other sites More sharing options...
cdcooley Posted July 31, 2016 Share Posted July 31, 2016 It's the game's string cache. It stores a single, case insensitive version of all strings used in the game and the first version used wins the capitalization contest. The solution if you're making an MCM menu is to use the SKSE localization feature although some people try to cheat by using trailing spaces to get a string that isn't already in the cache. The localization system has the advantage of putting all of the text used in a script in a single file which makes it easy for doing translations into other languages. It's documented on the MCM Advanced Features page of the SkyUI Wiki. Link to comment Share on other sites More sharing options...
icecreamassassin Posted May 8, 2017 Author Share Posted May 8, 2017 Sorry, Just noticed the reply when i was searching this topic again for another reason not MCM related lol. Thanks for the insight. Encase you happen back here, do you know if there is any way to figure out where the string is first defined in all caps? Link to comment Share on other sites More sharing options...
cdcooley Posted May 8, 2017 Share Posted May 8, 2017 No, there's no practical way to know which version of strings get used or even where the other versions are. The version of the string can even change as you are playing. Link to comment Share on other sites More sharing options...
Recommended Posts