Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Difference between revisions of "Technical options"

From Starbase wiki
Jump to navigation Jump to search
m (→‎General notes: added Trine 4 link and fixed typo)
m (added support template)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Official_Info}}
{{Official_Info}}
{{Starbase_Support}}


= Overview =
= Overview =
Line 16: Line 17:
While you can change the resolution in the game's Settings -> Graphics menu, you can also do it in the options.txt file.
While you can change the resolution in the game's Settings -> Graphics menu, you can also do it in the options.txt file.


<code>setOption(rendererModule, "ScreenWidth", 1920)</code><br />
<code>setOption(rendererModule, "ScreenWidth", 1920)
<code>setOption(rendererModule, "ScreenHeight", 1080)</code>
setOption(rendererModule, "ScreenHeight", 1080)</code>


These control the "screen" resolution, i.e. how big of a screen is rendered by Windows. If you play fullscreen, you typically want this to match your monitor native resolution. This resolution determines the size of the user interface as well.
These control the "screen" resolution, i.e. how big of a screen is rendered by Windows. If you play fullscreen, you typically want this to match your monitor native resolution. This resolution determines the size of the user interface as well.
Line 25: Line 26:
The game rendering resolution can be adjusted separately:
The game rendering resolution can be adjusted separately:


<code>setOption(rendererModule, "RenderWidth", 1920)</code><br />
<code>setOption(rendererModule, "RenderWidth", 1920)
<code>setOption(rendererModule, "RenderHeight", 1080)</code>
setOption(rendererModule, "RenderHeight", 1080)</code>


== Adjust internal resolution scale ==
== Adjust internal resolution scale ==
Line 32: Line 33:
If you have trouble running the game smoothly, you may want to adjust the internal render resolution further. Just above the actual render resolution, you can find these settings:
If you have trouble running the game smoothly, you may want to adjust the internal render resolution further. Just above the actual render resolution, you can find these settings:


<code>setOption(rendererModule, "RenderResolutionMode", 0)</code><br />
<code>setOption(rendererModule, "RenderResolutionMode", 0)
<code>setOption(rendererModule, "RenderResolutionScale", 1)</code><br />
setOption(rendererModule, "RenderResolutionScale", 1)
<code>setOption(rendererModule, "RenderResolutionFixedAspectRatio", 1.77778)</code>
setOption(rendererModule, "RenderResolutionFixedAspectRatio", 1.77778)</code>


The middle one, RenderResolutionScale, is important - you can use anything from 0.1 to 1. Using 0.5 will halve the actual render resolution, and should give more performance. The game will look a bit more blurry but the UI will remain sharp. If you go for 0.1 or 0.2, you will see how Starbase could look as a 3D pixel game.
The middle one, RenderResolutionScale, is important - you can use anything from 0.1 to 1. Using 0.5 will halve the actual render resolution, and should give more performance. The game will look a bit more blurry but the UI will remain sharp. If you go for 0.1 or 0.2, you will see how Starbase could look as a 3D pixel game.
Line 50: Line 51:
Occlusion culling in Starbase does not have a whole lot of optimization possibilities. It is generally recommended to leave it alone (at 0).  
Occlusion culling in Starbase does not have a whole lot of optimization possibilities. It is generally recommended to leave it alone (at 0).  


<code>setOption(rendererModule, "HzbResolutionDropMipAmount", 0)</code><br />
<code>setOption(rendererModule, "HzbResolutionDropMipAmount", 0)
<code>setOption(rendererModule, "CascadeHzbResolutionDropMipAmount", 0)</code>
setOption(rendererModule, "CascadeHzbResolutionDropMipAmount", 0)</code>


These settings affect the quality of occlusion culling, and they are rather important at e.g. bigger stations. Any tweaks may cause unwanted side effects.  
These settings affect the quality of occlusion culling, and they are rather important at e.g. bigger stations. Any tweaks may cause unwanted side effects.  

Latest revision as of 23:41, 5 August 2021

Fb official info 32x32.png Official page: This page is maintained by Frozenbyte, the developers of Starbase, and cannot be edited by users. Information on this page has been confirmed to be correct at the time of writing (please get in touch if you notice anything odd or outdated).

Sb support 32x32.png Starbase Support Navigation

General:

  • New Player Guide for help in venturing out the first time, popular questions and info on the universe
  • Community:Guides for community-created tutorial videos and other helpful videos

Support:

  • Support for general support information and how to file F1 Feedback reports and get help!
  • Support guides for "How To" guides

Technical:

Important announcements:

Overview

You can find the technical initialization/configuration file (in Starbase custom format) at
%APPDATA%\Starbase\options.txt

This allows you to manually set multiple graphics options including resolution, and also edit certain settings that aren't exposed in the actual Graphics settings menu ingame.

General notes

It should be noted that Starbase is using the same underlying core game engine components as other games Frozenbyte has made, including the Trine series (see e.g. Trine 4: The Nightmare Prince on Steam). Some options available in the configuration file may not be relevant to Starbase - they may be relevant to other games or they may be deprecated.

Change resolution

While you can change the resolution in the game's Settings -> Graphics menu, you can also do it in the options.txt file.

setOption(rendererModule, "ScreenWidth", 1920) setOption(rendererModule, "ScreenHeight", 1080)

These control the "screen" resolution, i.e. how big of a screen is rendered by Windows. If you play fullscreen, you typically want this to match your monitor native resolution. This resolution determines the size of the user interface as well.

Adjust internal resolution

The game rendering resolution can be adjusted separately:

setOption(rendererModule, "RenderWidth", 1920) setOption(rendererModule, "RenderHeight", 1080)

Adjust internal resolution scale

If you have trouble running the game smoothly, you may want to adjust the internal render resolution further. Just above the actual render resolution, you can find these settings:

setOption(rendererModule, "RenderResolutionMode", 0) setOption(rendererModule, "RenderResolutionScale", 1) setOption(rendererModule, "RenderResolutionFixedAspectRatio", 1.77778)

The middle one, RenderResolutionScale, is important - you can use anything from 0.1 to 1. Using 0.5 will halve the actual render resolution, and should give more performance. The game will look a bit more blurry but the UI will remain sharp. If you go for 0.1 or 0.2, you will see how Starbase could look as a 3D pixel game.

Move the window by enabling titlebar

If you play in windowed mode and you want to move the window location, enable the titlebar:

setOption(rendererModule, "WindowTitleBar", true)

Then you can just drag the title bar of the window to move it wherever on the desktop.

Occlusion culling settings

Occlusion culling in Starbase does not have a whole lot of optimization possibilities. It is generally recommended to leave it alone (at 0).

setOption(rendererModule, "HzbResolutionDropMipAmount", 0) setOption(rendererModule, "CascadeHzbResolutionDropMipAmount", 0)

These settings affect the quality of occlusion culling, and they are rather important at e.g. bigger stations. Any tweaks may cause unwanted side effects.

If you are suffering from low performance and you are on severely limited hardware (such as integrated GPUs), you could tweak the first a little bit (single digits) and see if it helps anything. Technically the higher the number, the faster/worse the culling quality (but also more 'overdraw'). As a small side effect adjusting this may also increase generation time.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.