Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of versions known to build succesfully using debian bookworm #47

Closed
netbrain opened this issue Dec 8, 2023 · 10 comments
Closed

List of versions known to build succesfully using debian bookworm #47

netbrain opened this issue Dec 8, 2023 · 10 comments
Labels
documentation Improvements or additions to documentation

Comments

@netbrain
Copy link
Owner

netbrain commented Dec 8, 2023

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)
@netbrain netbrain added the documentation Improvements or additions to documentation label Dec 8, 2023
@netbrain netbrain pinned this issue Dec 8, 2023
@quietvoid
Copy link
Contributor

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.

@netbrain
Copy link
Owner Author

netbrain commented Dec 8, 2023

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.

@netbrain
Copy link
Owner Author

netbrain commented Dec 8, 2023

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

@netbrain netbrain changed the title List of working versions known to build succesfully using debian bookworm List of versions known to build succesfully using debian bookworm Dec 8, 2023
@quietvoid
Copy link
Contributor

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.

@netbrain
Copy link
Owner Author

I've implemented your suggestions and also added a winetricks zwift verb. Would you mind taking a look at it?

#50

@netbrain
Copy link
Owner Author

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.

@netbrain
Copy link
Owner Author

4.71 GB when pushed to docker hub, pretty nice, if i may say so myself :)

@quietvoid
Copy link
Contributor

FYI with the latest winetricks version 20240105, the games category was removed.
So it needs to be replaced by apps in the verb file.

@netbrain
Copy link
Owner Author

netbrain commented Feb 2, 2024

#69

Like this?

@quietvoid
Copy link
Contributor

quietvoid commented Feb 2, 2024

#69

Like this?

Yes but I didn't test if apps works with the currently used version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants