Config.ini

From Shield Cat Wiki
Revision as of 02:52, 11 September 2019 by Roxy (talk | contribs) (→‎[Video])
Jump to navigation Jump to search

The config.ini file contains general configuration info for Shield Cat. It can be found in the directories specified in the Installation Instructions, depending on which platform you're playing on.

Here is a table of the possible options, with their defaults specified. Please note that if a key/value pair isn't included in the ini file, then the game will use an internal default value which matches the ones specified below.

[Video]

Fullscreen="true"

Window_Width="1280"

Window_Height="720"

VSync="true"

AntiAliasing="0"

Texture_Interpolation="true"

Upscale_Method="1"

AppSurfaceUpscale="true"

[Input]

AllowTouchInput="true"

AllowKeyboardInput="true"

AllowGamepadInput="true"

[Debug]

WriteMapData="false"

[Video]

Below are the different video options.

Fullscreen

Default: "true" Whether the game is fullscreen or not. The game will remember if it was fullscreen or not the last time you ran it (even if you didn't use the video config menu,) and will make it that way again when you run it again.

Window_Width, Window_Height

Default: Window_Width="1280" Window_Height="720" When the game is not fullscreen, this is the size that the game was the last time it ran. This size will be restored the next time it's run.

VSync

Default: "true" VSync is used to get rid of vertical tearing. It can cause a performance hit, but that hit will only really affect older machines. It is best left on.

AntiAliasing

Default: "0" There are 4 possible values to this: 0, 2, 4, and 8. This will smooth out the lines on polygons, like the ones on the pause menu and dialog boxes, but comes at a great performance cost (even on modern machines.) It's best to leave this at 0, unless your device can support it.

Texture_Interpolation

Default: "true" This smooths out the pixels when the game is playing at a resolution that's not a solid multiple of 640x360, such as 1280x720 or 1920x1080. If you were playing at, say, 1680x1050 then the game would be downscaled some from 1920x1080 and Texture Interpolation will help to smooth out the pixels. Otherwise, you will get a jagged look.

This option also helps to smooth out words on the screen, as well as high-res assets such as character portraits, when they are downscaled. The performance hit on this is very small, so it's best left on.

Upscale_Method

Default: "1" There are two possible values for this, which are 0 and 1.

0 will use Integer Scaling, which means that if you're playing the game on a monitor that's 1680x1050, the game will play at 1280x720 to guarantee that all pixels are double size of the game's base resolution of 640x360.

1 will use Fractional Scaling, which means that if you're playing on the 1680x1050 screen, the game will render at 1920x1080 which is exactly 3 times the base resolution of 640x360, and then will downsample it to fit into your display.

It's best to leave this at 1, so that the game will take the maximum amount of space on your screen. However, if your monitor is something like 1366x768 and you're having performance issues or don't like the smoothing, it may be better to set this to 0 to prevent the game from rendering larger than it needs to. This will result in a black bar around the screen, but all pixels will be exactly double size.

AppSurfaceUpscale

Default: "true"

[Input]

AllowTouchInput

AllowKeyboardInput

AllowGamepadInput

[Debug]

WriteMapData