User Tools

Site Tools


Current version: 0.8.4
iOS: 0.8.1+
Android: 0.8.4 (Play/Market version is obsolete!)

Github Coding has become social! Fork us!


Latest commit

# ideally, but does not work on sourceforge (does elsewhere); even http proxies don't help rss> 1 author 30m sidebar for frequently accessed stuff


:!::!::!: Frequent problems and solutions (follow me) :!::!::!:

On Windows, compiling with MSVC results in error saying internal heap limit reached; use /Zm to specify a higher limit

Cause: MSVC 6 handles templates in a substandard way: it requires all template arguments to a function to be reflected in the argument list. We wrap them in the type of a dummy argument. This increases the required heap size at compilation significantly.

Solution: edit the project properties of SDLVideo (C/C++/General settings), /Zm150 works.

On Windows, compiling in debug mode with MSVC results in wierd linker errors

Probably the python library is the culprit. See these posts on how to amend that.

On Linux, I upgraded to Ubuntu 12.04 and suddenly lost openal sound

Cause: Your openal still uses oss and the new ubuntu pulled oss support

Solution: First try to reconfigure openal to use pulse audio (alsoft-conf) If that doesn't help, or you get an error like “Inconsistency detected by dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!” Then pull the newest openal source from the git repository and recompile.

On Windows, a crash occurs right after GemRB created the display (in SetGamma). Using SDL 1.2.13.

Cause: SDL 1.2.13 on Windows has a bug, which was fixed in Revision #3533. If this happens to you, download the SDL source, and fix SDL_dibvideo.

Solution: Look for the line:

video->flags |= SDL_HWPALETTE;

Either remove it, or alter it like this:

if ( screen_pal) {
  video->flags |= SDL_HWPALETTE;

You can also try other versions of SDL.

On Windows, a crash occurs right after it tried to initialize OpenAL.

Possible cause: You clicked on another window, pushing the initializing game into background. This causes OpenAL to fail opening the sound device, which causes GemRB to fail startup.

Solution: Try running again, without clicking too wildly.

I experience weird GUIScript errors where it was working before (Level up, Textscreen).

Possible cause: You have stale .pyc files. Or even .py files that no longer needed.

Solution: Delete all .pyc files before running GemRB. Make sure you don't have excess files.

On Windows, I don't always hear sound, especially when clicking buttons.

Possible cause: You have got a wrong version of OpenAL.

Solution: Install OpenAL Soft 15.1. The best is if you copy soft_oal.dll as OpenAL32.dll somewhere on your game's dll path.

g++ 4.3 is known to miscompile gemrb!

… resulting in miscelaneus non-obvious problems.

known_problems.txt · Last modified: 2014/04/30 20:48 by lynxlynxlynx