Jul
13
2009
0

Enviro-bear: Best iPhone Game to date?

I saw this on Boing Boing today and downloaded it. The video is the PC version but there’s an iPhone one now too. It’s one of the most bizarre things I’ve ever had the fortune to play and actually a really fun game too! The only problem is that it seems to crash half way through “Year 2″.

I love the badgers that fall into your car and start savaging you and eating your food, and the other cars which can be seen to be driven by angry bears when you get close enough.

No comments »
Written by in: Uncategorized |
Jul
13
2009
0

Call of Duty 4 server

I’ve been working with Terran on setting up a Call of Duty 4 server ever since he got a loan of a dedicated Linux box somewhere in Europe (I can’t remember if it was France or Germany).

I started uploading the 6GB of files from my installation necessary to run the server, but the rsync kept failing. Even without this trouble it was still going to take ages to upload 6GB, so Terran downloaded an ncurses (command-line) BitTorrent client and started downloading a CoD4 ISO. This finished last night so I went about getting those precious install files out of it.

  1. First I dropped in my SSH public key with SCP
    locomoco:~ scp ~/.ssh/id_rsa.pub root@123.123.123.123:.
  2. I made sure that I had an up-to-date X11 install.
  3. I opened X11 to get an xterm up and SSH’d into the server with X-forwarding on (and xauth junk turned off by using -Y instead of -X).
    locomoco:~ ssh -Y root@123.123.123.123
  4. Adding my public key to authorised_keys so I won’t be asked for passwords anymore when SSH’ing in as root.
    remote:~ cat id_rsa.pub >> .ssh/authorised_keys
    remote:~ rm id_rsa.pub
  5. Installing wine:
    remote:~ apt-get install wine
  6. Mounted the ISO:
    remote:~ mkdir /mnt/cod4
    remote:~ mount -o loop ~/cod4.iso /mnt/cod4
  7. The server has a small partition (/dev/sda1) for / and a large one (/dev/sda2) for /home, so I moved ~root’s .wine folder out of /root to have some more room for the virtual C: drive:
    remote:~ mkdir /home/cod4/
    remote:~ mv ~root/.wine /home/cod4/
    remote:~ ln -s /home/cod4/.wine .wine
  8. Then it’s ready to be installed! (I hope your X server is set up right!)
    remote:~ wine /mnt/cod4/setup.exe
  9. Once it’s installed I pulled extra files from home into the install directory (/home/cod4/install/):
    remote:~ rsync --progress -avz daniel@locomoco:/cygdrive/c/Games/CoD4/Main /home/cod4/install/
  10. I repeated this for the zone and Mods folders
  11. Unmount the ISO:
    umount /mnt/cod4
    rmdir /mnt/cod4
  12. Now I just need Terran to set up the server!
No comments »
Written by in: Uncategorized |

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com