]> git.pond.sub.org Git - empserver/blob - scripts/mapper/default.param
Import of Empire 4.2.12
[empserver] / scripts / mapper / default.param
1 #    default parameter file for encoding empire games.  P frames are
2 # very cheap since most pixels remain exactly the same color.
3 # I frames (complete pictures) are expensive, so they are infrequent.
4 #    Inidividual maps are stored as gifs (a very compact storage format for
5 # this sort of data) and enlarged and converted on the fly to ppm format
6 # using various netpbm tools.
7 #     This file is modified by param.pl to generate the real .param file
8 # with the correct input filenames.
9 #   -Drake (dld@chem.psu.edu)
10
11 PATTERN         IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
12 OUTPUT          map.mpg
13
14 BASE_FILE_FORMAT        PPM
15 GOP_SIZE        60
16 SLICES_PER_FRAME        1
17
18 PIXEL           HALF
19 RANGE           8
20 PSEARCH_ALG     LOGARITHMIC
21 BSEARCH_ALG     SIMPLE
22 IQSCALE         8
23 PQSCALE         10
24 BQSCALE         25
25
26 REFERENCE_FRAME DECODED
27
28 #
29 # This takes two files, fallmap*.gif and map*.gif.  Both are converted to ppm
30 # and enlarged by a factor of 4.  fallmap*.gif is also smoothed.  The two are
31 # then added together (causing sectors with high fallout to be brighter).
32 # Finally, the country names in over.mask and over.pbm are overlaid.
33 #
34
35 INPUT_CONVERT   makeframe `basename *`
36
37 INPUT_DIR       .
38
39 # This files actual are substituted here by param.pl
40 INPUT
41 END_INPUT