BNETDocs: Redux is no longer updated, this subdomain exists for archival purposes only. Visit the main site.

Navigation

Generate Code: All packets
Packets

Platform & Product IDs & VerBytes


Current Version Bytes & Product Codes:
Telnet: CHAT 0x01
Starcraft Shareware: SSHR 0xA5
Starcraft Japanese: JSTR 0xA9
Starcraft: STAR 0xD3
Starcraft Broodwar: SEXP 0xD3
Diablo Shareware: DSHR 0x2A
Diablo I: DRTL 0x2A
Diablo II: D2DV 0x0E
Diablo II LOD: D2XP 0x0E
Warcraft II: W2BN 0x4F
Warcraft III Demo: W3DM 0x01
Warcraft III Reign of Chaos: WAR3 0x1B
Warcraft III The Frozen Throne: W3XP 0x1B

Outdated Version Bytes & Product Codes:
Diablo I: Beta: DIAB
Diablo I: Stress Test: DTST
Diablo II: Stress Test: D2ST

Platform Codes:
Intel x86: IX86
Power Macintosh: PMAC
Macintosh (MacOS X): XMAC

Programatically obtaining the version byte:
This is not a 100% guaranteed method, but you can simply scan the executable of your game to find the version byte. Using a simple pattern matching.
For Starcraft the pattern is:
C7 46 10 ** ** ** ** C7 46 18 ** ** ** ** C7 46
The version byte being the first set of wildcards.

C++ Code donated by DevCode
Java Code donated by Hdx

User Comments


For detailed questions and discussion, visit the Battle.net Research Forum

idiat
Mar 22, 2008
10:05 PM

W3XP verbyte is 0x15

Kyro
Mar 23, 2008
01:33 AM

Confirmed by RealityRipple. Updated W3XP verbyte to 0x15. Thanks for the heads up, idiat.

FrostWraith
Jun 21, 2008
01:28 AM

D2DV Verbyte = 0x0C
D2XP Verbyte = 0x0C

Kyro
Jun 22, 2008
04:06 AM

Updated, thanks.

Alendar
Jul 06, 2008
05:20 AM

WAR3 VerByte = 0x16
W3XP VerByte = 0x16

Ozzapoo
Nov 13, 2008
12:00 AM

The current Wc3 Verbyte for both RoC and TFT is 0x16

Sixen
Jan 18, 2009
07:57 PM

SC/BW are now 0xD3

Alendar
Apr 04, 2009
07:59 PM

WarCraft VerBytes are now 0x17

Kyro
Apr 10, 2009
12:20 PM

@Alendar, Ozzapoo, Sixen-- updated. Thanks.

Heinermann
Feb 03, 2010
05:57 AM

I found a product code called DTST. You can find it in Starcraft.exe(1.16.1)@0x004497A4.
From what I can tell its the same as DRTL?

Jailout2000
Jul 20, 2010
12:27 AM

Updated D2DV/D2XP verbyte to 0x0D.

@Heinermann: That product is indeed there. Further testing would have to be done to see what product it really is. I would take an educated guess that DTST stands for Diablo Test (Client).

Kyro
Jul 19, 2010
11:52 PM

Probably has something to do with Diablo 3?

Jailout2000
Jul 20, 2010
12:30 AM

Diablo 3 will not be seen on Classic Battle.net. In other words, the product id for Diablo 3 and StarCraft II will not be seen in any icons.bni, or in any classic game. They will only be seen in newer games that are compatible with Battle.net v2.

If it really is Diablo 3, Blizzard has something to surprise the community with and hasn't announced it yet.

Heinermann
Aug 08, 2010
02:15 AM

It was there long before Diablo 3 even began so I highly doubt it. It probably was as you said (Diablo TeST)

Jailout2000
Aug 10, 2010
03:47 AM

Interesting enough, I sent DTST in a SID_AUTH_INFO and got disconnected, but not IP banned... I could instantly reconnect after it disconnected me. It did not give me any error codes or anything, it just simply disconnected me for sending DTST as the product, nothing else followed.

On a side note, you can send DRTL and DSHR in SID_AUTH_INFO and you will receive SID_AUTH_INFO from Battle.net. The packet you receive will tell you to use BSHA-1 and you will receive something like lockdown-IX86-1.mpq as your CheckRevision file. I have been told that when you use DRTL, DSHR, SSHR, or any game that does not use CD-Keys, you send SID_AUTH_CHECK without any CD-Keys appended to the packet (everything EXCEPT the CD-Key part of the packet), and Battle.net will treat that as proper communication and will not disconnect you, surprisingly enough. I will be testing this soon with my own bot later, and I will hopefully add (incorrect?) documentation for it here on BnetDocs later.

Sixen
Sep 01, 2010
02:32 PM

Warcraft III: Demo: W3DM 0x01

As far as D3 goes, these games will still need to support viewing users on SC2/D3/WoW since these will all be ported to Bnet2.0 soon(tm).

EDIT: Perhaps DTST needs to login through a specific server similar to W3DM?

Kyro
Sep 01, 2010
06:56 PM

Do we have a range of known battle.net server IP addresses to put that theory to the test?

Heinermann
Sep 02, 2010
05:59 AM

I looked into the code in Starcraft where DTST is referenced. It grabs the icon from glueattle.neticons.pcx from patch_rt.mpq according to the product (this function is probably no longer used).

DRTL, DSHR, and DTST all have the Diablo icon according to that piece of code.

Getting a hold of the Diablo Battle.net Beta might give us the answers.

Sixen
Sep 03, 2010
04:34 AM

@Kyro: Well, the W3DM server is demo.war3.battle.net. Perhaps we should keep a list of servers... EDIT: Got a document up with a list.

@Heinermann: Hrmm... Supposedly, this is a copy of D1 Alpha. I have not checked it out myself yet. http://www.megaupload.com/?d=HK7F9E4L
According to the Diablo Evolution website, that is the correct size (and the owner of the site put that link up). I can try and contact the guys from Diablo Evolution and see if he can upload the D1 Beta. Apparently he has a copy of it.

Heinermann
Sep 03, 2010
04:18 AM

I checked and the Alpha/Pre-release has nothing Battle.net related.

Sixen
Sep 03, 2010
07:40 AM

Awesome, I got in contact with Mystery, the guy who ran Diablo Evolution. He told me he'll re-upload the Diablo Beta tomorrow, :).

Few other things... Do you have copies of the other game betas? D2, SC1, War2, War3? Could potentially be more information there... In addition, the D2 Beta on Battle.net had product code D2ST, this could potentially be that; not the D1 Beta. It's more than possible the D2ST could have the same icon as DRTL... That beta is located here:
http://www.megaupload.com/?d=UENTRDTJ

This Beta Archives site seems to have all of them if we need any (aside from DRTL Beta which Mystery will upload for us tomorrow).

Sixen
Sep 04, 2010
03:32 AM

Been talking to Heinermann a lot lately, we found out the Diablo 2 Stress Test:

D2ST verbyte is 0xCA and uses the same login sequence as DRTL/DSHR.

--

I just need the D2 LoD Beta if anyone has access to this.

Heinermann
Sep 04, 2010
10:48 PM

It might be safe to assume that DTST is a Diablo Stress Test

Heinermann
Sep 07, 2010
01:54 PM

Diablo Battle.net Beta: DIAB

Jailout2000
Sep 27, 2010
12:02 AM

I updated Hdx's Java-code donation so that it is hosted here at BnetDocs instead of pastebin.

It'd be nice if it could be displayed as neatly as the CPP version by DevCode.

Jailout2000
Apr 04, 2011
06:21 AM

Updated WAR3/W3XP verbytes to 0x1A.

ALERT
We recommend you use Firefox to view this site. This site has been optimized for Firefox.

Get Firefox
BNLS Server Status
bnls.bnetdocs.org:
bnls.net:
bnls.mattkv.net:
phix.no-ip.org:
pyro.no-ip.biz:
bnls.war-lords.net:
bnls.anubisdev.net:
knight.mattkv.net:

= Online       = Offline

Battle.net Server Status

Battle.net v1

uswest.battle.net:
exodus.battle.net:
useast.battle.net:
asia.battle.net:
europe.battle.net:
ustest.battle.net:
beta.battle.net:
classicbeta.battle.net:
demo.war3.battle.net:

Battle.net v2

us.logon.battle.net:
eu.logon.battle.net:
kr.logon.battle.net:
cn.logon.battle.net:
us.patch.battle.net:
eu.patch.battle.net:
kr.patch.battle.net:
cn.patch.battle.net:
public-test.logon.battle.net:
public-test.patch.battle.net:

emNet

cali.emwar.com:
dallas.emwar.com:
kc.emwar.com:
ny.emwar.com:

PvPGN

server.eurobattle.net:
rubattle.net:
sc.theabyss.ru:
wc3.theabyss.ru:
bnetd.fishbattle.net:

RBNETD

server.bnetdocs.org:

= Online       = Offline



Copyrights

Site scripts and design copyrights reserved to Don Cullen.
Contents copyrighted to Blizzard and their parent corporation, Vivendi.
Main credits for contents goes to Arta. View the rest of credits.
Demented Minds copyrights reserved to Don Cullen 2003-present.
Copyright infringements will be prosecuted to the fullest extent allowable by law.
Please view our legal disclaimer and terms of service.