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

Sherlock Holmes Chapter One ultrawide #58

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

marianoag
Copy link
Contributor

I made this to be able to use one of two UW fixes automatically. it supports:
RoseTheFlower/SherlockHolmesCOUltrawide
PhantomGamers/shco-wsf

First it checks that the display is UW (in case there was a UW fix but the display changed or the game files were copied for example to a SteamDeck) Then it checks if Rose fix is already present, after it checks for Phantom's and if neither is present it downloads Rose's one. The first is more complicated (it's a trainer) the other is an ASI loader.

For the trainer it checks for the game pid (made a function for that), to be sure it's running before launching the trainer in another thread, then it keeps checking every 5 seconds until the game is not running anymore so it can kill the trainer (otherwise Steam thinks the game is still playing)

Also it does another thing that is not necessary, but more convenient especially if playing with a gamepad, it minimizes the launcher window. For this it needs xdotool and libxdo.so3.

This is cumbersome it needs to download two .deb files and since /usr/bin/ar is not present it downloads busybox_AR to decompress them, then it decompresses the tar.xz inside (luckily with python this time) It would be great if xdotool and libxdo.so3 could be included alongside xrandr.

I hope it can be included even if it's not a fix, since it does nothing unless there's an UW monitor. I prefer not to but if needed i could remove both the atomatic download and the minimization of the trainer to remove the need for xdotool.

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Apr 15, 2024

I appreciate the effort here to improve the game. But since this game seems to already be playable and this module is not fixing anything in the wine prefix that would bring it to a playable level for users, I believe it would be out of scope for this project...

Also, you're applying the mods by default for all users. So even if it's merged, I believe it would be best that you make users aware of it and allow them to enable each mod via an environment variable.

@marianoag
Copy link
Contributor Author

I appreciate the effort here to improve the game. But since this game seems to already be playable and this module is not fixing anything in the wine prefix that would bring it to a playable level for users, I believe it would be out of scope for this project...

It's not exactly a fix, but it fixes something that cannot be easily done in Linux but it can be done in Windows. You cannot alt-tab and then doubleclick the trainer executable, you have to launch it with Proton in the same prefix. So you would need to make a script to run the trainer.
And in the case of the ASI loader it needs a dll override.

Also, you're applying the mods by default for all users. So even if it's merged, I believe it would be best that you make users aware of it and allow them to enable each mod via an environment variable.

It doesn't apply the fix by default it checks for a resolution of 21:9 or wider first. Also the download of the fix could be eliminated and then only if the user downloaded the zip to the install folder it will be applied.

@R1kaB3rN
Copy link
Member

R1kaB3rN commented Apr 16, 2024

This isn't a fix and doesn't bring the game to a Playable level, so I don't plan to merge it in this project. I'll leave this open though, unless someone on the team thinks otherwise

This is more suited for another project that I plan on trying to get in GE in the future, since some games require mods or patches to either improve the gaming experience or had to be purposely left out due to Steam's content restrictions

@marianoag
Copy link
Contributor Author

This isn't a fix and doesn't bring the game to a Playable level, so I don't plan to merge it in this project. I'll leave this open though, unless someone on the team thinks otherwise

Like i said i know it doen't make a game playable, but there are 2 very different UW fixes:

Rose (trainer) What it does is launch the trainer, minimize it and close it when the game is finished. Compared to windows where you have to double click to launch the trainer, with proton to be able to do the same you would have to create a script where you launch the game using the game's prefix. if the goal is to behave the same way as Windows.
Minimize and close the trainer after the game ended is something that the Windows users would have to do just like us, this part is just an enhancement.

Phantom (loader) Unlike the other which i understand if it's not included, this behaves very differently. If the user copies the files to the binaries folder then it would just work in Windows. In Proton you need to override dsound.dll to make it work. And it's just 1 line (3 if you include a check for 21:9 or wider and if dsound.dll exists)

This is more suited for another project that I plan on trying to get in GE in the future, since some games require mods or patches to either improve the gaming experience or had to be purposely left out due to Steam's content restrictions

This is interesting, i would like to know more about it. I suppose that it includes Gamescope too? (saw your drafts was waiting for it)

Also it would be great to have a compatibility tool that you can choose for any game, something that would check the game and the use your future project or Roberta or Boxtron or Luxtorpeda and if none targets the game then just use GEProton.

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

Successfully merging this pull request may close these issues.

None yet

2 participants