Author Topic: Starcraft & Winamp  (Read 6083 times)

0 Members and 1 Guest 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.

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Starcraft & Winamp
« Reply #15 on: July 13, 2008, 10:07:10 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


Oh don't get me wrong, I understood and did intake many parts of what you wrote of that tutorial :) I'm appreciated it a lot :)

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Starcraft & Winamp
« Reply #16 on: July 13, 2008, 10:11:23 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.
Depends what he wants to do. He said in a previous post that this isn't about winamp, it's something else he's curious about.

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Starcraft & Winamp
« Reply #17 on: July 13, 2008, 10:49:44 pm »
I still say false whispering is easiest.  You'll be able to print to the screen and not risk Warden.

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Starcraft & Winamp
« Reply #18 on: July 14, 2008, 12:34:32 am »
Warden is binary code that the client runs. It can detect absolutely anything. The assumption is that it won't consider printing to the screen a hack.

I just have a winamp-enabled battle.net bot running and on my friends list, then I can just /f m play songname

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Hitmen

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 1913
    • View Profile
Re: Starcraft & Winamp
« Reply #19 on: July 14, 2008, 01:26:06 am »
Warden is binary code that the client runs. It can detect absolutely anything. The assumption is that it won't consider printing to the screen a hack.

I just have a winamp-enabled battle.net bot running and on my friends list, then I can just /f m play songname
I hope you have no one else on your friends list. that would be a good way to get yourself ignored easy from me :)
Quote
(22:15:39) Newby: it hurts to swallow

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: Starcraft & Winamp
« Reply #20 on: July 14, 2008, 01:30:47 am »
Warden is binary code that the client runs. It can detect absolutely anything. The assumption is that it won't consider printing to the screen a hack.

I just have a winamp-enabled battle.net bot running and on my friends list, then I can just /f m play songname
I hope you have no one else on your friends list. that would be a good way to get yourself ignored easy from me :)

<BNU-Camel> play YMCA
^ What I get alllll night.  :(
And like a fool I believed myself, and thought I was somebody else...

Offline warz

  • Hero Member
  • *****
  • Posts: 1134
    • View Profile
    • chyea.org
Re: Starcraft & Winamp
« Reply #21 on: July 14, 2008, 02:16:59 am »
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.


this is really easy. in fact, writing to the screen was always the first function i'd mess with, when writing hacks. i used to do this all the time for various hacks. it's very easy once you find the function, which is easy enough to find also.

as per to the winamp thing - i made on awhile ago, but i'm sure it doesn't work anymore. it was part of my starcraft chat modification hack thing, might be on http://rafm.org/. just injected code to handle specified /commands, and then execute my own linked libraries. very simple hack to make.
http://www.chyea.org/ - web based markup debugger

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Starcraft & Winamp
« Reply #22 on: July 14, 2008, 02:58:44 am »
I hope you have no one else on your friends list. that would be a good way to get yourself ignored easy from me :)
Actually, I haven't used that method in years. I do occasionally use /f m to send commands to my ops bot, but when you consider that it's running on a computer that has no sound card, and is physically in another state, using it to control winamp seems pretty silly.

I use global hotkeys to control winamp; alt+ctrl+arrow keys.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!