Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2071681396
Hope this helps anyone!
Also big thanks @jtgibson, I really appreciate that you stepped up to this. I would be happy to add you as a contributor if you want (I /think/hope/ that would allow you to push updates yourself but I actually don't know too much about the steam workshop so ¯\_(ツ)_/¯)
@_hmm: You have unlimited and full permission to take any content added in my fork, without credit. All contributions I have made are covered by the original MIT licence and can be considered to be as permissive as the public domain.
If anyone else wants to upload my fork in their own name, be my guest, but link to this page and give due credit to the original author, please!
Cheers!
Still running a few last tests on the save-load routine, and I switched over to RimWorld's built-in zlib CompressUtility compression on it, since it was nearly tripling the saved bytes for a decent-sized memorial (590 bytes of base-64-encoded UTF-16 versus 221 bytes of UTF-8 -- the same string now encodes at 264 bytes), but everything seems to be working great now!
Once I've run a thorough test, I'll try submitting a PR via a Github fork.
I made a few other improvements on a quick pass through the source code, including serialising the saved data to base64 rather than reading/writing directly -- saving raw user-enterable strings makes save/load errors far more likely, especially if the user inadvertently uses a character that the save/load routine can't read. A user writing something like <YES> would also brick a savefile, for instance, since RimWorld would read it as XML.
I don't know that I will be able to do much, like I have no idea if there were any changes to rimworld that may apply here, and I don't really have much time to spare. Either way I'm definitely gonna need more info on that, a paste of the log would be super helpful, perhaps even on github instead of here.
It may well be a quick fix, otherwise it will probably mean the end of this mod (for now) unless someone else wants to pick it up.
You might take a look at how @Murmur implemented his Wall Lights mod:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1423699208
Whether that method is compatible with yours or not, maybe worth a look?
This will take me a bit but I will try to look into this whole thing on Windows again, because there must be something I'm missing, since I have no issues with your world... Again, I'll have to set up some things but I hope to get this figured out soon...
https://mega nz/#!Us9zBabA!9az5_tFgH8o6CmEsqd_9vfj01RUcM-0VE1jCGG_ZPe8
So for testing, I've tried adding and removing different mods and moving the positions but so far I've not encountered an issue... Obviously when you remove this mod with memorials placed in the world, it will throw an error, but the world will still load, they will just be removed in the process.
It might help if someone with this issue could provide a corrupted save, or the full log error...
Also the issue with broken saves seems to be in some way related to changing the list of loaded mods as I've tested myself.
@Manuel, if you're still doing anything related to this mod, could you please look into it? To reproduce the problem simply create a new world, make a sign or memorial there, save, then update mod list and try to load that save. It should be corrupted and generate a NullPointerException in the log file in main Rimworld directory.
Pushing an update in a bit!