documentation
This file describes how to solve potential problems when running the Linux version of Advanced Strategic Command. For information about compiling and installing the Linux version of ASC, refer to the Linux installation.
configure --enable-music-mp3
make
make install
SDL_mixer requires the SMPEG library to decode MP3 files.
Alternatively, you can run ASC in window mode ( --window on the command line), or change the resolution it uses ( -x and -y command line options) Type ASC --help for a summary of the command line parameters
Run "gdb asc"
Type "run" in gdb and reproduce the crash.
type "backtrace" in gdb and send me its output.
If gdb cant find the debug symbols, you must first turn them on and rebuild ASC:
export CXXFLAGS="-O0 -g3"
configure
make
make install (if desired)
Any help about automating this task (like making ASC printing its own backtrace) are appreciated !
asc -w
asc -x 1152 -y 864
If the resolution has already been changed by ASC crashing, there is a simple way to restore it to your original settings. Start ASC in your preferred resolution, like
asc -x 1152 -y 864
and let it crash again. If it fails to crash, kill it!
Since version 1.2.0 ASC looks for all savegames, email files etc. in ~./asc and writes all files there. If you have previosly run ASC from a different directory, either move all your files to ~/.asc/ or specify your directory as searchPath in ~/.asc/ascrc (this file is generated when the new ASC version is run for the first time). searchPath0 there is the only directory ASC writes to. If you specify your old directory as searchPath0, all savegames etc. will still be written there, but if you specified your directory as searchPath5 for example, ASC will load the files there, but write new ones to searchPath0.
The fullscreen code of SDL was recently enhanced to enable fullscreen without beeing root. This runs on my system.