RimWorld

RimWorld

Harmony Fix For Penguins
71 kommentarer
A dead rat 28. nov. 2023 kl. 16:39 
> This mod isn't needed anymore.
Please put that in the mod name or description.
smitty_the_smith 22. okt. 2022 kl. 15:10 
@PS Charlotte is correct. I'm running Linux Mint and RImworld is doing great. 1.4 and all.
ParasiticSquid 22. aug. 2022 kl. 16:26 
And yet my arch linux system can't run anything but the proton version. I know it's a linux only issue because the exact safe mods on a proton install on the same system or a windows install on another system it works perfectly.. but native dies while loading and on the off chance I get into the game it randomly crashes occasionally
Charlotte  [ophavsmand] 11. juli 2022 kl. 18:48 
This mod isn't needed anymore.
Kyrox 11. juli 2022 kl. 18:12 
My Steam Deck fails to load my mod list. Just sits on. LoadTerrqinDef, or something. Anyone know what mods don't work with Steam Deck?
Charlotte  [ophavsmand] 3. dec. 2021 kl. 17:14 
Harmony has the fix included already. It's not needed for 1.3
Cosmic 3. dec. 2021 kl. 12:45 
Is this still working and/or necessary for 1.3? I just tried enabling it and get an error in the console.
Koda 9. nov. 2021 kl. 19:04 
is there a version of this for windows? will there be in the future?
tuk0z 28. okt. 2021 kl. 5:09 
1. https://forum.unity.com/threads/solved-il2cpp-android-mmap-prot_none-failed.1112581/ Couple interesting links here also make sure to read post #4 (GC_realloc / GC_register_finalizer_ignore_self abort due to mmap(PROT_NONE))
2. Also affects Unturned3 hosts: https://github.com/ivmai/bdwgc/issues/334
3. And the Oxyde/umod community: https://umod.org/community/rust/23870-linux-server-crashing-with-caught-fatal-signal
All from 2020-10 (earliest mention I found) onwards.
Charlotte  [ophavsmand] 27. okt. 2021 kl. 20:21 
Yeah, that could help. Tynan is investigating some Linux crash that has been reported (I'm not experiencing it)
tuk0z 27. okt. 2021 kl. 10:16 
Want links Charlotte, I mean about this Unity on Linux CTD and its cause?
Charlotte  [ophavsmand] 27. okt. 2021 kl. 7:57 
That's very weird. I've never heard of that.
tuk0z 26. okt. 2021 kl. 21:17 
@Charlotte might well have found what's causing the Game-starts-to-furiously-crash-after-a-few-IG-years CTD (nmap): the Linux kernel vm.max_map_count default setting isn't really adapted to huge (feet-coded?) Unity/Mono processes as Windows is, curiously ;)
Will wait before crying victory but no more crash for 24h is already big. It's been ages all my colonies ended up crashing.
tuk0z 22. okt. 2021 kl. 9:50 
Hey Charlotte, crash and errors both reproducible.
- Original mods pack, causing the 'nmap' crash *after* 4 IG years:
https://gist.github.com/13b9b04d6752632d19e70510c3a3ab5e
- Current mods pack having the same game/campagin running just fine: https://gist.github.com/b0555f768f4a95d1e16fc4768a6a097e But I'm not yet done testing all my mods (still a dozen atm).
Charlotte  [ophavsmand] 18. okt. 2021 kl. 10:02 
What's your modpack? Your only hope is that it's reproducible. Otherwise, it may likely be memory corruption/failure, on your hardware.
tuk0z 18. okt. 2021 kl. 9:00 
Question @Dorsai!, @woeflele and any player having the issue, when using some of these mods does your game crash immediately (i.e. from day 1) or after a while in your campaign?
Am asking as my own campaign was perfectly stable for ~6 weeks before the game crashed once. And even then it only crashed a few times during weeks, before becoming fully unplayable last Sunday (crash crash crash ...).
I opened a bug report on https://ludeon.com/forums/index.php?topic=55734.msg492884#msg492884 . Not that I have high hopes it'll get any coverage but hey!
Tornadocholo 23. sep. 2021 kl. 20:04 
Thanks for caring about us:)
Draconicrose 12. aug. 2021 kl. 1:38 
I added a bunch of mods so I can't really say. :/
Charlotte  [ophavsmand] 11. aug. 2021 kl. 18:41 
That's so weird... Which mod?
Draconicrose 11. aug. 2021 kl. 13:45 
That's interesting. I was having a crash consistently before activating this mod (couldn't even interact with the UI much) and now it's gone without any other change.
Charlotte  [ophavsmand] 11. aug. 2021 kl. 13:43 
It doesn't work at all. Harmony won't let the patches of this mod run.
Draconicrose 11. aug. 2021 kl. 13:30 
This is definitely needed in Rimworld 1.3. Thankfully it doesn't actually seem to need an update.
lilwhitemouse 31. juli 2021 kl. 22:06 
Thank you Charlotte for taking care of us all this time :)
CouilleGrinder 26. juli 2021 kl. 18:27 
Thanks @Brrainz for taking care of the penguins
Charlotte  [ophavsmand] 25. juli 2021 kl. 16:26 
Nice! This mod is deprecated now.
Dorsai! 25. juli 2021 kl. 15:32 
Nice work! All the mods I had problems with (VFE:Mechanoids, Visual Exceptions and Animal Controls) now work without problems. Thank you!
Brrainz 25. juli 2021 kl. 15:28 
Yep, at your service. Hope it works well for all patch cases.
Sir Humphrey Appleby 25. juli 2021 kl. 15:21 
Brrainz has updated Harmony. You can now play with VFE Mechanoids on native linux.
Charlotte  [ophavsmand] 23. juli 2021 kl. 6:54 
Yeah, I noticed that 1.2 mods that were fixed by this mod are crashing again in 1.3 but the methods can't be patched. I suspect it's something to do with the inheritance. May try and patch the whole tree from an offending method.
woeflele 22. juli 2021 kl. 23:19 
Running VFE throws some world generation errors in my case (each factions gets only one base on map). I have noticed that telkir.tmods.morefloors and voult.betterpawncontrol mods cause the same crash like some mods on 1.2 without using this fix for penguins, Here's my log and mod list running Better Pawn Control: https://pastebin.com/uHPHCRhb

Also I'm getting some harmony exceptions for What The Hack, as seen in the log, however they don't cause any crashes yet

giantspacehamster.moody is also broken in my Rimworld, however author seems to already know about issues
Brrainz 22. juli 2021 kl. 21:11 
@Charlotte I don’t think I understand the new crashes with 1.3 and Linux yet. You and all other people in this section are probably most likely able to test and analyze the problem. It could be Harmony or just a new Mono version in an updated Unity player. No idea and I am not running at full capacity bc of me being on holiday for another 2 weeks at least. But I’ll sub here to keep up with the issue a bit.
Dorsai! 22. juli 2021 kl. 14:15 
I've bisected my list of 1.3-compatible mods and found that "Animal Controls" and "Visual Exceptions" crash the game right on the start screen, after opening and closing a menu (like Options or Mods). Also, as many others mentioned, VFE: Mechanoids crashes the game on loading or starting a game.

This is the same behavior as on 1.2 when not using this mod.
DreamSequence 22. juli 2021 kl. 4:52 
linuxbros we got too cocky... :steamsad:
alliephante 21. juli 2021 kl. 19:10 
Definitely VFE Mechanoids is causing a crash. Adding it in results in this crash during game start. Removing just VFE Mechanoids and there is no crash.

Log: https://pastebin.com/2r6fpHrm
Seems like it's GenerateMap_Patch0
Charlotte  [ophavsmand] 21. juli 2021 kl. 17:49 
Bad news. This mod can't be updated to 1.3. The issues this mod patched, no longer apply for Harmony 2.1.0, it won't let you patch them anymore.

If you are crashing, there must be some other issue with Harmony. It'd be helpful if you can gather which mod cause issues.

I looked at RangeFinder source code and it is seemingly harmless, I don't see where it could be crashing, there is no "in console open" event.
alliephante 21. juli 2021 kl. 16:26 
Oh okay great! No rush of course, real life always comes first and all :) I'm always annoyed by the entitled people that demand updates immediately lol

seems like only VFE mechanoids caused the problem and I've been doing 'mod light' anyway to try out all the ideology features as vanilla as I can stand so I removed it. I know gastronomy caused the same issue on 1.2 but it hasn't been updated yet so no worries on that front either.
Charlotte  [ophavsmand] 21. juli 2021 kl. 13:30 
I'll update it
alliephante 21. juli 2021 kl. 12:48 
Can confirm I got the telltale crashing from VFE mechanoids on game start. Same kind of crashing on/shortly after game start that I had with other mods in 1.2 before adding this.

Running the game with proton isn't an ideal solution especially since rimworld *is* native. I might look to see what it would take to update this to 1.3 when I have some spare time (assuming the author isn't already).
tetaybabie 21. juli 2021 kl. 6:49 
I have found that any mod which changes the bottom UI bar without adding a new tab crashes my game to desktop.
Charlotte  [ophavsmand] 20. juli 2021 kl. 20:25 
Yeah... As an alternative you can run RimWorld with proton, performance hit is minimal and it won't crash.
Brother Erectus 20. juli 2021 kl. 19:49 
Also getting a crash with VFE Mechanoids on game start.
Dorsai! 20. juli 2021 kl. 19:47 
Whatever makes 1.2 crash with certain mods still crashes 1.3. I wonder what it is that makes it so hard to integrate this fix into mainline Harmony. Or is it just a communications issue (Harmony devs don't seem to be very approachable)?
Sir Humphrey Appleby 20. juli 2021 kl. 13:07 
I'm still getting crashes with 1.3 and VFE Mechanoids on game start. My temp solution was to change Rimworld to use Proton.
Charlotte  [ophavsmand] 19. juli 2021 kl. 17:34 
Supposedly not needed for 1.3, let's see how it goes...
DreamSequence 9. juli 2021 kl. 12:16 
I never even thought to check if the reason my stuff was crashing was linux, thanks a bunch for the fix!
not_waifu 9. juli 2021 kl. 7:34 
could you tell me is this still neded in 1.3, like is the problem still there or hamony fixed it themselves?
Charlotte  [ophavsmand] 27. maj 2021 kl. 22:13 
Try with updated Harmony, I heard it works.
Honshitsu 27. maj 2021 kl. 19:58 
Yep, still crashing with SOS2... What a giant pain in the ass this bug is.

If anyone has suggestions I'd appreciate it.
lilwhitemouse 18. maj 2021 kl. 11:01 
One possibility:
this mod is forcing methods to be actually compiled even if empty, but they still have almost 0 memory space. This is fine if the Harmony patch is simple, but fails if the Harmony patch needs to use the local variables?

Don't know if that helps; thanks for the work with this :)
Quicksilver 18. maj 2021 kl. 8:16 
No worries; I'm sure they'll turn up eventually. Thanks for the fix all the same.