How do you go about extracting characters from demos? I mean besides doing it manually one at a time.
If you already used one of my scripts before, you should have Perl installed. If not, get it from http://www.activestate.com/activeperl/downloadsFor the following scripts, right-click the link and select Save As to put them in the appropriate folder, then double click them to run them.
This Perl script reads all the .cohdemo files in the folder where the script is and writes all entities (players and NPCs) it finds to a folder called "Characters", creating it if necessary:http://dl.dropbox.com/u/37952257/cohdemo2char.pl
This Perl script reads all the .costume files in the folder where the script is and writes them in demo format to a folder called "Characters", creating it if necessary:http://dl.dropbox.com/u/37952257/costume2char.pl
This Perl script reads all the Sentinel+ .xml files in the folder where the script is and writes all costumes to a folder called "Characters", creating it if necessary:http://dl.dropbox.com/u/37952257/sentinel2char.pl
This script reads all the .char files in the $charfolder and uses the COH client to generate JPEG previews of each character, dumping them in $jpegfolder, creating the latter if necessary:http://dl.dropbox.com/u/37952257/char2jpg.plWARNING ON THAT LAST SCRIPT:
you need to change the three paths near the beginning to match the folders in your own computer where you have the .char files, where you want the .jpg files to be dumped, and where your City of Heroes client resides. If you don't set those full paths correctly, it won't work.
$charfolder = 'D:\City of Heroes\JPEG Maker\Characters';
$jpegfolder = 'D:\City of Heroes\JPEG Maker\JPEG';
$cohfolder = 'D:\City of Heroes\CohBeta';
You have to open the script in Notepad (open Notepad, drag the scripts inside) and change just the paths part of those lines. Leave the single quotes around them. No trailing slash.
If, for example, you have City of Heroes installed in the default path, you would change the last line to:
$cohfolder = 'C:\Program Files (x86)\NCsoft\City of Heroes';