Skip to content

Chatlog to Email Converter RC

Please see this post for updated version

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Today I’ll be releasing the RC of the Classic Chatlog to Email Converter

For you to use this you must satisfy the following conditions:

  • That chatlogs you want converted must pre-date Messenger Plus 3.0 or whatever version that was released prior to June 2006
  • You must have python installed (preferably the latest stable 2.x version)
  • You must have chardet installed
  • You must install Thunderbird

Todo:

  • Threading for even faster performance!

Wishlist:

  • Automatic uploading to your email account

I actually have a WORKING unicode supported script for HTML chatlogs, however, I’ve yet to get the emoticons/handwriting pics working but you’ll probably see a release some time soon in the future.

Instructions:

  1. Move all your pre-June 2006 messenger plus chatlogs to a folder
  2. Place the script inside the folder
  3. Double click to run the script
  4. A file called “Chatlog” will be created
  5. Move that file to <Path to thunderbird preferences>Profilesxxxxxxxx.defaultMailLocal Folders
  6. Open up Thunderbird and drag drop the chatlogs to an email account that supports imap

Download

Advertisements

Tutorial: Boot existing Ubuntu Partition using Virtualbox inside Windows (deprecated)

Edit 22/11/09
Ubuntu 9.10 uses the new grub 2 as its boot-loader thus this article would not work for 9.10. I am currently in the progress of getting 9.10 to work under Virtualbox.

This tutorial would no longer be supported. Any comments regarding support will be ignored.

If you want to get 9.10 working please READ THIS ARTICLE

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I recently got Windows 7 and Ubuntu running in a dualboot. However, since I’m using more of Windows now I figured I should probably find a way to run Ubuntu inside my Windows. VM’s are great, but it’d be better if I can actually boot into my existing Ubuntu partition. So I searched the web and kept on finding tutorials on how to boot existing XP partitions inside Windows. So I decided to extrapolate from those tutorials and work my way through it. I’ll be writing how I did it here.

Before we begin, you should have a dual boot setup. I will NOT be showing you how to setup a dual boot, if you need help plenty of other guides out there.

Step 1: Creating a grub boot iso

The grub iso file will allow you to specify which partition to boot into.

  1. Boot into Ubuntu
  2. We create the folders and copy the necessary files to setup an iso
    Run the command:  cd ; mkdir -p iso/boot/grub ; cp /usr/lib/grub/*-pc/stage2_eltorito /boot/grub/menu.lst iso/boot/grub
  3. Configure your ~/iso/boot/grub menu.lst file to boot your target OS (in this case Ubuntu). Remove the “savedefault” option from your target entry if it exists.
  4. We now create the bootable iso file
    Run the command: cd ; mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub.iso iso
  5. Move the iso to a location that’ll be accessable by your Windows partition

Step 2: Creating the .vmdk file

This creates a file which tells Virtualbox what partition to actually load as the harddrive. Unfortunately, unlike VMWare Workstation, Virtualbox does not support a GUI interface for selecting RAW hard disks as the “virtual hard drive”.

  1. Boot into Windows
  2. cd into the directory you installed virtualbox
  3. We find the partition number that needs to be mounted
    Run the command: VBoxManage.exe internalcommands listpartitions -rawdisk \.PhysicalDrive1
    (where 1 is the number of the hard drive ubuntu is installed on. E.g. Master should be 0, you’re second hard-drive should be 1 etc…The output should be something like:

    Number  Type   StartCHS       EndCHS      Size (MiB)  Start (Sect)
    1       0x07  0   /32 /33  1023/254/63        902023         2048
    5       0x83  1023/254/63  1023/254/63         49677   1847346543
    6       0x82  1023/254/63  1023/254/63          2164   1949086188

    In this example, my Ubuntu partition is number 5 and the swap is number 6

  4. We now create the VMDK file with the given information
    Run the command: VBoxManage.exe internalcommands createrawvmdk -filename C:pathubuntu.vmdk -rawdisk \.PhysicalDrive1  -partitions 5,6 -register

Step 3: Setup Virtualbox

Now everything should be ready to setup Virtualbox. Create a new virtual machine. Select the .vmdk file we just created as the hard drive and mount the grub.iso file we created at Step 1. If everything was successful Ubuntu should boot up nicely.

DONE!

If this has helped you in any way, please take the time to drop a comment! If you have any problems, just post a comment or send me an email through the “Contact me” page.

References:

Boot an existing XP (Physical HD) install with VirtualBox

Tutorial: Access your Hotmail in Gmail through POP3

Not too long ago, the Windows Live Hotmail team decided to add POP3 support for users in countries such as United Kingdom, Canada, Australia, France, Japan, Spain, Germany, Italy, and the Netherlands. If you are in these lucky countries you can finally stay away from hotmail.com and use your favourite mail client or in this case through Gmail! If you’re not in one of these countries then I guess you’ll just have to wait or try some 3rd party alternatives.

Here are the general settings you need for your mail client when setting up Hotmail for pop3 in your mail client:

POP server: pop3.live.com (port 995)
POP SSL required? Yes
User name: Your Windows Live ID, for example yourname@hotmail.com
Password: The password you usually use to sign in to Hotmail or Windows Live
SMTP server: smtp.live.com (port 25)
Authentication required? Yes (this matches your POP username and password)
TLS/SSL required? Yes

Inside gmail to add a new mail account follow these instructions.

  1. Click on Settings -> Accounts -> Add another mail Account
  2. Type in your hotmail email address
  3. Fill out all the details and make sure you add the “@hotmail.com” or “@live.com” at the end of your username
  4. Make sure the second checkbox is also checked, the others are optional
  5. Change the port number to 995 or you’ll get an timeout
  6. Click “Add Account”

Afterward gmail will ask if you’ll like to setup send-to permissions through gmail for your hotmail account.

Once everything is complete, just sit back and wait for you emails to be downloaded into your gmail!

If this has helped you in any way, please take the time to drop a comment!

Edit:

Check this out…

hotmailpop3

References:

A new way to get Hotmail on your phone

Tutorial: Hosting/Playing Warcraft 3 Online in Ubuntu…Perfectly

This post is now deprecated as I no longer maintain this. Comments will be closed.

~~~~~~~~~~~~~~~~~~~~~~

I’ve read too many tutorials on how to setup Warcraft 3 on linux. However, the tutorial usually just ends there. Sure, you have a working version of Warcraft but when it comes to playing online it’s a different matter. Current versions of Wine do not have a working implementation of AcceptEx, this causes in game chat to be broken in battle.net. So when you’re playing team games that could be a problem. In addition, until recently there has been no linux compatible delay reducer. What is delay reducer? Warcraft 3 sets a predefined delay of 250ms for battle.net and 100ms for Lan. Generally 250ms for battle.net results in games with delay and/or lag. If you need more information check out this blog post.

In this tutorial, it’ll be divided into two parts. I’ll be showing you how to setup your system so that you can play and/or host Warcraft 3 games online painlessly and I’ll be showing you how to host Warcraft 3 games under wine.

Whilst there is no stable implementation of AcceptEx at the moment, there is AN implementation available. Thankfully, somebody decided to patch Wine with this implementation and setup a PPA repository. If you want to compile your own version of wine with the patch you can also do so by downloading the patch from the reference link below.

  1. In terminal type
    gksu gedit /etc/apt/sources.list
  2. Add the following line changing intrepid to name of your version of Ubuntu.
    deb http://ppa.launchpad.net/starfall87/ubuntu intrepid main
  3. Update apt with latest change from sources list:
    sudo apt-get update
  4. Remove current version of wine and install the version from the PPA repository:
    sudo apt-get remove wine && sudo apt-get install wine

Now that you have the correct version of Wine installed, I’ll show you how to host a game.

  1. We need to download Delay Reducer that’s compatible with Wine. Download
  2. Extract the file somewhere
  3. Run it by typing inside a terminal after you have had Warcraft 3 running:
    wine W3DR_CLI.exe 80
  4. If you require additional hosting abilities like banlist, autorefresher, custom kicking then read on, otherwise you can stop here…
    We can install a program called Snoopy which is developed for Linux for hosting games in Warcraft 3. To install it type inside a terminal:

    sudo apt-get install snoopy-wc
  5. Snoopy should now appear under your Application list inside Games.
    Snoopy comes with many functionalities and options. Please read this guide on how to use snoopy.

You should be all set now!

If you’re just interested in playing Warcraft 3 online, you only need to run Warcraft and get on battle.net. Otherwise turn on delay reducer and run snoopy to begin hosting a game!

If this has helped you in any way, please take the time to drop a comment!

Edit 19/02/28:
Here is an alternative PPA repository for a patched version of Wine for those who want the latest version. Be warned, this has not been thoroughly tested.

https://launchpad.net/~pxc/+archive

References:
WineHQ Bugzilla – Bug 9787 – Warcraft3 Battle.net Doesn’t work (Needs AcceptEx)
Delay Reducer For Wine
Official Site For Snoopy

Tutorial: xorg Metamodes – Running Fullscreen Games on 1 monitor in a dual display

A problem I’ve encountered since setting up dual display using Nvidia Twinview inside linux is that when playing full screen games I run into the problem where:

a) The game tries to run across the two displays but cuts off in the middle, so you only get the game on one monitor whilst your other monitor is naked

or

b) The game runs like it should on the primary monitor…however the window doesn’t capture the mouse and your second monitor is left open

It gets extremely annoying.

One workaround I’ve been using is disabling the second monitor and reenabling it once I’m done. Being a programmer…I thought…there should be a better way! So I googled a bit and found this solution which I will write up, for my own reference in the future should I encounter this problem and for anybody else who might be having the same issue.

So to sum up, this tutorial will allow you to play a fullscreen game on ONE monitor in a dual display setup.

  1. Open up a terminal
  2. First we should probably backup your xorg.conf just type ‘sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup’
  3. Type ‘sudo vim /etc/X11/xorg.conf’ Replace vim with your text editor of choice
  4. Scroll down until you see the “Screen” block for your PRIMARY monitor. It should look something like this:

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "1"
    Option "TwinViewXineramaInfoOrder" "DFP-0"
    Option "metamodes" "CRT: 1280x1024 +1680+0, DFP: 1680x1050 +0+0"
    EndSection
  5. On the second last line which contains the word “metamodes” you’ll need to change it to this:

    Option "metamodes" "CRT: 1280x1024 +1680+0, DFP: 1680x1050 +0+0"; DFP: 1280x1024 +0+0,NULL"

    Replace 1280×1024 by the resolution of the game that you play on. However, EVERYBODY’s xorg.conf file will be different, make sure you adhere to the formatting of your file.
  6. Reboot your computer or simply press CTRL+ALT+BACKSPACE to restart X
  7. Open the game you wish to play and hopefully everything is working

Feel free to post any problems you may have after following this tutorial and I’ll try my best to help.

Tutorial: Hamachi (with GUI) in Ubuntu 8.04 Hardy Heron

Hamachi is a freeware application that initiates a virtual private network (VPN) between peers. This is extremely useful for initiating applications such as games over the Local Area Network (LAN).

For more information click here

This Tutorial is for setting up Hamachi with a gui based interface (optional) in Ubuntu 8.04 Hardy Heron.

  1. Download Hamachi
  2. Extract it somewhere
  3. Open up a terminal and CD into the directory
  4. Run ‘make install’ or ‘sudo make install’ to install hamachi
  5. Run hamachi-init to generate crypto identity
  6. Download and Run hamachi-gui – x86 or AMD64

You’re done! Simple! Hamachi-gui should be under your list of applications now or simply run hamachi-gui inside terminal.

If you feel more comfortable at the terminal, here are some commands you can use to setup hamachi manually.

  • Run ‘hamachi start’ to launch Hamachi daemon.
  • Run ‘hamachi login’ to put the daemon online and to create an account.
  • Run ‘hamachi join <network>’ to join the network.
  • Run ‘hamachi go-online <network>’ to go online in the network.
  • Run ‘hamachi get-nicks’ to download network memberlist
  • Run ‘hamachi list’ to list network members and their status.