FallingTower KAI   Installation manual	Ver 1.4

(C) 2000-2001 ROYALPANDA


Requires:
	XPM library
	'games' account. (It may exist in standard system)

Run under:
	FreeBSD 4.3

Following fonts are required on X :

-adobe-*-*-r-*-*-12-*-*-*-m-*-*-*
-adobe-*-*-r-*-*-20-*-*-*-*-*-*-*
-adobe-*-*-r-*-*-24-*-*-*-*-*-*-*


Installation:

A) If you can switch to root:

) Edit Makefile when you need.

)
	% make

A bunary file named 'xjumpx'.

) Switch to root,

	% make install

Binary file 'xjumpx' group is 'games', mode is 2755 (setgid bit),
and score drectory group is 'games', mode is 770.
So, running binary can access scorefile, but normal user cannot change
scorefile.
Screfiles are created as mode 666.

Due to security concerns, if you hope to istall without setgid games,
change binary mode 755, score directory(/usr/X11R6/lib/X11/xjumpx) mode 777.
But, everybody can change score files.
(using FreeBSD ports, it is default)



B) If you cannot switch to root:

1) Copy Makefile.setgid to Makefile and edit it.  RECORD_DIR must be changed.
	
   (In this example, RECORD_DIR = /home/hogehoge/xjumpx_record)

Edit other variable when you need.

2)
	% make

A binary file named 'xjumpx'. Then,

    install binary file:
	% install -c -s -m 4755 xjumpx ~hogehoge/bin

    create record file directory:
	% mkdir ~hogehoge/xjumpx_record

You must be careful with:

	Record file directory is exist. (record file directory is specified
	with RECORD_DIR in Makefile. It is bult in binary file.)

	Owner of binary file is owner of record file directory.

	Set-UID bit of Binary file is active.
	(Binary file can access files in record file directory)

If binary file cannot access record file, Hi-score is not recorded.


When root executes 'make install' with Makefile.setuid,
owner of binary and scorefile is changed to 'games'
