Announcement

Collapse
No announcement yet.

QuakeAMP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • QuakeAMP

    Here is some code i wrote for controlling winamp from inside quake. This is just for the tittle, if people want full control, ill paste the rest.

    This is for qrack.

    1) goto cmd.c right under the Cmd_PrintLoc_F code paste this code
    Code:
    void Cmd_GetWinampTitle_f (void) // neil
    {
    	HWND hwndWinamp = FindWindow("Winamp v1.x",NULL);
    
    	char this_title[2048],*p;
    	GetWindowText(hwndWinamp,this_title,sizeof(this_title));
    	p = this_title+strlen(this_title)-8;
    	while (p >= this_title)
    	{
    		if (!strnicmp(p,"- Winamp",8)) break;
    		p--;
    
    	}
    	if (p >= this_title) p--;
    	while (p >= this_title && *p == ' ') p--;
    	*++p=0;
    	//Con_Printf ("Song: %s", this_title);
    	Cbuf_AddText (va("say MP3: %s\n", this_title));
    	Cbuf_Execute ();
    
    }
    2) Under Cmd_AddCommand ("spot", Cmd_PrintLoc_f);//R00k
    Add
    Code:
    Cmd_AddCommand ("winamp", Cmd_GetWinampTitle_f); //Neil
    3) Bind a key to "winamp"

    Enjoy!

  • #2
    hmm

    neat i guess, but winamp already has global hotkeys

    i just made < > and / previous, pauseplay and next
    Gnounc's Project Graveyard Gnounc's git repo

    Comment


    • #3
      oooh sorry

      didnt read in depth either hahaha

      uhh showing the title that is actually cool: )

      fuhquake used to have that...i miss fuhquake
      Gnounc's Project Graveyard Gnounc's git repo

      Comment


      • #4
        yeah! check out ezQuake based on Fuh!
        www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

        Comment


        • #5
          thx

          oh sweet... I didnt know hehe.

          If I ever start actually playing again, I'll use it.
          Gnounc's Project Graveyard Gnounc's git repo

          Comment


          • #6
            so could this be added to proquake, for the tinkering k inspirations?

            Comment


            • #7
              personally i dumped winamp many years ago, when it tried to turn itself from a humble though excellent mp3 player into a video player and they tacked on a web browser, database system and god knows what other trash. i tried it again recently and found i had made the right decision in ditching it

              Comment


              • #8
                ..hmm i didn't know it was a big thing, i always thought it was a mp3 player deal only

                [yes i don't have winamp, but would get it if this worked with proquakes ]

                Comment


                • #9
                  Originally posted by metchsteekle View Post
                  yes i don't have winamp, but would get it if this worked with proquakes
                  I don't see any reason why this should have been added to any engine to begin with, but hooray for diversity.

                  You know how to compile so you could do a "do it yourself" version.
                  Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

                  So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

                  Comment


                  • #10
                    thats what i had in mind ;}, im just procrastinating

                    Comment


                    • #11
                      the code will work in any engine, just the install i wrote about was for qrack im sure its just as easy for proquake.

                      Comment


                      • #12
                        Originally posted by spooker View Post
                        personally i dumped winamp many years ago, when it tried to turn itself from a humble though excellent mp3 player into a video player and they tacked on a web browser, database system and god knows what other trash. i tried it again recently and found i had made the right decision in ditching it
                        I've used Winamp for many, many years. The only reason I've upgraded over the years is because I wanted some functionality in the newer versions. I've never used the Pro version either.

                        I do admit that it has gotten kinda bulky with shit I'll probably never us but I still prefer it to anything else out there. The lite version has alot of stuff stripped out of it. I prefer to use the full version. I end up doing a custom install and taking stuff out of the install like the shortcuts for various junk. I don't think I got milkdrop with the lite version. I like using Winamp for managing music on my iPod too. iTunes is bloatware 10x worse imo.

                        I just wanted to stick up for the trusty media player I've known for a long time. I don't want it lumped into the same category as WMP and iTunes. Like most things copied by Microsoft, it works better and has less security problems.
                        PanterA-RuM - chase_active 1 - Panix!



                        Comment


                        • #13
                          i looked at using winamp for managing my ipod, but the last time i checked (a long time ago), it lacked the ability to load photos and videos, which is extremely important to me. last i checked, only itunes can do this. however, itunes has indeed become offensively bloaty, so i use version 7.0.6.29--it does everything i need without some of the bloat. they really pissed me off when they added mandatory support for iphone--I DONT HAVE A $^*&*#@ IPHONE. i installed a newer version of itunes, found that it added an iphone icon in "My Computer", so i uninstalled. the icon is still there, forever more...... GRRRR!

                          i also use windows media player a lot, even updating it. but thank god there's VLC media player--it seems to be the only decent program that can resist the tendency to bloat. i just got mediamonkey though, and it looks good. for pictures, i use irfanview and picasa

                          Comment


                          • #14
                            irfanview is the shiznitt fohreal brodah waaaaahhhhh?

                            Comment


                            • #15
                              foobar2k ftw

                              I just reinstalled windows...ive been using xmms2 on linux for about a year now..thats what I like, uhmmm before that I was a big winamp fan until about the time AOL bought it. Foobar2k is the shit, buuuuuuuut it takes a lot of putzing about to get it to look nice. but its faaaaaaaast, and simple (or as complex as you want it) It really is the most customizable peice of software ive ever seen on a windows machine that doesnt use QuakeC
                              Gnounc's Project Graveyard Gnounc's git repo

                              Comment

                              Working...
                              X