GirkovArpa / crossover-sciter

Crosshair overlay. Made with Sciter, based on the Electron version.
MIT License
2 stars 0 forks source link

CrossOver 2.0? #1

Open lacymorrow opened 3 years ago

lacymorrow commented 3 years ago

Hey, I created the original Electron CrossOver and I'm just wondering what your plans are for this? I've never heard of Sciter but it's super cool that you were able to get it working so quickly.

If you plan to continue this project, it would be great if Sciter could fix some of the limitations Electron has, mainly not being able to display above fullscreen GPU apps (https://github.com/lacymorrow/crossover/issues/1) and not working with Vulkan apps (https://github.com/lacymorrow/crossover/issues/26). I also updated the layout and split the settings into a separate window, may have some more updates soon https://github.com/lacymorrow/crossover/releases/latest

GirkovArpa commented 3 years ago

Thanks for your comment, it's an honor for the original creator to leave feedback 😊

I was looking at some issues on your repo and saw it mentioned that there was a problem overlaying above fullscreen apps. That reminded of my Throne of Lies Tool, which does exactly that. So I assumed I could remake CrossOver relatively quickly and have that issue solved.

To my horror when I tested it on League of Legends it did not stay on top. I assumed that was because of some anti-cheat mechanism that was deliberately interfering, but apparently it's because LoL is a GPU application? I'm not sure.

But the real roadblock I came across was Sciter does not natively support clicking through non-transparent portions of a window. Only completely transparent pixels.

I fiddled around with the hack of temporarily erasing the pixel beneath the cursor, but I'm not sure how reliable it is. I've also considered writing a native extension of Sciter built in something like C to get around this, but then that wouldn't be cross-platform, and I have no knowledge of Mac or Linux.

I'm not sure how it would fare with a Vulkan application. Glad to hear about the pending updates. I'm looking forward to checking them out, and I suppose this particular project is in limbo because of the aforementioned issues and I don't think it's a suitable engine for replacing Electron in this instance.

lacymorrow commented 3 years ago

Limbo or not, I can appreciate the work that went into this app. I've also thought about a NativeExtension but that's a pandora's box of new issues. It may be "good enough" at this point.

GirkovArpa commented 3 years ago

@lacymorrow I don't know of the proper way to comment on your repo apart from opening a bug report, so I just wanted to say I saw you updated the UI and it looks really good. 👍

lacymorrow commented 3 years ago

Much appreciated! I can do a little front-end work too 😅