openmw/components
AnyOldName3 166852254f Use non-deprecated known folder API
SHGetFolderPathW was deprecated in Windows Vista nearly two decades ago. ShGetKnownFolderPath is the replacement.

Also log if there was an error. Someone seemed to be getting an error on Discord, despite other apps being able to get the path just fine with these functions.

Also don't pass the flags to create the folders if they don't exist. We probably don't have the right permissions and if they don't exist, then there are bigger problems. Maybe this will fix the issue the user was having.

Also add a comment about global config on Windows being fundamentally wrong.
2025-03-25 01:32:44 +00:00
..
bgsm Merge branch 'nifmisc' into 'master' 2024-04-25 08:45:36 +00:00
bsa Clarify Fallout 4 next gen update BA2 version naming 2024-04-28 05:09:40 +03:00
bullethelpers Remove unused includes 2022-10-09 16:44:18 +02:00
compiler CI match script names and remove dead code 2024-07-01 16:57:40 +02:00
config Don't unnecessarily overwrite openmw.cfg 2025-01-12 18:21:06 +00:00
contentselector Avoid trailing line breaks 2024-11-20 09:04:22 +04:00
crashcatcher Use proper order for printf arguments 2024-07-28 20:08:02 +02:00
debug Support max log level for Recast via env variable 2025-03-21 15:34:47 +01:00
detournavigator Support max log level for Recast via env variable 2025-03-21 15:34:47 +01:00
esm Work around a regression in MSVC 2024-12-09 17:23:17 +01:00
esm3 Fix msvc warnings 2025-03-09 17:55:17 +01:00
esm4 Skip SLSD, SCVR, SCRV subrecords in QUST record 2025-03-15 13:11:26 +01:00
esmloader Gets rid of most ESM::CellId 2023-04-03 14:16:05 +02:00
esmterrain CLEANUP(CS): Do heightData check in actual implementation, revert 2024-06-10 02:02:31 -05:00
fallback Cleaner implementation 2024-06-07 18:38:32 -07:00
files Use non-deprecated known folder API 2025-03-25 01:32:44 +00:00
fontloader Merge branch 'frankfontaine' into 'master' 2025-03-05 21:16:19 +00:00
fx Fix multiview use in techniques 2025-01-26 16:26:36 +01:00
interpreter Exit with fatal error on duplicated instruction code 2024-06-28 22:24:24 +02:00
l10n Use normalized path in l10m manager 2024-08-18 21:07:46 +02:00
loadinglistener Drop 360-degree screenshot support (#7720) 2024-06-06 14:46:01 +03:00
lua Fix msvc warnings 2025-03-09 17:55:17 +01:00
lua_ui Ensure class members are tied to the main Lua state 2025-03-03 19:37:07 +01:00
misc Use normalized path for correctMeshPath 2024-11-16 12:49:11 +01:00
myguiplatform Replace toNormalized by Normalized 2024-09-18 23:53:20 +02:00
navmeshtool Stop updating navmeshtool progress on first bad message 2023-01-27 19:10:53 +01:00
nif Optimize NIF boolean vector reading 2025-02-07 04:55:06 +03:00
nifbullet Use normalized path in BulletShapeManager 2024-09-27 23:33:58 +02:00
nifosg Change default depth test mode to <= (#7040) 2024-11-23 08:32:25 +03:00
platform Remove vestigial Boost libraries 2024-08-23 14:06:13 +01:00
process Do not include formatting spaces to localizable strings 2023-11-30 13:06:50 +04:00
resource Merge branch 'vfs_normalized_path_22' into 'master' 2024-12-01 21:45:01 +00:00
sceneutil Fix UB when pathgrid geometry is generated and all pathgrid edges are invalid 2025-02-16 17:46:52 +03:00
sdlutil Silence SDL3 window/display events coming from SDL2-compat 2025-02-04 20:30:19 +03:00
serialization Add missing array include 2023-07-29 00:29:03 +02:00
settings Add an option to match sunlight to the sun (#8032) 2024-12-28 18:29:35 +03:00
shader Don't expect TangentSpaceGenerator to work without texcoords 2024-10-24 13:36:49 +01:00
sqlite3 Minor header cleanup 2023-04-30 16:26:03 +02:00
std140 Add missing array include 2023-07-29 00:29:03 +02:00
stereo Do not copy due to auto misuse 2024-01-07 18:52:10 +04:00
terrain Allow opting out of water culling (#7318) 2024-10-31 14:54:05 +03:00
testing Store Lua script path as VFS normalized 2024-09-15 13:53:20 +02:00
to_utf8 Do not use no longer supported std::char_traits 2025-03-11 20:32:36 +03:00
translation Use string_view in more UI code 2023-05-21 18:14:12 +02:00
version Open matching version of documentation for Launcher Help 2024-02-25 18:20:40 +01:00
vfs Forbid to use toNormalized for normalized path 2024-11-18 21:21:33 +01:00
widgets Address my own review concerns 2024-09-19 04:05:54 +03:00
CMakeLists.txt Move from qt_wrap_ui to AUTOUIC for qt components lib 2024-11-10 20:38:14 +01:00
doc.hpp second set of additional doxygen comments 2010-09-25 20:15:05 +02:00