# simutrans-pak-tools
## show_objects.pl
Displays a variety of reports about the objects in the Simutrans pak. e.g.,
* For each commodity
- Scan through the range of years
- Print a flow diagram of industries that involve the commodity
* Vehicle performance statistics
* Vehicle timeline consistency check
### Usage
-t translation_file (e.g., path to en.tab)
-r pak_source_dir Recursively process *.pak in and under the source_dir
-v Verbose
Example:
perl show_objects.pl -t ~/simutrans-pak128.britain-Std/text/en.tab \
-r ~/simutrans-pak128.britain-Std/boats/
### History
Originally [written in 2009 for the Simutrans forum](http://forum.simutrans.com/index.php?topic=2836.msg32268#msg32268)
## alter_hue
Changes one or more hues in a PNG file (as used when authoring Simutrans
paks) to other hues, or to player color gradients or alternate color
gradients.
The desired changes are specified as a single comma-separated list,
without internal spaces. Each component specifies a source color
range, a dash, and a destination (output) color range. Components are
of this form:
[HUE|p|a][+TOLERANCE]-[NEW_HUE|m MAPCOLOR|p|a][:FORCE_SATURATION]
where only the hue and new_hue are required. Tolerance defaults to 10.
The forced saturation is ignored when the output is set to player or
alternate gradients.
The following switches are available:
-i
-o