mgerhardy / caveexpress

CaveExpress is a classic 2D platformer with physics-based gameplay and dozens of levels. CavePacker is a Sokoban game.
http://www.caveproductions.org/
Other
144 stars 20 forks source link

Initial Haiku support. Builds, runs just fine. #101

Closed extrowerk closed 7 years ago

extrowerk commented 7 years ago

But it still creates a "/boot/homeconfig/settings/caveexpress" folder instead of "/boot/home/config/settings/caveexpress" (notice the missing / between home and settings), however i got XDG env vars:

XDG_CACHE_HOME=/boot/home/config/cache XDG_CONFIG_DIRS=/boot/system/settings XDG_CONFIG_HOME=/boot/home/config/settings XDG_DATA_DIRS=/boot/system/non-packaged/data:/boot/system/data XDG_DATA_HOME=/boot/home/config/non-packaged/data

Any idea?

mgerhardy commented 7 years ago

Will check it out - thanks.

maybe add a debug print or breakpoint to Unix::mkdir (src/modules/common/ports/Unix.cpp)

mgerhardy commented 7 years ago

maybe due to the fact that the organisation part of the SDL_GetPrefPath in src/modules/common/ports/ISystem.h is an empty string...

mgerhardy commented 7 years ago

There was a commit in SDL ( http://hg.libsdl.org/SDL/rev/3aadcf084374 ) about a missing slash