Max Payne in 2013

April 28th, 2013 No comments

portrait, as cropped from my screenshot of the loading screen.

TLDR: Don’t bother with windows, use linux ;)

I’d already been talking about fond Max Payne memories last week, so when Steam did one of their ridiculous sales; Max Payne 1 and II for only $2.50, I had one of those dangerous spur of the moment impulse buys, forgot about affording bread & milk and dropped the cash.

When I bought it, my brother pointed out that ‘he had my old copy somewhere at home’ -‘and anyway, [I] could just download it easily’, but for some reason I had the impression that if Steam were going to sell it, they’d have at least made sure it was fully patched and ready for play. This would be easier all in, I thought. I’m feeling a bit bloody disappointed right now.

I download & install only to find it wouldn’t work on either of my Windows 7 boxs at all at all. The install would go through absolutely fine (a tiny 700MB) and then it’d refuse to start.

but my card always was!

Max Payne requires a DirectX 8 compatible display adapter. Please consult the troubleshooting readme in the installation folder

it scolds me, and refuses to do any more. And no amount of Compatibility Troubleshooting helps me get past this either. Some googling suggested that newer drivers were the problem (I’m rocking an nVidia GeForce 9600GT (and a 7300 in the old machine)) so spent a couple of hours trying out some old and new graphics drivers all to absolutely no avail. 4 hours later and I still couldn’t get this bloody game to launch.

3AM and hours into this I gave up in disgust, apologised again to my brother and restarted into my usual GNU/Linux home… and then remembered WINE -and Max certainly reports as working nicely, so here come full instructions after the break: Read more…

Categories: Gaming Tags: , , ,

zsh magic

April 6th, 2013 No comments

sometimes you need to copy a file in a remote directory (like backing up a config file).
If its not in your current working directory, then you can end up with silliness like

cp /usr/src/linux/arch/x86/boot/bzImage /usr/src/linux/arch/x86/bzImage.backup

-lots of duplication. I’ve been trying to find a better way for years but never found it.

Khayyam in #Gentoo cracked it within moments of me asking (after setting me onto zsh (a different shell to bash))
with zsh you can do the clever thing of:

echo /usr/src/linux/arch/x86/boot/bzImage !#1.copy


which auto-expands to

/usr/src/linux/arch/x86/boot/bzImage /usr/src/linux/arch/x86/bzImage.backup

massive thanks to Khayyam who also has some immense .zsh customization & scripts on the go. He also suggests that you check out http://zshwiki.org for more excellent tips :)

edit: in bash you can just do cp /path/to/file.png{,.old}

Categories: zsh Tags: ,

CW Touch Recovery on Samsung Galaxy S3

August 20th, 2012 No comments

CW Touch on SGS3

I’ve always used the clockwork mod recoveries, and apparently now they do a touch version for those phones without keyboards.

The easy install is a paid app from the market, but they give away the image for free, if you’re daring enough to flash it yourself. Here’s the easy way how (standard disclaimers apply: this worked for me, it might set you on fire. Sorry but not my fault if it does). Bits between `backticks` are commands to be executed (eg `echo “I am a command!”`).

We’re talking about the international SGS3, the GT-I900. It originally came from T-Mobile UK.

1. Get root.

2. Get the android dev tools so you can connect to your phone using adb. You’ll need to enable USB debugging too ;)

3. Head to the ClockworkMod download page and get the latest touch recovery for your “Samsung Galaxy S3 (GT-I9300)”, at the moment it’s recovery-clockwork-touch-6.0.1.2-i9300.img. Note the fact it’s a .img file.
Put this somewhere on your phone. I’m sticking it on the _internal_ SD-Card.

4. open a command prompt (`cmd` on windows) and check your PC can see your phone `adb devices`. You should see a device attached.

5. Get a shell on the phone (`adb shell`) and then get root (`su`). The end of your prompt should change from a $ to a # when you’ve got root. (eg, from “shell@android:/ $” to “shell@android:/ #”).

6. Change location to where you’ve got your image downloaded. On my phone/current firmware (stock samsung, latest) it’s /sdcard/, so `cd /sdcard/`. `ls` will list files, so you can make sure your image is there.
If you’re having problems finding the sdCard mount location, the _external_ sdcard seems to be at `/mnt/extSdCard` but you can get a list of mounts with `mount`.

7. Make a backup of your old recovery.
The recovery partition on the SGS3 seems to be as follows (found by WT Ho on the xda-developers forums)

/dev/block/mmcblk0p1 – unknown
/dev/block/mmcblk0p2 – unknown
/dev/block/mmcblk0p3 – /efs
/dev/block/mmcblk0p4 – unknown
/dev/block/mmcblk0p5 – kernel
/dev/block/mmcblk0p6 – recovery
/dev/block/mmcblk0p7 – unknown
/dev/block/mmcblk0p8 – /cache
/dev/block/mmcblk0p9 – /system
/dev/block/mmcblk0p10 – unknown
/dev/block/mmcblk0p11 – unknown
/dev/block/mmcblk0p12 – /data

so we’re interested in `/dev/block/mmcblk0p6`
`dd if=/dev/block/mmcblk0p6 of=./recovery-backup.img` makes a backup of our current image.

8. Blank the recovery partition:
Here be dragons! If things go wrong between now and the end of step 10, you might be buggered.
Probably not needed, but we write zeros to the recovery partition to blank it `dd if=/dev/zero of=/dev/block/mmcblk0p6`.

9. Write the new recovery -Still a dangerous place to be. Obviously you have a full battery and are in aeroplane mode?
“recovery-clockwork-touch-6.0.1.2-i9300.img” is the name of the image. If you’ve got it in a zip or tar file then you should have extracted it first. I’ve renamed it to “recoveryTouch.img” for ease.
`dd if=./recovery.img of=/dev/block/mmcblk0p6` flashes the image to the partition.

10. `sync` afterwards, because it’s just a nice thing to do

11. Switch off the phone in the usual way, and then hold down [Volume UP] + [menu] + [Power] to switch it back on.
You should now be booted into your nice new touch recovery.

12. Touch the screen and enjoy. “reboot system now” to exit

Categories: SGS3 GT-I9300 Tags: , , ,

Pro-Active Destruction

May 21st, 2012 No comments

so I finally updated the website and theme and apparently it’s broken the site somewhat.
If it wasn’t nearly 4am and I didn’t have things to do tomorrow I might have actually fixed it instead of posting this :S

Categories: Uncategorized Tags:

32bit Wine 64bit Gentoo

December 24th, 2010 No comments

Gentoo now lets you compile wine with the win32 or win64 useflags.

If you’re on 64bit linux then all your wine “prefix’s” become 64bit as default. My googling of the internet seems to suggest you need an entire 32bit chroot or other sillyness to have some good old 32bit action (I want to play Portal).

WINEARCH=win32 WINEPREFIX="/home/user/.wine-portal" wineboot

is what I’m grepping through my bash history looking for :)

Categories: Gentoo, WINE Tags: , ,

Spam Measures

December 20th, 2010 No comments

Apologies to all those I’ve just affected, but due to the massive amounts of spam comments currently being submitted I’ve just beefed up our sign-up procedure as well as removing a tonne of users who seem to have submitted nothing (or nothing and spam).

If I accidentally deleted your account, or you’re legitimate and trying to sign up then I am really, truely sorry. Get in contact and we’ll sort it out :)

Categories: Site News Tags:

C&C First Decade: Windows 7

December 20th, 2010 14 comments

Command and Conquer First DecadeWell, Christmas time is nearly here, and as much as I hate all the adverts on telly, its a great time of year to get snowed in, crack out the old computer games and put your feet up on the computer for warmth. With this in mind, I’ve written a little guide for getting C&C The first Decade working on a modern Windows 7 system.

Command and Conquer; Tiberian Dawn came out in 1995 and was followed shortly after in 1996 with Red Alert. Hidden in the lounge at my friend Ian’s house with his mum upstairs asleep, his chronically underpowered 233mhz pentium computer wurring away I was absolutely amazed by the entire C&C experience. The installer was immensive and fell modern and damned cool, the video’s looked beautiful and like nothing else I’d experienced and the music track was fantastic. Many hours were lost.

So now, 15 years after the first game was released lets have a go at getting it all running in time for Christmas. After a couple of days of failure (and the need to multiplay with my brother) I gave up getting it running in WINE under Linux and cracked on with a Windows 7 install.

In 2006 Westwood packaged the first 8 years of gaming into one 8gb installer. Some of the games still work “out of the  box”, others (like Generals; ironically the latest games) are a bit of a pig to get going; but they all will work!

Read more…

Desire post test

July 23rd, 2010 No comments

image

Got the new desire. Also got a smoke machineand lasers…

Categories: Uncategorized Tags: ,

It must be true; I saw it on telly!

April 1st, 2010 No comments

For years now, I’ve taken to the phrase “But it must be true; I saw it on telly!”. Depending on circumstance… well, you can imagine.

You can probably also imagine how delighted I was to come across the Dan&Dan song “The Daily Mail“.

All of his video’s are clever as well as funny -fantastic ideas and brilliant execution -I’d very much recommend checking out his other work.

Read more…

Categories: Uncategorized Tags: , ,

This is what you get for paying

April 1st, 2010 1 comment

Not that I’m advocating piracy at all, but the recent Ubisoft DRM Fails and the not so recent events that saw people who had bought a legitimate version of Spore downloading and installing cracked versions just to get it to work do make me think….