zwift-preferences is not actively developed anymore. There may be settings and world/route selections which aren’t possible.
You want to make use the hidden setting with which YOU get to decide where you will be zwifting today?
You want easy access to set trainer effect (also called resistance level) before you launch Zwift?
You want to toggle fullscreen mode?
Then zwift-preferences for Windows can help you. If you use macOS take a look at ZwiftPref instead.
Important note re. the new home screen in Zwift:
Since Zwift doesn’t show your last selected route in the new home screen you cannot activate a ride on your last selected route anymore. That also means that you cannot activate a ride on a route pre-selected with zwift-preferences. There is no way to circumvent this but let’s hope that Zwift bring back the functionality to see your last selected route.
zwift-preferences is a script/an app which gives you access to safely modify the prefs.xml
file from which Zwift reads your prefences when Zwift is launched. Notice that if you change prefs.xml
while Zwift is running your changes will be overwritten by Zwift.
By the way, zwift-preferences can be used together with zwift-login.
Prerequisites
Windows PC with
- Zwift
- AutoHotkey version 1.1.33.1 or higher (must be a 1.1 version, not 2.0)
Download
Download “zwift-preferences installer” setup-zwift-preferences.exe – Downloaded 116781 times – 1.62 MBRead more about the installer package.
Using with non-standard Zwift setups
Even if you have the Zwift document\data files in a non-default location (which is Documents\Zwift) you can still use zwift-preferences.
If you have your Zwift documents (e.g. prefs.xml) in a location different from the default:
You can control where zwift-preferences look for data files (prefs.xml) with a ZWIFTDOC environment variable (this is also supported in zwift-login).
Add an environment variable called ZWIFTDOC to your Windows account to point to your Zwift data folder:
Example: ZWIFTDOC=C:\ParentFolder\Zwift
You may have to log out of Windows and log in again after defining it for the environment variable to be known.
After this zwift-preferences will always use the value of ZWIFTDOC as the location of the Zwift data files instead of the default location.
Google can tell you how to add/modify environment variables:
https://www.google.com/search?q=set+environment+variable+in+windows+10
History
zwift-preferences hotfix
It suddenly became necessary to fix zwift-preferences because of changed security settings at the server from where it pulls the route information. There are no […]
Route selection woes in zwift-preferences / ZwiftPref
Important note re. the new home screen in Zwift: Since Zwift doesn’t show your last selected route in the new home screen you cannot activate […]
zwift-preferences Christmas 2021 Edition
No, there is nothing really Christmassy about it, but it has some new features. Consider it an early Christmas present for you. The new features […]
Makuri Islands
The new Makuri Islands world is supported by all of these ZwiftHacks tools: EventsRouteszwift-preferencesZwiftPref An update for ZwiftMap may still be needed but it will […]
zwift-preferences v34
There is a very small bugfix release of zwift-preferences, just fixing a bug in the remember monitor and remember controllable trainer functionalities. […]
What was new this week?
Here is a summary for week 47 of news from ZwiftHacks which didn't get its own post during the week […]
World hack into France and Paris
The latest update of Zwift brings France and Paris into the regular guest world rotation. Even better, you can world hack into both France and […]
See both guest worlds in zwift-preferences
Zwift has two guest worlds and a base world: Watopia. The world hack works lets you choose any world other than the event only worlds (Bologna […]
A minor fix – zwift-preferences v30
In the most recent versions of Zwift the prefs.xml setting TITLE_MUSIC was changed to TITLEMUSIC. zwift-preferences – here in version 30 – is updated to […]
Better support for many worlds – zwift-preferences v29
Update 2019-09-12 18:33 CET: Bug alert called off 🙂 It is lovely with the many worlds and courses in Zwift but the old layout of […]
zwift-preferences v26
zwift-preferences version 26 is a bug fix version specifically for Windows 7 users. It fixes a problem with download of the route definition files. Besides […]
How to choose a 3rd world…
It is really to simple to select a world other than Watopia and the guest world of the day with zwift-preferences and ZwiftPref. Just remember […]
zwift-preferences v22
zwift-preferences skips version 21 and jumps straight to version 22 with support for changing the preferred screen resolution and toggle the Prefer Native BLE setting on […]
zwift-preferences v20
With zwift-preferences version 20 the new Title Music setting can be toggled on the Miscellaneous tab. This replaces the old hack to suppress the startup music […]
Select any world and route with zwift-preferences v19
With zwift-preferences version 19 you can choose any of the five world including New York. It also handles route selection for both cycling and running. The […]
Remember or forget the controllable trainer with v18 of zwift-preferences – the choice is yours
zwift-preferences introduces a new 'Devices' tab where you can see which devices are stored in prefs.xml. You can also remove the controllable trainer from the list […]
Small fix in v16 of zwift-preferences – show current world
zwift-preferences has been updated to version 16, just to make sure that it shows you the current map/world correctly. Download the update Get the new […]
World 5 is here…
…and supported by ZwiftPref and zwift-preferences. You won't even have to download new version – both apps pull the list of worlds and courses from […]
Bug fix for a bug fix – v15 of zwift-preferences
The last update helped zwift-preferences work better on Windows 7 but made it worse on Windows 10. Version 15 fixes the this (hopefully). Leave feedback in […]
A new setting plus a Win7 bug fix
While chasing down a few bugs which occurred only on Windows 7, I also updated zwift-preferences to support the new Workout Distortion setting (the one which determines […]
No more waiting… New routes and an updated map
The wait for new routes in Watopia is over with the update of Zwift to version 1.0.25225 today. The three new routes (level 12 locked) […]
While we wait… an update for zwift-preferences
While we wait for new routes in the next Zwift update and probably a new world later on, now is a good time to get […]
Mega Pretzel and Greatest London Flat
All of the different ZwiftHacks apps know about the new Mega Pretzel and Greatest London Flat routes. That because they all get the latest list […]
New London routes
There are three new London routes in the new version 1.0.22839 (released for iOS today and eagerly awaited for macOS and Windows – it will probably […]
zwift-preferences and the Jungle Expansion
The addon zwift-preferences (Windows only) has not only been updated with the routes from the latest jungle expansion. In the future it will automatically retrieve the […]
zwift-preferences now with Three Sisters, Greater London 8, Greater London Loop, and The London Pretzel
The addon zwift-preferences (Windows only) now has all the possible route selections, including Three Sisters, Greater London 8, Greater London Loop, and The London Pretzel. The […]
ZwiftPref for macOS & Windows – Change world and other settings
UPDATE: This was the original announcement of ZwiftPref. The most recent information can be found over at the main page for the app. You want […]
zwift-preferences now has Volcano route selection
In support of the new routes in Zwift the addon zwift-preferences now has Volcano route selection. The downloads are already live in the usual place… […]
Bug fix in time zone conversion + just a few other things
A minor bug in zwift-preferences in time zone conversion (when displaying data from MapSchedule.xml) has been fixed. Other changes: You can now open prefs.xml from the Other […]
Zwift may be rolling out the choose a course option in the future, but I think the ability to vary your resistance is very helpful for riders with injuries who just want to spin around their favourite course.
Would you consider taking pity on Mac users and releasing this for the Mac too?
Hi Philip, I’m not sure I will be able to find the time for it. However, you can change the ‘Trainer Difficulty’ in the settings of Zwift yourself.
If you want to spin effortlessly just reduce your weight to a low number for that ride or segment?
Yes, technically you will be cheating and ineligble for “prizes” but it will be the workout you want.
My pc antivirus software wiped your file saying it was a virus within the .exe
It is a false positive from your anti virus software. I have just checked the downloads and they are virus free.
Thanks Jesper, I love it. Am able to follow nice routes now w/out having to concentrate on what turns to take where. Is it possible to do reverse routes this way too somehow?
You can only pick the same routes which you can pick in Zwift, too. To ride a reverse route pick the normal one and start with a u-turn. Unless there are bugs in the routing in Zwift this should take you through the reverse route in its entirety.
ah, stupid me for not thinking of that, thanks Jesper
On Zwift Preference.exe:
what is intended for Trainer effects?
Window: What’s the effect on Minimal UI ? and Minimal Leaderboards ?
Miscellaneous Workouts 2 choices: Use ERG. What is ERG? Or Edit in watts
Excuse my ignorance please
Avast is complaining that the compiled version contains Malware.
It is a false positive. Exactly when do you get the warning – during download or during installation?
Hey Jesper,
1st of all thank you for making our zwift life easier with such a piece of software like zwift preferences so now my feedback, i noticed in the new versions that the given info not matched with the chosen ride in Watopia.
The info for the “Big Loop” must switched with the “Jungle Circuit” info
The Info for the “Jungle Circuit” must switched with the “Road to Ruins” info
The info for the “Road to Ruins” must switched with the “Big Loop” info
Greetings
Thanks for telling me. I’ll fix it.
Where TRAINER_EFFECT number stored? its not in users docments folder file prefs.xml… i need to see what % of reality i have setted now, to be able revert to this setting, cos zwift not allow us to see it in numbers on scale (why?)…
It is in prefs.xml in ZWIFT > CONFIG > TRAINER_EFFECT as a number e.g. 0.5
The entry is first created when a smart trainer has been paired with Zwift (or added by ZwiftPref / zwift-preferences / manually).
thanx, i cant find it cos on laptop i have no try with smart) – on big mashine i think it row must be now… thanx again
Hi Jesper,
I can’t get the new settings to save on the preferences page. I hit the save button and nothing happens. If I click the reload button then everything goes blank. This is for a Mac
Hi Dewey, so we are talking about ZwiftPref here?
First of all, what happens if you press the button ‘Open prefs.xml’ (top right)? Does it open prefs.xml in TextEdit? If it does, please copy the content and send it to me via the contact form at https://zwifthacks.com/contact/
If it does not, can you locate the file prefs.xml using Finder in Documents > Zwift ?
Finally, try to rename the prefs.xml file to something else and launch Zwift. This will create a new prefs.xml file. Does that load properly into ZwiftPref? Please send the content of that new file to me, too.
Can I have a friend or friends join me on the ride if I choose a different route than what is on the calendar? If they do not have this hack, will they still see me and choose to join my ride?
They will also have to use the world hack to be able to ride with you. Otherwise they will be in the world of the day, and you will be in the world you chose.
FAN.. tastic piece of work! Very cool!
A random thought that may not be possible… Zwift opens on 1st monitor. I drag to 2nd monitor, close, change to full screen with ZwiftPref and re-open. As best as I can tell, any Windows disturbance, (restart, Zwift update, etc.) sends Zwift back to home (1st) monitor. Explored a few apps but none seem to be able to tell this app (Zwift) to always open on this screen (2nd [bigger}).
Since you’re already dictating full screen, any possibilities of dictating monitor choice?
Again, great tool! Thanks Jesper!
I’ve got an idea about how to handle this. I just have to find some time to implement it…
Take a look at the new versions of ZwiftPref and zwift-preferences. They both let you remember the preferred monitor (which Zwift stores in prefs.xml) and recall it. Set up Zwift like you prefer to have it, exit the game, and then use ZwiftPref/zwift-preferences to remember the preferred monitor (press the Remember button and do not forget to save/submit). Then you can always later press the Recall button in ZwiftPref/zwift-preferences to write that preference back to prefs.xml.
Hi there,
for some reason when I have installed the program (on windows 10) I click the app in the start menu and then it says that the the program has been changed or moved and so the shortcut won’t work.
It could be your antivirus program which has removed the program. You should check if the program file zwift-preferences.exe or zwift-preferences.ahk is in Documents\Zwift\Scripts or perhaps has been quarantined by your antivirus program.
Will I still get Strava credit using this app? Thanks!
I guess you mean if world hacking affects whether you get credit in certain Strava challenges or not? It shouldn’t mean anything so please share if you experience anything else.
Howdy. Had an old version of the app installed and just tried to install v18 on Windows 10. I get an error after hitting the install button: CreateFile failed; code 2. The system cannot find the file specified. I have already updated Autokeys to 1.130.00.
Any suggestions?
Thank you
My immediate guess would be that your antivirus program (wrongly) has quarantined one or more files. Please check the antivirus log.
I’m just curious when we’ll see the next version that includes the NYC map (no pressure!). We’ve got five more days with it before it switches out, and I know how to edit the prefs.xml file the old fashioned way, but I do enjoy using your program!
Don’t worry – it is almost ready and should be available for download within a day or two 🙂
Great to hear! – one quick note – when you release it, you may want to update the screenshots featured at the top of this page, as it is now they don’t include Innsbruck. (note number two – I just fired up zwift-preferences to see the correct spelling of “Innsbruck,” and there was New York! Excellent speed, my friends!)
For the login AHK script, I would like to be able to use the script to select among three different users who use the same set up. This could maybe be accomplished by adding a button for the different users into the GUI. I tried putting three different instances of the app with different INI file is in different folders, but I can’t get it to clear the previous user when I launch from a different instance.
Do you mean that you cannot get the Zwift Launcher to clear the previous user?
To make Zwift forget the user you can do the following:
Launch Zwift from the start menu
In the ‘Welcome!’ screen with the ‘Let’s go’ button press ‘Change user’
Enter your password, remove the check mark from ‘Remember me’, and press ‘Log in’
When the ‘Welcome!’ screen appears again, close it by clicking on the X in the top right corner.
What a cool app! i’m new in Zwift and was wondering, is it posible to ride Alp du Zwift with this tool whitout getting to lever 12?
No, it doesn’t change level based restrictions in Zwift.
Any ideas why zwiftpreferences doesn’t load anymore?
Error message https://i.imgur.com/MjionAE.jpg
I turned off firewall and AV software to make sure they weren’t blocking something…still won’t “connect” or whatever it is trying to do.
I need a bit of information from you: Which version of Windows are you using? Has it just updated (Windows Update)? Have you restarted the PC?
I’ll have a test version ready for you to try later tonight. I don’t know exactly what has changed in Windows 7 but I think I can work around the problem anyway.
Please try this test version (download, extract, and run the .exe file): https://www.dropbox.com/s/htitlzc8q9rthj6/zwift-preferences-test-2019-08-08%201941.zip?dl=0
If it works for you I will put the changes into the regular version of zwift-preferences.
Sorry for the late reply, was riding oustide and not using zwift as much. Happy to report the test version works for me. Using windows 7 btw. Thank you!
Windows 7 Home Premium
I get this screen when I try to launch the programme after downloading and installing.
Error: 0x80072F7D –
Sourse: WinHttp.WinHttpRequest
Description: An error occurred in the secure channel support
Help File: (Null)
Help Context 0
Speficically: Wait For Response
Line#
139: whr.WaitForResponse()
Continue running the script
Yes No
Looking at the jpg Patrick has I have exact same issue ..I did try restarting the PC and clicking on YES to continue running the script but I saw nothing happening. I deleted Zwift Preferences and reinstalled three times but always ends the same way with the error msg I have posted – same as Patrick
I’ll have a test version ready for you to try later tonight. I don’t know exactly what has changed in Windows 7 but I think I can work around the problem anyway.
Please try this test version (download, extract, and run the .exe file): https://www.dropbox.com/s/htitlzc8q9rthj6/zwift-preferences-test-2019-08-08%201941.zip?dl=0
If it works for you I will put the changes into the regular version of zwift-preferences.
Thank you I am looking forward to going on the Great London Flat that is 7.2 miles, exactly the same distance and same as the TT I have coming up September 7th 🙂
Thank you for this Software.
I have a question, in the software is the Trainer Effect is 50%. Is he in Zwift orginal 100%? I would like to have the basics about my training. Greeting Thorsten
The default value in the game is 50%.
There is no difference between the values you see in the game and in zwift-preferences because zwift-preferences read from and write to the prefs.xml file of the game.
Thank you for the fast response
I tried to download the https://zwifthacks.com/download/zwift-preferences-script/ de .zip file but I get the message there is something wrong with the .zip
The compressed zip file is corrupt
Sorry about that. It has been fixed now.
Cant disable startup music at all – by settings in game, by flag in prefs, by deleting 777200017.wem – nothing helps 🙁 Any suggestions?
And I cannot get it to play at all on the computer I am currently at. Something has changed – the element in prefs.xml used to be TITLE_MUSIC but now the game writes its setting to TITLEMUSIC (without underscore).
I’ll have to investigate a bit more later.
Thanx anyway!) TITLEMUSIC is help 😉
Any idea why when launching Zwift using this script it also launches Internet Explorer pointing to https://forums.zwift.com/ ?
Oops, wrong page, this was supposed to go on the zwift-login page.
That should not be zwift-preferences but could be a pop-up from the Zwift Launcher itself. I recommend that you disable pop-ups for all zwift.com sites in Internet Explorer (which the Zwift Launcher uses internally). Let me know if this helps.
Yes, I made the post in the wrong section, this was relating to zwift-login script. Anyway, thanks for the hint. It turned out that cdn.zwift.com for some reason was excluded from the popup blocker in Internet Explorer on my computer (probably due to some old configuration I did). Removing this entry fixed the problem. 🙂
Great that you could fix it
Zwift-preferences under courses only shows Group Riders Nearby and Surprise Me. I don’t see any other routes listed under any of the worlds. Also, my Zwift status at the bottom always shows a black dot. I don’t have any problems changing the base world. Any ideas? I’m running Windows 7.
Thanks for this software and any help you can provide.
I have a test program I would like you to run. Hopefully it can tell me what the problem is – it is something Windows 7 specific which doesn’t affect everybody.
I’ll send you a link when I’m at a computer.
I have just sent you an e-mail with the link.
Please also check the logs of your anti-virus/anti-malware program to see if it has blocked the download of the content files that zwift-preferences get from the server.
Thanks for the test version. I will install it and let you know what’s going on. I will also check my anti virus logs to see if anything is being blocked.
I checked and it doesn’t seem that anti virus or Malwarebytes is blocking anything. I ran the program that you uploaded and it only opened a window named test-download with an A, B, C, D and E sections. No changes seemed to be made to zwift-preferences. I still don’t see any routes and the status dot is still black.
When downloading the installer package and installing, do I then need to update to the newest version?
You just have to download the installer. That is the latest version.
Menu button? First time using this and I love the clean view but the menu button is gone with the rest of the UI… I only have a wireless mouse so I guess I have to use a keyboard if I want to be able to get into my garage while in a ride? I must be missing something…
Hi, thank you so much for this tool. It’s really helpful.
Can someone just confirm if I can still get route achievements if I don’t use a world that’s on the calendar?
Thinking of doing the PRL Full but it’s hard to get a day that’s suitable with the calendar.
Thanks
You definitely can do that. Enjoy your ride 😉
Hi
I came across https://zwiftinsider.com/config-file-tweaks/ would it be possible to intergrate this in zwift preference
Furthermore would it be possible to make a hardware choice. For instance I sometimes train with Garmin and I would like the setup to be so that Zwift is not controlling the trainer. So different Hardware profile setups.
also the fps on/off option would be nice
H, would it be possible to add an option in miscellaneous for max windows. I dont want Zwift to be full screen but I like to use it in een maximized window. When in Zwift you choose for window i always have to maximize the window. It would be helpfull if this could be default setting in preferences.
It’s a good idea but not something you can control via prefs.xml.
Patrick I made this for people like you and I who use zwifthacks but want a maximized window. https://github.com/wassupluke/better-zwift-launcher
The instructions seem to be missing a step somewhere, or else Bitdefender may be screwing around with the process. I’m not seeing some of the screens described during installation. I end up with a communication error and a question to continue running script.
Probably Bitdefender, then. Please check the Bitdefender history.
Exactly what is the error message?
Thought about updating to the latest version, but Avast told me it contained idp.helu.autoit10.
I would consider that a false positive – the program is virus/malware free and has not been tampered with. The alert most likely come because the installation program isn’t digitally signed (which would cost too much money IMO) or because AutoHotkey is use.
If unsure, don’t install zwift-preferences, or try to choose the installation option WITHOUT compilation to see if that lets you install without alerts.
but Avast…..WITHOUT compilation….worked for me
Great! It’s good to hear.
ZP isn’t working for Watopia routes (that aren’t available as standard) now the new Zwift home screen is live. Is there an update due to fix this problem?
Since Zwift doesn’t show your last selected route in the new home screen you cannot activate a ride on your last selected route anymore. That also means that you cannot activate a ride on a route pre-selected with zwift-preferences. There is no way to circumvent this but let’s hope that Zwift bring back the functionality to see your last selected route.
Hi Jesper,
I love your tool. Great work with it.
Not sure if this is relevant. But your reply here applies for the inability to force-choose “Event-only” routes with the new home screen update, right?
Exactly 🙁
It’s a pity … I love your tool zwift-preferences as I use it every day! Therefore I also hope that Zwift will bring back the functionality you mentioned.
Best wishes and thanks for your efforts on ZwiftHacks!!
Installer asks me to install autohotkey. But I’m not getting past completion of the AHK install for some reason. As the zwift preferences installer keeps complaining about this. Is there anything that needs to be configured in AHK for this to work?
Did you download version 1.1 or 2.0 of AutoHotkey? It has to be 1.1 for the version check to pass. I can see that version 2.0 was released just a few days ago but my scripts have not been updated to run with that, so stick to 1.1.
2.0, then uninstalled it, and installed 1.1. Still No-go. Unistalled that too and started over. And THEN it worked. Just so everyone knows. Thx.
Good that you got it working. Thank you for posting the update.