Simon Karman

Cloud Consultant and Game Developer

Xfire Chatlog Viewer

A chatlog viewer for Xfire with easy access to all your contacts and your conversations.

Published on 2013-03-22

Created by Simon Karman

I created an XfireChatlogViewer using Windows.Forms in .NET 4.

On startup the XfireChatlogViewer will load your chat logs from Xfire and it tries to convert them to an easy understandable user interface. As shown below:

Xfire Chatlog Viewer Image 2

Please note that only DUTCH chat logs can be converted so that this program only works for the dutch Xfire chat log format.

Seperating GUI and data

Programming this program I focused on separating the GUI from the actual data a lot since this was something I wanted to get more experienced with. This was also the main reason for creating this application. Since loading the data doesn't involve any form interaction whatsoever the program can easily preform this task in a different thread than the forms thread. This way the application won't freeze up-on loading the conversations.

Easy to use Chatlog classes

The second point I focused on was that I wanted to create an easy to use class library that stores all the classes. I used the following class setup: ChatlogHistory (one ChatlogHistory object will contain all the chatlog data for one xfire-user)

  • List

ChatLog (one ChatLog object contains all the conversations between the xfire-user and one contact)

  • string username
  • List

Conversation (one Conversation object contains the begin time, end time and all the messages between the xfire-user and one contact in that conversation)

  • string nickname
  • string nicknameFriend
  • DateTime started
  • DateTime ended
  • List

Message (one Message object contains the time and the text that was send in that message)

  • DateTime time
  • string text
Similar projects
If you like projects like this one you might also be intersted in other c#-, and windowsforms-projects.
Xfire Chatlog Viewer (xfire_chatlogviewer)
Image for Xfire Chatlog Viewer