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 - laser50

#1
Unfinished / [1.0] RimThreads (WIP, UNRELEASED)
March 07, 2019, 06:29:54 AM
RimThreads - When lag gets you down

Inspired by Blas88, source code for his mods RotTickFix, Tick Multithread and IdleFix have proven to be of major help to my ability to understand any of this, parts of the Tick MultiThread code is currently being used and adapted. And I hope with this new knowledge I can start doing something great for everyone!


What is this?
RimThreads is a new mod/pack filled with tweaks to the game's basic code to try and speed it up a little, including as the name implies some basic threading capabilities. This will allow Rimworld to use some unused resources as the game is primarily single threaded. Obviously the performance gains for these mods are heavily dependent on mods, game state, game speed, CPU, CPU cores and all that jazz, so this may prove ineffective for some, and slightly more useable for others.

PRE-USE WARNING: It is also fair to warn you I have not that much experience in C#, this is my first Rimworld mod and I have little idea of what the hell I am doing. I have done extensive optimizations on a different game/game engine/code language which I hope will assist me in figuring this out. All features are tested modded and unmodded to behave as they should normally. Performance gain or not.


Current Features/Future Plans
I currently have in a working state:

  • Rotting Food checks detoured and delayed processing.
  • Idle Pawn Work Check now checks for less fires!
  • Rewrote ticker to add threads to the separate game loops.
I currently am brainstorming for this:

  • More locations that can use threading as safe as possible.
  • More tickers that don't have to run as often as they do.
  • More tweaks to list usages across the code
  • Anything I can desperately do to make some performance happen!

Download Link? Testing?
As of yet there is no download link, and there will not be held any tests. I'm taking things a bit slow, but this should ultimately end up with a better mod, and my dumb ass understanding parts of what I'm doing! I will update this topic frequently with new updates if I have any.
If you are a modder and you think you know where performance issues are coming from that I haven't mentioned, feel free to post here to help me out, we can make things happen!
#2
Mods / Modpacks?
October 21, 2016, 07:34:45 PM
Are there any modpacks left that are up-to-date? If anybody could link some it might help more people find the packs!