1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-24 21:37:46 +00:00
Commit graph

216 commits

Author SHA1 Message Date
dfabcd6cd9 Add a way to use local, non-updatable Dalamud versions
You can now plop your own custom Dalamud installation into a "local"
folder under %APPDATA\dalamud and Astra will use it without question. It
won't update it or perform any game version checks.
2024-06-29 19:33:39 -04:00
d51ba16e5c Error out when the boot patching server returns 404
Found this while testing out Kawari, apparently we didn't check this
until now.
2024-06-29 15:15:20 -04:00
99785e5d68 Don't store patches in temp directories anymore
This was causing memory issues on systems (like Linux/Flatpak) where the
temp directory existed on tmpfs (aka RAM). Now they're stored in app
data and deleted when we're finished with them.

Fixes #17
2024-06-29 11:00:48 -04:00
ac63581799 Meh, I meant to use qCritical and not qFatal 2024-06-27 22:48:26 -04:00
67fa840766 Add missing translation arg 2024-06-27 22:29:29 -04:00
ed35e95f9e Bubble up patching errors to the UI
It was asserting before and is very, very annoying to debug (I keep
having to do it today.) The errenous patch files are now deleted, too.
2024-06-27 22:27:21 -04:00
fa01b420d4 Slight adjustments to the non-auth launch parameters 2024-06-27 20:31:41 -04:00
2ab5a85741 Fix typo in Patcher assert 2024-06-27 20:31:31 -04:00
94ee8fa838 Create directory needed for version file when patching
Doesn't fix any real bugs, but just something I noticed since in
Dawntrail the first ex5 pack seems to only add a movie.
2024-06-27 20:31:19 -04:00
146f083163 Allow launching the game to the title screen for debugging purposes
This is hidden under developer settings because it's not supposed to be
a user facing feature.
2024-06-27 16:38:45 -04:00
498391bbb9 Check if Dalamud version is applicable to this game version before using
This stops it from trying to launch even though goatcorp said no. The
check is basic but should allow Dawntrail and future expansions to work
without having to toggle Dalamud off manually.
2024-06-27 16:38:18 -04:00
fe5fa786d7 Allow updating even if the worlds are closed
This allows updating in expansion maintenance periods. Also adds more
documentation in squareenixlogin.cpp::login.
2024-06-26 23:43:41 -04:00
f543dd433e Don't keep patches downloaded in memory
This now writes them directly to a temporary file, then renames them
when finished. This reduces the amount of memory Astra uses while
updating immensely and just makes the experience all-around much nicer.

Closes #10
2024-06-26 23:43:06 -04:00
d9b44e230c Remove "Unknown error" from login gate message
The network error should only be printed in the case where there's a
real error, otherwise it adds nothing but confusion.
2024-06-26 16:15:37 -04:00
3522b688bb Restore Flatpak support, add more scripts to help maintain it 2024-05-26 09:44:38 -04:00
e94483af2a Make the password field writeable again
This was previously disabled when you ticked "remember password" but I
ran into issues, let's try to make this work again in preparation for
0.6.0.
2024-05-26 08:43:33 -04:00
86d4fedb95 Don't try to download an invalid lodestone avatar 2024-05-26 08:34:24 -04:00
4948db82be Add a method to use existing game installations from other launchers
This should work for XIVLauncher.Core, XIVQuickLauncher and the official
launcher. More testing is needed of course, but the framework is there
now.
2024-05-26 08:03:52 -04:00
ed1423e2e4 Fix more links to point towards GitHub 2024-05-22 19:21:11 -04:00
7eead380be Don't create Wine prefix path when not needed 2024-05-18 18:39:08 +00:00
f5f143466b Don't install compatibility tool on Windows 2024-05-18 18:39:08 +00:00
474bd19337 Remove platform-specific default game path
This is the wrong way to do this, and a leftover from the old days.
2024-05-18 18:39:08 +00:00
8f9e42b097 Emit error when failing to open benchmark zip file 2024-05-18 18:39:08 +00:00
f70682f8a8 Fix compatibility with Kawari again 2024-05-11 13:24:25 -04:00
b852e1894f
Begin adding GitHub actions and Windows build scripts
Adds back Windows support, also adds a GitHub action to build it and more. May not work 100% yet, but it's a good start.
2024-04-27 16:38:22 +00:00
346f4eae9e Add action to quickly open the user folder in account settings 2024-04-19 20:50:14 -04:00
b7c67b3f70 Expose a RenderDoc capture option
I used this before as a hack, but now it's properly exposed as a
developer setting.
2024-04-19 20:37:51 -04:00
49f8aae877 Add support for installing the official benchmark
This uses the same profile system as the regular game, and can be used
to download the current benchmark (currently hardcoded, to be fixed
later.) Or as always, install it offline from an existing zip.
2024-04-19 20:32:28 -04:00
5078da4e84 Disable the account switcher when there's only one account 2024-04-01 15:15:30 -04:00
4877862da0 Prompt for error messages when DXVK/Wine updating fails 2024-04-01 14:56:58 -04:00
ed9b4cfb76 Don't try to update Wine/DXVK if we're using a custom version
In the event that GitHub is down, the game is actually unplayable as the
launcher doesn't allow you to skip updating these components (for now.)
To prevent this, you can use a custom wine you have installed but the
launcher was still erroneously updating it. Now it won't try to update
DXVK/Wine if you don't request it to, although I'm not sure about tying
DXVK to the wine option right now.
2024-04-01 14:56:45 -04:00
dc01f3e214 Overhaul parts of the initial setup flow
This removes the separate "download new game" page and rolls in into the
main profile setup. Also adds a feature to install the game from an
existing executable, in the event the official servers are down or
missing. Also shifts around some of the buttons and text.
2024-04-01 14:54:41 -04:00
c8a81af967 Only add hashes for files that exist
This allows older 32-bit clients to work again, without additional
configuration.
2024-03-23 12:54:00 -04:00
8e4c032b3c Hide DirectX 9 option if not available 2024-03-23 12:51:48 -04:00
99b3854a5b Explicitly state if the boot component is not installed 2024-03-23 11:28:20 -04:00
d1c0a89cda Keep updating the boot component until there is no patches left 2024-03-23 11:28:11 -04:00
47f52e5710 Add even more about data
This adds more libraries that are used in Astra, a better warning about
possible violations, and donation/repo links.
2024-03-22 21:22:13 -04:00
e7b2802545 Extract all expansion logos and pick the highest one 2024-03-22 20:29:00 -04:00
001e20b1b8 Add game logo image to the login page
This loads the A Realm Reborn logo (for now) from the game and displays
in on the login page.
2024-03-22 20:12:06 -04:00
4d151b37a1 Nevermind, try a scale factor of 1.25 2024-03-22 18:59:39 -04:00
2db62f17d6 Override scale factor and mobile mode when in SteamOS Game Mode
This should help and make the interface more touch-friendly.
2024-03-22 18:51:19 -04:00
6845b91695 Change copyright year to 2024 2024-03-19 18:41:55 -04:00
516c0926a6 Fix logging in now that 32-bit support disappeared
In the March 2024 the 32-bit client was removed, so we need to modify
some of the boot targets that no longer exist. The DirectX 9 client is
gone too, but that will be dealt with in a later commit.
2024-03-19 18:27:03 -04:00
51715ca3be Make Dalamud asset downloading more reliable
This uses the complete package which should prevent partial downloads.
In the future it should check for the hashes they give us.
2024-02-24 11:48:02 -05:00
f75fb70ac9 Use KDSingleApplication to force single instance 2023-12-31 17:48:39 -05:00
f6ddc0193e Hide change profile button if only one profile is used 2023-12-31 17:28:31 -05:00
f3c46d3a3b Move logs to data directory 2023-12-31 17:23:55 -05:00
06704728b7 Fix and re-enable gamescope launch 2023-12-31 17:19:29 -05:00
d644e2dbc4 Allow library descriptions to be translated 2023-12-23 11:21:29 -05:00
90775d4a09 Use QFile::copy static method 2023-12-23 11:16:16 -05:00