Skip to content

Commit

Permalink
Update to Zwift 1.0.138816
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnapalm committed Jan 21, 2025
1 parent 3e9b9e3 commit c8dd217
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 14 deletions.
2 changes: 1 addition & 1 deletion cdn/gameassets/Zwift_Updates_Root/ZwiftMac_ver_cur.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<Zwift version="1.0.138718" sversion="1.81.2 (138718)" gbranch="rc/1.81.2" gcommit="91eb90e6100ae51fc3a9c82923bfeb84e4b92568" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.138718_310fe45e_manifest.xml" manifest_checksum="262499829" ver_cur_checksum="1938210444"/>
<Zwift version="1.0.138816" sversion="1.82.0 (138816)" gbranch="rc/1.82.0" gcommit="4e8c5e9613f84fae89be1af9f2e60b93bd28d52f" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.138816_ddeb8e64_manifest.xml" manifest_checksum="-1463899298" ver_cur_checksum="-244444853"/>
2 changes: 1 addition & 1 deletion cdn/gameassets/Zwift_Updates_Root/Zwift_ver_cur.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<Zwift version="1.0.138664" sversion="1.81.2 (138664)" gbranch="rc/1.81.2" gcommit="91eb90e6100ae51fc3a9c82923bfeb84e4b92568" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.138664_763a5485_manifest.xml" manifest_checksum="1994241217" ver_cur_checksum="821657691"/>
<Zwift version="1.0.138816" sversion="1.82.0 (138816)" gbranch="rc/1.82.0" gcommit="4e8c5e9613f84fae89be1af9f2e60b93bd28d52f" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.138816_ddeb8e64_manifest.xml" manifest_checksum="566844582" ver_cur_checksum="1571044859"/>
4 changes: 4 additions & 0 deletions data/climbs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@
"name": "Pla d'Adet (12.1 km / 847 m)",
"road": "10027"
},
{
"name": "Poggio (4.3 km / 136 m)",
"road": "10041"
},
{
"name": "Puy de Dome (13 km / 913 m)",
"road": "10006"
Expand Down
1 change: 1 addition & 0 deletions data/entitlements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"first": 1687, "last": 1872}
11 changes: 9 additions & 2 deletions data/events.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,13 @@
"course": 6,
"sport": 1
},
{
"name": "Watopia - Danger Noodle",
"route": 2888820995,
"distance": 32263.5,
"course": 6,
"sport": 0
},
{
"name": "Watopia - Downtown Eruption",
"route": 1675611962,
Expand Down Expand Up @@ -317,7 +324,7 @@
{
"name": "Watopia - Tair Dringfa Fechan",
"route": 2062126722,
"distance": 32065.4,
"distance": 32048.6,
"course": 6,
"sport": 0
},
Expand Down Expand Up @@ -359,7 +366,7 @@
{
"name": "Watopia - ZG25 Queen",
"route": 1724903700,
"distance": 44803.1,
"distance": 44803.5,
"course": 6,
"sport": 0
},
Expand Down
17 changes: 16 additions & 1 deletion data/game_dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
3354474434,
3365311940,
3366418234,
3369196915,
3438211262,
3460366108,
3500373581,
Expand Down Expand Up @@ -154,6 +155,7 @@
31330258,
258033368,
478032186,
599629269,
817902595,
821811498,
1163597738,
Expand Down Expand Up @@ -181,6 +183,7 @@
2914767000,
2978871359,
3027735239,
3030096148,
3171375327,
3309343427,
3410864991,
Expand All @@ -193,6 +196,7 @@
231828206,
560768614,
725344338,
1021228769,
1039719545,
1239918577,
1335895262,
Expand Down Expand Up @@ -656,6 +660,7 @@
1139642427,
1139853189,
1147316612,
1154743953,
1154847422,
1155032025,
1160098954,
Expand Down Expand Up @@ -1189,6 +1194,7 @@
3424931689,
3427039185,
3427652207,
3428900007,
3430221138,
3439799665,
3440237765,
Expand Down Expand Up @@ -1257,6 +1263,7 @@
3690012873,
3694781490,
3706069690,
3706126184,
3706523886,
3709517096,
3710487136,
Expand Down Expand Up @@ -1406,6 +1413,7 @@
4189588969,
4190704551,
4191972189,
4199232640,
4199295486,
4209581234,
4213507995,
Expand Down Expand Up @@ -2289,7 +2297,14 @@
"274": 2826340040,
"275": 4159356920,
"276": 3262665065,
"277": 2062126722
"277": 2062126722,
"278": 2372883204,
"279": 2207442179,
"280": 186601870,
"281": 172610229,
"282": 1675611962,
"283": 3250904331,
"284": 1724903700
},
"body_types_male": [
2130,
Expand Down
2 changes: 1 addition & 1 deletion data/game_info.txt

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions data/start_lines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,11 @@
"road": 133,
"time": 248735
},
"-1406146301": {
"name": "Watopia - Danger Noodle",
"road": 0,
"time": 987894
},
"454871454": {
"name": "Watopia - Deca Dash",
"road": 192,
Expand Down Expand Up @@ -1072,7 +1077,7 @@
"2062126722": {
"name": "Watopia - Tair Dringfa Fechan",
"road": 1,
"time": 71129
"time": 90002
},
"-1964332641": {
"name": "Watopia - Temple Trek",
Expand Down Expand Up @@ -1232,7 +1237,7 @@
"1724903700": {
"name": "Watopia - ZG25 Queen",
"road": 0,
"time": 985893
"time": 987894
},
"-673805084": {
"name": "Watopia - Zwift Bambino Fondo",
Expand Down
10 changes: 9 additions & 1 deletion data/variants.txt
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,9 @@
"value": true,
"values": {
"fields": {
"backRepulsionPercent": {
"numberValue": 0.8
},
"enabledForAllWorlds": {
"boolValue": false
},
Expand Down Expand Up @@ -1157,6 +1160,7 @@
},
{
"name": "game_1_74_sku_enhance",
"value": true,
"values": {}
},
{
Expand Down Expand Up @@ -1192,6 +1196,7 @@
},
{
"name": "game_1_75_sweeper_check",
"value": true,
"values": {}
},
{
Expand All @@ -1213,13 +1218,16 @@
"EnableLeakPrevention": {
"boolValue": false
},
"EnableMountainBikeOffsetChange": {
"boolValue": false
},
"LoggingRate": {
"varintValue": "0"
},
"bCDAUpdate": {
"boolValue": false
},
"excluded_bikes": {
"excluded_accessories": {
"stringValue": ""
}
}
Expand Down
6 changes: 3 additions & 3 deletions scripts/get_game_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from urllib3 import PoolManager
from fuzzywuzzy import process, fuzz

frame_exceptions = [270803031, 1409258486, 1444415023, 2029842509, 3079625256, 3814159195, 4150853780, 4243692575]
frontwheel_exceptions = [69023253, 1344753875, 1361038541, 1547965258, 2004537892, 2365488570, 2907165694, 3787145210, 3849702821, 4221174482, 998391700, 4249063997]
rearwheel_exceptions = [345690674, 413430806, 1547965258, 1796445915, 1965395406, 2602078812, 2740373137, 4088741326, 4111310185, 4151822963, 961116451, 4097663513]
frame_exceptions = [270803031, 1409258486, 1444415023, 2029842509, 3079625256, 3814159195, 4150853780, 4243692575, 3988344633]
frontwheel_exceptions = [69023253, 1344753875, 1361038541, 1547965258, 2004537892, 2365488570, 2907165694, 3787145210, 3849702821, 4221174482, 998391700, 4249063997, 3207647806]
rearwheel_exceptions = [345690674, 413430806, 1547965258, 1796445915, 1965395406, 2602078812, 2740373137, 4088741326, 4111310185, 4151822963, 961116451, 4097663513, 1040669859]
route_exceptions = {
'2018 UCI WORLDS SHORT LAP': '2018 WORLDS SHORT LAP',
'2015 UCI WORLDS COURSE': 'RICHMOND UCI WORLDS',
Expand Down
5 changes: 3 additions & 2 deletions zwift_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1775,9 +1775,10 @@ def update_entitlements(profile):
e.id = -1
e.status = profile_pb2.ProfileEntitlement.ProfileEntitlementStatus.ACTIVE
if os.path.isfile('%s/unlock_entitlements.txt' % STORAGE_DIR) or os.path.isfile('%s/unlock_all_equipment.txt' % STORAGE_DIR):
entitlements = list(range(1687, 1871))
ent = json.load(open('%s/data/entitlements.txt' % SCRIPT_DIR))
entitlements = list(range(ent['first'], ent['last'] + 1))
if os.path.isfile('%s/unlock_all_equipment.txt' % STORAGE_DIR):
entitlements.extend(list(range(1, 1687)))
entitlements.extend(list(range(1, ent['first'])))
for entitlement in entitlements:
if not any(e.id == entitlement for e in profile.entitlements):
e = profile.entitlements.add()
Expand Down

0 comments on commit c8dd217

Please sign in to comment.