Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
News
: March 5--Psytrance Brazil on radio
Audiosurf: Ride Your Music
Audiosurf
Addons
Context menu: Play with Audiosurf
Pages: [
1
]
2
« previous
next »
Print
Author
Topic: Context menu: Play with Audiosurf (Read 18286 times)
ANOON
Jr. Member
Posts: 62
Context menu: Play with Audiosurf
«
on:
April 10, 2008, 05:42:30 am »
Hi,
I've created a little program program that adds a "Play with Audiosurf" context menu to your audio files. For this to work with AS
you need the latest beta patch
:
http://www.audio-surf.com/forum/index.php/topic,2789.0.html
Download it here:
www.audio-surf.nl/downloads/AudiosurfContextMenu.zip
Installation:
Unzip(!!!) the file somewhere on your disk and run it.
It will ask you if you want to install, press yes.
Leave the file where it is and open your music folder, right click a file and tadaa!
It's just a beta thing, tell me if you like it
«
Last Edit: April 10, 2008, 02:05:29 pm by ANOON
»
Logged
Dark-Sonik
Jr. Member
Posts: 78
Just your little rodent in blue~
Re: Context menu: Play with Audiosurf
«
Reply #1 on:
April 10, 2008, 06:58:46 am »
Pretty sweet! Gonna test it out. n.n
€dit1: Found some bugs which are kinda odd:
-When trying to play a song on "Eraser Elite", the game loads the file with the infobox saying "Eraser Elite", but on the track it's only "Eraser" (blocks disappear faster, powerups from Eraser normal, other block-layout ect.)
I can't tell if that's either a problem with the context menu or with the new Beta feature (wrong labelling of the command)
€dit2: Seems to be a bug in the commands. Playing on "Eraser" (from the context menu) shows Eraser-Characterinfo, but the track is like on "Eraser Elite". I'm gonna report that bug in the Beta-Topic.
«
Last Edit: April 10, 2008, 07:06:36 am by Dark-Sonik
»
Logged
勝くん
Sr. Member
Posts: 398
Nooooooooeees
Re: Context menu: Play with Audiosurf
«
Reply #2 on:
April 10, 2008, 10:58:48 am »
Nice. Some suggestions, though:
1) Allow us to choose the character directly from the context menu. Right-click -> Audiosurf -> Mono Pro.
2) Not everybody will like #1. Here's when a settings app comes in: You open the app to configure stuff like whether it uses the program menu or the context menu menu. An option to completely turn off the Audiosurf-in-context-menu would be nice as well.
3) It would be nice if the program auto-detects whether or not Audiosurf has started yet.
4) This is on Dylan's side: It would be nice if it would receive the commands immediately when Audiosurf is running. If you use the application while Audiosurf is on the loading or seizure notice-screen, Audiosurf just ignores it.
Logged
Dylan
Developer
Administrator
Hero Member
Posts: 1250
Re: Context menu: Play with Audiosurf
«
Reply #3 on:
April 10, 2008, 11:04:13 am »
Awesome. I've been wanting this forever.
It's not selecting Casual characters correctly, but I think that's my bug. Working on it now.
Logged
ANOON
Jr. Member
Posts: 62
Re: Context menu: Play with Audiosurf
«
Reply #4 on:
April 10, 2008, 11:23:13 am »
Nice. Some suggestions, though:
1) Allow us to choose the character directly from the context menu. Right-click -> Audiosurf -> Mono Pro.
Yes, I want this myself too
working on it
2) Not everybody will like #1. Here's when a settings app comes in: You open the app to configure stuff like whether it uses the program menu or the context menu menu. An option to completely turn off the Audiosurf-in-context-menu would be nice as well.
That's a good idea
3) It would be nice if the program auto-detects whether or not Audiosurf has started yet.
Yes this would be easy to build in if Dylan could make it send a ready status with a WM_COPYDATA (like Pwntastic said in the other topic)
4) This is on Dylan's side: It would be nice if it would receive the commands immediately when Audiosurf is running. If you use the application while Audiosurf is on the loading or seizure notice-screen, Audiosurf just ignores it.
It doesn't work at the loading screen but it does sometimes work at the seizure notice. Also working on that
Logged
Cody900
Hero Member
Posts: 966
Re: Context menu: Play with Audiosurf
«
Reply #5 on:
April 10, 2008, 12:16:06 pm »
Quote from: ANOON on April 10, 2008, 11:23:13 am
3) It would be nice if the program auto-detects whether or not Audiosurf has started yet.
Yes this would be easy to build in if Dylan could make it send a ready status with a WM_COPYDATA (like Pwntastic said in the other topic)
Just on this note, you can already do this, I use it.
Here's what my code looks like in Delphi, you should be able to convert it to C++:
Code:
// See if Audiosurf is running
AudiosurfHandle := FindWindow(nil, 'Audiosurf');
if AudiosurfHandle <> 0 then
begin
Text := 'ascommand reloadtextures';
copyDataStruct.dwData := 0; //use it to identify the message contents
copyDataStruct.cbData := 1 + Length(Text);
copyDataStruct.lpData := PChar(Text);
SendMessage(Audiosurfhandle, WM_COPYDATA, 0, LongInt(@copyDataStruct));
end;
The first 2 lines really... set the handle, and if the handle actually has some data, i.e it got the window, then run the code.
Logged
ANOON
Jr. Member
Posts: 62
Re: Context menu: Play with Audiosurf
«
Reply #6 on:
April 10, 2008, 12:34:53 pm »
Cody900 That is not what I mean, I already use WM_COPYDATA but WM_COPYDATA does not send me when as is loaded, the only thing it sends is when a ride is finished (see Dylans topic)
Logged
Cody900
Hero Member
Posts: 966
Re: Context menu: Play with Audiosurf
«
Reply #7 on:
April 10, 2008, 12:41:28 pm »
Quote from: ANOON on April 10, 2008, 12:34:53 pm
Cody900 That is not what I mean, I already use WM_COPYDATA but WM_COPYDATA does not send me when as is loaded, the only thing it sends is when a ride is finished (see Dylans topic)
Yeah, but the above code shows when Audiosurf is running, that's basically the same thing.
Logged
Pwntastic
Roffles The Mighty
Global Moderator
Hero Member
Posts: 1912
Re: Context menu: Play with Audiosurf
«
Reply #8 on:
April 10, 2008, 12:46:48 pm »
Almost, but not. Because when audiosurf is still loading, it won't take any input and there's no way of accurately knowing when the program is fully loaded and ready to take inputs. Just because the application is running doesnt mean its ready
Logged
ANOON
Jr. Member
Posts: 62
Re: Context menu: Play with Audiosurf
«
Reply #9 on:
April 10, 2008, 01:22:12 pm »
1) Allow us to choose the character directly from the context menu. Right-click -> Audiosurf -> Mono Pro.
Tadaaa
and yes it really does work
Logged
Pwntastic
Roffles The Mighty
Global Moderator
Hero Member
Posts: 1912
Re: Context menu: Play with Audiosurf
«
Reply #10 on:
April 10, 2008, 01:25:48 pm »
I certainly hope you didnt include that blah portion in the menu system
Hehe nice duder
Logged
ANOON
Jr. Member
Posts: 62
Re: Context menu: Play with Audiosurf
«
Reply #11 on:
April 10, 2008, 02:00:51 pm »
New version with context menu is ready:
Download it here:
www.audio-surf.nl/downloads/AudiosurfContextMenu.zip
(yes same url)
The UninstallContextMenu.exe removes the old menu and the new menu if present. So run it before you install the new one or you will have 2 Play With Audiosurf options
If you want to move or delete my app please run the Uninstall app first
Please say if you like it (or not
) and report bugs to me TNX
PS. And no, the blah text is not part of the menu, it was just me being creative with paint
«
Last Edit: April 10, 2008, 02:03:14 pm by ANOON
»
Logged
Dylan
Developer
Administrator
Hero Member
Posts: 1250
Re: Context menu: Play with Audiosurf
«
Reply #12 on:
April 10, 2008, 03:27:47 pm »
I love this.
Edit: I need to set this up so you can launch the game and get the user into their song without clicking anything.
«
Last Edit: April 10, 2008, 03:34:08 pm by Dylan
»
Logged
Cody900
Hero Member
Posts: 966
Re: Context menu: Play with Audiosurf
«
Reply #13 on:
April 10, 2008, 04:15:56 pm »
Quote from: Dylan on April 10, 2008, 03:27:47 pm
I love this.
Edit: I need to set this up so you can launch the game and get the user into their song without clicking anything.
That's what I'm waiting for before I go into having to register the window and all that stuff.
Logged
勝くん
Sr. Member
Posts: 398
Nooooooooeees
Re: Context menu: Play with Audiosurf
«
Reply #14 on:
April 10, 2008, 11:34:56 pm »
Again, a suggestion that Dylan would have to code for it to work: Allowing us to start in ironmode as well. A simple checkbox in that same menu, if checked it plays <character> ironmode, if unchecked it just normally plays that character.
Logged
Pages: [
1
]
2
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Audiosurf
-----------------------------
=> Discussion
=> Feature Requests
=> Songs
=> Addons
=> Troubleshooting
=> Chat
Loading...