Suggestions for writing cross-platform launcher apps

If it's not ZDoom, it goes here.
User avatar
Nash
 
 
Posts: 17283
Joined: Mon Oct 27, 2003 12:07 am
Twitch ID: nashmuhandes
Github ID: nashmuhandes
Location: Kuala Lumpur, Malaysia

Suggestions for writing cross-platform launcher apps

Post by Nash »

So sort of related to my other thread, I am looking for a kit that allows me to easily write a launcher app whose purpose is to then externally execute another app (in this case, a customized GZDoom fork).



I have a working prototype made with Clickteam Fusion, but Fusion is only able to export executables for Windows and Macs (which is really just the Windows .exe with some wrapper/Wine bottling taken care of for you, it produces a single container app for you).

This is missing a Linux option, and I'd like to use something else that lets me write the launcher app once and then be able to deploy it to Windows, Mac and Linux.

I have considered using either Unity or Unreal to write the launcher, but this is the least optimal option as the launcher itself would end up being ridiculously large in file size and absolutely overkill.

I have also taken a look at Godot, which might be a viable option, but I haven't messed enough with it yet to draw a conclusion.

Now, so far, the only tools I've mentioned are all visual scripting-style creation suites - I am not against using "real programming" kits (just a plain text-based IDE with UI SDKs) if it'll have to come down to that - though I'd need to be hand-held a little if the latter step is the only way to go to achieve what I want here...
User avatar
nova++
Posts: 177
Joined: Sat Sep 04, 2021 3:13 am

Re: Suggestions for writing cross-platform launcher apps

Post by nova++ »

I don't know if Godot can run external commands, but it would be a nice lightweight and easily cross platform choice if it can. A highly portable option would be something python based, I know there's plenty of GUI libraries for such things but that is on my list of "things I always meant to look into then never did because there's like 6,000 and I got scared".

Definitely not Unreal, I don't think it's capable of making a build smaller than a few hundred MB... Unity would be tolerable, but still pretty bloated. Despite being a fan of Godot, my personal leaning would be toward a python solution as probably the gentlest non-visual solution, I think you can pack things like that into a single minimalist package that doesn't need any prerequisites? That's another thing on the previously mentioned list, though.
emile_b
Posts: 97
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Suggestions for writing cross-platform launcher apps

Post by emile_b »

What about QT? I know Steam recommends it as a cross-platform launcher for the Steam Deck:

https://partner.steamgames.com/doc/steamdeck/proton
Our recommendation is to use standalone technologies like Qt for launchers instead of OS-dependent frameworks like .NET / WPF.
May be massively overkill and add too much bloat to your install package however, also it is a "real programming" kit but still shouldn't take much work to create something simple with option checkboxes etc.
_mental_
 
 
Posts: 3772
Joined: Sun Aug 07, 2011 4:32 am

Re: Suggestions for writing cross-platform launcher apps

Post by _mental_ »

If you are using custom GZDoom build, why do you need a launcher at all? In my opinion, it won't add any value here.
User avatar
Nash
 
 
Posts: 17283
Joined: Mon Oct 27, 2003 12:07 am
Twitch ID: nashmuhandes
Github ID: nashmuhandes
Location: Kuala Lumpur, Malaysia

Re: Suggestions for writing cross-platform launcher apps

Post by Nash »

_mental_ wrote:If you are using custom GZDoom build, why do you need a launcher at all? In my opinion, it won't add any value here.
To let the user pick some graphics presets before actually launching the game, set the default backend, and some game-specific CVars. Also possibly a simple mod/load order manager and more importantly, a UI to manage multiplayer sessions. The intended target audience is people who have no idea what GZDoom or source ports are.

Otherwise, I would tend to agree with you, it's indeed redundant for power-users.
User avatar
leileilol
Posts: 4427
Joined: Sun May 30, 2004 10:16 am
Location: GNU/Hell

Re: Suggestions for writing cross-platform launcher apps

Post by leileilol »

FLTK might work out in terms of size. It's cross-platform and not overly huge and may be appropriate for a complementary launcher. If you've ever touched Oblige, then that'll give a rough idea of what FLTK can do.

(my brain regarding launchers are cute autorun frontends that provide convenient install and uninstall buttons as well as driver redistributables and links to BIG CORP website)
Last edited by leileilol on Wed Sep 29, 2021 7:43 pm, edited 1 time in total.
User avatar
Nash
 
 
Posts: 17283
Joined: Mon Oct 27, 2003 12:07 am
Twitch ID: nashmuhandes
Github ID: nashmuhandes
Location: Kuala Lumpur, Malaysia

Re: Suggestions for writing cross-platform launcher apps

Post by Nash »

FLTK looks like it'd fit my needs. Thanks!

Return to “Off-Topic”