Code Monkey home page Code Monkey logo

Comments (10)

netbrain avatar netbrain commented on June 3, 2024 1

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

#50

from zwift.

netbrain avatar netbrain commented on June 3, 2024 1

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.

from zwift.

quietvoid avatar quietvoid commented on June 3, 2024

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.

from zwift.

netbrain avatar netbrain commented on June 3, 2024

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.

from zwift.

netbrain avatar netbrain commented on June 3, 2024

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

from zwift.

quietvoid avatar quietvoid commented on June 3, 2024

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.

from zwift.

netbrain avatar netbrain commented on June 3, 2024

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

from zwift.

quietvoid avatar quietvoid commented on June 3, 2024

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

from zwift.

netbrain avatar netbrain commented on June 3, 2024

#69

Like this?

from zwift.

quietvoid avatar quietvoid commented on June 3, 2024

#69

Like this?

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

from zwift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.