April 7th, 2008

Computer

Adventures in programming, v2

So THIS week I got a task to change the way sounds were being called within 850 Maya Files. This would normally be done by opening each file, changing the Sound Event to a Script Event, then saving the file, closing the file. Wash, rinse, repeat. For days.

Instead I took it as a challenge to write my next "useful program", this time using C#. And, I'm happy to say that I was successful. In less time than I would have had to spend opening each file, I was able to parse the file, find the event, replace it with the correct event (based on it's reference source), and save it all out. 850 files done in about 20 minutes. WOO! And it actually worked.

I used the Console instead of a form to avoid threading issues, and since this was basically a one-off app (use once, throw away) I didn't feel the need for all that fancy schmancy interface stuff.

I like this coding thing. I hope I can do it more often.

--Scott
  • Current Mood
    cheerful cheerful
Guitar

Sangin's Too Good For 'Em

My latest song Green Blues (aka Hulk Smash!) is now available for listening and downloading from Amiestreet.com

Here da link. : http://amiestreet.com/artist/481

Second Album Down, track 3.

This is a collection of songs written for games and game related events that were turned down by the very game/event they were written for one reason or another.

I especially like "Viva Las Resolution" - The Captains actually do a cover of that one.

Check it out!
  • Current Mood
    working working