Git Product home page Git Product logo

Comments (11)

Xvatten avatar Xvatten commented on August 17, 2024 3

This will be very helpful for users. Even make minigalaxy more attractive.

from minigalaxy.

sharkwouter avatar sharkwouter commented on August 17, 2024 1

Support for installing DLC has been merged.

from minigalaxy.

jeffangelion avatar jeffangelion commented on August 17, 2024

Minigalaxy already has FPS counter, DLC installation will be another killer feature
I personally like Minigalaxy more than Lutris

from minigalaxy.

makson96 avatar makson96 commented on August 17, 2024

I will take on this one. I have some early experiment in:
https://github.com/makson96/minigalaxy/tree/dlc-support
The idea is that nothing changes for menu for games without DLCs:
normal_tile
But for games with DLCs, there will be additional submenu for DLCs:
dlc_tile
This submenu will have each row for every DLC.
Each row consists of three elements:
icon (dlc sidebar)
DLC Title
Button for download (which will be replaced by "OK" icon if DLC is already downloaded and up to date).

Please tell me if such a design is ok for you.

I am confident that I can handle it from Python code side, but I am not the best at Glade Gtk, so I could probably use some of your help it this regard. If specific question materialize, I will let you know.
Best regards,
Tomek

from minigalaxy.

sharkwouter avatar sharkwouter commented on August 17, 2024

That looks good, although I would put the DLC option above "Uninstall". Feel free to ask questions on Discord. Thanks for picking this up!

from minigalaxy.

sharkwouter avatar sharkwouter commented on August 17, 2024

The main thing I'm worried about with this would be the amount of API calls. Would it be possible to get is information in the same call which is being executed to check for updates?

from minigalaxy.

makson96 avatar makson96 commented on August 17, 2024

Thanks for early feedback. Both of your concerns are already addressed in the branch.
I manage to figure out UI (it looks like Gtk was not that hard after all). At the moment it looks like this:
dlc_tile2
You can even click download button and dlc installer info will be printed to stdout.

Can you tell me if this branch affect minigalaxy initial load time a lot, or is it only my internet is so slow?

from minigalaxy.

makson96 avatar makson96 commented on August 17, 2024

OK.
Branch now mostly works as I expect.
I just need to add some exception handling and clean some code and it will be good for merge:
stellaris_dlc1
stellaris_dlc2

from minigalaxy.

sharkwouter avatar sharkwouter commented on August 17, 2024

Great, that looks good! I'm looking forward to the pull request. I haven't had time to look at the code itself so far unfortunately, but I'll make some time for it either today or on the weekend.

from minigalaxy.

sharkwouter avatar sharkwouter commented on August 17, 2024

I tested it for a little bit now. I don't know if I own any games with for which I own DLC. What I noticed so far is that the DLC button also appears if you do not own any DLC for the game and that it looks very different from the other buttons. I don't quite know how to test better this, sorry about that.

from minigalaxy.

makson96 avatar makson96 commented on August 17, 2024

in gametile.py in __check_for_dlc in second line of this function can you add "print(dlcs)". Lets see what is there in some of your games without dlcs.

from minigalaxy.

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.