Jump to content

truthseeker

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation

0 Neutral
  1. "Generally more garbage collection is better than less" well in this case with Unity it means more stutter "If you put it off longer, you're making your computer waste RAM" I dont mind wasting ram as long as I get less stutter. The game only uses 6 gig ram so my Ram just sit there doing nothing isnt that a waste ? "and making each pass take longer" in this case thats exactly what I what, longer time in between garbage calls, I planned to call the garbage collection myself when the game pauses which is very frequent. I need to know how much time can I gain by increasing the heap with 16 gig if a game stutter every minute .
  2. Oh I didn't know KSP was THAT bad! I though maybe I could get 1 or 2 more minute with this mod, so you think its just a waste of time ?
  3. Do I understand this correctly: You use miniavc.dll which is a plugin specific to KPS( KSP-AVC Add-on Version Checker Plugin 1.1.6.2 - MiniAVC ) you can find online to connect with the game. The line [KSPAddon(KSPAddon.Startup.Instantly, false)] tell the plugin to call your function at a specific moment which is specified in the parameter KSPAddon.Startup.Instantly which I presume is at the start of the game. - The second parameter is a boolean , in this case the parameter is false , what does this parameter do? with KIngmaker pathfinder I can use unity mod manager, the equivalent of miniavc.dll plugin . The tool got a function that is onMonoUpdate I was thinking to maybe use it to increase the heap. - Do i have to run the padHeap.cs code at the start of the game to make it works? for example if i connect it with a button that i press and run it once I press it, would it work ? (I know its not optimal but I will see my options as I go along and get familiar with the tool) or do I need to increase the heap at a specific moment for it to work and stay like that ? - And one last thing how much improvement should I expect with 16 gig in my system if garbage collection stutters occur ever 2 minutes (is it worth the time investment I need to know how much will I gain I have never play KSP and use the tool yet)? Im sorry for my load of questions :S thats a bit embarrassing but I guess with that information I should be good to start and do it thank you for your time a patience.
  4. Well to be fair my programmer skills are pretty low, I use to program in college so its been a while. Ive been looking for a solution for a long time to fix those stutters with no succes. those games I really want to play and if the heappadder make the game more playable then im willing to try . After looking up the heappadder code i think I could do it with a bit of direction from you if you are willing to help a bit :). First I dont get where do you start the program where is it called and initialized and there is this line of code that I have no clue what it does and how is it related to the game itself :[KSPAddon(KSPAddon.Startup.MainMenu, true)] . What is this line doing it seems to be connected to the game code and how do you connect to the game startup. Another question is how much time you can gain with the heappadder in between stutters ? if my game stutter every minute how much can i gain from it ? I dont want to annoyed you with that, I hope you dont mind helping a bit
  5. Hi Linuxgurugamer, I was wondering if your mod could be ported to other unity game that also suffer from garbage collection stutter. I dont play KBS but im looking for a way to play Pathfinder Kingmaker, pillar of eternity and tower of time without those periodic stutter every minute or so, I know for a fact that they are cause by garbage collection, when I hack the code and add garbage call myself this delay the stutter. If I could use your mod to delay the time between those stutter and then I could call gb.collect when i loot something and never see those stutter again and enjoy the game (im extremely sensitive to stutter like that) Would It be possible, would it take a lot of effort to make the mod work on other game ? but want do you think, It would be great to use your mod on other unity game and make them a lot more enjoyable.
×
×
  • Create New...