• WinAmp Interface (Control WinAmp in game!)
    42 replies, posted
  • Avatar of Bad HAL 9000
  • [release][b]WinAmp Interface v1.9.13[/b] [b]Last Update:[/b] 16 January 2008 [b]Download:[/b] [url=http://www.garrysmod.org/downloads/?a=view&id=35550][img]http://www.garrysmod.org/img/?t=dll&id=35550[/img][/url] WinAmp Interface is a package containing a binary module with its source code, and a Lua script that allows interaction with WinAmp from within Garry's Mod. To use it, simply bind a key to 'winamp' and you are set to go! Installation is easy too, just move the 'garrysmod' folder to your own. Do NOT drop this in your addons folder. It will not work! WinAmp Interface is exactly what it says it is, an INTERFACE. Meaning it is not a stand alone mp3/media player. You need WinAmp [b]installed AND RUNNING[/b] for this to work. Before asking questions in this thread, please read the FAQ, installation instructions, and usage instructions. Located in this thread. If you ask a question that is answered here I will probably not answer, and rate you dumb. [/release][release][b]Requirements:[/b] 1. WinAmp 5.0 or newer (MUST BE RUNNING!) 2. Garry's Mod 10 3. At least 6 brain cells 4. The ability to read instructions [/release][release][b]Features:[/b] • Play/Stop/Next/Previous/Pause buttons • Seek bar/slider • Volume control slider • Current song information (bitrate, samplerate, track length, etc) • Complete functional playlist • Chat announcement (Even though they don't care) • HUD Overlay • And much more! [/release][release][b]Enhancements yet to come:[/b] • Playlist editing • Complete equalizer [/release][release][b]Images:[/b] [img]http://img509.imageshack.us/img509/6353/winampinterface2tm3.jpg[/img][/release] [release] [b]FAQ:[/b] [b]Q: My GMOD crashes when I try to use this[/b] A: You probably do not have the most recent version of the WinAmp Interface, try downloading and updating. [b]Q: I can open the GUI but it does not update anything, what is wrong?[/b] A: You NEED WinAmp ( [url]http://www.winamp.com[/url] ) You need WinAmp, Garry's Mod 10, and my plugin installed AND all running for it to work. [b]Q: Will this work on multiplayer servers, even if I am not hosting it?[/b] A: Yes, this is completely client side and should remain unaffected. [b]Q: If I host a server will everyone download this and be able to use it?[/b] A: No [b]Q: Why can't you add feature 'X' to this?[/b] A: Ask for it, depending on the complexity of it I may do it. I am sort of limited in what I am able to do inside gmod. I will need to write a WinAmp plugin (something separate) to add some stuff which may come later (visualizations baby!) [b]Q: What do I do with the ModSource folder?[/b] A: That is the source code to the binary module, if you do not know what that is you do not need it. You can just delete it, or print it all off and fold it into a paper crane for all I care. [b]Q: Can I use your module to make my own Lua scripts?[/b] A: Sure, to learn more about the API read the Module.WinAmp.ReadMe.txt if you have any idea what you are doing it should be easy. [b]Q: Does this work with Foobar2k?[/b] A: Not by itself no, I have heard that a bunch of the features work if you install the foo_winamp_spam plugin. This is available here: [url]http://www.r1ch.net/stuff/foobar/[/url] [b]Q: Why don't you make a FooBar2k/iTunes/Windows Media Player/etc version of this, is it that hard?[/b] A: No, not hard. I just do not use any of those media players, it would be a big waste of my time to bother making one. [b]Q: Does this support streaming media?[/b] A: Ummmm... WinAmp does support streaming media, so yes it does. I will try to add an 'Open URL' feature later. [b]Q: Can you teach me that crazy moon language you use in that ModSource folder?[/b] A: Sorry no, I am not a teacher and I do not have the patience for it. [b]Q: Why did you rate me dumb on the forums?[/b] A: Because you are and I am really mean. [/release] I had to type here because apparently my message above was short!
  • Avatar of PsYchOsIs
  • When I get my Gmod up and running, I'll give this a shot with my foobar. Will be using this plugin: [url]http://yiting2002.myweb.hinet.net/rainmeter/winamp_ipc.html[/url]
  • Avatar of Termy58
  • [QUOTE=PsYchOsIs]When I get my Gmod up and running, I'll give this a shot with my foobar. Will be using this plugin: [url]http://yiting2002.myweb.hinet.net/rainmeter/winamp_ipc.html[/url][/QUOTE] [quote]IPC_PLAYFILE No Enqueue a file to current playlist. IPC_DELETE No Clear current playlist. IPC_STARTPLAY No Starts playback.(use WINAMP_BUTTON2 instead of it.) IPC_WRITEPLAYLIST No Writes the current playlist to <winampdir>\Winamp.m3u IPC_SETPLAYLISTPOS No Set the playlist position. IPC_GETLISTLENGTH No Get the length of the current playlist. IPC_GETLISTPOS No Get the playlist position.[/quote] That won't work very well.
  • Avatar of PsYchOsIs
  • [QUOTE=Bad HAL 9000]True, the last 3 functions I use. try foo_winamp_spam (linked in the FAQ in this thread)[/QUOTE] Will do. The other one, I think used to have an entry, but now it's gone in the new Foobar version.
  • Avatar of Benie
  • 3 questions. 1. Does this work with the update? 2. Can you now add/remove songs without needing to minimize Gmod and be in Winamp? 3. Does this have an option it will save if you want to keep the HUD off when starting a new game/loading a save game/joining a server.
  • Avatar of Bad HAL 9000
  • 1. Yes, it would not work UNTIL the update. This has been being used in the beta for a while now. 2. No, not yet. (Coming soon) 3. Yes, all the options are saved.
  • Avatar of Benie
  • Thanks for the reply. But there's an issue with the Shuffle and Repeat buttons. Once you turn them on, they stay on. As for the Shuffle, when you turn it "on", it disables the shuffling of the playlist and keeps it like that.
  • Avatar of lazermaniac
  • This is pretty nice, though a bit redundant since Winamp has a global hotkey function. Also, I'm glad to see I'm not the only one who listens to Yoko Kanno's GITS tracks while playing gmod.
  • Avatar of KuroNeko
  • Good work as usual, and I still approve of that playlist. Get the Solid State Society OST as well if you can - there's some good music on that one.
  • Avatar of Bad HAL 9000
  • [QUOTE=lazermaniac]This is pretty nice, though a bit redundant since Winamp has a global hotkey function. Also, I'm glad to see I'm not the only one who listens to Yoko Kanno's GITS tracks while playing gmod.[/QUOTE] I am aware of that. But if you noticed it does a bit more then just play/pause/stop/next/etc/etc. You can see the songs, your playlist, you have a HUD, an announce feature. So calling it redundant is just plain wrong. [QUOTE=KuroNeko]Good work as usual, and I still approve of that playlist. Get the Solid State Society OST as well if you can - there's some good music on that one.[/QUOTE] I do have it.
  • Avatar of _MENTAL_
  • Just Awesome, I use this everytime I play GMOD. Thank you, your work is appreciated.
  • For some reason i can´t get this to work. I have installed mods/addons before and it its correctly installed (Installed the "addons" and "lua" folders in the root of garrysmod), but when i have installed and create server, bind the word: "Winamp" to a key, and press the key it says:" unknown command: Winamp" in console, what could be the problem? the old versions worked fine before the update to the gmod came... please help, i really like this addon, and it would be nice if could use it again =) So... Last night i started to look into the problem, and noticed something else odd. I was missing some other addons too, and when i went to look in to the game folders i saw the problem. It wasn't anything big, i had putted the addons to a wrong folder. i don´t know why, but, i guess it happens :D.
  • Avatar of LPine
  • I hate it when people rate the simple and dumb things like that hound melon while others, like you, are working their ass of with C++ and binary modules.
  • Avatar of CapsAdmin
  • [QUOTE=LPine]I hate it when people rate the simple and dumb things like that hound melon while others, like you, are working their ass of with C++ and binary modules.[/QUOTE] It's about the idea. 99% of those who download your content won't care about how well it's made or how long you spent time making your mod.
  • Avatar of Bad HAL 9000
  • It does not bother me, I am not here for ratings. I just don't think that people realize things like this exist. They don't initially understand what this plugin or my other plugin can do so they just don't bother with looking into it or downloading it.
  • Avatar of LPine
  • [QUOTE=CapsAdmin]It's about the idea. 99% of those who download your content won't care about how well it's made or how long you spent time making your mod.[/QUOTE] All they do care about is that it looks nice and sexy. Shame. Nice work anyways HAL.
  • Avatar of roflcakes
  • [QUOTE=Bad HAL 9000]What the heck, my file was deleted or something. Anyone know why?[/QUOTE] Probably someone being a dick and reporting it for something. Can you re-upload it?
  • Avatar of Tyen
  • [QUOTE=Bad HAL 9000]What the heck, my file was deleted or something. Anyone know why?[/QUOTE] Many files on Gmod.org have been deleted. Including 3 of my own. It seems there was a clean up.
  • Avatar of Bad HAL 9000
  • [QUOTE=roflcakes]Probably someone being a dick and reporting it for something. Can you re-upload it?[/QUOTE] I have to dig it up, I have formated my computer since then and I don't know if I have an up to date copy of the source code to the binary module, just the Lua script and a binary.
  • Avatar of Bad HAL 9000
  • Found it, reuploaded. Can a moderator please move this topic to the Binary Modules section and close/delete/ddt my old thread in there.