Skip to content

Commit

Permalink
Update to Zwift 1.0.129838
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnapalm committed May 28, 2024
1 parent 2217813 commit cec17dc
Show file tree
Hide file tree
Showing 7 changed files with 105 additions and 29 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ zoffline can be installed on the same machine as Zwift or another local machine.
<details><summary>Windows Instructions</summary>

* Install Zwift
* If your Zwift version is 1.0.129105, you're all set.
* If your Zwift version is 1.0.129838, you're all set.
* If Zwift is not installed, install it before installing zoffline.
* If your Zwift version is newer than 1.0.129105 and zoffline is running from source: copy ``C:\Program Files (x86)\Zwift\Zwift_ver_cur.xml`` to zoffline's ``cdn/gameassets/Zwift_Updates_Root/`` overwriting the existing file.
* If your Zwift version is newer than 1.0.129105 and zoffline is not running from source: wait for zoffline to be updated.
* If your Zwift version is newer than 1.0.129838 and zoffline is running from source: copy ``C:\Program Files (x86)\Zwift\Zwift_ver_cur.xml`` to zoffline's ``cdn/gameassets/Zwift_Updates_Root/`` overwriting the existing file.
* If your Zwift version is newer than 1.0.129838 and zoffline is not running from source: wait for zoffline to be updated.
* __NOTE:__ instead of performing the steps below you can instead just run the __configure_client__ script from https://github.com/zoffline/zwift-offline/releases/tag/zoffline_helper
* On your Windows machine running Zwift, copy the following files in this repo to a known location:
* [ssl/cert-zwift-com.p12](https://github.com/zoffline/zwift-offline/raw/master/ssl/cert-zwift-com.p12)
Expand All @@ -124,9 +124,9 @@ to generate your own certificates and do the same.
<details><summary>macOS Instructions</summary>

* Install Zwift
* If your Zwift version is 1.0.129105, you're all set.
* If your Zwift version is 1.0.129838, you're all set.
* If Zwift is not installed, install it before installing zoffline.
* If your Zwift version is newer than 1.0.129105: copy ``~/Library/Application Support/Zwift/ZwiftMac_ver_cur.xml`` to zoffline's ``cdn/gameassets/Zwift_Updates_Root/`` overwriting the existing file.
* If your Zwift version is newer than 1.0.129838: copy ``~/Library/Application Support/Zwift/ZwiftMac_ver_cur.xml`` to zoffline's ``cdn/gameassets/Zwift_Updates_Root/`` overwriting the existing file.
* On your Mac machine running Zwift, copy the file [ssl/cert-zwift-com.pem](https://github.com/zoffline/zwift-offline/raw/master/ssl/cert-zwift-com.pem) in this repo to a known location.
* Open Keychain Access, select "System" under "Keychains", select "Certificates" under "Category"
* Click "File - Import Items..." and import cert-zwift-com.pem
Expand Down
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.129105" sversion="1.65.0 (129105)" gbranch="rc/1.65.0" gcommit="2c4595f6926dcf099605be584b8d9eb9ad0bc2f2" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.129105_d7f49bc5_manifest.xml" manifest_checksum="-92942005" ver_cur_checksum="1505164746"/>
<Zwift version="1.0.129838" sversion="1.66.0 (129838)" gbranch="rc/1.66.0" gcommit="c14809bbb5332b8cede42496b6f963e6d02db26c" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.129838_8db98f34_manifest.xml" manifest_checksum="488454733" ver_cur_checksum="-1518646670"/>
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.129105" sversion="1.65.0 (129105)" gbranch="rc/1.65.0" gcommit="2c4595f6926dcf099605be584b8d9eb9ad0bc2f2" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.129105_d7f49bc5_manifest.xml" manifest_checksum="-553175766" ver_cur_checksum="-1797940251"/>
<Zwift version="1.0.129838" sversion="1.66.0 (129838)" gbranch="rc/1.66.0" gcommit="c14809bbb5332b8cede42496b6f963e6d02db26c" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.129838_8db98f34_manifest.xml" manifest_checksum="-256537945" ver_cur_checksum="241273877"/>
2 changes: 2 additions & 0 deletions data/game_dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,7 @@
3630089540,
3631135127,
3632295718,
3640031777,
3640900519,
3651831027,
3652093952,
Expand Down Expand Up @@ -2165,6 +2166,7 @@
"228": 2953010285,
"229": 762151244,
"230": 4009130866,
"232": 87631443,
"233": 107363867,
"234": 3599973269,
"235": 2202609830
Expand Down
2 changes: 1 addition & 1 deletion data/game_info.txt

Large diffs are not rendered by default.

112 changes: 91 additions & 21 deletions data/variants.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
"value": true,
"values": {}
},
{
"name": "game_1_20_hw_experiment_1",
"value": true,
"values": {}
},
{
"name": "game_1_21_ble_data_guard_v2",
"values": {}
Expand Down Expand Up @@ -545,11 +540,6 @@
}
}
},
{
"name": "game_1_44_virtual_shifting",
"value": true,
"values": {}
},
{
"name": "game_1_44_workout_start_delay",
"values": {}
Expand Down Expand Up @@ -629,11 +619,6 @@
"name": "game_1_46_virtual_shifting_leak_prevention",
"values": {}
},
{
"name": "game_1_47_onboarding_quest_rpc",
"value": true,
"values": {}
},
{
"name": "game_1_48_2_road_access_lock",
"value": true,
Expand Down Expand Up @@ -858,11 +843,6 @@
"value": true,
"values": {}
},
{
"name": "game_1_52_onboarding_tutorial_progress_bar",
"value": true,
"values": {}
},
{
"name": "game_1_53_0_workout_detail_screen_tooltips",
"value": true,
Expand Down Expand Up @@ -1014,6 +994,9 @@
"name": "game_1_58_support_zp_user_inputs",
"values": {
"fields": {
"enable_paintscheme_entitlement_grant": {
"boolValue": false
},
"enable_settings_ui": {
"boolValue": true
},
Expand Down Expand Up @@ -1084,7 +1067,13 @@
},
{
"name": "game_1_64_home_screen_update",
"values": {}
"values": {
"fields": {
"hero_carousel_id": {
"stringValue": ""
}
}
}
},
{
"name": "game_1_64_rubberbanding_v3",
Expand All @@ -1098,20 +1087,85 @@
"allowList": {
"stringValue": "Wahoo Fitness;KICKR RUN;1.0.11\n"
},
"autoPairSkipsAllowList": {
"boolValue": true
},
"bypassAllowList": {
"boolValue": false
},
"grant_kickr_run_kit": {
"boolValue": true
},
"syncHudInclineDisplay": {
"boolValue": true
},
"usePaywall": {
"boolValue": false
}
}
}
},
{
"name": "game_1_65_binary_asset_patching",
"values": {}
},
{
"name": "game_1_65_remove_curate_route_checkpoints",
"value": true,
"values": {}
},
{
"name": "game_1_66_autosteering_v5",
"values": {
"fields": {
"enabledForAllWorlds": {
"boolValue": false
},
"enabledForEvents": {
"boolValue": false
},
"enabledForJapan": {
"boolValue": false
},
"enabledForRaces": {
"boolValue": false
}
}
}
},
{
"name": "game_1_66_change_pause_title_to_menu",
"value": true,
"values": {}
},
{
"name": "game_1_66_dont_hold_player_during_pairing_while_paused",
"values": {}
},
{
"name": "game_1_66_enqueue_next_up",
"value": true,
"values": {}
},
{
"name": "game_1_66_hide_transition_start_level_on_pause_screen",
"values": {}
},
{
"name": "game_1_66_missing_log_capture",
"value": true,
"values": {}
},
{
"name": "game_1_66_tpeaks_multiday",
"values": {
"fields": {
"num_days": {
"varintValue": "7"
}
}
}
},
{
"name": "game_3second_power_average_smoothing",
"value": true,
Expand Down Expand Up @@ -1248,6 +1302,19 @@
"name": "game_concept",
"values": {}
},
{
"name": "game_dlc",
"values": {
"fields": {
"loose_files": {
"boolValue": false
},
"tenant": {
"stringValue": "dev"
}
}
}
},
{
"name": "game_end_game_session",
"values": {}
Expand All @@ -1260,6 +1327,9 @@
"name": "game_hud_phase_1",
"values": {
"fields": {
"dark_mode_color_scheme": {
"boolValue": false
},
"ride_stats_refactor_enabled": {
"boolValue": false
}
Expand Down
4 changes: 4 additions & 0 deletions zwift_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,10 @@ def api_recommendations_recommendation():
def api_empty_arrays():
return jsonify([])

@app.route('/api/assetcms/<path:path>', methods=['GET'])
def api_assetcms(path):
return jsonify([])

def activity_moving_time(activity):
try:
return int((datetime.datetime.strptime(activity.end_date, '%Y-%m-%dT%H:%M:%SZ') - datetime.datetime.strptime(activity.start_date, '%Y-%m-%dT%H:%M:%SZ')).total_seconds() * 1000)
Expand Down

0 comments on commit cec17dc

Please sign in to comment.