1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 20:27:45 +00:00
Commit graph

373 commits

Author SHA1 Message Date
a489326fd5 Fix capitalization 2022-06-09 09:48:54 -04:00
4cd39d0431 Discern from "FFXIV for Mac" and "XIV on Mac", which are very similar
I never noticed until now, but their names are virtually identical, so
now the official one is marked properly.
2022-06-09 09:47:50 -04:00
c00c55ac87 Change all qlineedits in settings with qlabels
This makes it a whole lot easier to view and copy the text in macOS, it
never really made sense for these to be line edits in the first place
anyway.
2022-06-09 09:44:58 -04:00
71865b85aa Rewrite README in anticipation for future Steam Deck support 2022-06-08 15:20:21 -04:00
8c5c9de94f Update TODO 2022-06-08 13:55:44 -04:00
55aaf7c1f6 Make tablet interface functional
Right now OTP and other stuff is missing for an actual login, but it
calls!
2022-06-08 13:55:15 -04:00
a007f8567e Add simple username/password field 2022-06-08 12:55:22 -04:00
83be40cce1 Fix qml not found caused by directory rearranging 2022-06-08 12:50:50 -04:00
0f83276de3 Update README 2022-06-08 12:47:54 -04:00
51e1bd7ac4 Rearrange source directories 2022-06-08 12:45:12 -04:00
365706e43a Add placeholder for future QML interface, change startup options 2022-06-08 12:06:44 -04:00
5307304c57 Separate traditional desktop interface from CLI, in preparation for QML 2022-06-08 11:52:07 -04:00
7ec40b5d23 Overhaul profile settings to use tabs instead of group boxes
This makes the settings window usable on small screens, finally.
2022-06-08 11:33:18 -04:00
7df50de444 Fix missing tuple header 2022-06-08 11:32:48 -04:00
f6e56e4b15 Add a dedicated free trial setting, which makes more sense
Previously I had this listed as another "license type" which makes no
sense, considering that Steam free trial accounts can exist.
2022-05-09 16:02:07 -04:00
e8d1485256 Move game license box below lobby URL in settings 2022-05-09 15:54:34 -04:00
aed67025df Check gate status when actually trying to login instead of at startup
This fixes a couple of issues, such as Sapphire login breaking. This
also makes it possible to wait out the login gate, instead of having
to restart the launcher. The gate status check is also moved to the
squareboot class for now.
2022-05-09 15:53:17 -04:00
8c2a79b5cf Don't hardcode FFXIV expansion names
Astra will now dynamically load them from the game itself, making it
much more future-proof for future expansion launches.
2022-05-09 15:04:56 -04:00
e4a2d6f59d Update links to website 2022-05-04 12:12:21 -04:00
5420c69df9 Fix user path sometimes failing on case-sensitive filesystems. 2022-05-04 11:08:40 -04:00
7cfa2e41a4 Create the data directory if it doesn't exist
Apparently Qt does not do this automatically on Windows, so this fixes
another out of box bug on that platform.
2022-04-27 15:09:34 -04:00
95b52b43f8 Prevent logging in with the return key even though login is disabled 2022-04-27 13:00:40 -04:00
108fd7c2c5 Make "Configure Wine" menu item open winecfg again 2022-04-27 11:53:04 -04:00
dca7342854 Pressing enter on the password or otp text field now logs you in 2022-04-27 11:50:29 -04:00
a72c031bf2 Fix Dalamud asset directory failing to be created on macOS
This prevented Dalamud from launching out of the box, and instead
silently failed.
2022-04-27 11:48:42 -04:00
38eb3c5dfa When using XIV on Mac's Wine, append the proper MoltenVK directories
They pack their own version of MoltenVK, alongside some special env
vars that need to be set for their version of DXVK to work properly
over it.
2022-04-27 11:45:09 -04:00
bcab12cf5f Escape spaces when building encrypted arguments
This prevents the game from properly updating, since UserPath was
accidentally getting its spaces stripped by the launcher.
2022-04-27 11:44:06 -04:00
65dd2cc375 Make Astra actually close when the game launches, if you request it to
This option was completely broken, as the window would close even if you
didn't want it to, and the launcher would never exit. Now this option
actually does what it's supposed to.
2022-04-17 22:53:39 -04:00
1430862a90 Disable some useless settings when running in Flatpak
The wine version isn't reported correctly, so we won't show it. It's
also currently not possible to select a custom Wine path in the GUI,
since the file portal will return a useless sandboxed copy of anything
in /usr.
2022-04-17 22:47:16 -04:00
79466c02cf When running in a Flatpak, spawn Wine using flatpak-spawn --host
This allows you to use system Wine without any troubles!
2022-04-17 22:31:22 -04:00
39d9ca5fa6 Redo screenshot and README in preparation for 0.4.0 release 2022-04-17 21:48:31 -04:00
763fc2f744 Make note about flatpaks being available 2022-04-17 21:18:38 -04:00
ee21693f2c Improve news banner
Now it properly "slideshows" just like the real client, instead of being
a static image like it was before. The banners are now clickable, but
there's still a bug causing the controls to be reloaded twice on startup
- delaying the first animation.
2022-04-17 21:17:58 -04:00
518d57f669 Fix compilation on MSVC
This simply bumps the libxiv commit, which was the issue when building
on Windows.
2022-04-15 21:01:44 -04:00
964b94cc58 Update libxiv 2022-04-14 19:35:11 -04:00
d4ffead2a2 Change "Launch Official Client..." to "Launch Official Launcher..."
This also makes Astra imitate ffxivboot, by launching ffxivlauncher
directly.
2022-04-14 19:20:21 -04:00
c925fc5342 Fix encrypted arguments on macOS failing
It seems something changed in recent Wine versions(?) so there's now
a new TickCount() function using mach_continuous_time() based off of
XIV on Mac's implementation.
2022-04-14 19:02:14 -04:00
a2f73779be Automatically set HideWineExports depending on game license
Square Enix detects your platform as "macOS" when it detects Wine DLL
exports (only on the 64-bit launcher apparently), so if you have a
Windows license selected Astra will automatically add
the relevant registry key for you now.

If you still want to take advantage of your macOS license, you'll still
be able to play by selecting "macOS" as your license in your settings.
2022-04-14 17:48:06 -04:00
e5ebac764a Prevent deletion of the initial default profile 2022-04-14 16:52:36 -04:00
c907ed11d8 Disable game license combo box if using a Sapphire profile
These really only matter for official Square Enix lobbies.
2022-04-14 16:49:13 -04:00
57798503da Make it much clearer in login settings when OTP is disabled
This happens when you have a profile setup for Sapphire, as Sapphire
lobbies currently don't support OTP.
2022-04-14 16:45:29 -04:00
08c86c07dc Better handle bad login cases
Now the code is much cleaner, and the if-clauses are now cleanly
seperated based on which lobby you're attempting to sign into. Also,
the "Register" button for Sapphire servers is now disabled when login
is disabled too.
2022-04-14 16:42:53 -04:00
cbb36e910a Rename FFXIV built-in option 2022-04-14 16:34:39 -04:00
0ef0bca80e Big macOS changes pt. 1
There's a new "Game" menu where you can install the game if you
missed the initial prompt on start-up.

If you have XIV on Mac (a fellow XIV launcher) installed, you
now have the option of using their wine binaries and libraries. There is
more to come in future commits, especially pertaining DXVK and MoltenVK.

Game installation has been fixed for macOS, enabling you to start
updating right away without having to fiddle around with finding the
right installer or app package.
2022-04-14 16:29:23 -04:00
3469c99953 Add support for changing Dalamud update channel
This also fixes a bug where Astra couldn't get the correct version
number for a future .Net 6 Dalamud release
2022-04-13 10:45:00 -04:00
805b1d8317 Fix GitHub CI 2022-04-13 10:24:11 -04:00
ed53c87343 Fix ffxivboot path
Running the 32-bit version fails to update in Wine, presumably because
it's trying to run the 64-bit updater.
2022-04-13 10:23:16 -04:00
c61e971d63 Update libxiv 2022-04-13 09:40:41 -04:00
6f1e1a9e80 Properly set C++17 2022-04-13 09:26:56 -04:00
a5cc9f451f Use critical icon for missing wine dialog 2022-04-10 21:13:23 -04:00