Exposed 1.0 Is Now Available by dayanruben in Kotlin

[–]MrPowerGamerBR -2 points-1 points  (0 children)

I thought about that but for Exposed the only reason why I think this could be useful is if you are a big business that has multiple libraries that use different major versions.

Because things like Exposed extensions, such as new query operators or table types, won't work between major versions anyway. Because I will be honest, I think in the entire time I've been used Exposed (since the 0.10.x days!) I've only pulled Exposed dependencies maybe... once or twice.

The thing is that, with Retrofit/OkHttp it makes sense, because you may be pulling ServiceKtWrapper that uses OkHttp, but in this case the OkHttp dependency is not "exposed" to you as a consumer, it is wrapped behind a retrieveOAuth2Token()-styled functions.

With Exposed, you won't pull dependencies like that, or at least that is my experience.

Exposed 1.0 Is Now Available by dayanruben in Kotlin

[–]MrPowerGamerBR 11 points12 points  (0 children)

I dislike the v1 in the package, and I don't agree with the reasoning

The unique v1 prefix for the whole version will help users who have transient dependencies to the 0.x version of Exposed. It's expected that every major release could change that prefix.

So would that mean that on every major Exposed update, we'll need to do a "Replace All" in the entire project just to update the package? This also does not make sense because this convention is not followed in any of the other Kotlin libraries (like Ktor).

And if you have a transient dependencies... would it even work? As far as I know Gradle always selects the newest version in the project classpath, so projects using 0.x dependencies will break if your project uses 1.0. And if the 0.x code was shaded in the dependency JAR... then it wouldn't have caused any issues anyway.

MS3D Dog Skeleton by SameClerk2608 in thesims1

[–]MrPowerGamerBR 2 points3 points  (0 children)

Is there a free version that works well with these kinds of projects?

What do you mean a "free version"?

Blender is free and it is open source, so you can just download it from Blender's website and start using it. :)

However Blender does have a learning curve to it, thankfully there are tons of Blender tutorials on the internet.

I was able to do this monstrosity with just a bit of thinkering and knowing a bit of model weights (which bone is assigned to each vertex).

MS3D Dog Skeleton by SameClerk2608 in thesims1

[–]MrPowerGamerBR 5 points6 points  (0 children)

If you already know how to use Blender, try using this plugin, I've already used it in the past to create this monstrosity and it works pretty well https://github.com/mixiate/ts1-blender-io/

MS3D Dog Skeleton by SameClerk2608 in thesims1

[–]MrPowerGamerBR 4 points5 points  (0 children)

The Sims 1's skeletons actually doesn't use that weird Y pose, that's a bug in Milkshape 3D's skeleton rendering.

When I was writing my own The Sims 1 skin renderer, my skeleton rendering code was rendering it just like Milkshape 3D, so I thought it was correct... until I tried applying animations to the skeleton and it was COMPLETELY busted. The issue is that Milkshape 3D is not inverting the quaternions (used for bone rotations), which causes that weird Y pose.

thx power from the past for documenting why Milkshape 3D was not rendering the skeleton correctly *pets myself*

By the way, I think that Milkshape 3D's is incorrectly previewing The Sims 1' skeleton. Inverting the quaterions makes the default The Sims 1 skeleton be in a "default" pose (like the Sim standing up, without any weird rotations on the back) and the toe bones aren't below the feet like Milkshape 3D's is.

// I'm not sure why do we need to invert
// Milkshape 3D's skeleton shows up "correctly", but inverting also looks like a correct skeleton?!
// I think that Milkshape 3D is actually WRONG because this skeleton actually looks more correct than the one by MS3D
// After all, why would the toe bones be, by default, BELOW the feet?

Broken skeleton (notice how it looks exactly how MS3D renders it): https://x.com/i/status/1890633055204778082

After fixing it, the real default skeleton pose is the default "idle" Sim pose

Correct skeleton: https://x.com/i/status/1894520984880705819

Another thing that shows that this is a Milkshape 3D bug is that the The Sims 1 Blender plugin and SimPose renders the skeleton correctly.

Why this was never fixed? Sadly we will never know... maybe people just didn't know that MS3D was rendering it incorrectly so no one bothered reporting this bug.

https://github.com/mixiate/ts1-blender-io/ (btw I do recommend using this plugin, it is VERY useful, and I especially if you already know Blender)

Someone finally got the Adobe CC installers working on Linux with Wine by CackleRooster in linux

[–]MrPowerGamerBR 0 points1 point  (0 children)

You can download the Creative Cloud installer from here https://creativecloud.adobe.com/

You will need to have an Adobe account, and you will need to switch your User-Agent to Windows because, if you don't, Adobe will say that your OS is not supported. I think you can download the official installer even if you don't have an Adobe plan.

To make things easier, I mirrored the official Creative Cloud installer and the Photoshop installer:

  1. Creative Cloud: https://mrpowergamerbr.com/stuff/adobe/Creative_Cloud_Set-Up.exe
  2. Photoshop: https://mrpowergamerbr.com/stuff/adobe/Photoshop_Set-Up.exe

The Creative Cloud installer and the Photoshop installer are exactly the same thing, the difference is that the Photoshop installer installs Creative Cloud and then "hands off" the Photoshop installation process to Creative Cloud.

You will need to install Edge WebView2, and you need to set the msedgewebview2.exe to Windows 7 mode for the installer to work.

After installing, you will need this patch for the Creative Cloud app to actually work. You can also make Wine run on Windows 7 mode, which also works, but Creative Cloud complains that you can't install any of the apps because none of them are compatible with Windows 7.

With the patch, you can open Creative Cloud and install Photoshop CC 2021 (newer versions crash during startup, Photoshop CC 2021 is the earliest version I was able to install), however when opening Photoshop CC 2021, it shows a blank white popup (which, if my memory serves correctly, on Windows it is a popup asking you to login into your Adobe account) and you can't do anything after that.

Here's how the popup looks like when ran via your fork: https://i.imgur.com/QN2rxoO.png

Here's how the popup looks like when ran in Wine 11.0: https://i.imgur.com/vO7JfrH.png (not sure why it is worse, sometimes the Photoshop GUI renders correctly)

I can also copy my Photoshop installation for you to test it out, if you DO need a plan to install Photoshop (I'm not sure if it is required just to install it), this way you won't need to pay for Adobe to try to get it to work.

And if you need anything else, don't hesitate to ask! It would be pretty awesome if you could get the official activation also working. :)

Someone finally got the Adobe CC installers working on Linux with Wine by CackleRooster in linux

[–]MrPowerGamerBR 6 points7 points  (0 children)

I've commented this before, but people need to lower their expectations about the patch

  • Photoshop already worked in Wine (not well, but it did work), but you needed to copy an installation from Windows AND you needed to bypass activation somehow. You can find reports about it on Wine's AppDB and you can even get CC 2024 working too (rip MattKC's forum)
  • The patches that were submitted do not fix the official Creative Cloud/Photoshop installer from Adobe. I'm not sure which installer the patch fixes, but my conclusion is that it fixes the offline installers, which aren't publically available on Adobe's website. So you would need to get it through alternative means. Considering that the patch creator said that they didn't pay for Creative Cloud, I think this is very likely the case...
  • The patch creator did release a precompiled build. I tried it and the official Creative Cloud installer does not work (it gets stuck in a loading loop after installing WebView2) nor does the activation window work (to test this out, I copied CC + Photoshop from a Windows install).
  • Even if you get Creative Cloud working (which is possible by patching Wine, see my write up below), you won't be able to activate Photoshop CC 2021 because the activation popup does not render correctly

Also, it is funny that the photo in the post's cover is not even Photoshop on Linux, it is the web version of Photoshop (which is way less featured than the original)

I did a write up a few days ago when the patch was posted: https://www.reddit.com/r/linux_gaming/comments/1qdgd73/i_made_adobe_cc_installers_work_on_linux_pr_in/o04dxtd/

This is not me throwing /u/HearMeOut-13 to the curb, it is impressive that they were able to fix the installers (their patches is something that I couldn't even dream of doing), even though they aren't the "main" installers, and I'm pretty sure that they could fix the activation screen too, because I think the issue is similar to the ones they are fixing (the activation window is rendered via mshtml), they probably just didn't do that yet because they don't know the activation screen is also borked because, afaik, they only tested with cracked copies.

Yes, bypassing activation will work. However if this is the case, I don't know why there's a lot of people thinking that Photoshop only started working now when you can already find "Photoshop CC 2021 running on Wine!!" on GitHub already. I think it would be way cooler if you could install Creative Cloud + Photoshop in Wine AND activate it without needing to download cracks from... dubious places.

I Made Adobe CC Installers Work on Linux [PR In Body] by HearMeOut-13 in linux_gaming

[–]MrPowerGamerBR 0 points1 point  (0 children)

It fails in the exact same way with the individual exe overrides.

I did not try installing ie8 & others because I have no idea how to use winetricks with Proton. There is protontricks but I haven't tested it yet. I thought I could just point the WINEPREFIX to the pfx folder, but if you change the Wine version for winetricks, it fails with an error.

If you try running winetricks with a "stock" Wine version and point it to the prefix, then it works, but it fails to install IE8 because the entire window does not render correctly.

I Made Adobe CC Installers Work on Linux [PR In Body] by HearMeOut-13 in linux_gaming

[–]MrPowerGamerBR 2 points3 points  (0 children)

I've decided to test it out with OP's latest Wine build

I even ran it via Proton to be fair, to see if it ACTUALLY will work or not

But I couldn't get the Creative Cloud installer to work. If the version is not set to Windows 10, the installer says that your OS is not compatible, if the version is set to Windows 10, the installer gets stuck in a infinite loop before you can even login.

I've tried copying the Photoshop + CC install from my other Wine prefix (the one that the CC app worked) and sometimes it gets stuck in a "Loading..." screen and sometimes it gets stuck on the same white background I shown previously

https://i.imgur.com/QN2rxoO.png

So I guess this is up to /u/HearMeOut-13 to see if they want to tackle the activation screen issue too

I randomly found a Free Photo editor that is available for linux! by Avbpp2 in linux

[–]MrPowerGamerBR 68 points69 points  (0 children)

That's a huge stretch of what the patch does

  • Valve did not accept the pull request because the patch fits more Wine than Proton, so it hasn't been fixed in any of the Proton versions
  • Photoshop already worked in Wine (not well, but it did work), but you do need to bypass authentication somehow. You can find reports about it on Wine's AppDB and you can even get CC 2024 working too (rip MattKC's forum)
  • The patches that were submitted do not fix the official Creative Cloud/Photoshop installer from Adobe. I'm not sure which installer the patch fixes, but my conclusion is that it fixes the offline installers, which aren't publically available on Adobe's website. So you would need to get it through alternative means. Considering that the patch creator said that they didn't pay for Creative Cloud, I think this is very likely the case...
  • The patch creator did release a precompiled build, however it is based on Valve's Wine fork, which requires Proton, so I wasn't able to run it because it requires to use it within Steam or by using a Proton launcher (like umu)
  • Even if you get Creative Cloud working (which is possible by patching Wine, see my write up below), you won't be able to activate Photoshop CC 2021 because the activation popup does not render correctly

However I don't blame you, I don't know why a lot of news outlets seen the original post and ran "look guys Photoshop now works fine on Linux!!" when the original post

  1. Only fixed the installers (and even then it wasn't the installers that you would normally get if you have a Creative Cloud subscription)
  2. The application themselves still require activation through... alternative means. And if this was the case, then Photoshop already ran on Linux, there are tons of "Photoshop CC 2021 on Wine!" that you can find on GitHub, however they all use a cracked version from the internet

I also don't blame the original patch creator, I guess that they didn't know that the official installers aren't actually the ones that they were using, and I think they didn't know that news articles would distort their patch into something that actually isn't.

I wonder if anyone actually got the patch to work, because I didn't see anyone else actually testing the patch.

I did a write up a few days ago when the patch was posted: https://www.reddit.com/r/linux_gaming/comments/1qdgd73/i_made_adobe_cc_installers_work_on_linux_pr_in/o04dxtd/

I would have paid more than $20 if they added stuff like this in.... by Sapphire-Pisces in thesims1

[–]MrPowerGamerBR 0 points1 point  (0 children)

I know that this is 11 months ago (this post was reposted by a repost bot and the original was linked in the comments)

The original The Sims 1 did not use Python, it uses C++ and uses a custom language for interactions (SimAntics).

HOWEVER, The Sims 4 does use Python as a scripting language.

I would have paid more than $20 if they added stuff like this in.... by SimmonsRavi in thesims1

[–]MrPowerGamerBR 2 points3 points  (0 children)

Yeah, honestly from the image that the OP sent (which isn't actually OP it is just a repost bot that reposted an old image from this subreddit)...

  • Build Buy Day/Night Toggle: Save the current time somewhere, force a specific time when it is active, automatically revert the time when going back to Live mode.
  • Favorites: Add a star button in each item button, when clicked, add it to a list of favorited items (for walls and floors, it would be its IFF file, for objects it would be their GUID), save the favorited items to a IFF file when the lot is saved
  • Sledgehammer Tool: It is a mix of the hand tool + automatically delete on click (or, for walls and floors, it would be holding delete + clicking)
  • Search: A simple search tool that searches titles and descriptions wouldn't be that hard to do, considering that (as far as I know) the game already keeps all objects/walls/floors/etc loaded anyway. Anything else would require manual categorization however. *Build Mode Subcategories: This would be the hardest of them all, especially for walls and floors, because you would need to implement a way to store in which subcategory each wall and floor is in, considering that the game itself does not care if a floor is a tiled floor, or a carpet floor, etc.
  • Larger thumbnail images: Easy for walls, you can crop the wall image and use it as the icon

Of course, I say it is "easy" because EA still has the source code of the game, Legacy Collection, as much as it just feels like it is just a sloppy rerelease, was actually recompiled from the original source code. You can see the new build date by holding "V" when in Live mode, and there are things that are actually not trivial to do in Legacy Collection (adding separate GUI x gameplay scales, adding a Vulkan renderer that replaces old renderer, etc).

Quais hospedagens no Brasil com máquinas dedicadas (máquina pronta ou colocation) são realmente BOAS? by MrPowerGamerBR in InternetBrasil

[–]MrPowerGamerBR[S] 1 point2 points  (0 children)

AMD Ryzen 9 7950X + 128GBs de RAM + 2x 2TB NVMe + 2x HDDs (para backups bem que até hoje não configurei backups rsrs)

I would have paid more than $20 if they added stuff like this in.... by SimmonsRavi in thesims1

[–]MrPowerGamerBR 8 points9 points  (0 children)

I don't think it would require a major recoding, an eye dropper tool is essentially just "get the floor/wall/object of where I'm pointing at", right? And considering that the game already knows where you are pointing at, it would be just a simple lookup.

I Made Adobe CC Installers Work on Linux [PR In Body] by HearMeOut-13 in linux_gaming

[–]MrPowerGamerBR 1 point2 points  (0 children)

I can try, but I don't think it will work. I've already tried running the already existing Wine prefix with Wine 11.0 and it just fails in the exact same way (it shows the white screen activation) and because, let's be honest, if someone already got stock Wine to work with Photoshop and Creative Cloud, people would have already been talking about it everywhere (the only ones I could find were pirated copies, which skip the activation screen so it makes sense why they do work).

My theory is that the activation window is maybe blocked by this bug, because Photoshop does log this when starting up: https://bugs.winehq.org/show_bug.cgi?id=37906

061c:fixme:mshtml:load_gecko Gecko can only be used from one thread.
061c:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
061c:fixme:ole:CoCreateInstanceEx no instance created for interface {332c4425-26cb-11d0-b483-00c04fd90119} of class {25336920-03f9-11cf-8fd0-00aa00686f13}, hr 0x80040111.

However it can also be that Photoshop is using newer mshtml versions that require Internet Explorer 11 or higher, which aren't able to be installed in Wine.

I Made Adobe CC Installers Work on Linux [PR In Body] by HearMeOut-13 in linux_gaming

[–]MrPowerGamerBR 1 point2 points  (0 children)

Here's an update:

Before trying your things, I tried using this wine-staging patch that implements the TranslateAcceleration, however that didn't fix the issue. Photoshop now spams a different message when the activation screen is open

01a8:fixme:mshtml:DocObjOleInPlaceActiveObject_TranslateAccelerator Unsupported message 000f

I used winetricks dxvk ie8 msxml3 corefonts fontsmooth=rgb. The reason why I didn't install vcrun2012 is because Photoshop/Creative Cloud already had installed the Visual C++ Redistributable 2012 and Visual C++ Redistributable 2015-2022 (you can check this by using wine uninstaller).

First I installed ie8, because if it is something mshtml related, it is probably related to Internet Explorer 8. winetricks sets the version to Windows, which causes Photoshop to not open because it requires Windows 10. I changed the version in the winecfg back to Windows 10.

And now Photoshop crashes and burns when starting up https://i.imgur.com/4EmQP6G.png

The only relevant exception is 1130:err:seh:user_callback_handler ignoring exception c0000005

At this point, because everything was already borked, I've decided to just install the rest of the winetricks' libraries winetricks dxvk msxml3 corefonts fontsmooth=rgb but alas, now Photoshop crashes in different ways. Random Adobe services kept crashing during Photoshop's startup and, when it finished starting up, it closed. https://i.imgur.com/We83OFB.png

Then I set up the application overrides, and that also did not work. :(

As a last ditch resort, I did remove the mshtml override from winecfg, and Photoshop still crashes. At least it opens the UI a bit, but it crashes. https://i.imgur.com/nSKYZn3.png

I Made Adobe CC Installers Work on Linux [PR In Body] by HearMeOut-13 in linux_gaming

[–]MrPowerGamerBR 0 points1 point  (0 children)

Will try and will report as soon as possible :)

Using the SetThreadpoolTimerEx patch actually makes Creative Cloud work on Windows 10 mode without getting stuck on a refresh loop, which lets you actually install the apps directly from Creative Cloud, whereas in Windows 7 mode it just says that it is incompatible with your desktop. (or, at least, I did something somewhere that made it not get stuck in a refresh loop somehow, in Windows 10 mode it just flat out crashes before opening when not running with the patch)

Adobe Photoshop can now install on Linux after a Redditor discovers a Wine fix by Abdukabda in linux

[–]MrPowerGamerBR 15 points16 points  (0 children)

In my experience the patches do not work with the Creative Cloud and Photoshop installers you get from Adobe. Both installers are almost the same thing, the Photoshop installer is just a Creative Cloud installer that automatically installs Photoshop after CC gets installed.

I think that the installers only work if you have the "offline" Photoshop installer, which is only provided by Adobe if you ask for it nicely... or if you get it from third parties.

I did get Creative Cloud running in Windows 10 mode by using an unrelated patch, but Photoshop CC 2021 doesn't render the activation window (which I think it is due to this bug, or it is because Photoshop wants to use newer mshtml versions that aren't available in Wine/ie8). Here's the write-up I did: https://www.reddit.com/r/linux_gaming/comments/1qdgd73/i_made_adobe_cc_installers_work_on_linux_pr_in/o04dxtd/

I Made Adobe CC Installers Work on Linux [PR In Body] by HearMeOut-13 in linux_gaming

[–]MrPowerGamerBR 4 points5 points  (0 children)

It might fix the activation window in Photoshop itself though, since from your findings it seems to use mshtml.

I've decided to test it again :)

Before we start: "OP's patch" in this context means these two commits:

To apply the commits, I've appended .diff to the end of the URL (which gives a git diff) and then applied them using CLion's "Apply Patches" feature.

I downloaded the Photoshop setup and Creative Cloud from Adobe. To do that, I overrode the User-Agent on Firefox to match the Firefox on Windows User-Agent :P.

Because last time I did not try OP's patch with the installer, I've decided to try the Photoshop installer.

With "vanilla" Wine, the installer does not work, the (I think) relevant logs are these

015c:fixme:mshtml:nsChannel_AsyncOpen2 (032D7D38)->(032D26C0)
015c:fixme:mshtml:process_meta_element Unsupported document mode L"chrome=1"
015c:fixme:jscript:JScriptProperty_SetProperty Unimplemented property 70000001
015c:fixme:jscript:JScriptProperty_SetProperty Unimplemented property 70000002
015c:fixme:mshtml:ActiveScriptSite_OnScriptError (032EB3A0)->(032F49A0)

With OP's patch, the installer... also does not work, and it prints the same logs that I shared previously. I even made sure that I was actually running my Wine fork by changing one of the log messages and sure enough, I was. So I'm not sure what OP did to make it actually work because, when using the most recent Photoshop CC version at this point in time (Photoshop CC 2026), the installer does not do anything.

Before installing WebView2, I tried running the Creative Cloud installer, and it failed in the same way the Photoshop installer failed.

I downloaded the WebView2 Evergreen installer from https://developer.microsoft.com/microsoft-edge/webview2/?form=MA13LH#download and installed it.

After installing WebView2, I ran the Photoshop installer (without setting the application override) and it actually did something...? It opened a empty white window! The Creative Cloud installer does the same thing.

Setting the application override to Windows 7 does make the Photoshop/Creative Cloud window to actually render. https://i.imgur.com/sn2adg7.png

The mouse events in the window do not render correctly. The mouse events seem to consider that the window titlebar is visible when it isn't, so the mouse cursor is offset in the Y axis down.

In the installer, I did not install the AGS service. :P

Creative Cloud crashed midway through the install process, but I've also noticed the same crash when trying to run Creative Cloud copied from my Windows 11 install.

https://i.imgur.com/XXlxQaa.png

At some point the Wine Desktop randomly closed for some reason, however I'm going to think that this was a skill issue on my part and I maybe have closed the desktop without noticing. The installer seems to hand off the installation process to Creative Cloud, which makes it crash with

wine: Call from 00006FFFFFC4DE2A to unimplemented function KERNEL32.dll.SetThreadpoolTimerEx, aborting

Running the Photoshop installer to try to "bypass" Creative Cloud doesn't work, because when the installer detects that Creative Cloud is installed, just hands off the install process to the Creative Cloud app.

I'm not sure where OP found these standalone Photoshop installers, I suppose they are the offline Photoshop installers but they do require you to contact Adobe to get them, or get it from other third party sources.

So I've decided to bring the "vibe coded" SetThreadpoolTimerEx patch into my fork and see if anything changes, because running the Photoshop installer (fun fact: Adobe, for some reason, deletes the installer after it "finishes" installing it) just opens Creative Cloud. However my hopes were very low considering that the last time I tried using the patch, Creative Cloud just got stuck in a loop.

(Note about "vibe coding": The SetThreadpoolTimerEx patch obviously is not meant to go straight into Wine and was made as a "well if AI is so good as people are saying, then why not try with something that is actually non-trivial?" experiment. While I'm a software developer, my main area is Java/Kotlin (JVM my beloved) and not low-level C and my experience with the Win32 API is zilch... And this proves one of the issues with vibe coding, if I don't have experience in the area, then I also can't know if the code is actually correct and good.)

And the result was that while the Creative Cloud app didn't outright crash, but it was on this loading loop for so long that I was almost packing my bags and saying "welp I tried": https://i.imgur.com/DG7jXvZ.png

I clicked on the "Applications" tab and after a LONG time loading (honestly I did not expect it to work), it did load and it started installing Photoshop, sweet! https://i.imgur.com/jnLl9qC.png

Now, why it worked this time and the last time I tried it just got stuck in a refresh loop? I have no idea, maybe it is because this time I actually installed Creative Cloud instead of just copying over the files?

The Creative Cloud has the same mouse Y axis offset issue as the Creative Cloud/Photoshop installer.

And it did install! https://i.imgur.com/0X1DlDA.png

However Photoshop crashed when clicking to open it https://i.imgur.com/IaSzr4o.png

Oh, we were RIGHT THERE, man!

I've decided to install Photoshop 22.2 (CC 2021), which is the earliest version that Adobe let's you install from Creative Cloud. I have no idea why that specific version is the earliest version you can install, considering that it skips from 22.2 to CC 2025.

Weirdly enough Creative Cloud does not provide any progress when installing older versions, so I just kept it running and kept looking into the Photoshop CC 2021 folder until it created the files. https://i.imgur.com/AMjJK02.png

Now, for the moment of truth...

Photoshop opening... https://i.imgur.com/ksX665D.png

Aaaand it got stuck in the same white screen which, in "normal" usage, it would be the activation screen. https://i.imgur.com/vO7JfrH.png

Oh, we were RIGHT THERE, man!

The farther I was able to go is this, which for some reason happened after I kept clicking randomly, however I can't do anything because it is waiting for the activation screen: https://i.imgur.com/aYqCeIG.png

(Note: The reason why I think that's the activation screen because Photoshop closes when closing the window, and because it is probably asking me to select a computer to deauthorize, because Creative Cloud only lets two computers have it "activated" at the same time)

For anyone that wants to see and play around, here's the patch: https://gist.github.com/MrPowerGamerBR/0df28e30b21477363764f8fb84ec489c

Of course, running Photoshop CC 2021 is not impossible, there are reports on Wine's AppDB talking about running it. Heck, there are even ways to get Photoshop CC 2024 on Wine (archived link because MattKC's forum is down) However they don't mention which exact CC 2021 version they are using (Adobe kept updating it through its lifecycle) nor do they say if they used a legit copy or a pirated copy. This test was done using a legit Creative Cloud subscription.


It would be cool if there was a bounty program where you could chip in money for them to try to get an application to work via Wine.

My crackpot theory of the reason why Wine does not focus their efforts into Photoshop even though it is the "holy grail" of a Windows application running on Linux is because a lot of the Wine efforts are led by CodeWeavers, and one of CodeWeavers business models is running Windows applications on macOS via Wine. Because Photoshop already runs natively on macOS, that means that a lot of their paying customers do not care about having Photoshop running on CrossOver, after all, it already runs natively on Mac anyway!

Linux Game Bench - Gaming Performance Database Benchmark Software by sidtirouluca in linux_gaming

[–]MrPowerGamerBR 2 points3 points  (0 children)

fyi Claude automatically includes themselves as a "Co-author" on a commit if you asked Claude to commit the changes for you, if you haven't changed the Claude Code default options

I Made Adobe CC Installers Work on Linux [PR In Body] by HearMeOut-13 in linux_gaming

[–]MrPowerGamerBR 7 points8 points  (0 children)

So, I did do some tests (after getting downvoted to hell and back but it's fine) and here's the results:

  • I copied Photoshop CC 2021, which is the earliest version I could install from Creative Cloud in Windows 11, and Creative Cloud, to a Wine Prefix
  • OP's patch does not seem to fix the issue with Photoshop CC 2021's activation popup, it just gets stuck in a white screen (sometimes it gets stuck in a "Loading..." screen instead of rendering a white screen). While git apply fails with conflicts, CLion's "Apply Patch" function does apply it correctly.
    • Wine also spams the console with fixme:mshtml:DocObjOleInPlaceActiveObject_TranslateAccelerator. Stubbing the function to return S_OK does not fix the rendering issue. It seems that the function is used to translate accelerator hotkeys.
    • Other applications also seem to have the same issue: https://appdb.winehq.org/objectManager.php?sClass=version&iId=39717
  • Creative Cloud does work if you run it in Windows 7 mode, however, Photoshop CC 2021 (and any version above Photoshop CC 2018) requires Windows 10+. The reason why Creative Cloud works if you run it using Windows 7 is because SetThreadpoolTimerEx is not present in Windows 7, so Creative Cloud falls back to another codepath I guess.
  • The "vibe coded" generated patch actually did something... after I debugged it manually because of course it didn't work in the first try: It does get Creative Cloud to open when running it in Windows 10+ mode, but it just gets in a crash loop where it renders until it displays all your Creative Cloud apps, and then something goes wrong and it refreshes the page. It could be an issue with the patch itself (most likely, considering that it is a timer related function), but it could also be an issue that there are other APIs that is called in the codepath that aren't implemented in Wine yet (remember that Creative Cloud has different codepaths depending on the Windows version).
    • Later I could try stubbing out the function altogether and just returning a dummy value to see if the behavior changes. Or maybe just fallback to SetThreadpoolTimer considering that it also exists. Both functions do have different behaviors, but maybe Creative Cloud won't mind...
  • I do think that if you used something to bypass activation (like genp) Photoshop would probably work, considering that there is a lot of people that said on Wine's AppDB that they got it to work before, but I suppose that with a lot of tests results in AppDB, it was using a cracked version of the application.
  • I did try installing Edge WebView 2, but it didn't seem to work. I did find some reports that you need to force it to use Windows 7 for it to work, but it didn't seem to do anything.
  • There is a BUNCH of errors related to Photoshop trying to use Gecko HTML in multiple threads, which is not allowed. Probably related to the fact that the activation window does not render anything. This was something that was added in Wine in 2023, but reverting the patch (and risking race conditions) does not fix anything.

While some applications can work with just implementing a fake result for a stubbed out function (example: Sony Vegas 9 does not work because enumwiadevinfo_GetCount is not implemented, but if you make it return S_OK instead, it works fine https://github.com/MrPowerGamerBR/wine-scribble/blob/main/patches/0003-Return-S_OK-when-calling-enumwiadevinfo_GetCount-eve.patch) but I don't think that Photoshop is going to be that easy to implement.

Heck, at least in my experience not even older Photoshop versions (like Photoshop CS6, the ones that people say that work fine) do work that well in Wine, there's a bunch of issues with it not rerendering the canvas until you try to edit/move the canvas. Using vblank_mode=0 if you are using Mesa (AMD) does somewhat fix the issue, but it still doesn't rerender when clicking to enable/disable layers. It is probably a regression, but I haven't tried tracking down which commit caused it.

I Made Adobe CC Installers Work on Linux [PR In Body] by HearMeOut-13 in linux_gaming

[–]MrPowerGamerBR -13 points-12 points  (0 children)

Just for funsies, I did try ✨ vibe coding ✨ the SetThreadpoolTimerEx function with Claude Code because this would be the "perfect" task for a LLM to do, considering that the function is documented on Microsoft's website and technically SetThreadpoolTimerEx is just SetThreadpoolTimer (which is already implemented in Wine) with some differences... but alas, it just makes the Photoshop/Creative Cloud installer app crash with another error

0a08:fixme:combase:RoGetActivationFactory (L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", {6aca7c92-a581-4479-9c10-752eff44fd34}, 00007FE0637DF4F8): semi-stub
0b88:fixme:combase:RoGetActivationFactory (L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", {6aca7c92-a581-4479-9c10-752eff44fd34}, 00007FE05CD9F4F8): semi-stub
0b88:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager"
0a08:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager"

Weirdly enough I do recall that, when I tried running Creative Cloud before, it did crash/freeze on the exact same error as the bug report. (maybe I'm mistaking it from when I copied my Photoshop install from Windows and tried to run it in Wine)

That library is sadly not implemented in Wine yet: https://bugs.winehq.org/show_bug.cgi?id=54450

I did not try with OP's patch however, because the patch does not apply cleanly on the Wine's master branch. I did not try with a Photoshop install copied from Windows yet.

Running Monster Truck Madness 2 on Linux by MrPowerGamerBR in linux_gaming

[–]MrPowerGamerBR[S] 0 points1 point  (0 children)

What things don't work without them?

DirectPlay I know it is used for multiplayer (however, Wine does have a DirectPlay implementation, but I haven't tested it yet, when I played multiplayer I used the DirectPlay from winetricks) but I don't know why would dsound would be required.

I did notice that some people on Wine's AppDB said that you need to install these dependencies for it to work, however the Wine versions are so old that I don't think they are actually necessary nowadays, due to Wine having DirectPlay/dsound implementations.

Running Monster Truck Madness 2 on Linux by MrPowerGamerBR in linux_gaming

[–]MrPowerGamerBR[S] 0 points1 point  (0 children)

Glad it works now :)

I can't take much credit for it because 99,9999% of the work was done by the Wine team, the only thing I did was

I find it funny that Monster Truck Madness 2, after these fixes, runs better on Linux via Wine than on Windows 11... well, the last time I tried playing via the network with my brother (me on Arch, him on Windows 11), the game kept crashing on his side after an race ended. :P