Author Topic: Audiosurf Logger or the like?  (Read 1869 times)

Trinkit

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Audiosurf Logger or the like?
« on: November 20, 2008, 04:25:34 pm »
There's a few addons that announce and post stats, but, is there anything that just generates a text format log of audiosurf play-stats?  Like, song played, character, and your score in a list?   Would be useful for generic stats parsing scripts and the like.  Personally I want it so I can add another file to a script I use to post automated plurks from games I play.  Just wondering if anyone can point me to an existing project, or maybe this is easy enough that someone could whip it up in a trivial amount of time.

Would just need to be a text file with , or : or ; seperated data fields.

Timestamp:Artist:Album:Song:Duration:Score:Bonuses

Thanks much in advance.

Devil_Spawn

  • Hero Member
  • *****
  • Posts: 891
  • Not Devil_Awesome, Devil_0wns, Devil_TheGreatest..
    • View Profile
    • Email
Re: Audiosurf Logger or the like?
« Reply #1 on: November 21, 2008, 05:20:02 am »
dylan is making a stats site.

Pwntastic

  • Roffles The Mighty
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1910
    • MSN Messenger - rofflesthemighty@hotmail.com
    • AOL Instant Messenger - LordDosk
    • View Profile
    • Pwntastic.Net
Re: Audiosurf Logger or the like?
« Reply #2 on: November 21, 2008, 02:52:27 pm »
I got bored in class today. I made this for you :)

It runs in a tray menu, doesn't have any options you can configure.
But it writes out a log of stuff you play in Audiosurf to an as_log.txt in the same directory as the exe.

I wasn't sure how you wanted something like time to be formatted and still have each field be : separated, so each field is ; separated, time is H:M:S, and each song 'object' if you will is , separated.

so you've basically got timestamp;artist;song;duration between start and finish;score,repeat

audiosurf doesn't send album info, nor does it have an easy way to track teh length of a song. it provides the ash file that it uses for each track, which you can grab the song length from, but if the file starts with an integer then you're screwed on figuring out the length. so i just went for time finished - time started

enjoy

Trinkit

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Audiosurf Logger or the like?
« Reply #3 on: November 23, 2008, 03:12:45 pm »
Thanks so much!   I realised later that AS doesn't provide all the info that would be desirable, but, with what it does provide, this is great and exactly what I wanted. :)  Thanks so much for including the source code too.

Hopefully in the future AS reports more of the info that it can to add-ons, but, this along with stuff I've been dinking with makes me a happy kitty.