Skip to content

Commit

Permalink
Update to Zwift 1.0.135346
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnapalm committed Sep 23, 2024
1 parent 6f29b72 commit 083cd60
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 14 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.135195, you're all set.
* If your Zwift version is 1.0.135346, you're all set.
* If Zwift is not installed, install it before installing zoffline.
* If your Zwift version is newer than 1.0.135195 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.135195 and zoffline is not running from source: wait for zoffline to be updated.
* If your Zwift version is newer than 1.0.135346 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.135346 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/oldnapalm/zoffline-helper/releases/latest
* 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.135195, you're all set.
* If your Zwift version is 1.0.135346, you're all set.
* If Zwift is not installed, install it before installing zoffline.
* If your Zwift version is newer than 1.0.135195: 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.135346: 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.135195" sversion="1.74.0 (135195)" gbranch="rc/1.74.0" gcommit="42b97202573de98661f07d37a414d8ed7e05cb8d" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.135195_7180b684_manifest.xml" manifest_checksum="815712584" ver_cur_checksum="501495411"/>
<Zwift version="1.0.135346" sversion="1.74.2 (135346)" gbranch="rc/1.74.2" gcommit="cee9bc1a0695188de219a22cd80558aa1305ad14" GAME_URL="https://us-or-rly101.zwift.com" manifest="ZwiftMac_1.0.135346_5ea34d1d_manifest.xml" manifest_checksum="-152007760" ver_cur_checksum="1636541751"/>
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.135195" sversion="1.74.0 (135195)" gbranch="rc/1.74.0" gcommit="42b97202573de98661f07d37a414d8ed7e05cb8d" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.135195_7180b684_manifest.xml" manifest_checksum="-1413227661" ver_cur_checksum="-670128982"/>
<Zwift version="1.0.135346" sversion="1.74.2 (135346)" gbranch="rc/1.74.2" gcommit="cee9bc1a0695188de219a22cd80558aa1305ad14" GAME_URL="https://us-or-rly101.zwift.com" manifest="Zwift_1.0.135346_5ea34d1d_manifest.xml" manifest_checksum="-798143194" ver_cur_checksum="-866057058"/>
4 changes: 4 additions & 0 deletions data/game_dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
1011377720,
1014087812,
1021510657,
1061365842,
1079998558,
1081853028,
1087064675,
Expand Down Expand Up @@ -773,6 +774,7 @@
1769311524,
1769856110,
1771577861,
1774347173,
1775021494,
1776034995,
1801600368,
Expand All @@ -799,6 +801,7 @@
1879012216,
1884307159,
1886354418,
1890618348,
1893222148,
1900024720,
1900079957,
Expand Down Expand Up @@ -1335,6 +1338,7 @@
4055466522,
4058671073,
4065189818,
4065648970,
4070625544,
4071133758,
4071863100,
Expand Down
2 changes: 1 addition & 1 deletion data/game_info.txt

Large diffs are not rendered by default.

9 changes: 3 additions & 6 deletions data/variants.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"values": {
"fields": {
"HighlightWorkoutFX": {
"boolValue": true
"boolValue": false
},
"MaxHighlightedFriends": {
"varintValue": "3"
Expand Down Expand Up @@ -1080,7 +1080,7 @@
"boolValue": true
},
"strongerMinimapBump": {
"boolValue": true
"boolValue": false
},
"syncHudInclineDisplay": {
"boolValue": false
Expand Down Expand Up @@ -1193,14 +1193,13 @@
},
{
"name": "game_1_68_0_tdffaz_alpe_spinner",
"value": true,
"values": {
"fields": {
"date_end": {
"varintValue": "1725173999"
},
"date_start": {
"varintValue": "1722470400"
"varintValue": "1719435840"
}
}
}
Expand Down Expand Up @@ -1282,7 +1281,6 @@
},
{
"name": "game_1_71_csos",
"value": true,
"values": {}
},
{
Expand Down Expand Up @@ -1745,7 +1743,6 @@
},
{
"name": "gn_deferred_lighting",
"value": true,
"values": {}
},
{
Expand Down
4 changes: 4 additions & 0 deletions zwift_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -1758,6 +1758,10 @@ def do_api_profiles(profile_id, is_json):
for entitlement in list(profile.entitlements):
if entitlement.type == profile_pb2.ProfileEntitlement.EntitlementType.RIDE:
profile.entitlements.remove(entitlement)
e = profile.entitlements.add()
e.type = profile_pb2.ProfileEntitlement.EntitlementType.RIDE
e.id = -1
e.status = profile_pb2.ProfileEntitlement.ProfileEntitlementStatus.ACTIVE
if not profile.mix_panel_distinct_id:
profile.mix_panel_distinct_id = str(uuid.uuid4())
if os.path.isfile('%s/unlock_entitlements.txt' % STORAGE_DIR) or os.path.isfile('%s/unlock_all_equipment.txt' % STORAGE_DIR):
Expand Down

0 comments on commit 083cd60

Please sign in to comment.