sopwith.cfg(5)
π sopwith.cfg β the config file for SDL Sopwith π
okay bestie, welcome to sopwith.cfg(5), aka the File Formats Manual page for the little text file that holds all your Sopwith settings. yes it's a man page. no it's not boring. let's go π¦
β¨ NAME β¨
sopwith.cfg β the configuration file for SDL Sopwith, fr fr.
πΈ DESCRIPTION πΈ
So. sopwith.cfg is literally the configuration file for sopwith(6). All the settings living inside it are usually tweaked in-game through the options menu (iconic behavior honestly), but the file is where they actually live.
Where does it live, you ask? Normally in your home directory, at ~/.local/share/SDL Sopwith/default.cfg. Yes, that whole path, spaces in the folder name and all β it's giving chaos but we respect it π
Want it somewhere else? You can override that path with the XDG_DATA_HOME environment variable (peep the XDG Base Directory Specification, iykyk).
π FILE FORMAT π
It's a plain-text file, no cap. It's just a list of configuration options and their values, separated by whitespace. One option per line, one line per option, that's the whole vibe.
Example time, look:
integer_value 1
integer_value2 1
Lines that start with # are comments and get ignored entirely. Invalid lines or comments in the file will throw a warning at you, but otherwise they're just ignored β no drama, no crash π
Some options are keyboard key bindings, and those get stored as integer values containing the keyboard scan code of the key you're binding. Booleans are also just integers: zero usually means "false", and a non-zero value means "true". periodt.
π CONFIGURATION VARIABLES π
vid_fullscreenβ if1, the game runs full screen instead of in a window. Default is0.conf_solidgroundβ if1, the ground shows up as a solid white block, which reproduces the visual appearance of"Sopwith 1". If0, the ground is drawn as a line, reproducing the visual appearance of"Sopwith 2". Default is0.conf_video_paletteβ the video palette used for display. Valid values are0(CGA 1),1(CGA 2),2(CGA 3),3(Mono Amber),4(Mono Green),5(Mono Grey),6(Tosh LCD 1),7(Tosh LCD 2),8(Tosh LCD 3),9(IBM LCD),10(Tandy LCD),11(Gas Plasma) or12(Atari).conf_hudsplatsβ if1, "splats" are shown on the screen when the plane takes damage: splatted birds are shown on the screen after a bird strike; windscreen "cracks" are shown if the plane is hit by bullets, and the whole screen turns magenta after flying through an ox. This feature was added by the original author of Sopwith in the"Network Edition"release. Default is0.conf_woundedβ if1, planes can take a single unit of damage without crashing. Your plane becomes slower to turn when wounded. This feature was added by the original author of Sopwith in the"Network Edition"release. Default is0.conf_animalsβ if1, oxen and birds appear in the game. These were added in"Sopwith 2"but were not present in the original"Sopwith 1". Default is1.conf_harrykeysβ if1, thekey_pullupandkey_pulldowncontrols turn your plane relative to the screen, rather than your plane. It is a common point of confusion that the direction of turning appears to "reverse" when the plane is flipped / flying towards the left. Default is0.conf_big_explosionsβ if1, oil tanks produce a huge explosion when destroyed. This reproduces the behavior found in both"Sopwith 1"and"Sopwith 2", but the magnitude of the explosion was dialed back significantly in the"Network Edition"release. Default is1.conf_medalsβ if1, medals are sometimes awarded to the player on return to base. Some details can be found in the"MEDALS"section ofsopwith(6). The medals do not have any effect on gameplay. Default is1.
π KEY BINDINGS π
These settings decide your in-game controls, bestie. Heads up: these are keyboard scancodes, so the binding does not change with your keyboard layout. However, the name shown for the key in the in-game options menu should match your current keyboard layout. The values here are scancodes from the USB standard for HID devices. slay π
key_accelerateβ key to accelerate the plane. Default is"X"on a US layout keyboard.key_decelerateβ key to decelerate the plane. Decelerating too much may cause the plane to stall. Default is"Z"on a US layout keyboard.key_pullupβ key to pull up (aim the plane towards the sky). Default is","on a US layout keyboard. Note thatconf_harrykeysmay change the behavior of this key binding.key_pulldownβ key to pull down (aim the plane towards the ground). Default is"/"on a US layout keyboard. Note thatconf_harrykeysmay change the behavior of this key binding.key_flipβ key to flip the plane upside down. Default is"."on a US layout keyboard.key_fireβ key to fire the machine gun. Default on a US layout keyboard is the spacebar.key_dropbombβ key to drop a bomb. Default is"B"on a US layout keyboard.key_homeβ key to autopilot the plane home to base. Default is"H"on a US layout keyboard.
π HIDDEN SETTINGS π
These are the "hidden settings", and the name is accurate: you cannot edit them in-game via the options menu, so editing the configuration file is the only way to change them. very main character of them honestly β¨
snd_tinnyfilterβ if1, a filter is applied to the sound output so that it sounds more like a tinny PC speaker that's inside a metal PC case. Default is1.conf_missilesβ enable missiles and starbursts (flares). This is a feature that was originally added by the author of Sopwith in the"Network Edition"release, but has been hidden as it significantly changes the gameplay in a way that doesn't fit the game's theme and also isn't particularly fun.key_missileβ fire missile, ifconf_missilesis enabled. Default key is"V"on a US layout keyboard.key_starburstβ launch starburst (flare) ifconf_missilesis enabled. Default key is"C"on a US layout keyboard.
π«Ά SEE ALSO π«Ά
okay that's the whole page, we ate and left no crumbs ππ this was sopwith.cfg(5) from the File Formats Manual β mwah, go play Sopwith, ily bye β¨π
π¦ where this page comes from
- debian trixie: sopwith 2.8.0-1 Β· GPL-2.0-only
- fedora 43: sopwith 2.8.0-2.fc43 Β· GPL-2.0-or-later
- fedora 43: sopwith 2.9.0-1.fc43 Β· GPL-2.0-or-later
- fedora 44: sopwith 2.9.0-2.fc44 Β· GPL-2.0-or-later
- nixos 26.05: sopwith 2.8.0
- nixpkgs unstable: sopwith 2.8.0
- ubuntu questing: sopwith 2.8.0-1
- ubuntu resolute: sopwith 2.9.0-1 Β· GPL-2.0-only
- ubuntu stonking: sopwith 2.9.0-6 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms