Skip to content

Commit

Permalink
Update to Zwift 1.0.122968
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnapalm committed Dec 5, 2023
1 parent 14f6539 commit 6c3b2ff
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 89 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.122711, you're all set.
* If your Zwift version is 1.0.122968, you're all set.
* If Zwift is not installed, install it before installing zoffline.
* If your Zwift version is newer than 1.0.122711 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.122711 and zoffline is not running from source: wait for zoffline to be updated.
* If your Zwift version is newer than 1.0.122968 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.122968 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.122711, you're all set.
* If your Zwift version is 1.0.122968, you're all set.
* If Zwift is not installed, install it before installing zoffline.
* If your Zwift version is newer than 1.0.122711: 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.122968: 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 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)
* [ssl/cert-zwift-com.pem](https://github.com/zoffline/zwift-offline/raw/master/ssl/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.122711" sversion="1.53.2 (122711)" gbranch="rc/1.53.2" gcommit="1d01ffcf520562ae7c2a0c799bddf7a0994af7fd" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.122711_1a0e952e_manifest.xml" manifest_checksum="1472339959" ver_cur_checksum="-1263199558"/>
<Zwift version="1.0.122968" sversion="1.54.0 (122968)" gbranch="rc/1.54.0" gcommit="de92e0900794963a37d2f1b1fb86ccdad9eb147c" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.122968_260d9647_manifest.xml" manifest_checksum="2080869317" ver_cur_checksum="292187023"/>
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.122711" sversion="1.53.2 (122711)" gbranch="rc/1.53.2" gcommit="1d01ffcf520562ae7c2a0c799bddf7a0994af7fd" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.122711_1a0e952e_manifest.xml" manifest_checksum="207847002" ver_cur_checksum="-1221047115"/>
<Zwift version="1.0.122968" sversion="1.54.0 (122968)" gbranch="rc/1.54.0" gcommit="de92e0900794963a37d2f1b1fb86ccdad9eb147c" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.122968_260d9647_manifest.xml" manifest_checksum="1766651077" ver_cur_checksum="1043220865"/>
2 changes: 1 addition & 1 deletion game_info.txt

Large diffs are not rendered by default.

111 changes: 30 additions & 81 deletions variants.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@
"name": "game_1_29_player_highlight",
"values": {
"fields": {
"HighlightWorkoutFX": {
"boolValue": false
},
"MaxHighlightedFriends": {
"varintValue": "0"
},
Expand Down Expand Up @@ -391,65 +394,6 @@
"value": true,
"values": {}
},
{
"name": "game_1_40_pack_dynamics_4_race_physics",
"value": true,
"values": {
"fields": {
"cdaDynamicChanges": {
"boolValue": true
},
"cdaMultAeroPosition": {
"numberValue": 0.95
},
"cdaMultAeroPositionPercOfPower": {
"numberValue": 1.2
},
"cdaPenaltyMultDrafting": {
"numberValue": 1.1
},
"cdaPenaltyMultGeneral": {
"numberValue": 1.0
},
"cdaPenaltyMultSteering": {
"numberValue": 1.8
},
"draftDeltaAngle": {
"numberValue": 0.96
},
"draftFalloffCurve": {
"numberValue": 0.15
},
"draftScale": {
"numberValue": 1.3
},
"enabledFrance": {
"boolValue": true
},
"enabledGlobally": {
"boolValue": true
},
"enabledMakuri": {
"boolValue": true
},
"enabledScotland": {
"boolValue": true
},
"enabledWatopia": {
"boolValue": true
},
"maxDraft": {
"numberValue": 1.5
},
"overtakePenaltyDraftLimit": {
"numberValue": 85.0
},
"preventEasyOvertakeNearFront": {
"boolValue": true
}
}
}
},
{
"name": "game_1_40_steering_params",
"value": true,
Expand Down Expand Up @@ -620,7 +564,7 @@
"varintValue": "0"
},
"allowPortalRoadDifficultySelection": {
"boolValue": false
"boolValue": true
}
}
}
Expand Down Expand Up @@ -701,14 +645,13 @@
},
{
"name": "game_1_45_rlog",
"value": true,
"values": {
"fields": {
"ENABLED_LEVELS": {
"stringValue": "ERROR"
"stringValue": ""
},
"ENABLED_TYPES": {
"stringValue": "FILEIO,ASSET_PATCHING"
"stringValue": ""
}
}
}
Expand All @@ -727,7 +670,7 @@
"values": {
"fields": {
"necod_23_max": {
"stringValue": "1.2.1"
"stringValue": "1.2.2"
},
"necod_23_min": {
"stringValue": "1.2.0"
Expand Down Expand Up @@ -968,19 +911,6 @@
}
}
},
{
"name": "game_1_50_vs_latency",
"values": {
"fields": {
"HVC": {
"boolValue": false
},
"LOG": {
"boolValue": false
}
}
}
},
{
"name": "game_1_50_zc_rf1",
"value": true,
Expand Down Expand Up @@ -1026,6 +956,7 @@
},
{
"name": "game_1_53_0_workout_detail_screen_tooltips",
"value": true,
"values": {}
},
{
Expand All @@ -1048,6 +979,20 @@
}
}
},
{
"name": "game_1_54_battle_mode",
"values": {}
},
{
"name": "game_1_54_orcd",
"values": {
"fields": {
"Delay": {
"varintValue": "4000"
}
}
}
},
{
"name": "game_1_54_tdz_confetti_pattern",
"values": {}
Expand All @@ -1069,10 +1014,10 @@
"values": {
"fields": {
"BonusXPForStreaks": {
"boolValue": false
"boolValue": true
},
"DropsPerLevel": {
"varintValue": "0"
"varintValue": "50000"
},
"ReEarnMaxLevel": {
"boolValue": false
Expand All @@ -1081,13 +1026,13 @@
"varintValue": "0"
},
"ShowRideStreaksScreen": {
"boolValue": false
"boolValue": true
},
"ShowXPFastForward": {
"boolValue": true
},
"ShowXPUntilNextLevel": {
"boolValue": false
"boolValue": true
},
"XPPerKilometerCycling": {
"varintValue": "20"
Expand Down Expand Up @@ -1126,6 +1071,10 @@
}
}
},
{
"name": "game_allow_bc1_memfault_reporting",
"values": {}
},
{
"name": "game_check_for_video_updates",
"values": {
Expand Down
8 changes: 8 additions & 0 deletions zwift_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -3199,6 +3199,14 @@ def api_personal_records_my_records():
return results.SerializeToString(), 200


@app.route('/api/personal-records/my-segment-ride-stats/<sport>', methods=['GET'])
@jwt_to_session_cookie
@login_required
def api_personal_records_my_segment_ride_stats(sport):
# TODO
return '', 200


@app.route('/api/personal-records/results/summary/profiles/me/<sport>', methods=['GET'])
@jwt_to_session_cookie
@login_required
Expand Down

0 comments on commit 6c3b2ff

Please sign in to comment.