I deleted the options.cfg file and used the halving method to reintroduce the settings.
Finally, I found that this single setting crashes the game when I change from 'raw' to 'disabled'.
WORKS
useOpenGL: false
#CRASH#
useOpenGL: true
[27-07-2024_22-45-41] [INFO] OpenXcom Version: Extended 7.13 (v2024-07-26)
[27-07-2024_22-45-41] [INFO] Platform: Windows 64 bit
[27-07-2024_22-45-41] [INFO] Data folder is:
[27-07-2024_22-45-41] [INFO] Data search is:
[27-07-2024_22-45-41] [INFO] - C:/Users/Bouwhuis/Documents/OpenXcom/
[27-07-2024_22-45-41] [INFO] - E:/Games/Installed/OpenXcom/
[27-07-2024_22-45-41] [INFO] User folder is: C:/Users/Bouwhuis/Documents/OpenXcom/
[27-07-2024_22-45-41] [INFO] Config folder is: C:/Users/Bouwhuis/Documents/OpenXcom/
[27-07-2024_22-45-41] [INFO] Options loaded successfully.
[27-07-2024_22-45-41] [INFO] SDL initialized successfully.
[27-07-2024_22-45-42] [INFO] SDL_mixer initialized successfully.
[27-07-2024_22-45-42] [INFO] Attempted locale:
[27-07-2024_22-45-42] [INFO] Detected locale: C
[27-07-2024_22-45-42] [INFO] Attempting to set display to 3840x2160x32...
[27-07-2024_22-45-42] [INFO] Display set to 3840x2160x32.
[27-07-2024_22-45-42] [INFO] Loading data...
[27-07-2024_22-45-42] [INFO] Scanning standard mods in 'E:/Games/Installed/OpenXcom/'...
[27-07-2024_22-45-42] [INFO] Scanning user mods in 'C:/Users/Bouwhuis/Documents/OpenXcom/'...
[27-07-2024_22-45-42] [INFO] Active mods:
[27-07-2024_22-45-42] [INFO] - xcom2 v1.0
[27-07-2024_22-45-42] [INFO] - Aliens_Pick_Up_Weapons_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - OpenXCom_Unlimited_Waypoints_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - Smarter_Equip_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - StrategyCore_Swap_Small_USOs_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - UFOextender_Psionic_Line_Of_Fire_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_Fighter_Transports_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_High_Explosive_Damage_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_Improved_Gauss v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_Infinite_Gauss v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_Starting_Improved_Base_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_Pistol_Auto_Shot_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_Starting_Defensive_Base_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_Starting_Defensive_Improved_Base_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_Triton_Weapon_Slot v1.0
[27-07-2024_22-45-42] [INFO] - XcomUtil_Statstrings_TFTD v1.0
[27-07-2024_22-45-42] [INFO] - UFOextender_Gun_Melee_TFTD v1.0
[27-07-2024_22-45-43] [INFO] Loading begins...
[27-07-2024_22-45-43] [INFO] Pre-loading rulesets...
[27-07-2024_22-45-43] [INFO] Loading vanilla resources...
[27-07-2024_22-45-43] [INFO] Loading rulesets...
[27-07-2024_22-45-44] [INFO] Loading rulesets done.
[27-07-2024_22-45-44] [INFO] Loading fonts... Font.dat
[27-07-2024_22-45-44] [INFO] Lazy loading: 0
[27-07-2024_22-45-44] [INFO] Loading extra resources from ruleset...
[27-07-2024_22-45-44] [INFO] Loading custom palettes from ruleset...
[27-07-2024_22-45-44] [INFO] Making palette backups...
[27-07-2024_22-45-44] [INFO] After load.
[27-07-2024_22-45-44] [INFO] Loading ended.
[27-07-2024_22-45-44] [INFO] Data loaded successfully.
[27-07-2024_22-45-44] [INFO] Loading language...
[27-07-2024_22-45-44] [INFO] Language loaded successfully.
[27-07-2024_22-45-44] [INFO] OpenXcom started successfully!
[27-07-2024_22-45-44] [INFO] Playing flx, 320x200, 200 frames
[27-07-2024_22-45-46] [INFO] SDL_mixer initialized successfully.
[27-07-2024_22-45-46] [INFO] Update check status: 7; newVersion: v7.13;
[27-07-2024_22-45-54] [INFO] Attempting to set display to 3840x2160x8...
[27-07-2024_22-45-54] [INFO] Display set to 3840x2160x8.
[27-07-2024_22-45-54] [INFO] Using software scaling routine. For best results, try an OpenGL filter.
[27-07-2024_22-46-09] [INFO] Attempting to set display to 3840x2160x32...
[27-07-2024_22-46-09] [INFO] Display set to 3840x2160x32.
[27-07-2024_22-46-09] [FATAL] A fatal error has occurred: Segmentation fault.
[27-07-2024_22-46-09] [FATAL] 0x7ff60c0ff660 OpenXcom::CrossPlatform::stackTrace(void*)
[27-07-2024_22-46-09] [FATAL] 0x7ff60c100b20 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[27-07-2024_22-46-09] [FATAL] 0x7ff60be9dfc0 signalLogger(int)
[27-07-2024_22-46-09] [FATAL] 0x7ff60c6d99b0 OpenXcom::UfopaediaStartState::think()
[27-07-2024_22-46-09] [FATAL] 0x7ff8ed0bcdc0 _C_specific_handler
[27-07-2024_22-46-09] [FATAL] 0x7ff8ed0d2810 _chkstk
[27-07-2024_22-46-09] [FATAL] 0x7ff8ed0820d0 RtlRaiseException
[27-07-2024_22-46-09] [FATAL] 0x7ff8ed0d1410 KiUserExceptionDispatcher
[27-07-2024_22-46-09] [FATAL] 0x7ff60c6e7c50 SDL_FillRect
[27-07-2024_22-46-09] [FATAL] 0x7ff60c23dc60 OpenXcom::Surface::CleanSdlSurface(SDL_Surface*)
[27-07-2024_22-46-09] [FATAL] 0x7ff60c11f8e0 OpenXcom::Game::run()
[27-07-2024_22-46-09] [FATAL] 0x7ff60be9e060 SDL_main
[27-07-2024_22-46-09] [FATAL] 0x7ff60c6daff0 console_main
[27-07-2024_22-46-09] [FATAL] 0x7ff60c6db130 WinMain
[27-07-2024_22-46-09] [FATAL] ??
[27-07-2024_22-46-10] [FATAL] ??
[27-07-2024_22-46-10] [FATAL] 0x7ff8eba97360 BaseThreadInitThunk
[27-07-2024_22-46-10] [FATAL] 0x7ff8ed07cc70 RtlUserThreadStart
[27-07-2024_22-46-12] [FATAL] OpenXcom has crashed: Segmentation fault.
Log file: C:/Users/Bouwhuis/Documents/OpenXcom/openxcom.log
If this error was unexpected, please report it on the OpenXcom forum (OXCE board).
The following can help us solve the problem:
1. a saved game from just before the crash (helps 98%)
2. a detailed description how to reproduce the crash (helps 80%)
3. a log file (helps 10%)
4. a screenshot of this error message (helps 5%)
So, as long as you use text editing to change the setting to useOpenGL: false, the game doesn't crash (and works in 'disabled' mode).