Tuesday, August 21, 2012

Installing City of Heroes Freedom on Ubuntu 12.04 is Easy!

City of Heroes for human beings.


1. Download Wine & Winetricks from the Software Center.

2. Download Xdelta from the Software Center.

3. Download Unrar from the Software Center (it might already be installed).

4. In the terminal, run the following to get XML::Simple: sudo apt-get install libxml-simple-perl

5. Run Wine Configuration (winecfg) and it will create your Wine directory automatically.

6. Go to /home/YourUserName/.Wine/drive_c/Program Files and create a new folder called City of Heroes (replacing YourUserName with your user name). If you're running 64 bit Ubuntu do this in */Program Files (x86) instead. If you don't see the .Wine directory, make sure the "show hidden files" option is on (ctrl+h).

7. Download cohlaunch.pl from http://www.carnildo.com/cohlaunch/index.html uncompress it and move it into the City of Heroes directory you just created.

8. In the terminal run: 
cd "/home/YourUserName/.Wine/drive_c/Program Files/City of Heroes"
The quotation marks are necessary. On 64 bit replace Program Files with Program Files (x86). Replace YourUserName with your user name.

9. Now in the terminal run: perl cohlaunch.pl -renderthread 0 and let it do its thing. The whole game will be downloaded and patched up, so this may take several hours depending on your network connection speed.

10. Once complete, to run the program repeat the two terminal commands above to call the directory and run the script with perl in that directory. If no patch is needed the game will just run, otherwise it will patch itself up and then run. If you hear choppy sound or no sound, quit the game, log out of Ubuntu, log back in and relaunch the game.

11. Go. Hunt. Kill Skuls!

Tested on Ubuntu 12.04, Xubuntu 12.04 and Lubuntu 12.04.

No comments:

Post a Comment