Closed netbrain closed 7 months ago
wine, winetricks, wine-mono |
---|
zwift_build (8.0.2~bookworm-1, 20210206, 7.4.0) |
zwift_build (8.0.1~bookworm-1, 20210206, 7.4.0) |
zwift_build (8.0.0.0~bookworm-1, 20210206, 7.4.0) |
zwift_build (7.0.2~bookworm-1, 20210206, 7.0.0) |
zwift_build (7.0.1~bookworm-1, 20210206, 7.0.0) |
zwift_build (7.0.0.0~bookworm-1, 20210206, 7.0.0) |
zwift_build (7.0.0.0~bookworm-1, 20210825, 7.0.0) |
zwift_build (7.0.0.0~bookworm-1, 20220328, 7.0.0) |
zwift_build (7.0.0.0~bookworm-1, 20220331, 7.0.0) |
zwift_build (7.0.0.0~bookworm-1, 20220411, 7.0.0) |
zwift_build (7.0.0.0~bookworm-1, 20220521, 7.0.0) |
zwift_build (7.0.1~bookworm-1, 20210825, 7.0.0) |
zwift_build (7.0.1~bookworm-1, 20220328, 7.0.0) |
zwift_build (7.0.1~bookworm-1, 20220331, 7.0.0) |
zwift_build (7.0.1~bookworm-1, 20220411, 7.0.0) |
zwift_build (7.0.1~bookworm-1, 20220521, 7.0.0) |
zwift_build (7.0.2~bookworm-1, 20210825, 7.0.0) |
zwift_build (7.0.2~bookworm-1, 20220328, 7.0.0) |
zwift_build (7.0.2~bookworm-1, 20220331, 7.0.0) |
zwift_build (7.0.2~bookworm-1, 20220411, 7.0.0) |
zwift_build (7.0.2~bookworm-1, 20220521, 7.0.0) |
zwift_build (8.0.0.0~bookworm-1, 20210825, 7.4.0) |
zwift_build (8.0.0.0~bookworm-1, 20220328, 7.4.0) |
zwift_build (8.0.0.0~bookworm-1, 20220331, 7.4.0) |
zwift_build (8.0.0.0~bookworm-1, 20220411, 7.4.0) |
zwift_build (8.0.0.0~bookworm-1, 20220521, 7.4.0) |
zwift_build (8.0.1~bookworm-1, 20210825, 7.4.0) |
zwift_build (8.0.1~bookworm-1, 20220328, 7.4.0) |
zwift_build (8.0.1~bookworm-1, 20220331, 7.4.0) |
zwift_build (8.0.1~bookworm-1, 20220411, 7.4.0) |
zwift_build (8.0.1~bookworm-1, 20220521, 7.4.0) |
zwift_build (8.0.2~bookworm-1, 20210825, 7.4.0) |
zwift_build (8.0.2~bookworm-1, 20220328, 7.4.0) |
zwift_build (8.0.2~bookworm-1, 20220331, 7.4.0) |
zwift_build (8.0.2~bookworm-1, 20220411, 7.4.0) |
zwift_build (8.0.2~bookworm-1, 20220521, 7.4.0) |
It's a bit weird that the mono version matters considering winetricks is supposed to uninstall it.
Anyways, I've made it work with the latest versions of wine/winetricks in an ArchLinux image as well. As long as wine-mono 7.4 is installed first. Need to test a bit more.
Yeah, I don't know why this is the case.
Would be interesting to see how different distros stack up on the compatibility list of versions here. Maybe we should make a dockerfile per distro kind of thing?
The best outcome here would be if we could statically compile wine and have it run zwift and create a minimal image. But i doubt that would work, too many system dependencies i think.
I'm also eager to test a nix container of this to see if we can further improve this in terms of compatibility/container size or any other factors for that matter.
seems this is the latest version that will build on debian bookworm zwift_build (8.0.2~bookworm-1, 20220521, 7.4.0)
when using winehq-stable that is
The basics seem to be that dotnet20
and d3dcompiler_47
aren't necessary anymore.
Installing dotnet48
after wine-mono
version 8.1.0
works fine, with manual intervention for some errors that don't break setup.
My image based on Arch is around ~4GB smaller, probably because there are less dependencies.
I've implemented your suggestions and also added a winetricks zwift verb. Would you mind taking a look at it?
Can also confirm that we get about a size reduction with this change.
netbrain/zwift 1.54.0 0b973b171209 8 hours ago 11.9GB
netbrain/zwift latest f6c54d2d9b23 6 days ago 13.3GB
The 1.54.0 is the newly built image using #50 while the other is pulled from docker hub.
Not sure what the gzipped size will be after push to docker hub tho.
4.71 GB when pushed to docker hub, pretty nice, if i may say so myself :)
FYI with the latest winetricks
version 20240105
, the games
category was removed.
So it needs to be replaced by apps
in the verb file.
https://github.com/netbrain/zwift/pull/69
Like this?
https://github.com/netbrain/zwift/pull/69
Like this?
Yes but I didn't test if apps
works with the currently used version.