-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
[Restructuring] Add the Universal Thcrap Launcher #108
Comments
If we want to add the existing UTL: |
1st, the 3rd one isn't really an option. The 4rd one would probably be faster. |
Well... Either way one of these incentive is going to happen: |
@brliron What do you think of https://platform.uno/ ? * Only caveat here is that for Windows it uses WinUI, so for Windows 7, if we do still intend to support it, it is done as WebAssembly. (Have to distribute it with PWA, WPF Shell, or Electron.) Don't worry for Linux it uses GTK. Also, it's free and open-source. |
Weirdly enough, the main downside seems to be that it doesn't require wine. There are ways to work around that. We could make a setting called "Wine command line", that exists only on Linux, and that we would execute with bash instead of running either thcrap_loader or wine directly. But if we bury it in a settings menu, the users won't see it. IMO, we need either a popup at the 1st launch, which I'm not totally a fan of because hopefully just Outside of that, 2 questions:
|
Most community-made launchers for windows games on linux, I have seen seem to auto-install wine, if not yet installed, and create their own wineprefix. For those needing to use custom parameters, I personally would expect them to be literate enough to check in the settings. However, I guess we can add-in a little tutorial / set-up for first launch. Funnily, with a proper Linux version we could even aim for Steam Deck support, since that's just Linux with fancy coat as well. Here are some Mediafire links for you to test out (they are obviously larger than 25MB):
Oh, and in case you're curious of the visual aspect, you can check out their gallery. It can do both Material and Fluent. |
In short though, the Windows10-11 versions are roughly the same size as an empty WPF app, just with .dll file and folder spam. With some extra work that can be dealt with... or we just make UTL install into Program Files... There is https://github.com/Squirrel/Squirrel.Windows after all. Hmm, if this really does work out, we could perhaps put the configuration in here as well, and have Squirrel solve #31 for us. (I have mentioned it there before.) I'm mainly only pushing it, because I have seen it used in a couple other C# repos here on GitHub, and it seems to work like a charm. |
We'll discuss the question of installers later. So, the Windows minimal version is 142MB, when the entire unzipped thcrap release, as of today, is 24MB (with 14MB just from the VC runtime installer). That's a huge increase, especially when the self updater does a blocking update check at start and still doesn't have a progress bar. As for the Linux version, I couldn't understand how to run it. There's only one thing that looks runnable in there, UnoApp2.Skia.Gtk.exe , |
For running the app in Linux, after ensuring that dotnet8 and gtk3 is installed, you need to run To run the .exe for the gtk version on Windows, you need to have gtk3 downloaded and installed: https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases . As you can see from this, this is a portable release. It is possible to publish, only for linux, which gives this size: https://www.mediafire.com/file/yttslivv53li77x/linux-x64-dotnet8-super-lean.zip/file Speaking of publishing, I'm given to remember, that I can make the Windows version framework-dependant as well, giving this size: https://www.mediafire.com/file/w3iq2541kr3ucgw/win-x64-super-lean.zip/file (This reduces the minimal size to 82.5 MB unzipped) |
FYI, a blank WinUI3 app that's framework-dependant is 38.3 MB. |
Also, could you check on UTL? Plus, if I remember right, UTL doesn't have any self-updating mechanism of sorts, so we can try Squirell on it. |
@brliron I guess then, not just for the sake of keeping a small size, but for not mixing more u8 frameworks and etc. |
https://github.com/Tudi20/Universal-THCRAP-Launcher
Because it's a good alternative to the shortcuts hell.
It was also discussed in #100
We may need to install a .NET runtime from a wrapper.
The text was updated successfully, but these errors were encountered: