summaryrefslogblamecommitdiffstats
path: root/game/build/tools/rename_file.pl
blob: 3f2307f374c91c98e29c4a85573a73c7caf4ebec (plain) (tree)
1
2
3
4
5
6
7
8







                                                                          
$file = $ARGV[0];
$ChunkId = $ARGV[1];
$FieldName = $ARGV[2];

$/ = ".p3d";
chomp( $file );

`p3dmutate -i $ChunkId -f $FieldName -a $file $file.p3d -o $file.p3d 1>&2`