Author Topic: DEVELOPERS: (mod info) WM_COPYDATA command interface  (Read 50899 times)

Mincus

  • Hero Member
  • *****
  • Posts: 2634
    • View Profile
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #60 on: April 06, 2009, 10:46:25 pm »
There's a message for the character screen that you'll get.
That any use?

Lavos^

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
    • Email
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #61 on: April 07, 2009, 01:00:59 am »
No. I need the ash file that gets loaded, it's based on per-song.

Mincus

  • Hero Member
  • *****
  • Posts: 2634
    • View Profile
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #62 on: April 07, 2009, 09:31:51 am »
Could cache all the ash files beforehand. They're not exactly big. ;)

That is just load them into a chunk of RAM, don't process them until you get the song name.
Would that give you enough time?

Lavos^

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
    • Email
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #63 on: April 07, 2009, 12:05:19 pm »
No, because it's not the ash files. :P It's a file that gets created before for each song.

lavacano201014

  • Hero Member
  • *****
  • Posts: 1765
  • the rare Ozolus Lavacanum
    • ICQ Messenger - 431938899
    • MSN Messenger - thatotherguy370@msn.com
    • AOL Instant Messenger - lavacano201014
    • Yahoo Instant Messenger - lavacano201014
    • View Profile
    • Email
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #64 on: July 21, 2009, 06:11:59 pm »
Is there a way I can use this with mIRC scripting? (I will download a premade DLL if necessary)

Green = listening, red = surfing

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3402
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #65 on: July 21, 2009, 07:09:46 pm »
new commands would be awesome


Mincus

  • Hero Member
  • *****
  • Posts: 2634
    • View Profile
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #66 on: July 21, 2009, 08:54:33 pm »
new commands would be awesome

Ideas?

I'd like the ability to control everything from outside the game, like ironmode and other options (which currently require a restart).
Having an ash generation routine without having to actually play the track would be a nice-to-have, along with something that passes over mini-track shape info (like that provided by game_fetchtrackshape2.php).

But I'd prefer the texture re-loading memory leak (see http://www.audio-surf.com/forum/index.php/topic,4869.0.html) and the minimise bug (more prevalent in Vista) fixed first as they hamper development and the flow between Audiosurf and Add-ons.

Edit: Ability to get the radio song info and tell Audiosurf to play them would be useful as well.
« Last Edit: July 22, 2009, 08:40:52 am by Mincus »

lavacano201014

  • Hero Member
  • *****
  • Posts: 1765
  • the rare Ozolus Lavacanum
    • ICQ Messenger - 431938899
    • MSN Messenger - thatotherguy370@msn.com
    • AOL Instant Messenger - lavacano201014
    • Yahoo Instant Messenger - lavacano201014
    • View Profile
    • Email
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #67 on: July 21, 2009, 11:49:53 pm »
Is there a way I can use this with mIRC scripting? (I will download a premade DLL if necessary)

I feel like I've been put on the backburner here.

Green = listening, red = surfing

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3402
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #68 on: November 03, 2009, 06:51:30 pm »
Me want separate commands for Visualizer and Classic Freeride! :D


blue_h3x

  • Hero Member
  • *****
  • Posts: 5165
    • View Profile
    • AS Tournament
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #69 on: November 07, 2009, 05:14:27 am »
A fix to the texture reload memory leak would be nice, would aid making graphics mods without a million restarts
Australia is kinda awesome, but it's no Yorkshire.

S4ph1r

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #70 on: February 03, 2010, 12:14:55 am »
Someone got an Mod in C# wich got the current Song Riding?

blue_h3x

  • Hero Member
  • *****
  • Posts: 5165
    • View Profile
    • AS Tournament
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #71 on: February 03, 2010, 01:49:02 am »
Someone got an Mod in C# wich got the current Song Riding?

Do you mean "has someone made a mod which can show the current song being played in AudioSurf?"
Australia is kinda awesome, but it's no Yorkshire.

S4ph1r

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #72 on: February 03, 2010, 05:49:22 am »
yes in C# i looked allready at the Windows Live Plugin but wich doesnt work for me :(

Mincus

  • Hero Member
  • *****
  • Posts: 2634
    • View Profile
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #73 on: February 03, 2010, 06:27:57 am »
yes in C# i looked allready at the Windows Live Plugin but wich doesnt work for me :(

I knocked up a small class in C# (and a VB.NET example as well if you want it) and posted it here: http://www.audio-surf.com/forum/index.php/topic,5347.msg55490.html#msg55490

It shows how to communicate with Audiosurf from C#/VB.NET.
Retrieving things back is a simple case of over-riding the WndProc function of your form and picking up WM_COPYDATA messages.
The commands etc are all explained by Dylan in the first post of this thread.
Good luck.

S4ph1r

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: DEVELOPERS: (mod info) WM_COPYDATA command interface
« Reply #74 on: February 03, 2010, 11:04:39 am »
yes in C# i looked allready at the Windows Live Plugin but wich doesnt work for me :(

I knocked up a small class in C# (and a VB.NET example as well if you want it) and posted it here: http://www.audio-surf.com/forum/index.php/topic,5347.msg55490.html#msg55490

It shows how to communicate with Audiosurf from C#/VB.NET.
Retrieving things back is a simple case of over-riding the WndProc function of your form and picking up WM_COPYDATA messages.
The commands etc are all explained by Dylan in the first post of this thread.
Good luck.

thx for that informations ;)