EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Utilities

Category: UtilitiesSlice Log and Trim Log -- Slice and dice your log files
Interface Information
Download
How do I install this? (FAQ)
Name: Slice Log and Trim Log -- Slice and dice your log...   Popular!
Author:
Date: 01-19-2006 06:48 PM
Size: 2.62 Kb
Version: 1.0
Rate Addon:  out of 5 with 0 votes  
Pictures
Click to enlarge 

Views: 1249
Size: 20.29 Kb
Dimensions: 441 x 620
Example of Slice, As rendered with Mapper 2 and Inkscape 0.42
 
Description
These are two Perl utilities to break a log file along an axis based on in-game coordinates.

slice_log
Slice_log does a hard cut through a log file, generating "stub" lines up to the axis/offset where the cut occurs. This will allow you to cut any log file along an axis much as if you had deleted one section of the graphic.

Command Line:
perl slice_log.pl <eq2log file> [-]<x|y> <offset> > <output.txt>

Example:
perl slice_log.pl eq2log_Peter.txt -x 20 > my_map.txt
Will cut the contents of the log file, using the y axis at a knife, 20 in game units along the x axis. Everything to the left of that point will be cut off. If you removed the minus sign, it would cut everything to the RIGHT of that point.

trim_log
Trim_log does a soft cut through a log file, based on the AVERAGE offset of each line. If the aveage is less than/greater than the axis and offset, it will not be included in the output.

Command Line:
perl trim_log.pl <eq2log file> [-]<x|y> <offset> > <output.txt>

Example:
perl slice_log.pl eq2log_Peter.txt -x 20 > my_map.txt
Will output only the lines whos average X value is greater than 20.

Requirements:
Requires ActivePerl to run. Download "Standard Installation" from here:
http://www.activeperl.com/Perl.plex?hdr=1

Suggested:
Slice_log and Trim_Log were designed to be used with Mapper2, also avalible on eq2interface.com
File Statistics
User Rating:
 out of 5 with 0 votes
Downloads: 6929
Views: 20080
Favorites: 0
Uploaded By:
 
Last Modified: N/A

View Pictures. Download Now! Post A Comment

There have been no comments posted to this file.
Be the first to add one.

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 10:02 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI