Mac version
rtrzebinski opened this issue · comments
Hi, I am excited to find this fork!
I'd like to run it on my Mac, but there is no Guthub Action for MacOS - any reason not to do that?
I'd try porting this - https://github.com/freeserf/freeserf/blob/master/.github/workflows/macos.yml - and issue a PR?
#358 <-PR
I managed to get here when running a build, it's getting stuck:
MacOS $ ./Forkserf
Info: [freeserf.cc] forkserf 0.6.2
Info: [data] checking for game data in search_path '.'
Info: [data] Looking for game data in './gfxheader'...
Info: [data] checking for game data in search_path '/Users/robert/.local/share/forkserf'
Info: [data] Looking for game data in '/Users/robert/.local/share/forkserf/gfxheader'...
Info: [data] checking for game data in search_path '/Users/robert/.local/share/forkserf/custom'
Info: [data] Looking for game data in '/Users/robert/.local/share/forkserf/custom/gfxheader'...
Info: [data] checking for game data in search_path '/usr/local/share/forkserf'
Info: [data] Looking for game data in '/usr/local/share/forkserf/gfxheader'...
Info: [data] checking for game data in search_path '/usr/share/forkserf'
Info: [data] Looking for game data in '/usr/share/forkserf/gfxheader'...
Info: [data] checking for game data in search_path '.'
Info: [data] Looking for game data in './SPAE.PA'...
Info: [data] Looking for game data in './SPAF.PA'...
Info: [data] Looking for game data in './SPAD.PA'...
Info: [data] Looking for game data in './SPAU.PA'...
Info: [data] checking for game data in search_path '/Users/robert/.local/share/forkserf'
Info: [data] Looking for game data in '/Users/robert/.local/share/forkserf/SPAE.PA'...
Info: [data] Game data of type DOS found in '/Users/robert/.local/share/forkserf/SPAE.PA'...
Info: [data] loaded DOS data source
Info: [data] checking for game data in search_path '.'
Info: [data] Game data of type Custom found in '.'...
Info: [data] found a Custom data source. REMEMBER TO INCLUDE SDL2 LIBRARIES IN YOUR Forkserf BUILD OR CUSTOM DATA WILL FAIL TO LOAD/WORK!
Error: [config] Failed to open config file './animation/meta.ini'
Warning: [data-source-custom.cc] failed to load 'animation' data from custom datasource, however this only a problem if you are attempting to load custom animation. Currently Forkserf does *not* use any custom animations. Ignoring and continuing
Info: [data] loaded Custom data source. Note that this could be a partial or incomplete datasource, only the existence of the top-level meta.ini is confirmed
Info: [main] Initialize graphics...
Info: [video] Initializing "sdl".
Info: [video] Available drivers:
Info: [video] cocoa
Info: [video] offscreen
Info: [video] dummy
Info: [video] Initialized with SDL 2.26.4 (driver: cocoa)
Killed: 9
Then I kill it manually (Killed: 9) - any ideas what I could potentially do in order to fix it?
Could Error: [config] Failed to open config file './animation/meta.ini'
be the reason?
hmm, maybe try running with increased loglevel to get more info, but you might have to run a debugger or do whatever the mac equivalent of linux 'strace' to see where it is getting stuck.
maximum loglevel
./Forkserf -d0
That animation/meta.ini thing can be ignored, it is related only to custom graphics. I need to remove that warning