Hello everybody,
Thank you for supporting that interesting project, game was played thousand times in 90s and still playable for now...
Appreciating for your time you makes things easier on modern terms...
I am having a two main issues here beginning after I moved game on macOS X Mojave.
Initially I used a Windows XP as a guest in Parallels Desktop on my macOS X Mavericks and its was run well (openxcom_git_master_2018_12), then decide install a native port after updating to macOS X Mojave on it (openxcom_git_master_2019_02_04_1901).
As result it was installed and running well as it is, but I having issues and basically playing with some settings and reading a manual is not help me to understand what to do to resolve.
I . Quick SAVE files done on Windows XP version of OpenXcom is not possible to load on macOS X Mojave version and always got an error on loading it:
[09-02-2019_19-40-44] [ERROR] yaml-cpp: error at line 0, column 0: bad conversion
it is happen on AUTOBATTLESCAPE SAVE and QUICKSAVE, GLOBE SAVE is possible to load successfully.
II. I have configured $XDG_ in ~/.bash_profile
but when loading a game through clicking an OpenXcom.App it is still looking user config files in $HOME/Library/Application Support/OpenXcom and creating that folder and files in it if it is removed.
(even if $XDG_DATA_HOME is defined)
if I make a bash script and it is working well, game loads settings properly in this case, but I want to click an App in LaunchPad not through .sh script
~/.bash_profile
export XDG_DATA_DIRS=~/Games
export XDG_CONFIG_HOME=~/Games
export XDG_DATA_HOME=~/Games
openxcom.sh in the ~/Games/openxcom
#!/bin/bash
#
#~/Games/openxcom/openxcom.app/Contents/MacOS/openxcom -data "$XDG_DATA_DIRS/openxcom" -user "$XDG_DATA_HOME/openxcom" -config "$XDG_CONFIG_HOME/openxcom"
~/Games/openxcom/openxcom.app/Contents/MacOS/openxcom
openxcom.log when run through .sh script
[09-02-2019_19-40-09] [INFO] Data folder is:
[09-02-2019_19-40-09] [INFO] Data search is:
[09-02-2019_19-40-09] [INFO] - /Users/user/Games/openxcom/
[09-02-2019_19-40-09] [INFO] - /Users/user/Games/openxcom/
[09-02-2019_19-40-09] [INFO] - /Users/Shared/OpenXcom/
[09-02-2019_19-40-09] [INFO] - ./
[09-02-2019_19-40-09] [INFO] User folder is: /Users/user/Games/openxcom/
[09-02-2019_19-40-09] [INFO] Config folder is: /Users/user/Games/openxcom/
[09-02-2019_19-40-09] [INFO] Options loaded successfully.
[09-02-2019_19-40-09] [INFO] SDL initialized successfully.
[09-02-2019_19-40-10] [INFO] SDL_mixer initialized successfully.
[09-02-2019_19-40-10] [INFO] requested file not found: openxcom.png
[09-02-2019_19-40-10] [INFO] Attempting to set display to 1280x800x8...
[09-02-2019_19-40-11] [INFO] Display set to 1280x800x8.
[09-02-2019_19-40-11] [INFO] Loading data...
[09-02-2019_19-40-11] [INFO] Scanning standard mods in 'standard'...
[09-02-2019_19-40-11] [INFO] Scanning user mods in '/Users/user/Games/openxcom/mods'...
[09-02-2019_19-40-11] [INFO] Mapping resource files...
[09-02-2019_19-40-11] [INFO] Resources files mapped successfully.
[09-02-2019_19-40-11] [INFO] Loading rulesets...
[09-02-2019_19-40-14] [INFO] Loading fonts... Font.dat
[09-02-2019_19-40-14] [INFO] Loading extra resources from ruleset...
[09-02-2019_19-40-15] [INFO] Data loaded successfully.
[09-02-2019_19-40-15] [INFO] Loading language...
[09-02-2019_19-40-15] [INFO] Language loaded successfully.
[09-02-2019_19-40-15] [INFO] OpenXcom started successfully!
[09-02-2019_19-40-15] [INFO] Using software scaling routine. For best results, try an OpenGL filter.
[09-02-2019_19-40-31] [INFO] Mapping resource files...
[09-02-2019_19-40-31] [INFO] Resources files mapped successfully.
[09-02-2019_19-40-31] [INFO] Attempting to set display to 1280x800x8...
[09-02-2019_19-40-31] [INFO] Display set to 1280x800x8.
[09-02-2019_19-40-31] [INFO] SDL_mixer initialized successfully.
[09-02-2019_19-40-31] [INFO] Loading data...
[09-02-2019_19-40-31] [INFO] Scanning standard mods in 'standard'...
[09-02-2019_19-40-31] [INFO] Scanning user mods in '/Users/user/Games/openxcom/mods'...
[09-02-2019_19-40-31] [INFO] Mapping resource files...
[09-02-2019_19-40-31] [INFO] Resources files mapped successfully.
[09-02-2019_19-40-31] [INFO] Loading rulesets...
[09-02-2019_19-40-35] [INFO] Loading fonts... Font.dat
[09-02-2019_19-40-35] [INFO] Loading extra resources from ruleset...
[09-02-2019_19-40-35] [INFO] Data loaded successfully.
[09-02-2019_19-40-35] [INFO] Loading language...
[09-02-2019_19-40-35] [INFO] Language loaded successfully.
[09-02-2019_19-40-35] [INFO] OpenXcom started successfully!
[09-02-2019_19-40-44] [ERROR] yaml-cpp: error at line 0, column 0: bad conversion
openxcom.log when run through OpenXcom.app
[09-02-2019_19-58-56] [INFO] Data folder is:
[09-02-2019_19-58-56] [INFO] Data search is:
[09-02-2019_19-58-56] [INFO] - /Users/user/Library/Application Support/OpenXcom/
[09-02-2019_19-58-56] [INFO] - /Users/Shared/OpenXcom/
[09-02-2019_19-58-56] [INFO] - ./
[09-02-2019_19-58-56] [INFO] User folder is: /Users/user/Library/Application Support/OpenXcom/
[09-02-2019_19-58-56] [INFO] Config folder is: /Users/user/Library/Application Support/OpenXcom/
[09-02-2019_19-58-56] [INFO] Options loaded successfully.
[09-02-2019_19-58-56] [INFO] SDL initialized successfully.
[09-02-2019_19-58-56] [INFO] SDL_mixer initialized successfully.
[09-02-2019_19-58-56] [INFO] requested file not found: openxcom.png
[09-02-2019_19-58-56] [INFO] Attempting to set display to 640x400x8...
[09-02-2019_19-58-56] [INFO] Display set to 640x400x8.
[09-02-2019_19-58-56] [INFO] Loading data...
[09-02-2019_19-58-57] [INFO] Scanning standard mods in 'standard'...
[09-02-2019_19-58-57] [INFO] Scanning user mods in '/Users/user/Library/Application Support/OpenXcom/mods'...
[09-02-2019_19-58-57] [INFO] Mapping resource files...
[09-02-2019_19-58-57] [INFO] Resources files mapped successfully.
[09-02-2019_19-58-57] [INFO] Loading rulesets...
[09-02-2019_19-59-00] [INFO] Loading fonts... Font.dat
[09-02-2019_19-59-00] [INFO] Loading extra resources from ruleset...
[09-02-2019_19-59-00] [INFO] Data loaded successfully.
[09-02-2019_19-59-00] [INFO] Loading language...
[09-02-2019_19-59-00] [INFO] Language loaded successfully.
[09-02-2019_19-59-00] [INFO] OpenXcom started successfully!
[09-02-2019_19-59-00] [INFO] Playing flx, 320x200, 200 frames
[09-02-2019_19-59-00] [INFO] Using software scaling routine. For best results, try an OpenGL filter.