Go Back   Team17 Forum > Game Chat & Support > Older Titles > Worms Armageddon

Reply
 
Thread Tools Display Modes
Old 6 May 2012, 05:42   #1
zookman
 
zookman's Avatar
 
Join Date: November 2006
Location: South
WAgame manager/archiver?

What I want to be able to do is 'keyword search' the in game chat logs for a specific conversation I had with an unknown player at an unknown time.

I assume doing this on-the-fly wouldn't be viable, as each WAgame file would require separate processing. I might be wrong.

But if I could somehow batch process all 10k+ of my WAgames, and end up with a searchable chat log document, then I'd be able to find that specific conversation.

Ideas?
zookman is offline   Reply With Quote
Old 6 May 2012, 15:47   #2
GreeN
 
Join Date: February 2007
Location: West Sussex
mass extract the logs and use windows search or find a hex editor that can search for unicode strings
GreeN is offline   Reply With Quote
Old 6 May 2012, 17:59   #3
StepS
 
StepS's Avatar
 
Join Date: November 2009
Location: Moscow
Send a message via ICQ to StepS Send a message via MSN to StepS Send a message via Yahoo to StepS Send a message via Skype™ to StepS
quoted:
Originally Posted by GreeN View Post
mass extract the logs
no need. Chat messages themselves are plain text in the replays. Just use Search in contents

quoted:
Originally Posted by GreeN View Post
unicode
what?
__________________
signature.
StepS is online now   Reply With Quote
Old 6 May 2012, 18:18   #4
GreeN
 
Join Date: February 2007
Location: West Sussex
quoted:
Originally Posted by StepS View Post
what?
text strings, as opposed to hex values
GreeN is offline   Reply With Quote
Old 6 May 2012, 18:48   #5
StepS
 
StepS's Avatar
 
Join Date: November 2009
Location: Moscow
Send a message via ICQ to StepS Send a message via MSN to StepS Send a message via Yahoo to StepS Send a message via Skype™ to StepS
they aren't in Unicode.
__________________
signature.
StepS is online now   Reply With Quote
Old 9 May 2012, 13:07   #6
Pac-Man
 
Pac-Man's Avatar
 
Join Date: October 2006
Location: 
If the Windows Indexing Service for the Windows Search works correctly (e.g. never?), you can also set up the WAgame extension to be searched in a way which also reads the content of the files - including the chat logs. Then you just have to enter the chat text in the search box when you're in the replays folder.

To set it up like this (Vista / 7 only):
- Start, enter "index" and select "Indexing options" in the search results.

- Click the "Advanced" button in the new window:

- Select the "File Types" tab page in the new window.
- Choose "WAgame" in the file extension list (you can enter WAgame after you have clicked into it), and check the second radio button:

Accept all windows and have a try. Maybe Windows needs some time to index the contents first.
Pac-Man is offline   Reply With Quote
Old 14 May 2012, 08:15   #7
Lex
 
Lex's Avatar
 
Join Date: February 2002
Location: Toronto, Ontario, Canada
Send a message via ICQ to Lex Send a message via AIM to Lex Send a message via MSN to Lex Send a message via Yahoo to Lex
You could get and use ack for this purpose. You'd have to install Perl 5.8.8 or higher, then install ack. Ack is like grep, but better. Also, there's a supposedly-better tool called Ag (or "The Silver Searcher") which is like ack but uses simple search strings instead of regular expressions, but searches multiple times faster.

Don't expect using these to be newbie-friendly. Both tools only have command line interfaces. However, once installed and working, these tools are very valuable for searching for anything within many files.
Lex is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:09.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.