Giter VIP home page Giter VIP logo

Comments (11)

terrymacdonald avatar terrymacdonald commented on May 28, 2024

from displaymagician.

DragRedSim avatar DragRedSim commented on May 28, 2024

from displaymagician.

terrymacdonald avatar terrymacdonald commented on May 28, 2024

Hmmm. Very interesting indeed. Thanks for the research, I'm going to have to do some deeper reading and testing on my own PC.

TBH I've never really liked the games parsing part of DisplayMagician. It's always felt a bit too brittle, but it's weirdly been the most reliable bit of the software so far! These changes were always going to turn up sometime, but I was hoping that they'd happen AFTER I shipped DisplayMagician v2.0.0. There are some major changes coming in that new version of DisplayMagician that will make display profile changes much more reliable, and make DM record a LOT more information about the display configurations. It's also adding AMD Eyefinity support.

I'll do a deep dive over the next week to see what I can find. I purposely move games into multiple drives and multiple libraries in each of the game libraries I support so that I could find where the information about them was stored, so I could properly support as effectively as possible, so it's a tad annoying to find out the info might have moved :).

I've got the same Jul 20 steam client, that at least helps. When was your Steam client last reinstalled? Did you move from another PC to the one you're using now recently? I've had my Steam library for ages, and I wonder if it could be a newer feature for newer games? Actually, I might go buy a new game too, to see if it turns up in DM... something so I can find the pattern.

Thanks for the file, the heads up and the additional info! It's all useful stuff.

Terry

from displaymagician.

terrymacdonald avatar terrymacdonald commented on May 28, 2024

FYI, fix was pretty easy to add. I've added it into DisplayMagician v2.0.0 codebase for now as that will be the next release I do. Should be within the next 2-3 weeks all things going well!

Thanks for your awesome help on this!

Thanks
Terry

from displaymagician.

terrymacdonald avatar terrymacdonald commented on May 28, 2024

Just an update to add. The logic I recently created for this was slightly flawed, and additionally Steam appears to have updated the libraryfolders.vdf file structure from when I did my testing.

The upshot is that I had to redesign this parsing code, and it now uses a combination of the library folders.vdf and original config.vdf, and combines the library locations together into a list of places to check.

This means that DisplayMagician will support old installs of steam, as well as new installs of steam equally well!

I'm closing this issue as its been integrated into DisplayMagician V2.0.0, and will be released when the next version is ready to go.

Thanks
Terry

from displaymagician.

terrymacdonald avatar terrymacdonald commented on May 28, 2024

Great news! DisplayMagician v2.0.1 has been released, and it should fix this very issue. Please test it out, and if you still have any issues please log a new issue. You can get DisplayMagician v2.0.1 from here: https://github.com/terrymacdonald/DisplayMagician/releases/tag/v2.0.1

I'm closing this issue as the fix is in DisplayMagician v2.0.1, and I need to clear out the completed issues so I am able to work on the new issues that come in.

Thanks
Terry

from displaymagician.

DragRedSim avatar DragRedSim commented on May 28, 2024

Well, good news and bad news. The good news is that all the Steam games show up now! The bad news is that other library games don't show up, nor do they have icons. I'm going to try a debug build shortly to see where it's falling over.

from displaymagician.

terrymacdonald avatar terrymacdonald commented on May 28, 2024

from displaymagician.

DragRedSim avatar DragRedSim commented on May 28, 2024

Here's the latest trace - DisplayMagician.zip. Some notes I made:
Key line: 2021-10-04 01:00:35.2052|WARN|DisplayMagician.UIForms.GameAdaptor|GameAdapter/GetThumbnail: Exception caused while trying to get the Game Bitmap.

There's nothing installed in GOG at the moment, so no issues there.
The function on the line https://github.com/terrymacdonald/DisplayMagician/blob/main/DisplayMagician/GameLibraries/OriginLibrary.cs#L440 isn't working correctly. A trace output gives the following:
2021-10-03 21:08:51.7955|TRACE|DisplayMagician.GameLibraries.OriginLibrary|OriginLibrary/LoadInstalledGames: Found .mfst files in Local Content Directory C:\ProgramData\Origin\LocalContent: System.String[]
Some of the Origin games use a different XML format for their installerdata.xml. I've included the file for Battlefield 1942 for reference. (not that this is necessarily a game I was wanting to use DM for, just the first one with a suitable example) I've also included the installerdata.xml from NFS Rivals, since that uses a manifestVersion of 3.0.
Some Origin games have their manifests point to the Registry for launcher locations; however, for some games, there is no entry in the 64-bit registry, but it is stored in the WOW6432Node version. I believe this may have been caused by installing via Origin, and not the EA app, a long time ago, when it was only a 32-bit application.

Side note: it would be handy to be able to filter the list when creating a shortcut, or at least to be able to select by typing the game name. Sorry about the messy thought collection, 1am here.

from displaymagician.

terrymacdonald avatar terrymacdonald commented on May 28, 2024

@DragRedSim please add yourself as a watcher to the new issue I've created (#43). We'll start tracking this origin parsing problem under that new issue.

I'll have time to look at that later this evening. Thanks so much for all the hard work you've been putting in to track down the issue. I really appreciate it. It makes my job a while lot easier!

Thanks
Terry

from displaymagician.

terrymacdonald avatar terrymacdonald commented on May 28, 2024

@DragRedSim I've created that new issue #43, and I've created a new test build for you in that issue. Please read the issue here: #43 (comment)

The test build above should now work for v3.0 manifest files, but I'll need you to do some sleuthing for me in order to support v2.1 manifest files. Turns out the v2.1 manifest files don't contain a link to the game exe.... so I need you to hunt around and see where else the game exe data exists. Please see that commen linked above for more info, and please reply within that other issue #43.

Thanks
Terry

from displaymagician.

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.