Multipurpose utility for managing Games for Windows - LIVE installs and content. (Mirrored from https://github.com/InvoxiPlayGames/GfWLUtility)
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace GfWLUtility
7{
8 internal struct FileInformation
9 {
10 public string Filename;
11 public string[] AltFilenames;
12 public string[] DownloadURLs;
13 public int Size;
14 public byte[] Hash;
15 }
16
17 internal class StaticFileInformation
18 {
19 // tu10177600_35005f00.cab - the latest GfWL title update, contains XLiveUpdate.msi and wllogin_32/wllogin_64
20 public static FileInformation titleupdate_3_5_95_cab = new FileInformation()
21 {
22 Filename = "tu10177600_35005f00.cab",
23 AltFilenames = null,
24 DownloadURLs = new string[]
25 {
26 // Official Microsoft URL
27 "http://download.xbox.com/content/585207d1/tu10177600_35005f00.cab",
28 // Legacy Update provided URL
29 "http://content.legacyupdate.net/download.xbox.com/content/585207d1/tu10177600_35005f00.cab",
30 // Internet Archive archived URL
31 "http://web.archive.org/web/20191010213301id_/http://download.xbox.com/content/585207d1/tu10177600_35005f00.cab"
32 },
33 Size = 28021108,
34 Hash = new byte[0x14]
35 {
36 0x71, 0xc7, 0xc7, 0xa0, 0x42, 0x47, 0x8d, 0x51, 0xf2, 0x5c, 0x47, 0x65, 0xac, 0xe7, 0xd0, 0x80, 0x8a, 0x9e, 0xe8, 0x4c
37 }
38 };
39
40 // XLiveUpdate.msi - installs the XLive/GfWL redistributable used by applications
41 public static FileInformation xliveupdate_3_5_95_msi = new FileInformation()
42 {
43 Filename = "XLiveUpdate.msi",
44 AltFilenames = new string[] { "xliveredist.msi" },
45 DownloadURLs = null, // only found in tu10177600_35005f00
46 Size = 21594112,
47 Hash = new byte[0x14]
48 {
49 0xad, 0x92, 0x4d, 0x74, 0x39, 0x47, 0x07, 0x3f, 0xe8, 0x27, 0x42, 0xe8, 0xf5, 0x29, 0xa3, 0x7e, 0xae, 0x07, 0x66, 0x2a
50 }
51 };
52
53 // xliveredist.msi - a slightly older version of the xlive redistributable, latest available standalone
54 public static FileInformation xliveredist_3_5_92_msi = new FileInformation()
55 {
56 Filename = "xliveredist.msi",
57 AltFilenames = null,
58 DownloadURLs = new string[]
59 {
60 // Official Microsoft URL
61 "http://download.gfwl.xboxlive.com/content/gfwl-public/redists/production/xliveredist.msi",
62 // Legacy Update provided URL
63 "http://content.legacyupdate.net/download.gfwl.xboxlive.com/content/gfwl-public/redists/production/xliveredist.msi",
64 // Internet Archive archived URL
65 "http://web.archive.org/web/20141203142251id_/http://download.gfwl.xboxlive.com/content/gfwl-public/redists/production/xliveredist.msi"
66 },
67 Size = 21598208,
68 Hash = new byte[0x14]
69 {
70 0xfc, 0x04, 0xd5, 0xc4, 0x95, 0x6f, 0xbf, 0x21, 0x36, 0xbd, 0xd4, 0xf2, 0xab, 0x15, 0x4e, 0xfb, 0xf5, 0xf6, 0xec, 0xa9
71 }
72 };
73
74 // gfwlclient.msi - installs the Games for Windows Marketplace "dashboard" application
75 public static FileInformation gfwlclient_msi = new FileInformation()
76 {
77 Filename = "gfwlclient.msi",
78 AltFilenames = null,
79 DownloadURLs = new string[]
80 {
81 // Official Microsoft URL
82 "http://download.gfwl.xboxlive.com/content/gfwl-public/redists/production/gfwlclient.msi",
83 // Legacy Update provided URL
84 "http://content.legacyupdate.net/download.gfwl.xboxlive.com/content/gfwl-public/redists/production/gfwlclient.msi",
85 // Internet Archive archived URL
86 "http://web.archive.org/web/20141203142248id_/http://download.gfwl.xboxlive.com/content/gfwl-public/redists/production/gfwlclient.msi"
87 },
88 Size = 3375104,
89 Hash = new byte[0x14]
90 {
91 0xdf, 0x6b, 0xe4, 0x41, 0xde, 0xed, 0x52, 0x54, 0x3c, 0xc1, 0xe8, 0xc7, 0x08, 0xa7, 0x2c, 0xa2, 0xca, 0x6b, 0xee, 0x92
92 }
93 };
94
95 // wllogin_32.msi - x86 Windows Live Identity Client Runtime Library
96 // found in tu10177600_35005f00.cab as well
97 public static FileInformation wllogin_32_msi = new FileInformation()
98 {
99 Filename = "wllogin_32.msi",
100 AltFilenames = null,
101 DownloadURLs = new string[]
102 {
103 // Internet Archive archived URL
104 "http://web.archive.org/web/20200801000000id_/download.microsoft.com/download/7/4/0/740357D6-EFA8-43C1-A7DF-A8EEDD104638/wllogin_32.msi"
105 },
106 Size = 4649472,
107 Hash = new byte[0x14]
108 {
109 0xf4, 0x77, 0xf8, 0xab, 0xc4, 0x51, 0x95, 0x32, 0xef, 0x29, 0x21, 0xb1, 0x34, 0x3a, 0x06, 0xf2, 0xac, 0x54, 0x6c, 0x2c
110 }
111 };
112
113 // wllogin_64.msi - x64 Windows Live Identity Client Runtime Library
114 // found in tu10177600_35005f00.cab as well
115 public static FileInformation wllogin_64_msi = new FileInformation()
116 {
117 Filename = "wllogin_64.msi",
118 AltFilenames = null,
119 DownloadURLs = new string[]
120 {
121 // Internet Archive archived URL
122 "http://web.archive.org/web/20200801000000id_/download.microsoft.com/download/7/4/0/740357D6-EFA8-43C1-A7DF-A8EEDD104638/wllogin_64.msi"
123 },
124 Size = 6575616,
125 Hash = new byte[0x14]
126 {
127 0x10, 0x78, 0xd3, 0x2c, 0xae, 0x64, 0xab, 0x1c, 0x5b, 0xce, 0x52, 0x63, 0x7e, 0xfa, 0xcb, 0xde, 0x70, 0xfa, 0x26, 0x70
128 }
129 };
130
131 // 4d5307d6/tu10000081_00000000.cab - Shadowrun latest title update
132 public static FileInformation shadowrun_tu10000081_cab = new FileInformation()
133 {
134 Filename = "tu10000081_00000000.cab",
135 AltFilenames = null,
136 DownloadURLs = new string[]
137 {
138 // Official Microsoft URL
139 "http://download.xbox.com/content/4d5307d6/tu10000081_00000000.cab",
140 // Internet Archive archived URL
141 "http://web.archive.org/web/20250919190312id_/download.xbox.com/content/4d5307d6/tu10000081_00000000.cab"
142 },
143 Size = 7508950,
144 Hash = new byte[0x14]
145 {
146 0xfd, 0xb3, 0x10, 0xcf, 0x91, 0x94, 0xc4, 0xfd, 0x81, 0x9b, 0x9f, 0x98, 0x97, 0xe9, 0x02, 0x65, 0x05, 0xa9, 0x69, 0x82
147 }
148 };
149 }
150}