The game uses BEAR_ROOT_DIRECTORY as expected to configure the paths to the engine.

BEAR_ROOT_DIRECTORY must be an absolute path.