I know Core Media is late (according to my own deadline), but family visited last weekend so I couldn’t land as many hours as I wanted into the audio code (the last part missing).

I committed a mostly functional RX::CardAudioSource tonight. I didn’t test very small looping sources yet, but I don’t expect I’ll even encounter those so it can wait. Otherwise, I’m pretty happy with the performance of the audio engine and will begin work on RXSoundGroup tomorrow. That class basically manages one or more RX::CardAudioSource instances so that you can stop, start and fade in or out a set of sources at once. This is the direct representation in the Riven X engine of SLST records.

After that, I’ll need to add SLST record loading to RXCard and implement the relevant opcodes. Hopefully I’ll get this thing out the door by the weekend :)

Riven X mailing lists

 Projects  Comments Off
Mar 192006
 

As indicated on the main Trac wiki page, I have created two mailing lists to support the Riven X project. The first is your standard -devel mailing list, used for discussions pertaining to the development of Riven X, and the second is a read-only mailing list that receives Subversion commit messages and Trac notifications.

Just hop over to the development wiki for the appropriate links.

 

I’d like to remind people interested in the Riven X project that the development Trac wiki is available. I’ve recently given it some attention and tried to make the front page of the wiki somewhat more useful. In any case, if you have bugs to report or features to request, that’s where you want to go.

 

I’ve been working on my spare… spare time on some web software for my World of Warcraft guild, principally to offer DKP statistics and character profiles.

I originally anticipated to do that stuff in PHP, but I figured it would be nice to learn something new, so I finally settled on Django, the “Web framework for perfectionists with deadlines”. Django is written in Python, which is a really nice language, not to mention hip at geek parties.

In any case, it hit me last weekend I would have to load World of Warcraft saved variables files, which are just Lua files declaring variables in the global scope. I thought this would be an ordeal and didn’t look forward to writing parsing code, or worse, a formal grammar.

Turns out Lua is so similar to Python a few regular expressions did the trick. I have to admit, I was rather pleased by the simplicity of the solution :)

So there you have it: the wowsv Python module. It exports a single function, aptly named wowsv, to load World of Warcraft saved variables into Python. You can do whatever you want with it, I don’t really care. Just credit me if you’re going to use it, and of course I’d appreciate to know about any changes or improvements you might make to it.

Download wowsv (sha1: 4711ce5a69e774b973bc5de2975051e18da11ee5)

In case you were wondering about the compression, my server would try to execute a straight .py as a CGI script.

© 2011 /dev/klog Suffusion theme by Sayontan Sinha