Starcrack SVN(EMU and Launcher):
http://starcrack.googlecode.com/svn/trunk/ (http://starcrack.googlecode.com/svn/trunk/) starcrack-read-only
Make sure you read ReadMe_How_To_Setup.txt
mm what we can do with this?
Quote from: masky007 on March 20, 2010, 12:35:36 PM
mm what we can do with this?
i think it's the SC2 bnet emulator? but i dont know
It's the source code for the Launcher and the Emu (so far). It simply allows you an attempt to log-in, but will not get any further than that.
It is for other developers, in the hopes that they will release what they have.
Quote from: Fedoranimus on March 20, 2010, 12:55:36 PM
It's the source code for the Launcher and the Emu (so far). It simply allows you an attempt to log-in, but will not get any further than that.
It is for other developers, in the hopes that they will release what they have.
ahh, thanks for the clarification
HOPEFULLY those who can WILL help you guys!
i just dont know something.. when this is over and the project is success and up and running.. what we can give ya for return!?
Quote from: masky007 on March 20, 2010, 01:01:12 PM
HOPEFULLY those who can WILL help you guys!
i just dont know something.. when this is over and the project is success and up and running.. what we can give ya for return!?
A promise that you will stop nagging : ).
What we need is to figure out what we are supposed to send to packet 5 and even packet 12. Technically cause we are passed the password.dll and the password is sent with plain text with our loader, i dont think we have to encrypted decrypt packets with the emu.
edit: Thanks for keeping a backup of the 2008 solution file!
Revision 9.
SRP6 Implmentation for S -> C 0x02, s -> c 0x00 is still broken(packet the server sends back after you type in your password and click login). This blob contains M2 and the Second Server Challenge which we dont know how to calc yet.
Check your files in the SVN. BNetUser.cs isn't there. :)
Fixed : ).
Also I unpacked the b.net.dll, its not cleaned up by any means but it atleast got me a full string dump of the DLL.
http://sc2c.pastebin.com/T8CGMQHs (http://sc2c.pastebin.com/T8CGMQHs)
Quote from: artanis on March 20, 2010, 06:57:14 PM
edit: Thanks for keeping a backup of the 2008 solution file!
I don't have VS10 either. But the code is using System.Numerics and I don't think you can compile that in VS9.
I download the SC2Emu.exe from
http://starcrack.googlecode.com/svn/trunk/SC2Emu/bin/Release/ (http://starcrack.googlecode.com/svn/trunk/SC2Emu/bin/Release/)
i run it in my test vm and i have some problems
1. I have the enUS version of the game!
2. i Found the US server ip (12.129.206.131) and i changed the ip's
3. i installed the .net 4.0
4. Run the SC2Emu.exe to VM
5. I started the client but nothing hapend the client trys to connect but nothing, SC2Emu console shows only this message "StarCraft 2 Emulator by StarCrack"
is the exe in the release folder outdated? and why simply don't redirect the ip with the host file?
how works?
Quote from: MadSheep on March 27, 2010, 09:33:54 PM
I download the SC2Emu.exe from
http://starcrack.googlecode.com/svn/trunk/SC2Emu/bin/Release/ (http://starcrack.googlecode.com/svn/trunk/SC2Emu/bin/Release/)
i run it in my test vm and i have some problems
1. I have the enUS version of the game!
2. i Found the US server ip (12.129.206.131) and i changed the ip's
3. i installed the .net 4.0
4. Run the SC2Emu.exe to VM
5. I started the client but nothing hapend the client trys to connect but nothing, SC2Emu console shows only this message "StarCraft 2 Emulator by StarCrack"
is the exe in the release folder outdated? and why simply don't redirect the ip with the host file?
how works?
This isnt in SVN yet, but thanks to undox on our team we got to the Avater charector screen.
(http://img532.imageshack.us/img532/8158/progress2.th.png) (http://img532.imageshack.us/i/progress2.png/)
Fixed the XXX got to the MOTD screen, got to the b.net screen :).
(http://img401.imageshack.us/img401/1346/progressmotd.th.png) (http://img401.imageshack.us/i/progressmotd.png/)
Emulator Progress Video: starcrack_emu_progress.wmv (http://www.youtube.com/watch?v=NPkzzC5G8go#)
Quote from: usmc23 on March 28, 2010, 11:06:54 PM
Emulator Progress Video: starcrack_emu_progress.wmv (http://www.youtube.com/watch?v=NPkzzC5G8go#)
nice, keep the good work :)
:O GREAT... GOOD JOB!!
but you can play 1v1? or not yet :P
i heard from someone that 1v1 is already achieved or its fake information?? :'(
Quote from: balnazzar951 on March 29, 2010, 06:12:51 AM
i heard from someone that 1v1 is already achieved or its fake information?? :'(
For play 1v1 LAN is very easy but
(http://cdn0.knowyourmeme.com/i/16272/original/fathers_day.jpg)
how can i download the files from there?
do i have to download every single data or how does that work???
maybe someone could upload a zip or rar file of the source code?
Emulator Progress Video 2(Emulator doesnt have to be run in a VM if you use a LoopBack Adapter, MOTD shows, avater kind of shows, alot of fixes to the decryption code, buttons show on the multiplayer screen):
starcrack_progress_2.wmv (http://www.youtube.com/watch?v=TtoX-CaS3Js#)
That's great, thanks for keeping us up to date.
nice :)
try adding this to your host file
for us client
Quote
127.0.0.1 us-beta.logon.battle.net
127.0.0.1 enUS.logon.battle.net
and for europe client
Quote
127.0.0.1 eu-beta.logon.battle.net
127.0.0.1 enGB.logon.battle.net
HOST FILE LOCATED IN
C:\Windows\System32\Drivers\etc\hosts
Keep up the good work!
Btw by what time can we expect a batllenet emulator for sc2?
Quote from: usmc23 on March 30, 2010, 01:19:22 AM
Emulator Progress Video 2(Emulator doesnt have to be run in a VM if you use a LoopBack Adapter, MOTD shows, avater kind of shows, alot of fixes to the decryption code, buttons show on the multiplayer screen):
starcrack_progress_2.wmv (http://www.youtube.com/watch?v=TtoX-CaS3Js#)
does it still works with VM ?
Quote from: MDMM on March 30, 2010, 04:26:03 AM
Quote from: usmc23 on March 30, 2010, 01:19:22 AM
Emulator Progress Video 2(Emulator doesnt have to be run in a VM if you use a LoopBack Adapter, MOTD shows, avater kind of shows, alot of fixes to the decryption code, buttons show on the multiplayer screen):
starcrack_progress_2.wmv (http://www.youtube.com/watch?v=TtoX-CaS3Js#)
does it still works with VM ?
of course VM is used for ip redirection :)
hey guys, i tried the server, but does it have to bind to the ip of 12.129.206.131?
cause it says bad server when i change it to 127.0.0.1, is that still due to the validity check of the client?
Quote from: delirtenadam on March 28, 2010, 07:52:25 AM
Quote from: MadSheep on March 27, 2010, 09:33:54 PM
I download the SC2Emu.exe from
http://starcrack.googlecode.com/svn/trunk/SC2Emu/bin/Release/ (http://starcrack.googlecode.com/svn/trunk/SC2Emu/bin/Release/)
i run it in my test vm and i have some problems
1. I have the enUS version of the game!
2. i Found the US server ip (12.129.206.131) and i changed the ip's
3. i installed the .net 4.0
4. Run the SC2Emu.exe to VM
5. I started the client but nothing hapend the client trys to connect but nothing, SC2Emu console shows only this message "StarCraft 2 Emulator by StarCrack"
is the exe in the release folder outdated? and why simply don't redirect the ip with the host file?
how works?
??? please
Quote from: Freundschaft on March 30, 2010, 08:56:16 AM
hey guys, i tried the server, but does it have to bind to the ip of 12.129.206.131?
cause it says bad server when i change it to 127.0.0.1, is that still due to the validity check of the client?
Quote from: delirtenadam link=topic=1333.msg14407#msg14407 date=1269958501
??? please
it is still in development the files in the SVN is outdated
as for the how it works
1st
you need to redirect the server ip to your local host so to send the packets locally
2nd
you ran the Bnet emulator
3ed
you start the game and vouala..... you can connect to your server!
You do not need to run it inside of a VM. You need to have the loop back adapter installed, when thats done turn off netbios on that adapter and set the IP to be the b.net ip address.
Im Aware of the host file change, but when we hack passed the IP check SC2 crashes.
To clear this up a bit: Starcraft 2 expects the server to have a specific IP address. If you use the hosts file to redirect traffic from the b.net server to your computer, what happens is that when Starcraft 2 asks what the IP of the server is, it gets 127.0.0.1, not the proper IP address, and crashes, because there is code there specifically to stop us from using the hosts file. That means that we need to use a way that redirects traffic back to your computer but still looks like it has the same IP address.
That's why you need to use the loopback adapter, or a virtual machine.
At least, as far as I understand things.
I'm wondering though... If that's true, how would you connect an external copy of SC2 to the server through the internet? I think you'd need to have a layer between the second client and the server, "spoofing" the connection to make the second player's SC2 think that it is connecting to the right IP.
We got the quick game to partly work. Progress 3 Video: emu_progress_3.wmv (http://www.youtube.com/watch?v=Dx93Cjzzx4U#)
awesome!
i'd have to say that this is the second uber-MAJOR breakthrough, after the login validation :)
great job, guys!
wow very nice, little more.. :jig:
i cant wait for the next video.. i wonder what more surprises it would offer. :thumbsup:
very very very very nice...
[/color]
[/color]I want to play as soon as possible
Awsome!!
Keep Up the great work :cheers: :cheers:
Cant Wait for the emulator 8)
In first thank you for you job !!! :thumbsup:
But I have some questions...
I have built the EMU with the SVN r72 with VS2010 and .NET framwork 4.0 . :jig:
I have installed loopback adapter ,I desactivate NETBIOS, set 12.129.206.131 IP (I have a US client) .
I ran the SC2emu.exe in /bin2 .
I ran my starcraft II.exe ( I tried to use XTTloader but it crash everytime after few second and I'm not able to build it. I tried to launch sc2 with a lot of other launcher too)
And I have the same result in sc2 "you've attempted to connect to a bad server please try again" when I try the password "starcrack"... :(
But the SC2emu.exe works well when I try a wrond password.... ::)
What did I missed? Which launcher do you use with the sc2emu ?
Thank you again :)
ps: I try xttloader in Windows seven 64Bit and Win xp sp3 and different mcvs100d.dll but still crash ...
ps2: I try to change code to be able able to build xttloader in VS2010. like change w_char xxxx[] with LPCSTR xxxx . But at the end the build did'nt work...
edit: (http://img220.imageshack.us/img220/4025/starcraft2battlenet.th.jpg) (http://img220.imageshack.us/i/starcraft2battlenet.jpg/)
For the password its "starcrack".
Progress Video 4, Quick Match works better, Join Game List Populates, Map list Partially populates, the next step is to get to the lobby screen.
emu_progress_4.wmv (http://www.youtube.com/watch?v=JGShFIMhr7c#)
Nice Nice Nice Nice!
I have a question -- are you going to have to decrypt all of the unit and action packets to implement them in the emu, or with this method, does sc2 do all the work once it believes its authentically connected to bnet?
This is purely for my curiosity, as well as to give me an idea of how far away you are from joining a game from the lobby etc.
man that was a teaser... ???
continue more please :thumbsup:
OMG, beautiful, seriously. I thought it was going to be more hard to emulate than what I expected. Keep the good work! :thumbsup: :jig: Let's see when you make gameplay work ^_^
nice job there, reminds me when lazy launch came out on the afternoon that day :jig:
looks like here comes the Easter Eggs lol :thumbsup:
peace
Wow, this is easily some of the fastest production I've ever seen done on a server emulator. Of course, getting this stuff working isn't much compared to dealing with unit movement, synchronization, etc. etc. etc., but I recall reading somewhere that SC2's games are actually peer to peer... Is that true, or does it still centralize everything on the b.net server? I would think that with small games like this, where you don't have that many people in a single game, peer to peer would work rather well, and cut down some latency by removing the transit between a centralized server, once the game in working. And since it's small amounts of players, it's not that hard to synchronize things on a client, rather than requiring a central server like WoW.
Anyway, I'm damn impressed with your work. I'd help out if I could, but getting into a project like this at a stage where it's developing so quickly, and I know nothing at all about how the connections work or anything, I'd probably be so swamped trying to learn things that I'd never end up being of any help, lol. Not to mention that I'm not a very good programmer as it stands. Still, I should be able to help track down any bugs that show up once the code base is a bit more stable (I should be competant at that at least, lol) since the code is open.
can anybody help with this ?
(http://testwebtbc.ic.cz/badserver.png)
if i type password: starcrack then tell me bad server ..
if i type another password then tell me failed login
I've been lurking for awhile but I just had to say thanks for all the hard work everyone has put into this! Incredible progress, gg
Hi there,
i just started watching the SVN and build the Emu. Great work, thank you guys! I subscribed the changelog in my newsreader. Would you please be so kind and include a short log message so one can easier understand what goal specific code changes were meant to achieve?
As for the reported Problems, i think this was expected behaviour then:
Quote from: seevik
if i type password: starcrack then tell me bad server ..
if i type another password then tell me failed login
Quote from: MadSheep
it is still in development the files in the SVN is outdated
There were many commits since then. I just updated my working copy and will give them a try. What about a GitHub Mirror for the repo?
Regards,
Mike
how use??
Quote from: mario6714 on April 01, 2010, 10:19:05 PM
how use??
Don't bother trying. You can't play games yet. This is for computer programmers.
@usmc, what version of VS did you use to build the Emu, I'm having problems with the function parameters being pre-defined/optional? VS 2008 doesn't like that, I've got .net framework 4.0 just having this tiny setback
edit: NVM found out what version i need.
In the emulator, when u quick search for matches will we be able to play against everyone that got SC2 or just those who got the emulator? And will we be able to have groups to search games with? :)
And a very nice job you guys have done here :) All this effort and hard work for free, all u get is respect and dignity. ;)
great!!!
i just.. mmm there is still alot of work to be done GL
Quote from: gametryer on April 03, 2010, 01:57:01 AM
@usmc, what version of VS did you use to build the Emu, I'm having problems with the function parameters being pre-defined/optional? VS 2008 doesn't like that, I've got .net framework 4.0 just having this tiny setback
edit: NVM found out what version i need.
You will need VS 2010. I could not convince VS 2008 to use .NET 4.0 (check witch csc inside VS 2008 console). One could work around the predefined parameters issue, however it will not build since System.Numerics is missing.
i was able to get revision 92 working properly, and i must say outstanding work so far keep it up :thumbsup: :cheers:
i downloaded rev92, started the server emu in vs2010 but i'm getting bad server. I know i have to setup a network or vm with the right ips.
Is there a way around without setting up a network oder vm with bnet server logon ips?
nvm
compiled ipfaker and passwordbypass ^^
thank you for using commit comments again :)
Im really curious about StarPcap
I have a very simple question.
could please somebody sum up every information and please please give any link to download the good shit?
Since now, I always see videos on youtube about logins in battlenet 2.0
Please can anybody give an UPDATE?
Thank you :)
http://translate.google.hu/translate?hl=hu&sl=zh-CN&tl=en&u=http%3A%2F%2Fbbs.replays.net%2Fshowtopic-1979758.aspx (http://translate.google.hu/translate?hl=hu&sl=zh-CN&tl=en&u=http%3A%2F%2Fbbs.replays.net%2Fshowtopic-1979758.aspx)
I came across this, downloaded according instruction, ran the 2 applications, I made a fresh install without making the authentication bypass, At the logon screen I typed some random email@domain , entered the menus but when I tried to create a game, it disconnected every time. It is far better than all done so far, especially the bypass email thing that they made in version 1 being now useless.
Quote from: DrCometh on April 06, 2010, 03:50:02 PM
http://translate.google.hu/translate?hl=hu&sl=zh-CN&tl=en&u=http%3A%2F%2Fbbs.replays.net%2Fshowtopic-1979758.aspx (http://translate.google.hu/translate?hl=hu&sl=zh-CN&tl=en&u=http%3A%2F%2Fbbs.replays.net%2Fshowtopic-1979758.aspx)
I came across this, downloaded according instruction, ran the 2 applications, I made a fresh install without making the authentication bypass, At the logon screen I typed some random email@domain , entered the menus but when I tried to create a game, it disconnected every time. It is far better than all done so far, especially the bypass email thing that they made in version 1 being now useless.
working???
Quote from: delirtenadam on April 06, 2010, 04:40:51 PM
working???
You cant play vs others, as it disconnects when trying to create game, there are no people or games. But it automatically downloads the bnet cache!!! I dont need anyone's maps, it downloads the maps in /cache folder and thx to this I can watch again other's replays! The SCV is 45 health in the pro replay and since it asks me to load it with older version, i guess it is the previous version. But once again watching pro replays like in 1st version is perfect! Besides, Valkyrie launcher can run a normal map with computers, so having to use special AI maps is needles.
(http://img8.imageshack.us/img8/508/screenshotuai.jpg) (http://img8.imageshack.us/i/screenshotuai.jpg/)
No offense - They most likely worked off the shoulders of everything starcrack put out - So far better no. More progress with what has been given to the community - Yes.
Give credit where it is due man.
Right now the SVN when you click create game after the c -> gs 0x00 the server sends a response and client crashes. Its actually giving a assert called "Internal Battle.net Error". Using ollydbg i put a bp on connect and than bp on the first recv here is what i got.
1) 5662B26C -E9 D0EAF0FF JMP Battle_n.56539D41 <-- Battle.Net Recieve
a) 56539D41 -E9 2C150F00 JMP Battle_n.5662B272 <-- In bounds address unknown
Jumps back and avoids a (5662B271 55 PUSH EBP)
2) 5662B272 381D EC156156 CMP BYTE PTR DS:[566115EC],BL
3) 5662B278 68 2EB36256 PUSH Battle_n.5662B32E
4) 5662B27D 51 PUSH ECX
5) 5662B27E 52 PUSH EDX
6) 5662B27F E9 0AAC1100 JMP Battle_n.56745E8E
a) 56745E8E 8B4C24 08 MOV ECX,DWORD PTR SS:[ESP+8] ; Battle_n.5662B32E
b) 56745E92 E9 00000000 JMP Battle_n.56745E97
c) 56745E97 BA 2D9F5356 MOV EDX,Battle_n.56539F2D
d) 56745E9C 0F44CA CMOVE ECX,EDX ; Battle_n.56539F2D
e) 56745E9F 894C24 08 MOV DWORD PTR SS:[ESP+8],ECX ; Battle_n.56539F2D
f) 56745EA3 5A POP EDX ; Battle_n.56539F2D
g) 56745EA4 E9 02000000 JMP Battle_n.56745EAB
h) 56745EAB 59 POP ECX ; 190B4840
i) 56745EAC C3 RETN
ECX Register Shows ASCII "scmv"
Unknowns
u) 56539F2D -E9 24120F00 JMP Battle_n.5662B156
u1) 5662B158 24 FC AND AL,0FC
u2) 5662B15A E9 80AC1100 JMP Battle_n.56745DDF
7) 56745DDF 8D6424 FC LEA ESP,DWORD PTR SS:[ESP-4]
8) 56745DE3 C605 ED156156 01 MOV BYTE PTR DS:[566115ED],1
9) 56745DEA 68 3B9F5356 PUSH Battle_n.56539F3B
10) 56745DEF -FF25 80154856 JMP DWORD PTR DS:[<&KERNEL32.GetModuleHa>; kernel32.GetModuleHandleW
After this it jumps here.
a) 56539F3B ^EB 80 JMP SHORT Battle_n.56539EBD
b) 56539EBD -E9 41130F00 JMP Battle_n.5662B203
11) 5662B203 3BC3 CMP EAX,EBX
12) 5662B205 -0F84 4FEDF0FF JE Battle_n.56539F5A <-- Possible modfication here.
13) 5662B20B E9 77000000 JMP Battle_n.5662B287
14) 5662B28C 8D6424 FC LEA ESP,DWORD PTR SS:[ESP-4] <-- ASSERT AND CRASH!!!
Quote from: KaoticS on April 07, 2010, 10:57:25 AM
No offense - They most likely worked off the shoulders of everything starcrack put out - So far better no. More progress with what has been given to the community - Yes.
Give credit where it is due man.
So far you can have the original create game screen and all, but besides seeing the actual menus you cant create games. But ti gives something that nothing so far could do - you download the official bnet cache allowing you to watch latest replays. The authentication bypass is now useless, but you can have the latest cache and watch latest replays, while you still need launchers cause this cant let you play even vs comps.
In other words, it's still useless, as far as most people are concerned. And yes, if you look, it is built off starcrack.
usmc23, any idea what's going on there? My assembly is absolutely horrific, lol.
sc2hook...
Excuse me
Google Error
Forbidden
Your client does not have permission to get URL /p/starcrack/ from this server.
WTF?
Quote from: xxxzzz on April 16, 2010, 06:20:04 AM
Excuse me
Google Error
Forbidden
Your client does not have permission to get URL /p/starcrack/ from this server.
WTF?
try it agen it happen to me last night
This is the end or going this project "Top Secret"? :'(
http://starcrack.googlecode.com/svn/trunk/ (http://starcrack.googlecode.com/svn/trunk/)
login and password? i need this ;(
So the project is not more open source T_T!??
Quote from: Naga on May 05, 2010, 03:36:55 PM
So the project is not more open source T_T!??
After getting sued by Blizzard, but then subsequently dropped, you really think StarCrack is going to remain open-sourced?
Quote from: Gamewiz on May 05, 2010, 04:59:05 PM
Quote from: Naga on May 05, 2010, 03:36:55 PM
So the project is not more open source T_T!??
After getting sued by Blizzard, but then subsequently dropped, you really think StarCrack is going to remain open-sourced?
hrmm, wasn't just one guy sued? is not like the other members can't continue the work (if they can actually do something other than backstabbing other developers)
deleted, sry
Quote from: Draugur on May 05, 2010, 09:42:13 PM
Quote from: Gamewiz on May 05, 2010, 04:59:05 PM
Quote from: Naga on May 05, 2010, 03:36:55 PM
So the project is not more open source T_T!??
After getting sued by Blizzard, but then subsequently dropped, you really think StarCrack is going to remain open-sourced?
hrmm, wasn't just one guy sued? is not like the other members can't continue the work (if they can actually do something other than backstabbing other developers)
The entire StarCrack group was sued, but they specifically targeted usmc as the "leader". However, charges were dropped for some unknown reason, but even though they were dropped, it's not like StarCrack would keep this thing open-sourced. I'm surprised if they just didn't scrap the project all together.
There were a couple people sued, I know of like 4, think there was like 6 others. They targeted the major groups that were involved in posting info publically. The reason the charges were dropped because everyone complied with the charges. Each person who got sued had to sign saying they will no longer provide, help, or be involved with anything blizzard hacking or third party developing now and in the future. They are still allowed to play blizzard games though, just not allowed to reverse them :P
is starcrack team really sued? I thought that vernam7 is working with them... too bad
Quote from: miguelgalit on May 18, 2010, 03:55:25 AM
is starcrack team really sued? I thought that vernam7 is working with them... too bad
i am just fine. ;-)
http://sc2.nibbits.com/assets/starcrack-allin1/ (http://sc2.nibbits.com/assets/starcrack-allin1/)
I'm currently working on a server emu (shh) but I'm having some issues with decryption of some packets. I wasn't lucky enough to get the source code of this when it was available, but would it be possible for someone to post it somewhere so I could take a look at it. This would be greatly appreciated...
come to the irc channel or check out the wiki. Posting anything further about SC2 is just a bad idea.
Ok thanks for the quick reply. Coming to teh irc!
Quote from: usmc23 on March 20, 2010, 12:20:08 PM
Starcrack SVN(EMU and Launcher):
http://starcrack.googlecode.com/svn/trunk/ (http://starcrack.googlecode.com/svn/trunk/) starcrack-read-only
Make sure you read ReadMe_How_To_Setup.txt
I can not see it. User and password?¿
When you go to the site, a log in just pops up much like when putting in a router's ip ;)
i still got the code.
For lately Developers, Build from scratch is the only way since it goes to private source :'(
I don't know if this is the right place to post this... but:
http://www.code-gen.net/codegen/ (http://www.code-gen.net/codegen/)
They claim to have a fully working emulator. Final version 1.0, etc...
oh look, the website is up again... :P
i need to know the username and password please for Starcrack OPEN SOURCE SVN: Launcher and EMU
you can't. the project is just dead.
anyone have the source code to share?
StarCrack (http://bit.ly/hG8fcY)
StormCraft (http://bit.ly/eYAt7I)
enjoy, hope somone will find something usefull
Password: darkblizz.org