RimWorld

RimWorld

RimRPC - RichPresence
76 Comments
MasterPNJ 17 Jul, 2024 @ 1:16pm 
I forked version 1.5 (should also work for 1.4). Here is the link of the mods : https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3291415439 .
I'll delete the fork if the author doesn't want it and asks me to.
Lord Kai 7 Jun, 2024 @ 3:53pm 
I have not had the mod working in 1.5, no rich presence, and I'm getting infinite errors in the log. :theskull:
Котяра 5 Jun, 2024 @ 11:42am 
Update in 1.5 plz.:tobdog:
WispEnjoyer 21 Apr, 2024 @ 7:37am 
Mod technically works for 1.5 BUT
Mod Settings aren't functional so there is no customization possible.
Billie Cardboard 18 Sep, 2023 @ 7:14am 
Can confirm, still seems to work fine!
Ats 26 Oct, 2022 @ 8:33am 
appears to work fine in 1.4 besides a warning
mxdanger 12 May, 2022 @ 3:33pm 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
WaxenSs 12 May, 2022 @ 3:19am 
Does the mod work on mac? since the Embed Runtime folder does not exist, this does not work (even when creating the folder)
Lurmey 17 Feb, 2022 @ 8:04am 
I would really love if this could show ongoing events, such as raids and sieges, toxic fallout, infestations, etc. That would be really cool
KittehisMEOW 14 Aug, 2021 @ 8:48pm 
For me the settings thing isnt popping up, nor are anything popping into the error thing at all..i feel like i just did a dumb.
Trinary0 29 Jul, 2021 @ 4:37pm 
It shouldn't have gone anywhere, I followed the installation instructions....

Oh wait. I did a game wipe and redownload for other mod troubleshooting. Herp derp.
Yeah, it's gone. Put it back in. It'll probably be fine now. Thanks!
Weil  [author] 29 Jul, 2021 @ 3:43pm 
@Trinary, it cannot find the : 0discord-rpc.dll/.so file. What OS are you using, and where are you putting that file in your game directory?
mxdanger 28 Jul, 2021 @ 11:29pm 
Working for me on Windows.
Trinary0 28 Jul, 2021 @ 8:46pm 
RimRPC just broke, throwing up tons of errors now.

https://gist.github.com/139a4bc275a10d751319ea33145b3e00
Pim 22 Jul, 2021 @ 11:49pm 
It doesnt work anymore since 1.3 for me. However there is no error messages... Did the method of installing the Discord .so / .dll file change? I am on Linux.
Weil  [author] 11 Jul, 2021 @ 1:02am 
Updated for 1.3
Weil  [author] 15 Aug, 2020 @ 4:00am 
Its going to take me a bit but the 1.1 release works for 1.2 as well. There will be an error about something regarding a ColorPicker but you can ignore it safely.
Weil  [author] 14 Aug, 2020 @ 8:19am 
Yes, soon.
mxdanger 13 Aug, 2020 @ 10:55pm 
Is 1.2 support planned?
Weil  [author] 9 Mar, 2020 @ 7:10pm 
By the way, for 1.1 update, you need to put 0discord-rpc.dll into => \MonoBleedingEdge\EmbedRuntime
Ancalagon 4 Mar, 2020 @ 7:31am 
Yay! It works. :) Thanks for your hard work!
Weil  [author] 3 Mar, 2020 @ 5:37pm 
Updated.
Weil  [author] 2 Mar, 2020 @ 9:35am 
You can download the 1.1 version from GitHub. Will be updated on the workshop soon. Thanks to Toakan on GH.
Flixbox 2 Mar, 2020 @ 3:51am 
Is 1.1 support planned?
mxdanger 11 Jan, 2020 @ 1:46pm 
It works like a charm! :)
Weil  [author] 11 Nov, 2019 @ 12:36pm 
@Lifey, if the game lets you mod with C# and can load dlls from somewhere then you should be able to import the discord rpc file like its been done here - https://github.com/Weilbyte/RWRichPresence/blob/master/Source/DiscordRPC.cs . And after that just use the imported functions.

If its C then it should be easier I think.
levi 10 Nov, 2019 @ 2:24pm 
Thanks for this really nice mod, how do you go about making these rich presence mods for games? Is there a certain guide you followed? I would like to make my own for some games and I have a bit of coding experience.
gumpin it 27 Oct, 2019 @ 9:43am 
ty again
Weil  [author] 21 Oct, 2019 @ 4:44am 
@ok, the instructions for Linux are now on the GitHub repo as well.
@Vas, I could not manage to make it use the C# implementation/wrapper because of issues regarding Unity. So the shady dll thing is pretty much the way it has to be.
gumpin it 13 Oct, 2019 @ 4:04pm 
ty
Weil  [author] 13 Oct, 2019 @ 1:53pm 
A user reportedly got it to work by placing the .dll in one of the games directories - not sure which though.
gumpin it 12 Oct, 2019 @ 10:08pm 
does this work with Linux?
Weil  [author] 4 Oct, 2019 @ 10:35pm 
@Vas, I know that it looks shady as hell :P

Once I get some real life stuff out the way I'll work on switching it to use discord-rpc-csharp.
Vas 4 Oct, 2019 @ 5:35am 
Yea, I know some things sometimes just can't be done in mods, but I still steadfastly refuse to use a mod that requires you to drop DLLs elsewhere on your machine in order to activate the mod, its bad for a number of reasons. I ended up subscribing and noticing the error, then came back to see it required the DLL, this was after jdalt linked it in discord for me. :P

Lemme know when it works with just activating the mod in the game list though.
Weil  [author] 3 Oct, 2019 @ 8:24pm 
@Vas, its not touching any game files. you're just placing the .dll file in another folder - the file itself does not touch or alter the game in any way.

Reason for this is because the .dll is unmanaged (C++) and because of that it cannot be referenced and must be imported. When your mod references a .dll, RimWorld looks for the file in your mods Assemblies folder, but when your mod imports it - the game doesn't look for it there.

Now I am thinking of switching the mod over to use a C# wrapper for discord-rpc (so you won't have to download anything and all that) but I am currently not in the mood to do this so it'll take a while.
Vas 3 Oct, 2019 @ 6:56pm 
I almost used this, but I refuse to mess with the game's files. If it can't be done within the mod then it can't be done in my opinion.
Nianor 27 Sep, 2019 @ 1:57pm 
Sorry, my bad, the bug doesn't seem to have been with your mod, upon further testing the issue has persisted after uninstalling. Seems like my drug assignments have been broken somehow, I'll try messing around in the save data to see if I can fix it. After that I'll reinstall your mod and see if it still has problems.
Weil  [author] 27 Sep, 2019 @ 1:09pm 
@Nianor, hi, did you follow the additional instructions? They can be found here - https://github.com/Weilbyte/RWRichPresence/blob/master/README.md#installation
Nianor 27 Sep, 2019 @ 12:48pm 
This appears to be stopping me from loading worlds once I quit to menu? I can supply logs, this seems like the error (trimmed for Steam char lim):
Exception filling window for RimWorld.MainTabWindow_Menu: System.DllNotFoundException: 0discord-rpc
at (wrapper managed-to-native) RimRPC.DiscordRPC.UpdatePresence (RimRPC.DiscordRPC/RichPresence&)
at RimRPC.StateHandler.MenuState ()
at RimRPC.RimRPC.GoToMainMenu_Postfix ()
at (wrapper dynamic-method) Verse.GenScene.GoToMainMenu_Patch4 ()
at RimWorld.MainMenuDrawer.<DoMainMenuControls>m__B ()
at Verse.ListableOption.DrawOption (UnityEngine.Vector2,single)
at (wrapper dynamic-method) Verse.OptionListingUtility.DrawOptionListing_Patch2 (UnityEngine.Rect,System.Collections.Generic.List`1<Verse.ListableOption>)
at (wrapper dynamic-method) RimWorld.MainMenuDrawer.DoMainMenuControls_Patch1 (UnityEngine.Rect,bool)
at RimWorld.MainTabWindow_Menu.DoWindowContents (UnityEngine.Rect)
at Verse.Window/<WindowOnGUI>c__AnonStorey0.<>m__0 (int)
Rancra 19 Jan, 2019 @ 7:26am 
Great, thanks!
Weil  [author] 18 Jan, 2019 @ 7:37pm 
Updated. For 1.0, plus new features.
Weil  [author] 18 Jan, 2019 @ 2:44pm 
Big update coming soon!
Jdalt40 11 Dec, 2018 @ 10:18pm 
Hey DustyTB, I've made a pull release to update to 1.0 and added some very slight features, feel free to remove them if you dislike these features (also removed log spam).
Rancra 28 Oct, 2018 @ 1:32am 
Great
Weil  [author] 27 Oct, 2018 @ 10:39am 
soon
Rancra 27 Oct, 2018 @ 10:17am 
Will you update the mod to 1.0?
Dragonn 27 Sep, 2018 @ 4:32pm 
*fingerguns*
Weil  [author] 27 Sep, 2018 @ 2:34pm 
Thanks for making the guide!
Dragonn 27 Sep, 2018 @ 1:08pm 
Jdalt40 21 Sep, 2018 @ 9:58pm 
Ah cool, that's all fine by me, thank you for the mod! :)