What is tar.gz and how do I open it?
tar.gz means, it's a gzipped tarball, thus an archive. Use, e.g., tar -xzf archive.tar.gz to extract archive.tar.gz.
How do I compile the source code?
The INSTALL file (found at top level of source code archive) provides basic information and the README (same location) explains special options and install steps.
And I guess SDL_mixer is...
Yes! A mixing tool based on SDL. These two libraries are all you need to compile an LGame (Okay, some libraries like libmath, libpng and libz are also required but any distro should install them by default).
You're trying to say...
SDL is required by ALL games and SDL_mixer is recommended for LGeneral, LBreakout2 and LTris. If you don't get SDL_mixer the games will run but obviously without sound. For win32 you'll need SDL.dll and SDL_mixer.dll (http://libsdl.org
) copied to your windows directory.
I have both libraries installed but the configure script can't find 'sdl-config'?
The development packages are required since you want to compile
the source instead of just running binaries. Usually these are not installed by default. So check your distro's packages and get the development stuff or compile and install SDL and friends directly from source (http://libsdl.org
I updated both libraries but they cannot be found?
If you installed the latest source you must run 'ldconfig' to apply the changes to your system. You also need to delete the 'config.cache' file.
Okay, 'sdl-config' is found but it bails out with strange errors?
I'm running RedHat 8.0 beta and I installed everything from SDL to SDL_mixer devel but when configure checks for SDL_mixer it utterly fails?
One of the patches for libsmpeg is corrupted in RH 8.0b so if you downgrade libsmpeg to 7.3's compiling should work again.
Fullscreen isn't fullscreen!
I once had that problem, too
and it's an X-SDL, SDL-X problem. I solved it by updating my distro but
maybe it's also okay to check if you have 640x480 resolution available
in your Xconfig.
Sound comes with some delay?
Since 2.4 there is a hidden option in the config file called audio_buffer_size which has a default value of 512. The location of the config file is either ~/.lgames/lbreakout2.conf (Linux) or <INSTALLPATH>\lgames\lbreakout2.conf (Win32). I'm running a K6II-450 and if your computer is faster increase this value (1024) and if it's slower decrease it (256).
Sound is delayed and I used GCC 3.4 to compile the game.
Get the patch from Gentoo
and recompile SDL 1.2.7 (without the patch it won't compile). This should fix the problem. (Thanks to Eddie Dulaney)
I have LGeneral, the Panzer General data and lgc-pg but the
converter doesn't work?
The default installation path is /usr/local/share/games/lgeneral but some distros change the path (ASP Linux is known to do so) in their packages which results in a problem when running 'lgc-pg'. So either get the LGeneral stuff completely from source (it doesn't compile long) or check the installation path when using an LGeneral binary package.
I tried to play a recent version of LBreakout2 in windowed mode in Windows but the mouse won't move.
In the game directory open lgames\lbreakout2.conf with an text editor and set the option rel_motion from 1 to 0.
If you encounter a different problem that should be listed here
Click here for Belorussian translation.
Click here for Ukraine translation by SDK weblog.
Click here for Hungarian translation by Szabolcs Csintalan.
Click here for Romanian translation by Irina Vasilescu .