Jump to content

Recommended Posts


In your settings.yml in the installation directory of your game, you can place something like

scriptedProfile:
  saveGame: 'C:\Users\{YOUR_USERNAME}\Documents\Klei\OxygenNotIncluded\cloud_save_files\76561198164876793\Spaced In\Spaced In.sav'
  disableGC: false
  startWaitTime: 30.0
  frameCount: 1000
  eventFilename: ''

This will generate a performance report (PerformanceCaptureData.json) like so:

{
    "Revision": 697712,
    "Patch": "",
    "Branch": "preview",
    "IsDevelopmentBuild": true,
    "IsBaseGame": false,
    "ActiveDlcsInSave": [
        "EXPANSION1_ID",
        "DLC2_ID",
        "DLC3_ID",
        "DLC4_ID"
    ],
    "LoadedDlcs": [
        "DLC4_ID",
        "DLC3_ID",
        "DLC2_ID",
        "EXPANSION1_ID"
    ],
    "BuildTags": [
        "dev"
    ],
    "Brains": [
        {
            "name": "DupeBrain",
            "count": 25
        },
        {
            "name": "CreatureBrain",
            "count": 1068
        }
    ],
    "Cycle": 16673,
    "MainMenuLoadTimeSec": 17.9050235748291,
    "MainMenuMemoryMegs": 2359.328125,
    "SaveLoadTimeSec": 144.1787872314453,
    "SaveLoadMemoryMegs": 9798.609375,
    "EndMemoryMegs": 10076.01953125,
    "PerfMonAverageFrameTimeMs": 86.68160247802735,
    "SWAverageFrameTimeMs": 90.67975616455078,
    "BuildConfig": "dev",
    "GameSpeed": 3
}

So on the beta branch I can consistently produce a performance metric of about 90ms for 1 frame on my current hardware.

There might be another way to do this but it could also be useful for modding to be able to easily boot up a save file directly without going through the main menu.

  • Like 1
  • Big Ups 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...