Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Brrainz

#1
Hi everyone,

this is the official topic for all my RimWorld mods. My name is Andreas Pardeike and I am called Brrainz everywhere. I am also the creator of Harmony, the patch library that allows every modder to replace vanilla C# functionality in RimWorld.

My Mods













Name                              Description                                                                             Download    Steam
Achtung!QoL: control drafted colonists and force jobs to completionDownloadVisit
Camera+QoL: zoom fully in or outDownloadVisit
Careful RaidsConcept: make raiders avoid places where one of them diedDownloadVisit
Just Ignore Me PassingQoL: Keep building while someone passes the spotDownloadVisit
MOD-ETool: Mod list management for save filesDownloadVisit
No Pause ChallengeGame Mode: A true continuous game experienceDownloadVisit
Range FinderTool: Visualize the range of gunsDownloadVisit
Reverse CommandsQoL: Choose object, select verb/colonist thenDownloadVisit
Same SpotEnhance: multiple pawn on the same cellDownloadVisit
ZombieLandContent: They Are Billions for RimWorldDownloadVisit

Files and versions

You can find current versions of my mods on Steam Workshop or on my GitHub Repositories. Older versions, source code and other projects can also be found on GitHub.

How to report bugs or problems

Try to trigger the problem without a lot of other mods! Create an GitHub Issue and upload a save game and a log file so I can reproduce the problem. I don't have the time to find and fix errors or problems that occur if you have 50+ mods installed.

Support me

I put countless hours every week into my mods and Harmony. Therefore, please support me: It takes less than 2 minutes to go to Patreon and become a member for as little as $2 (less than a beer or coffee!).

Feedback

My main interaction with users is at Steam, where usually all my users interact with me. You can also reach me on my Discord server.

License

Free. As in free beer. Copy, learn and be respectful.

Contact

Andreas Pardeike
Email: [email protected]
Twitter: @pardeike
#2
Hello everyone. Let me introduce a little mod called ApparelX. It adds a checkbox to filter out everything but deadmans cloths in the trading dialogs. It also adds a Sell-All button for quick execution.



Steam: http://steamcommunity.com/sharedfiles/filedetails/?id=1174270842
GitHub: https://github.com/pardeike/ApparelX

Enjoy!
#3
Hi guys,
Quick poll: which mods, weapons, scenarios, races or gadgets go well together with a zombie mod and could be packed together with a zombie mod?

Any ideas welcome!
#4
Tools / [LIB] Harmony v1.2.0.1
January 13, 2017, 04:59:21 PM
HARMONY 1.2.0.1
the right way of patching code at runtime

Hi,

Harmony is a simple dll that you embed in your mods. It will allow you to add code to any method inside RimWorld or other mods. It even works if more than one mod patches a method and it is not a mod itself which means that your users don't have to install it.

You can find out more about it on GitHub. I made it completely open source and hope that we all together can continue to evolve it. It comes with some wiki documentation and there are many mods using it on GitHub too (HugsLib has it build in i.e.). It works on PC, Mac and Linux.

The github repository has a ready made version of the lib in dll form and you can either add it to your Assemblies folder (add reference and keep "Copy" on) or merge it with a tool like ILMerge into your own dll.
Please feel free to give it a try and come back with feedback.

Harmony on nuget: Lib.Harmony

Harmony on GitHub:
https://github.com/pardeike/Harmony/releases/tag/v1.2.0.1
https://github.com/pardeike/Harmony/wiki

Example 1:Camera+ on GitHub:
https://github.com/pardeike/CameraPlus

Example 2:SameSpot on GitHub:
https://github.com/pardeike/SameSpot

Quick starter snippet including a patch to load a specific game on start:
https://gist.github.com/pardeike/12c457e135a42a28e068f2aba5337221

Please also help spreading the word so we all finally get to a point where we don't sabotage each other with detours that create dependencies and force the user to load mods in certain orders (Harmony defines priorities and dependencies internally). I am available for any questions in this thread. We are about to incorporate this into all the major mods and general libs like HugsLib. I will personally try to advertise Harmony in the Unity forums because as it is now, Harmony isn't RimWorld specific.

Thanks for your feedback and support.

Cheers,
Andreas Pardeike
#5
Hi,

I looking for some feedback for a side project I have. It's called Reloader and it tries to do hot code replacement (with Detours from CCL). Not completely finished yet, but I put it on github: https://github.com/pardeike/Reloader (more details there).

I tried different approaches but this one seems most promising. It has similiar drawback as in the Java world where you cannot release the memory easily. But it will reduce the number of stop/start cycles while developing.

Please let me know what you think,
Andreas
#6
Hi,

I'm new to modding so in order to get to my own mod, I am trying to compile a rather simple existing example from GitHub. Since I will have to do Detours later, I chose DevSpeedEnabler and can get it almost working.

Problem is, that I cannot get it to completely compile. It complains about "The type of namespace name 'StaticConstructorOnStartup' could not be found (are you missing a using or an assembly reference)".

The file TexButton.cs starts with

using System;
using Verse;
using UnityEngine;

and I went to the project settings and added a reference folder that contains three dll's:


  • Assembly-CSharp.dll
  • Community Core Library.dll
  • UnityEngine.dll

which solves the entries in the projects "References" section.

Those come from RimWorld1241Mac as I am using OSX with VisualStudio Community 2016 running in VMWare and from the latest Community Core Library. At this point I am not sure what else to do.

Can anybody help me out?

[attachment deleted by admin - too old]