italomandara / CXPatcher

A patcher to upgrade Crossover dependencies and improve compatibility
GNU General Public License v3.0
963 stars 24 forks source link

UE4 hack with linear contrast #6

Closed sofakng closed 1 year ago

sofakng commented 1 year ago

The UE4 hack with linear contrast works fantastic!

Are you the author or did this come from somewhere else?

italomandara commented 1 year ago

Thanks! I'm the author, but the main workaround for skipping/overriding LUT that made this possible comes from @nastys To be fair both of those hacks are just temporary workarounds, they were used to explore how to fix the issue but since geometry shaders implementation was procrastinated for years in some libraries, I got tired and used this hack to unlock some games... this dirty hack is far from a final solution to the issue, and hopefully geometry shaders will be implemented soon.

sofakng commented 1 year ago

Thanks again! Yes, I was aware of @nastys workaround but the gray colors were distracting so I appreciate your additional workaround.

I really hope the final solution (geometry shaders) is not too far off. I've been hoping it would be prioritized because it would fix a ton of games.

sofakng commented 1 year ago

One more question...

I'm using your patches with @gcenx's wineskinserver (instead of crossover).

Are your included DXVK DLLs different from @gcenx's? (https://github.com/Gcenx/DXVK-macOS/releases, v1.10.3-20230402)

Also, what is your included ntdll.so?

Thanks again for everything!

Gcenx commented 1 year ago

@sofakng this is using DXVK-macOS v1.10.3-20230402

WS11WineCX64Bit22.1.1-rc1 shipped ntdll.so unix library's already includes the fastmath/lod workaround hacks. The one in CXPatcher is more specific to CrossOver.

sofakng commented 1 year ago

Got it. Thanks! It sounds like I only need to be concerned with the new libMoltenVK.dylib file then.

Thanks so much for your hard work guys! I saw the videos of Deep Rock Galactic working which is fantastic!

anatoliykant commented 1 year ago

Can UE4 hack help me with video glitches in games like Starship Troopers Terran Command & Pharaoh A New Era?

Video screenshot from the game Starship Troopers Terran Command: https://i.imgur.com/KfPmaz0.jpg

italomandara commented 1 year ago

Starship Troopers Terran Command & Pharaoh A New Era

Only if it's a ue4 game on dx11 but it's not guaranteed for all games, also Gptk will work much better if you're on sonoma.

anatoliykant commented 1 year ago

FIXED

Yes, I'm sorry I didn't specify my environment right away.

Env:

I managed to fix a glitch when playing a video in the menu before starting any mission in the game Starship Troopers - Terran Command Just had to carefully re-patch Crossover with CXPatcher + gptk 1.0.2 After that, the video in the game is displayed as it was intended by the developer (without shader errors and glitches). proof - https://imgur.com/3pBsfFH

P.S. Most of the games on my steam run fine on vanilla gptk 1.0.2 + terminal (without using Crossover). But Starship Troopers - Terran Command won't even launch.

italomandara commented 1 year ago

Sorry just doing a cleanup of non-issues in this section of the repo, thanks for the feedback for further questions/discussions please use https://github.com/italomandara/CXPatcher/discussions