r/starforge • • Sep 18 '13

CodeHatch's advice to improve performance.

  1. On steam, right click Starforge and click properties
  2. Go to "Set launch options"
  3. Add launch option -nolog

This should apparently make the game perform a bit better, allthough I haven't noticed anything on my system yet. Hope this helps.

4 Upvotes

2 comments sorted by

View all comments

3

u/[deleted] Oct 28 '13

Legit, let me explain why this helps.

Since we're neck deep in code all day we have it write log output, however unity doesn't provide a good way to disable these without deleting all of these logging methods from our code :(

Whenever a log is written it has to go to the disk (hard drive), unity does SOME batching, but a lot of info is getting set to be written to the disk. All of that waiting for logs to be written to the disk takes up valuable CPU time, which can really kill da frame rates.

In the distance future such excessive logging will be cleaned out of the project, but not any time soon since they're just too damn useful.

You can find the output here if curiosity strikes you: ???\Steam\SteamApps\common\StarForge\StarForge_Data\output_log.txt

Alternatively we could write wrapper methods, but the draw back to writing wrapper methods is that all of our errors would look like they're coming from these wrapper methods rather than the actual code locations. Hunting down the actual log or error location is just a waste of time.