1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-14 00:00:56 +00:00
openmw/files
AnyOldName3 16efa6e5b5 Support long paths on Windows
Apparently we'd never bothered opting in, despite nearly everything in all out apps being entirely compatible and designed with long paths in mind.

GetModuleFileNameW is a bit awkward as it's just about the only Win32 function that returns the minimum of the buffer size and the string size - nearly everything else returns the full size even if it won't fit, so you can pass it a null pointer and a size of zero, and it'll tell you how much space you need to allocate.

I pretty much just copied the mostly-working long-path-friendly call site in the crash catcher to windowspath.cpp, but I also noticed that if the function failed and returned zero, the original implementation would loop forever, so I fixed that.

There was some code that could be ditched from the catch monitor as \\?\ is a prefix you can use to opt into long paths for a single API call instead of using the manifest to set it everywhere.
2026-01-07 15:12:22 +00:00
..
data Properly escape apostrophes 2025-12-13 11:52:19 +01:00
data-mw Use l10n for setting label captions 2025-12-08 12:38:37 +01:00
lang Add French translations for Doppler factor lines 2025-09-12 12:59:20 +03:00
launcher Improve launcher appearance 2024-04-23 12:28:37 +04:00
lua_api Add record creation for container, creature 2026-01-06 19:55:12 +03:00
mac Set macOS app. category to role-playing game. 2024-07-10 07:34:08 +00:00
opencs FEAT(CS): Replace selection markers with a real one (#8139) 2025-07-14 23:18:45 +03:00
shaders Improve high wind speed rain/snow behavior (#8864) 2025-12-25 01:44:18 +03:00
windows Support long paths on Windows 2026-01-07 15:12:22 +00:00
wizard Use scalable icons for wizard 2024-04-23 11:49:33 +04:00
CMakeLists.txt Move Morrowind-specific l10n files to a separate data dir; dehardcode a few GMST names. 2023-03-12 13:12:13 +01:00
gamecontrollerdb.txt Update SDL controller DB 2025-10-23 00:23:45 +03:00
openmw-cs.cfg changed name of openmw-cs user settings file 2015-12-15 14:51:25 +01:00
openmw.appdata.xml Add missing developer tag to appdata 2024-04-14 10:53:57 +02:00
openmw.bmp Some improvments for windows builds and installer 2012-04-19 14:58:27 +02:00
openmw.cfg Exterminate script blacklisting (#8214) 2024-10-31 14:59:55 +03:00
openmw.cfg.local Exterminate script blacklisting (#8214) 2024-10-31 14:59:55 +03:00
org.openmw.cs.desktop Changed desktop files to appropriately use StartupWMClass. What this does is... 2025-06-17 07:52:31 +00:00
org.openmw.launcher.desktop Changed desktop files to appropriately use StartupWMClass. What this does is... 2025-06-17 07:52:31 +00:00
settings-default.cfg Merge branch 'master' of https://gitlab.com/OpenMW/openmw 2025-08-04 16:44:12 -07:00
version.in Validate version of resources 2023-08-31 20:56:02 +02:00