1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-11 20:47:45 +00:00
Commit graph

529 commits

Author SHA1 Message Date
c6cb9afa2e Update libphysis to get a more accurate patch download size 2025-05-06 15:17:09 -04:00
adc2791822 Fix the two remaining compiler warnings 2025-05-05 19:14:58 -04:00
3ef4806e36 Don't allow going back during initial setup
I forgot to remove this when copying the logic from somewhere else. It
was possible to hit the back button during the initial setup which ends
up making the window completely empty.
2025-05-05 17:59:56 -04:00
3e4c8f2c87 Wrap long text on the "use existing install" page 2025-05-05 17:52:21 -04:00
9606044525 Add more top padding for setup cards 2025-05-05 17:51:33 -04:00
c9c8efd734 Don't hide toolbar on the setup page unless it's during initial setup 2025-05-05 17:48:13 -04:00
fb28dd3480 Show the game version when importing existing installations
This is more useful than a path - which is still shown when importing
from other launchers.
2025-05-05 17:44:05 -04:00
05a1ce147a Create patches storage directory if it doesn't exist 2025-05-05 17:01:02 -04:00
ec93af8b06 Fall back to base boot version if Astra thinks it's not installed
I accidentally gave Astra the FFXIV 1.0 installer, and thus it ended up
in an invalid state (of course, since there's no ARR boot components.)
Instead of saying "this game version isn't supported" we should just use
the fallback version to re-initialize your game.
2025-05-05 16:50:44 -04:00
0fc78649f9 Improve UI labels in the compatibility tool installer
This finally adds a note to explain *why* you would want to do this. I'm
not 100% happy with it, but it's so much better than before!
2025-05-05 16:46:51 -04:00
7b0e730bce Add better icons to various settings pages 2025-05-05 16:46:51 -04:00
14c8b8aef7 Call AccountConfig::save() in a few missing spots
Notably, this prevents an odd bug from happening where Astra could
prompt you to select an account *again* after restarting.
2025-05-05 16:46:51 -04:00
81d02c4a9e Fix some minor undefined references 2025-05-05 16:46:51 -04:00
80dc1bc0e9 Make license spinbox in account setup translatable 2025-05-05 16:46:51 -04:00
2d6e748036 Set default focus during setup process
This makes it way easier to quickly go through the setup process with a
keyboard!
2025-05-05 16:46:51 -04:00
0d8e807f87 Use better default profile names
Instead of "New Profile" for every new profile, they are now named as
follows:
* The first profile is "Default", because most users will most likely
only have one.
* Every subsequent profile is "New Profile (N)" where N is the number of
profiles.
2025-05-05 16:46:51 -04:00
7cb82b43d3 When displaying default location for install/wine prefix, hide the path
For most users, this ends up being a long useless string (because of the
UUID included.) If it's the default, Astra-managed path then it simply
says "Default Location". When it's a custom path, it shows the full path
as per usual.

This affects the visible game paths, but also the wine prefix path.
2025-05-05 16:46:51 -04:00
c38d77d087 With no pre-existing accounts, go straight to the "new account" page
There's no point in showing the user the pre-existing account list if
they don't have any!
2025-05-05 16:46:51 -04:00
e1a01ded1c Remove references to Square Enix in some account text
This is a leftover from when we supported Sapphire accounts, so these
distinction labels make less sense now.
2025-05-05 16:46:51 -04:00
6ade196e64 Note in the Dalamud version text if Astra will download it
The same text change we did for Wine in the previous commit.
2025-05-05 16:46:51 -04:00
e70aeb3b6a Note in the Wine version text if Astra will download it
The text "Wine is not installed." could be misleading. If it's managed
by Astra, say that it will be installed when you next launch the game
instead.
2025-05-05 16:46:51 -04:00
d09f2d2418 Hide Dalamud settings unless it's enabled
Otherwise, it just creates visual noise on the settings page if you
don't find it useful.
2025-05-05 16:46:51 -04:00
e150df64b0 Don't allow accessing certain settings pages on initial setup 2025-05-05 16:46:51 -04:00
9c7174c81f Fallback to the base game version when no version file is found 2025-05-05 16:46:51 -04:00
6f499927be Prompt for updates before actually downloading them
This is to prevent "surprise" situations, such as:
* You have a limited internet connection, and the game updates out of
the blue.
* Your installation is invalid, and Astra decides to suddenly redownload
the entire game.
2025-05-05 16:46:51 -04:00
d1ef676e7d Overhaul the first-time setup again
I find the page to be extremely cluttered now, and there's so many
options that it's hard to tell what's relevant. Now I split it up into
three major flows: "install game", "install benchmark" and "use
pre-existing install". Their UI no longer overlaps, and it should be
much clearer for users.
2025-05-05 16:46:51 -04:00
a505447e80 Fix dialog parenting AGAIN 2025-05-04 19:29:53 -04:00
f1b68bc1b4 Save settings under more circumstances 2025-05-04 19:27:52 -04:00
a1494dd00d Initialize free trial Steam app id when using a free trial account 2025-05-04 19:18:29 -04:00
ddbd9bb814 Hide account and profile developer settings when they are disabled 2025-05-04 19:16:55 -04:00
88b4a51389 Update steamwrap in Flatpak build, compatibility tool updates
Now steamwrap is started automatically when launching the game using the
compatibility tool, and cleaned up afterwards.
2025-05-04 19:15:39 -04:00
ea722bd7c2 Fix wrong format string in sprintf call 2025-05-04 17:15:59 -04:00
ea262ddfb7
Support Steam service accounts (#32)
This adds support for Steam service accounts, finally. Requires an updated steamwrap, and we're missing the infrastructure to launch it at the moment too.
2025-05-04 16:57:29 -04:00
74a3c5f5d2 Allow configuring the platform, boot and game update channels 2025-05-04 12:27:37 -04:00
02a44b0247 Overhaul custom server settings, allow configuring more servers
You can now configure the frontier server, the save data bank server and
the data center travel server. The names of the existing settings should
be clearer now, too.
2025-05-02 15:17:32 -04:00
a008b32a47
Build Flatpak on the CI (#31)
This provides a downloadable development Flatpak version, which is more portable than the Linux artifact.
2025-04-29 15:41:27 -04:00
d69ebf91c7 Add tools menu back to the main toolbar
This was lost in the QML rewrite, even though it's still useful. In this
menu you can launch the official launcher, system information and the
config backup tool easily.
2025-04-29 15:14:45 -04:00
871637261e Hide the "Wine Path" setting when using built-in Wine
It was previously enabled, but we should really hide it as it's not
relevant nor useful for the user to know this.
2025-04-29 15:14:45 -04:00
7ae4e8a8e6 Remove Gamescope support
I don't use this anymore, as I was using it as a band-aid for Wine
XWayland bugs. Now that they're a thing of the past, lets kill this.
2025-04-29 15:14:45 -04:00
944a133ae7 Remove Feral Gamemode support
I don't use this anymore, and I doubt anyone does either. If we want it
back, we should probably use the Portal API for it instead.
2025-04-29 15:14:45 -04:00
7be692c9e3 Fix settings dialogs going to the wrong window 2025-04-29 15:14:45 -04:00
58c304086c Fix the "A Realm Reborn" expansion text never being fetched 2025-04-29 15:14:45 -04:00
e7ae19da6e Shove all the steam dir calculation into one function 2025-04-29 15:14:45 -04:00
b15c42ac4c Denote if Steam is not installed on the compatibility tool installer 2025-04-29 15:14:45 -04:00
d7eff61882 Only show either the "install tool" or "remove tool" buttons
It doesn't make sense to show both, the compatibility tool is either
installed *or* not installed yet.
2025-04-29 15:14:45 -04:00
8f43744366 Simplify launching Astra through the compatibility tool
Instead of using steamwrap (which doesn't work) use the recommended
method from Valve of escaping their LD_LIBRARY_PATH.
2025-04-29 15:14:45 -04:00
0041b53e3f Fix various typos 2025-04-29 15:14:45 -04:00
377f10408c Improve the compatibility tool installer UX
Now there's confirmation dialogs when the installation/removal is
successful, instead of nothing happening.
2025-04-29 15:14:45 -04:00
1708aabb14 Fix remaining settings window bug
It would mysteriously freeze up when going to certain pages, but that
should be fixed by explicitly setting the window now.
2025-04-29 15:14:45 -04:00
c52941fef6 Remove donate URL from about page 2025-04-29 15:14:45 -04:00