FAQ for FreeCraft (fka ALE Clone) Version 1.17


     ___________		     _________		      _____  __
     \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
      |    __) \_  __ \_/ __ \_/ __ \/    \  \/\_  __ \__  \\   __\\   __\ 
      |     \   |  | \/\  ___/\  ___/\     \____|  | \// __ \|  |   |  |
      \___  /   |__|    \___  >\___  >\______  /|__|  (____  /__|   |__|
	  \/		    \/	   \/	     \/		   \/
    ______________________                           ______________________
			  T H E   W A R   B E G I N S
	   FreeCraft - A free fantasy real time strategy game engine

(C) Copyright 1998-2002 by The FreeCraft Project. Distributed under the "GNU General Public License"


For any questions not mentioned here, please contact aleclone@FreeCraft.org.

Q: In 800x600 mode or higher, the graphics around the edge doesn't draw around the full screen?
A: The original graphics aren't designed for these resolutions, you could design your own user interface, see "data/ccl/ui.ccl".

Q: The graphics don't fit on 800x600 or higher resolution?
A: The original graphics aren't designed for these resolutions, you could design your own user interface, see "data/ccl/ui.ccl".

Q: I am getting the error "gzseek already defined or undefined!" ?
A: You have an old version of libpng, install the libpng1.0.X or later. You get it here: http://www.libpng.org/pub/png/libpng.html

Q: The software cursor is too slow, how can I make it faster ?
A: We will improve the speed later, but we were told that on an Accelerated X server with a Pentium 75, FreeCraft is now playable.

Q: Does FreeCraft work with ALSA?
A: Yes, FreeCraft works with the Advanced Linux Sound Architecture (ALSA) Driver if you compile FreeCraft using SDL and SDL was compiled to support ALSA (--enable-alsa). It has been tested with versions 0.3.2 to 0.9.0.

More informationcan be found here: http://www.alsa-project.org

Q: How do I get big maps?
A: If you want a map of the size 256 x 256. Create and edit 4 maps (128 x 128) in the original editor. Save them as bigmap1.pud, bigmap2.pud, bigmap3.pud and bigmap4.pud. Now create a file bigmap.cm containing:

	(define-map 256 256)
	(load-pud "bigmap1.pud")
	(load-pud "bigmap2.pud")
	(load-pud "bigmap3.pud")
	(load-pud "bigmap4.pud")

Now you can load this file as a map (freecraft bigmap.cm). bigmap1.pud is in the upper left corner. bigmap2.pud is in the upper right corner. bigmap3.pud is in the lower left corner. bigmap4.pud is in the lower right corner.

CraftED - The FreeCraft map editor, also supports the creation of big maps.

Q: Can I use the original CD without expansion?
A: Yes. Only difference is there are more graphics and sounds in the expansion CD version. It works without problems with the german version. If you are still not sure, just try it. It should work without problems.

Q: I have tried to start a level with './freecraft data/puds/internal/internal01.pud.gz' , why do I get this error message 'pud: fopen,gzopen,bzopen(): No such file or directory' ?
A: We have changed the loading syntax: This means you must type './freecraft ./data/puds/internal/internal01.pud.gz'!

Q: Why does the cursor react after several seconds when i move it?
A: We didn't find the real problem. Currently use the threaded sound support and enable it (in data/ccl/sound.ccl) or add to the line

"-DSLOW_INPUT" to:

"DFLAGS= $(THREAD) $(CCL) $(VERSION) $(VIDEO) $(ZDEFS) $(DSOUND) \ $(DEBUG)" in Rules.make

Q: I want to play without having the CD in the drive, can i copy files from CD to hdd ?
A: After running 'build.bat' (WINDOWS) or 'build.sh' (UNIX) the CD is no longer needed. This script converts the data on CD into our own format.
A: You didn't need to copy, the installation did it for you.

Q: Why does the game become very slow under X11?
A: Give your X11 server a higher priority than the clients.

renice -5 <pid-of-your-x11-server>

newer linux distributions (debian) does this automatically, or start freecraft with

nice -n 5 ./freecraft

Q: Can I use FreeCraft to join a W*rcr*ft 2 network game?
A: Sorry, FreeCraft use its own network protocol. You can only join FreeCraft network games.

Q: Is it planned to support joining a W*rcr*ft 2 network game?
A: Both network protocols are in such a way, that this would be impossible.

Q: I only have the original BNE version, can I use it?
A: No. Nobody has written a converter for this, if you want to write it, please contact us. It is only a question of time and you must understand writing C.

Q: Why do I get only a black window after I installed it on windows?
A: Try installing FreeCraft to C: drive.

Q: Can I compile FreeCraft with VC++?
A: Yes. Follow the instructions in development.html. But mingw32 is better supported and regular tested.

Q: Can I compile FreeCraft with Borland C++?
A: This C compiler isn't support yet, you can build a project, write the instrutions and than mail it to us.

But you can use cygwin or MinGW both are GNU C compilers for windows.

Information on how to use MingGW and libSDL for cross development and native development:

http://www.libsdl.org/Xmingw32/

Compiler package for windows built by Sam Lantinga:

http://www.libsdl.org/Xmingw32/mingw32.zip

Based on the above this is our build. It contains SDL 1.2.4, libpng, zlib and zziplib. Install this and download the newest FreeCraft source and start FreeCraft development with windows:

http://prdownloads.sourceforge.net/freecraft/freecraft-compiler-020322.zip

Q: What port or ports did FreeCraft use for network play?
A: As default the only port used is 6660 UDP for both the client and server side.

Q: Why are there some grayed out fields in the FreeCraft menus?
A: The grayed out menu entries are planned features which aren't finished yet. You are welcome to write them.

Q: Can I save and load a game?
A: No. Sorry Load & Save aren't written yet.

Q: Why do I get the following compiler failure:
network.c:282: initializer element is not constant
network.c:282: (near initialization for `CommandsIn[0].first')
A: This is a bug in the GNU C Compiler 2.96, downgrade to GCC 2.95.x or upgrade to GCC 3.xx (expect many wrong warnings). If you are using the Redhat distribution 7.2, you can change CC=gcc to CC=kgcc in Rules.make.

Q: Can I play FreeCraft in fullscreen?
A: Yes fullscreen is supported with SDL.

In game use ALT-F or CTRL-F to switch between fullscreen and windowed mode.

You can also use the commandline option -F to start the game in fullscreen mode.

You can create and edit a windows shortcut to make this the default mode.

The options menu will handle this in the future.


Last changed: $Id: faq.html,v 1.33 2002/06/03 21:22:32 nehalmistry Exp $
All trademarks and copyrights on this page are owned by their respective owners.
The FreeCraft Project