OpenMW not reporting its version number in MacOS; OpenMW-CS not doing it fully
This has been partially fixed with OpenMW-CS.app, but OpenMW.app just has "--" for a version number when you do Get Info on it. It also has no "About OpenMW" item in its main menu.
Ideally, both OpenMW and OpenMW-CS would report both version number and build/revision, e.g. "0.42.0 (1578fcbe)", and would report this both in the Finder with Get Info and in their own "About [app name]" menu items, like all Mac apps do. OpenMW-CS reports version number only in Get Info, and also has no "About OpenMW-CS" menu item when the app is running, nor does it seem to display either bit of information anywhere in the app itself (OpenMW gives the build number at the bottom of the loader window, and both version and build at the game's main menu, but this is an inconvenient way to get this information, especially on a low-RAM system, i.e. on in which other apps have to be shut down to run the game).
This can probably be resolved at the same time as my previous report about OpenMW-CS mis-identifying itself as "OpenCS", in Bug #4027 (closed), a reply to which even shows where in the code some of this stuff is.
To at least add the basic version number of OpenMW's Get Info output, add the following to the app's CMakeLists.txt in the right spot:
MACOSX_BUNDLE_SHORT_VERSION_STRING ${OPENMW_VERSION} MACOSX_BUNDLE_BUNDLE_VERSION ${OPENMW_VERSION}
I would assume there's also a variable for the build number, since it is displayed at the bottom of the OpenMW Launcher window.
Not sure of the exact syntax and var names, but this is my best guess:
MACOSX_BUNDLE_BUNDLE_VERSION "${OPENMW_VERSION} (build ${OPENMW_REVISION})"
PS: If you compare the CMakeLists.txt of both apps you'll see other stuff that is specified for OpenMW-CS that should probably also be provided for OpenMW itself (MACOSX_BUNDLE_BUNDLE_NAME, MACOSX_BUNDLE_GUI_IDENTIFIER, etc.) This may have something to do with the game app not behaving as expected in other ways. E.g., if you put it in the Dock it cannot reliably be opened from there, only by directly clicking on the app in the Finder).
(RM-4047 from redmine: created on 2017-08-28 by Dark Locq, , closed on 2018-06-10 by Will Herrmann)