Archive

Archive for April, 2013

A quick thought about SSDs

April 28th, 2013 2 comments

my slow 160tb system disk. Slow but still SATA II

After the break some quick screenshots of HDD benchmarks. -Look at the speed on the SSD 😉

Also, can you believe Samsung 256GB SSD for under £60? Get me one of those :)

Read more…

Categories: HardWare, Linux Tags: , ,

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: ,