:!::!::!: 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 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 ld.so: 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.

 
known_problems.txt · Last modified: 2013/01/14 23:46 by lynxlynxlynx
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki