Add shebang to ease running the script as a program.

Update replay command adding needed -mod=public.

This was SVN commit r17574.
This commit is contained in:
fabio 2015-12-30 14:29:28 +00:00
parent 36c08193ba
commit 969008befd

View File

@ -1,9 +1,11 @@
#!/usr/bin/perl
use strict;
use warnings;
# Run the game normally to generate a simulation command log.
# Run the replay mode like:
# ./pyrogenesis -replay=$HOME/.config/0ad/logs/sim_log/99999/commands.txt
# ./pyrogenesis -mod=public -replay=$HOME/.config/0ad/logs/sim_log/99999/commands.txt
# to generate profile.txt.
# Then run:
# perl extract.pl > data.js