RimWorld

RimWorld

Not enough ratings
Rim Language Hot Reload
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
332.398 KB
Aug 8, 2021 @ 4:53am
Jul 13 @ 10:30am
33 Change Notes ( view )

Subscribe to download
Rim Language Hot Reload

Description
Automatically tries to hot reload any changes applied to active language to show them immediately in-game.

All known translations are implemented. If you find any that is not or that does not behave correctly, let me know.

Github:
https://github.com/lordfanger/RimLanguageHotReload
8 Comments
sunny Jul 28 @ 4:26am 
Working great for me, thank you.
lordfanger  [author] Oct 16, 2022 @ 1:20am 
It is weird but is seem like the activeLanguage is not found during mod initialization.
ZzZombo Oct 15, 2022 @ 10:24pm 
Doesn't seem to fix anything, sorry.
lordfanger  [author] Oct 15, 2022 @ 12:18am 
Hi, thank you for your feedback.
I've released a quick fix, that should solve the error. But something could not work, tell me if you encounter something, i'll investigate the root of the problem later (what exactly was null and why it was null).
ZzZombo Oct 13, 2022 @ 7:13pm 
[BetterLoading] Exception occurred processing mod finalize events! Details: System.TypeInitializationException: The type initializer for 'LordFanger.RimLanguageHotReload' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at LordFanger.RimLanguageHotReload.LoadKeyed () [0x00022] in <1e12edc78fa449fa8c247ca32e5699c3>:0
at LordFanger.RimLanguageHotReload..cctor () [0x00041] in <1e12edc78fa449fa8c247ca32e5699c3>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native)
lordfanger  [author] Nov 24, 2021 @ 1:41pm 
And for *.txt files in WordInfo or Strings subfolder. Could you provide example where it doesnt work please?
lordfanger  [author] Nov 24, 2021 @ 1:37pm 
It looks for changes in *.xml files in Language folders of current active language. And after any change it should reload them.
Caramel Nov 22, 2021 @ 3:36pm 
how it trigger to reload?