Okay, I successfully ported eduke32 (http://www.eduke32.com) so that the Duke also reigns also on Haiku. So far the game runs without problems, but some issues are still open (at least for me :-)).
First of all I used “setarch x86” before compiling. The game allows compiling against SDL1 or SDL2, but since sdl_mixer is not available on Haiku for SDL2, I used SDL1. Also with arch x86 I can install two different OpenGL/Mesa renderer (swrast and swpipe). And I am testing on my dedicated Haiku installation (Intel i7) and under VMware Fusion (with VMware tools installed) on my Intel i5 MacBook.
Now my questions:
- SDL Mixer not available for SDL2. Is this just missing or is there some blocking issue which prevents SDL2_mixer for Haiku?
- SDL_mixer for SDL1 is compiled with timidity support, but timidity itself seems unavailable in HaikuDepot. And also during game init SDL_mixer issues an error stating that the following files could not be opened: /etc/timidity/freepats.cfg, /etc/timidity/timidity.cfg and /etc/timidity.cfg. Would this be the correct path for timidity files on Haiku?
- Regarding OpenGL, if swpipe is installed, the game init fails with “BLocker error” referencing issue 6400. With Swrast the game runs fine. After digging around issue 6400 I am not sure if that is really an error I can do something about that, but I wonder why the two renderer behave differently here.
Running under VMware two additional issues came up:
4) Using swrast the game is dog slow. Compiling the game without OpenGL support solves this.
5) The games fails to reach main menu when music support is enabled, the game runs with SFX enabled without problems.
So how good is the support of the virtual hardware (for sound I needed to install the open sound package)?
Any help/thoughts would be appreciated.