config.opt - widberg/fmtk GitHub Wiki
On startup the game will look for the file %appdata%/FUEL/FUEL/config.opt
with the format described below. If this file exists, then the values in the struct will take precedence over the values in the registry. It is important to note that this file is not created by the game and does not come with the game, but it can be created manually. The config.opt
file from Up matches this format and can be used in FUEL. The version number from the config.opt
file in Up matches the version number found in the registry for FUEL.
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//------------------------------------------------
struct ConfigOpt {
uint32 Version;
uint32 VideoMode;
uint32 VideoResolution;
uint32 VideoAdapter;
uint32 VideoMultisample;
uint32 VideoAnisotropic;
uint32 VideoHDRI;
uint32 VideoTextureQuality;
uint32 VideoTextureFiltering;
uint32 InvertYAxis;
uint32 MouseSensitivity;
uint32 PadsSensitivity;
uint32 NbPlayer;
uint32 UserLanguageID;
} config_opt;
Super Farm (Microsoft Store) Version
The config.opt
file from Super Farm on the Microsoft Store has a completely different format. A dump of the file follows. This file is reminiscent of the Controls00
registry key.
Version -1879048189
{Control
{NbPlayer 1
{Player 0
{NbContext 4
{Context 0 15700
Action 15701 2490367 65533
Action 15702 2621439 65533
Action 15703 2555903 65533
Action 15704 2686975 65533
Action 15705 5701631 65533
Action 15706 4456447 65533
Action 15707 65533 65533
Action 15708 65533 65533
Action 15709 5832703 65533
Action 15710 65533 65533
Action 15711 65533 65533
Action 15712 65533 65533
Action 15713 1835007 65533
Action 15714 65533 65533
}
{Context 1 15716
Action 15717 65533 65533
Action 15718 65533 65533
}
{Context 2 15720
Action 15721 2490367 65533
Action 15722 2621439 65533
Action 15723 2555903 65533
Action 15724 2686975 65533
Action 15725 2162687 917503
Action 15726 917503 65533
Action 15727 1835007 65533
Action 15728 5832703 65533
Action 15729 5701631 2162687
Action 15730 65534 65533
}
{Context 3 15732
Action 15733 65533 65533
Action 15734 917503 2162687
}
}
}
}
}