Author Topic: Starcraft & Winamp  (Read 6927 times)

0 Members and 3 Guests are viewing this topic.

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Starcraft & Winamp
« on: July 13, 2008, 06:57:37 pm »
I saw a screen shot a while ago on vL about a kid who made a Winamp controller to work with in-game starcraft (a hack essentially), I was curious if anyone knows any standalone "hacks" or programs that allow you to use winamp in-game starcraft. I just find it annoying to go back and forth and I hate setting up playlists :P

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Starcraft & Winamp
« Reply #1 on: July 13, 2008, 07:09:20 pm »
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Starcraft & Winamp
« Reply #2 on: July 13, 2008, 07:11:01 pm »
You could do something like what RESP did.  Have StarCraft connect to your little program, which forwards all traffic back and forth.  Have it check out the chat packets for commands and parse whatever (and forward, if you want).

Offline topaz~

  • Full Member
  • ***
  • Posts: 292
    • View Profile
Re: Starcraft & Winamp
« Reply #3 on: July 13, 2008, 07:23:25 pm »
http://advancedcontent.net/topaz/code/pwcb/

I wrote that about a year ago, it will parse output from any Battle.net game and allow you to manipulate Winamp.

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Starcraft & Winamp
« Reply #4 on: July 13, 2008, 07:39:07 pm »
Great, thanks!

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Starcraft & Winamp
« Reply #5 on: July 13, 2008, 08:13:00 pm »
Kind of offtopic from this, but not too far but. It's been awhile since I've read about the Starcraft InGame drawing on screen, anyone here successfully accomplish it?

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Starcraft & Winamp
« Reply #6 on: July 13, 2008, 08:22:38 pm »
Why bother?  You can just forge a whisper packet and send it to your client...

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Starcraft & Winamp
« Reply #7 on: July 13, 2008, 08:28:41 pm »
Why bother?  You can just forge a whisper packet and send it to your client...

It doesn't really pertain that much to a winamp controller as it does to curiosity and interest.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Starcraft & Winamp
« Reply #8 on: July 13, 2008, 08:34:47 pm »
Kind of offtopic from this, but not too far but. It's been awhile since I've read about the Starcraft InGame drawing on screen, anyone here successfully accomplish it?
Nobody here, as far as I know.

Of course, I very easily could, but I never tried.

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Starcraft & Winamp
« Reply #9 on: July 13, 2008, 08:54:06 pm »
Kind of offtopic from this, but not too far but. It's been awhile since I've read about the Starcraft InGame drawing on screen, anyone here successfully accomplish it?
Nobody here, as far as I know.

Of course, I very easily could, but I never tried.


Hmm. Might be a good project for you to open source then?  ;)

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Starcraft & Winamp
« Reply #10 on: July 13, 2008, 09:24:02 pm »
Kind of offtopic from this, but not too far but. It's been awhile since I've read about the Starcraft InGame drawing on screen, anyone here successfully accomplish it?
Nobody here, as far as I know.

Of course, I very easily could, but I never tried.


Hmm. Might be a good project for you to open source then?  ;)

I didn't write any code for it.

All you have to do is fine a DirectX function that swaps in the backbuffer, then use that pointer to the backbuffer to write to it. Nothing tricky about that.

(You obviously have to be in Starcraft's memory space and all that firrst)

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Starcraft & Winamp
« Reply #11 on: July 13, 2008, 09:27:17 pm »
Which means risking Warden crap.

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Starcraft & Winamp
« Reply #12 on: July 13, 2008, 09:27:43 pm »
Kind of offtopic from this, but not too far but. It's been awhile since I've read about the Starcraft InGame drawing on screen, anyone here successfully accomplish it?
Nobody here, as far as I know.

Of course, I very easily could, but I never tried.


Hmm. Might be a good project for you to open source then?  ;)

I didn't write any code for it.

All you have to do is fine a DirectX function that swaps in the backbuffer, then use that pointer to the backbuffer to write to it. Nothing tricky about that.

(You obviously have to be in Starcraft's memory space and all that firrst)


I was suggesting it might be a nice project for you to do then open source it.

ya, I've read a little bit about it but I don't really get it :P

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Starcraft & Winamp
« Reply #13 on: July 13, 2008, 09:56:22 pm »
Which means risking Warden crap.
You're risking it, definitely, but if you aren't writing to Starcraft's processes/DLLs you're probably ok. Probably. :)

ya, I've read a little bit about it but I don't really get it :P
Like that tutorial I wrote for you? :P

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Starcraft & Winamp
« Reply #14 on: July 13, 2008, 09:57:57 pm »
Why risk it if there's no need?  If he does the gateway scheme, like I suggested, he can forge whisper packets as responses to his commands.