Starbound

Starbound

Stutter Reducer Beta
13 Comments
Anny 23 May, 2023 @ 2:14pm 
This really nice. Back then couple of year ago heavy modded I usually lagging suttering when flying around and now with this I can go on quite a long way before lag ONCE then no more.
DJENTLIONI [WS] 4 Mar, 2023 @ 7:55pm 
Agree - working really well! Thanks for your work
COVID-19 3 Mar, 2023 @ 6:23pm 
Feels like it's working better now, thank you!
Ree McScree  [author] 2 Mar, 2023 @ 9:46pm 
Upon some further testing I found one of the values I changed seemed to make things worse, but the other two helped. Hopefully it will perform better now. I use a program to record frame times and other information, which I average across 3 runs, so I can say I am getting objectively better performance. However, I don't know how it will effect other hardware configurations, it might only help some but not others.
COVID-19 2 Mar, 2023 @ 4:45pm 
I feel the performance with the new update may be slightly worse, but that's speculation.
Still works pretty good though.
Ree McScree  [author] 27 Feb, 2023 @ 7:44pm 
Heads up, the mod has been updated! Did this one pretty quick because I was confidant the 1.0 change wouldn't cause any problems. For this 1.1 version a less aggressive version of cache changes has been added. I ended up doing all them at once because they didn't do much on their own. With this update you may find issues, so please let me know if you do!
Ree McScree  [author] 27 Feb, 2023 @ 10:43am 
Yeah I've noticed this issue as well. It seems to be an issue with how Starbound loads assets, as stuttering is very common whenever Starbound does any type of loading (worlds, items, projectiles, monsters, etc.). Unfortunately I don't think there's anything I can do about it. I can only change existing values the developers put in config files, and this would require fundamental changes to how Starbound operates under the hood, which just isn't possible for a mod.
Nezzy 27 Feb, 2023 @ 10:37am 
They aren't major lag spikes but they are around half a second to a full second long & I still to this day haven't seen anyone fix it, I've tested on 3 different computers, several users, they all have the same result when playing. (Just in case you assume its me or mods)
Nezzy 27 Feb, 2023 @ 10:36am 
I would love if you could fix a long standing lag spike bug with recipes if you pick up an item, whether it be from your inventory or from the ground you get a large lag spike. another is when coming into screen view of another player.
COVID-19 26 Feb, 2023 @ 6:35pm 
Oh, kinda wondered if or how changing the starbound config would be possible in a mod haha...

Yeah, not much for documentation at all on the config file, aside from some barebones descriptions on the wiki.

Look forward to hearing your results though.
Ree McScree  [author] 26 Feb, 2023 @ 6:01pm 
Mods can only change things in the starbound/assets folder, so I wouldn't actually be able to change starbound.config with this mod. However I could recommend changing some of its values in the mod's description.
As for what these actually do I currently don't really know any better than you as there seems to be zero documentation for these things out there. I'd make the same assumption that zero would be unlimited, but then you'd think performance would go backwards rather than improve. Anyway, thanks for bringing this up, I'll be sure to look into it.
COVID-19 26 Feb, 2023 @ 4:51pm 
For the starbound config (starbound/storage) These settings seemed to have a positive effect when I used them.

Notably, I changed the limits to 0, which I had anticipated would break some things, but it didn't appear to have that affect at all.

Here is what I changed:

"safeScripts" : false,
"scriptInstructionLimit" : 0,
"scriptInstructionMeasureInterval" : 0,
"scriptProfilingEnabled" : false,
"scriptRecursionLimit" : 0,

Not sure what having them at 0 does in this context, as a lot of script heavy mods such as starforge, knightfall and whatever else all still seemed to work fine.

Perhaps it disables the limit entirely? Not really sure on that, just mere speculation as it didn't brick the game entirely.

Not really my forte, but perhaps something you could check out and do some testing with.

Thank you.

(2/2)
COVID-19 26 Feb, 2023 @ 4:51pm 
Having had an opportunity to try this, I've noticed no ill effects from this mod, and I have 600+ mods active in addition to this.

Have played for a couple hours with it and works pretty good.

This doesn't solve the stuttering, but it would take a lot to do that with 600 mods.
It does however smooth it out quite a bit to where it's more bearable.

One thing I'd like to mention is that I know you mentioned you changed some of the config files.
I had dabbled with that myself when I was trying to fix stuttering, and I noticed an interesting oddity in my testing.

(1/2)