Hey everybody,
I was recently going through my server files, and I wanted to see how many different kinds of decks are being used. I saw that the deck strings are saved in the log, and I was wondering if someone could explain to me how to read the Deck Nationality and Theme.
Deck Codes explained
-
- Corporal
- Posts: 27
- Joined: Wed 12 Feb 2014 19:43
- Contact:
- The W:AB Noob
- Lieutenant General
- Posts: 4569
- Joined: Fri 12 Jul 2013 22:29
- Location: United States, Central Time Zone
- Contact:
Re: Deck Codes explained
Is the file described part of your dedicated server? If so, you should post in the Dedicated Server section of the Forums in Tech Support.
Also, can you copy-paste the code in the file or send us a download link?
Also, can you copy-paste the code in the file or send us a download link?
-
- Corporal
- Posts: 27
- Joined: Wed 12 Feb 2014 19:43
- Contact:
Re: Deck Codes explained
Oh, the codes are the same as the deck export codes:
jKgMS1KwlqVhYJ5yhhWE3ysJzvOgfQPpSkpSAZAMgMQGJUBNQmosOWHIolKSlRTMiSXXK+kMiHxesvWpAMfyX5L5lVOKHIDfByTR4A==
Basically I was hoping someone could tell me how to figure out the nationality and theme from this.
jKgMS1KwlqVhYJ5yhhWE3ysJzvOgfQPpSkpSAZAMgMQGJUBNQmosOWHIolKSlRTMiSXXK+kMiHxesvWpAMfyX5L5lVOKHIDfByTR4A==
Basically I was hoping someone could tell me how to figure out the nationality and theme from this.
Re: Deck Codes explained
Wookimonsta wrote:Oh, the codes are the same as the deck export codes:
jKgMS1KwlqVhYJ5yhhWE3ysJzvOgfQPpSkpSAZAMgMQGJUBNQmosOWHIolKSlRTMiSXXK+kMiHxesvWpAMfyX5L5lVOKHIDfByTR4A==
Basically I was hoping someone could tell me how to figure out the nationality and theme from this.
Looks like Base64 encoded data to me. Can't decode it to a clean string though, so they probably just dump the deck in binary format.
-
- Corporal
- Posts: 27
- Joined: Wed 12 Feb 2014 19:43
- Contact:
Re: Deck Codes explained
that's what I figured, but I don't know the meaning of that data either.
- Buck Turgidson
- Second-Lieutenant
- Posts: 941
- Joined: Tue 20 Mar 2012 12:55
- Location: Finland
- Contact:
Re: Deck Codes explained
I was interested in the same once and sniffed around a bit.
Once you decode it, the two first bytes tell you which nation/coalition and which specialization the deck has.
You can basically map them by creating different deck types and then extracting the first two bytes from each base64 decoded deck code. I have no idea about the actual contents of the deck though, I recall the whole byte sequence was changing when I tried adding an extra unit to a deck...
Once you decode it, the two first bytes tell you which nation/coalition and which specialization the deck has.
You can basically map them by creating different deck types and then extracting the first two bytes from each base64 decoded deck code. I have no idea about the actual contents of the deck though, I recall the whole byte sequence was changing when I tried adding an extra unit to a deck...


-
- Corporal
- Posts: 27
- Joined: Wed 12 Feb 2014 19:43
- Contact:
Re: Deck Codes explained
Buck Turgidson wrote:Once you decode it, the two first bytes tell you which nation/coalition and which specialization the deck has.
Yeah this is the conclusion I came to as well. Guess I'll map that shit one by one.
What I came up with is that the first byte is the faction, second byte is theme and third byte is era. However, it seems to work differently for coalitions.
For example: a German Armored deck has:
HJg
a German armored from 1985 has
HJQ
a German armored from 1980 has
HJA
The theme seems to be universal. g = cat A, Q = cat B and A = cat C.
Nationalities
USA = B
UK = D
France = F
Germany = H
Canda = J
Denmark = L
Sweden = N
Norway = P
ANZAC = R
Japan = T
South Korea = V
When using national decks, the theme deck also seems the same.
Motorized= I, Armored = J , Support= K, Marines = L, Mechanized = M and (I guessed these) Airborne = N & Navy = O with No Theme = P
Coalitions look a bit different, with neither theme nor date.
EuroCorps = WH
Scandinavia = WP
Commonwealth = WX
Blue Dragons = Wf
Landjut = W3
Norad = XH
EuroCorps Motorized starts with WA, armored being WB and so on. Therefore a Scandinavian Motorized would be WI.
Basically just use the Base64 index table on Wiki http://en.wikipedia.org/wiki/Base64, where the deck with no theme is the last value and count backwards from that.
I haven't done RedFor yet, but I'll get into that later.
- The W:AB Noob
- Lieutenant General
- Posts: 4569
- Joined: Fri 12 Jul 2013 22:29
- Location: United States, Central Time Zone
- Contact:
Re: Deck Codes explained
I also think that each = sign at the end is a different edit?
Re: Deck Codes explained
The W:AB Noob wrote:I also think that each = sign at the end is a different edit?
I think the equal signs (" = ") are just padding in base64. Have you seen any deck codes with more than 2 equal signs at the end?

-
- Corporal
- Posts: 27
- Joined: Wed 12 Feb 2014 19:43
- Contact:
Re: Deck Codes explained
Tharhof wrote:The W:AB Noob wrote:I also think that each = sign at the end is a different edit?
I think the equal signs (" = ") are just padding in base64. Have you seen any deck codes with more than 2 equal signs at the end?
As far as I recall, that is correct.
Who is online
Users browsing this forum: No registered users and 44 guests