Maintenance periods are Thursdays at - UTC 0500.
-Supported games: Diamond, Pearl, - Platinum, Heart Gold, - Soul Silver, Black, - White, Black 2, - White 2.
-Supported features: Wi-Fi Clubaltwfc, - GTS, Battle Videos, - Random Matchup
-Complete instructions can be found at - the - AltWFC Wiki.
- -Wi-fi Battle Tower and Battle Subway are now available! -
- -The battle video server is up and running! View any of the
- thousands of battle videos from Nintendo WFC
-
Dressup photos, box uploads, and musical photos are also available.
- - -Maintenance periods are Thursdays at + UTC 0500.
+Supported games: Diamond, Pearl, + Platinum, Heart Gold, + Soul Silver, Black, + White, Black 2, + White 2.
+Supported features: Wi-Fi Clubaltwfc, + GTS, Battle Videos, + Random Matchup
+Complete instructions can be found at + the + AltWFC Wiki.
+ +Wi-fi Battle Tower and Battle Subway are now available! +
+ +The battle video server is up and running! View any of the
+ thousands of battle videos from Nintendo WFC
+
Dressup photos, box uploads, and musical photos are also available.
+ + +Data is not formatted correctly.
"; - } - else - { - litDecoded.Text = RenderHex(data.ToHexStringLower()); - } - - phDecoded.Visible = true; - } - - public static byte[] DecryptData(String data) - { - byte[] data2 = GamestatsHandler.FromUrlSafeBase64String(data); - if (data2.Length < 12) throw new FormatException("Data must contain at least 12 bytes."); - - int checksum = BitConverter.ToInt32(data2, 0); - checksum = IPAddress.NetworkToHostOrder(checksum); // endian flip - //checksum ^= 0x2db842b2; - - return data2; - } - - private String RenderHex(String hex) - { - // todo: this should be moved to a user control - StringBuilder builder = new StringBuilder(); - for (int x = 0; x < hex.Length; x += 16) - { - if (x % 32 == 0) - { - builder.Append((x >> 1).ToString("x4")); - builder.Append(": "); - } - - builder.Append(hex.Substring(x, Math.Min(16, hex.Length - x))); - builder.Append((x % 32 == 0) ? " " : "Data is not formatted correctly.
"; + } + else + { + litDecoded.Text = RenderHex(data.ToHexStringLower()); + } + + phDecoded.Visible = true; + } + + public static byte[] DecryptData(String data) + { + byte[] data2 = GamestatsHandler.FromUrlSafeBase64String(data); + if (data2.Length < 12) throw new FormatException("Data must contain at least 12 bytes."); + + int checksum = BitConverter.ToInt32(data2, 0); + checksum = IPAddress.NetworkToHostOrder(checksum); // endian flip + //checksum ^= 0x2db842b2; + + return data2; + } + + private String RenderHex(String hex) + { + // todo: this should be moved to a user control + StringBuilder builder = new StringBuilder(); + for (int x = 0; x < hex.Length; x += 16) + { + if (x % 32 == 0) + { + builder.Append((x >> 1).ToString("x4")); + builder.Append(": "); + } + + builder.Append(hex.Substring(x, Math.Min(16, hex.Length - x))); + builder.Append((x % 32 == 0) ? " " : "