Unlimited Awesome: Linux script to convert mods to mp3

Listening to Purple Motion in iTunes :)

Listening to Purple Motion in iTunes :)

One day, Philipp Keller got fed up with installing sound libraries to listen to old-skool music files, so he decided to write a script that takes the hassle out of it and convert any mod to an mp3 file. Now you can download his script for free and use it on your own Linux box to convert your precious mod collection to mp3 for on-the-go listening.

Last.fm Integration

Playing your music modules as mp3 files has the added effect of allowing you to scrobble your music to Last.fm. Typically, playing anything but an mp3 causes Last.fm to disregard your tune. I know that if Last.fm or the WinAmp Audioscrobbler plugin took my mod playing seriously, I’d have a way different collection. Now I can.

Open source rules. Long live music modules!

Back into Torque. Big time.

I haven’t touched anything to do with level design or game development in a few months as there have been a few other important issues and projects to tackle. But, with the upcoming Christmas holidays, I’ve decided to take 2009 and really flesh out some C++ and torquescript skills and maybe do some creative work, such as 3D modeling and music. I’ve installed VC2005 and VC2008 along with Torque Game Engine Advanced and Torque Game Builder. Let’s rock.

I’m really excited. I’ll be posting all of the work that I complete in the Game Development, Game Art, Xandorus, and Torque categories.

Validating Domain Names and Websites

If you’re ever in need of a regular expression that will validate every domain name to make sure what the user gave you is valid, you can use this. I have to admit, while it’s pretty uber, it’s probably easier just to use cURL to see if the URL is valid.

To accomplish website validation using cURL, there is a snippet of code available on the official PHP homepage: http://ca3.php.net/manual/en/function.curl-exec.php#77167. If the HTTP status is 200 after requesting the website using cURL, the website is valid. If not, you can return an error to the user to verify their URL.