Skip to content

Commit

Permalink
Update to Zwift 1.0.127000
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnapalm committed Mar 5, 2024
1 parent 2f34cf1 commit 55848d7
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 61 deletions.
10 changes: 5 additions & 5 deletions README.md
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.126283, you're all set.
* If your Zwift version is 1.0.127000, you're all set.
* If Zwift is not installed, install it before installing zoffline.
* If your Zwift version is newer than 1.0.126283 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.126283 and zoffline is not running from source: wait for zoffline to be updated.
* If your Zwift version is newer than 1.0.127000 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.127000 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.126283, you're all set.
* If your Zwift version is 1.0.127000, you're all set.
* If Zwift is not installed, install it before installing zoffline.
* If your Zwift version is newer than 1.0.126283: 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.127000: 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
@@ -1 +1 @@
<Zwift version="1.0.126283" sversion="1.59.0 (126283)" gbranch="rc/1.59.0" gcommit="bd98e316a5067d41358282ebac49a1f499d6ce36" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.126283_ac6b1af7_manifest.xml" manifest_checksum="-1597124313" ver_cur_checksum="-45158508"/>
<Zwift version="1.0.127000" sversion="1.60.0 (127000)" gbranch="rc/1.60.0" gcommit="696d70d42771794a6cc99692032b384fe5730214" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.127000_4683724e_manifest.xml" manifest_checksum="-690028571" ver_cur_checksum="1383329378"/>
2 changes: 1 addition & 1 deletion cdn/gameassets/Zwift_Updates_Root/Zwift_ver_cur.xml
@@ -1 +1 @@
<Zwift version="1.0.126283" sversion="1.59.0 (126283)" gbranch="rc/1.59.0" gcommit="bd98e316a5067d41358282ebac49a1f499d6ce36" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.126283_ac6b1af7_manifest.xml" manifest_checksum="177159242" ver_cur_checksum="-905282715"/>
<Zwift version="1.0.127000" sversion="1.60.0 (127000)" gbranch="rc/1.60.0" gcommit="696d70d42771794a6cc99692032b384fe5730214" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.127000_4683724e_manifest.xml" manifest_checksum="899944591" ver_cur_checksum="-1586392394"/>
7 changes: 7 additions & 0 deletions data/events.txt
Expand Up @@ -216,6 +216,13 @@
"course": 2,
"sport": 0
},
{
"name": "Scotland - Glasgow Reverse",
"route": 1258415487,
"distance": 4208.3,
"course": 17,
"sport": 0
},
{
"name": "Watopia - Big Flat 8",
"route": 1917017591,
Expand Down
2 changes: 1 addition & 1 deletion data/game_info.txt

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions data/start_lines.txt
Expand Up @@ -574,6 +574,11 @@
"road": 9,
"time": 1001667
},
"1258415487": {
"name": "Scotland - Glasgow Reverse",
"road": 9,
"time": 1001667
},
"742057576": {
"name": "Scotland - Loch Loop",
"road": 2,
Expand Down
71 changes: 19 additions & 52 deletions data/variants.txt
Expand Up @@ -258,38 +258,6 @@
"name": "game_1_34_cached_ble_service_filter",
"values": {}
},
{
"name": "game_1_34_coffee_stop",
"value": true,
"values": {
"fields": {
"end_event_distance_meters": {
"numberValue": 5000.0
},
"end_event_duration_milliseconds": {
"varintValue": "900000"
},
"initial_delay": {
"numberValue": 0.0
},
"initial_duration": {
"numberValue": 30.0
},
"initial_expiry": {
"numberValue": 300.0
},
"max_speed_adjustment_kph": {
"numberValue": 60.0
},
"middle_delay": {
"numberValue": 1800.0
},
"middle_duration": {
"numberValue": 180.0
}
}
}
},
{
"name": "game_1_34_ct_auto_pair_check",
"values": {}
Expand Down Expand Up @@ -340,11 +308,6 @@
"value": true,
"values": {}
},
{
"name": "game_1_39_delete_robopacer_entities",
"value": true,
"values": {}
},
{
"name": "game_1_39_detect_specific_trainer_by_model_number",
"values": {}
Expand Down Expand Up @@ -427,10 +390,6 @@
}
}
},
{
"name": "game_1_41_leader_replay_dynamic_bias",
"values": {}
},
{
"name": "game_1_41_show_racing_score",
"values": {}
Expand Down Expand Up @@ -871,7 +830,7 @@
"numberValue": 0.8
},
"lowZone2FTPRelation": {
"numberValue": 0.7
"numberValue": 0.72
},
"midZone2FTPRelation": {
"numberValue": 0.75
Expand Down Expand Up @@ -1007,11 +966,6 @@
}
}
},
{
"name": "game_1_56_0_use_system_events_for_start_and_end_activity",
"value": true,
"values": {}
},
{
"name": "game_1_56_draft_indicator",
"values": {}
Expand All @@ -1034,13 +988,9 @@
"name": "game_1_56_subscribe_interstitial_25_km_free_tier",
"values": {}
},
{
"name": "game_1_57_0_use_system_events_for_accumulating_streak_totals",
"value": true,
"values": {}
},
{
"name": "game_1_57_rideonbomb_vfx",
"value": true,
"values": {}
},
{
Expand Down Expand Up @@ -1084,6 +1034,23 @@
"name": "game_1_59_queued_recommendations",
"values": {}
},
{
"name": "game_1_60_app_hang_fix_join_world",
"values": {}
},
{
"name": "game_1_60_rideon_confetti",
"values": {}
},
{
"name": "game_1_60_sbsv2",
"values": {}
},
{
"name": "game_1_60_steering_shifting_braking_hvc_analytics",
"value": true,
"values": {}
},
{
"name": "game_3second_power_average_smoothing",
"value": true,
Expand Down
6 changes: 5 additions & 1 deletion zwift_offline.py
Expand Up @@ -1456,7 +1456,9 @@ def api_events_subgroups_register_id(ev_sg_id):

@app.route('/api/events/subgroups/entrants/<int:ev_sg_id>', methods=['GET'])
def api_events_subgroups_entrants_id(ev_sg_id):
return '', 200
if request.headers['Accept'] == 'application/x-protobuf-lite':
return '', 200
return '[]', 200

@app.route('/api/events/subgroups/invited_ride_sweepers/<int:ev_sg_id>', methods=['GET'])
def api_events_subgroups_invited_ride_sweepers_id(ev_sg_id):
Expand Down Expand Up @@ -1744,6 +1746,8 @@ def api_profiles_id_privacy(player_id):
@jwt_to_session_cookie
@login_required
def api_profiles_followers(m_player_id, t_player_id=0):
if request.headers['Accept'] == 'application/x-protobuf-lite':
return '', 200
rows = db.session.execute(sqlalchemy.text("SELECT player_id, first_name, last_name FROM user"))
json_data_list = []
for row in rows:
Expand Down

0 comments on commit 55848d7

Please sign in to comment.