Commit graph

418 commits

Author SHA1 Message Date
Pat Hartl
91bead2ed7 Have launcher use AppData/Local if it has no write access to its base directory
Fixes #292
2025-08-18 17:49:17 -05:00
Pat Hartl
355e8b448c Spelling 2025-08-18 03:03:33 -05:00
Pat Hartl
e9e8cf14b0 Code cleanup 2025-08-18 03:03:28 -05:00
Pat Hartl
015095087e Fix replacement of path characters on Windows 2025-08-18 03:03:06 -05:00
Pat Hartl
888ae5351c Rename private properties 2025-08-18 03:02:49 -05:00
Pat Hartl
ed48699e4a Clean up usings 2025-08-18 03:00:08 -05:00
Pat Hartl
3e755f4f65 Rename private properties 2025-08-18 02:47:09 -05:00
Pat Hartl
8ffa7f0ed5 Add better error handling, mitigate code warnings 2025-08-18 02:44:55 -05:00
Pat Hartl
2fec4c500f Only upload saves on successful runs 2025-08-18 02:38:21 -05:00
Pat Hartl
0b0b6c4004 Safe fallback for var population on run
Fixes #231
2025-08-18 02:38:00 -05:00
Pat Hartl
8d813bde05 Fix depot items not loading under some circumstances 2025-08-07 02:26:31 -05:00
Pat Hartl
d1c4389e80 Fix install writing scripts 2025-08-07 01:02:22 -05:00
Pat Hartl
640f476986
Merge pull request #291 from RattleSN4K3/feature/LibraryGameModifySelective
Library changes to addon installation
2025-08-03 14:03:12 -05:00
Pat Hartl
a9660f7ebe Merge branch 'feature/ReworkOfflineMode' of https://github.com/RattleSN4K3/LANCommander into RattleSN4K3-feature/ReworkOfflineMode
# Conflicts:
#	LANCommander.Launcher/UI/Authenticate/Components/LoginForm.razor
#	LANCommander.Launcher/UI/Authenticate/Components/RegistrationForm.razor
#	LANCommander.Launcher/UI/Components/LibraryItemContextMenu.razor
2025-08-03 00:55:27 -05:00
Pat Hartl
6c49d9041a Add basic workflow for packaging games via scripts 2025-08-02 00:22:16 -05:00
Pat Hartl
272195f032 Clean up export dialog 2025-08-01 19:15:32 -05:00
Pat Hartl
58b3db059d Allow more granular selection of records for import/export 2025-08-01 02:27:06 -05:00
Pat Hartl
93523fe8e1 Fix exporting of scripts 2025-07-30 19:25:55 -05:00
Pat Hartl
6ec919d1be Separate import and export functionality
This refactor splits the import and export functionality out of the ImportContext and adds an ExportContext. This also introduced separate importer and exporter implementations.

Additionally, adding archive, save, scripts, and server files to the final export archive has been implemented at the exporter implementation for each instead of handling it in the context. This should be a good pattern if other files need to be added down the road.
2025-07-27 17:51:50 -05:00
Pat Hartl
a5dab5c094 Merge branch 'main' into refactor/optional-import-export
# Conflicts:
#	LANCommander.Server.Services/GameService.cs
#	LANCommander.Server.Services/ImportService.cs
#	LANCommander.Server.Services/Importers/GameImporter.cs
#	LANCommander.Server.Services/UserService.cs
#	LANCommander.Server/UI/Components/AvatarUploader.razor
#	LANCommander.Server/UI/Components/ImportUploadDialog.razor
2025-07-25 18:42:39 -05:00
Pat Hartl
47d5b0b58a Working selective export (at least for manifest) 2025-07-25 17:57:33 -05:00
Bastien Vidé
095eaa5dc7 Corrected routes for Play Sessions tracking 2025-07-25 00:38:09 +02:00
Pat Hartl
2e073e9332 Render export dialog, resolve circular DI issues
- Fixed circular DI issues with importers and importer context
- Added additional mappings for data <-> manifest models
- Avoid null reference exceptions when trying to export archives/media where files don't exist
- Consolidate import dialogs
- Render selectable flags in export dialog
- Fixed various media uploaders to use new MediaService.WriteToFile
2025-07-19 17:39:55 -05:00
Pat Hartl
c37ccd494c
Merge pull request #316 from RattleSN4K3/feature/ReworkLoginMessaging
Error messaging for login/register via Launcher
2025-06-29 21:15:11 -05:00
Pat Hartl
1747195b36
Merge pull request #321 from RattleSN4K3/fix/EndGameLag
Fix game end lag caused by generating game save
2025-06-29 21:11:52 -05:00
Pat Hartl
236852fb4f
Merge pull request #322 from RattleSN4K3/feature/SavePathsRegistryExport
Re-implement registry save paths game save creation in Launcher
2025-06-29 21:11:25 -05:00
RattleSN4K3
2e6fdd1925 Re-implement registry save paths, split registry per path, export via Microsoft.Win32 2025-06-28 00:49:57 +02:00
RattleSN4K3
b3919b73f9 Fix calling regedit for game save registry import 2025-06-28 00:44:53 +02:00
RattleSN4K3
2d755b2253 Configure script debugging for game save registry export 2025-06-28 00:44:52 +02:00
RattleSN4K3
9eca901448 Fix uploading game save registry dumping when debugging script 2025-06-28 00:44:51 +02:00
RattleSN4K3
2d06457486 Fix uploading game save taking long time if no save path is configured 2025-06-28 00:38:29 +02:00
RattleSN4K3
6b9190aaeb Prevent attempting to upload game save in offline mode 2025-06-28 00:38:22 +02:00
RattleSN4K3
c4708006d6 Fix calling After-stop script when game ends 2025-06-28 00:38:15 +02:00
RattleSN4K3
79d161769e Proper error messaging for login/register, utilizing ErrorResponse 2025-06-22 01:36:17 +02:00
RattleSN4K3
bf1c16f8ff Fix connecting to hostname:port Uri (adds UriExtensions.CreateUri and .TryCreateUri 2025-06-17 00:41:19 +02:00
RattleSN4K3
d86b4dd8ee Limit suggested URIs only when proper port is given 2025-06-17 00:27:20 +02:00
RattleSN4K3
e13acbe42d Fixed re-starting server discovery after failed connection not working 2025-06-15 23:39:29 +02:00
RattleSN4K3
5a8ffad8b2 Limit the suggested URIs on attempt to connect to server 2025-06-15 23:39:29 +02:00
RattleSN4K3
d8b768c6d9 Option to temporarily switch to offline mode on startup (if credentials are existent) 2025-06-15 23:39:21 +02:00
RattleSN4K3
6fdb96f167 Reduce timeout of ping/auth request 2025-06-15 23:39:18 +02:00
RattleSN4K3
32b05f1122 No initial server pinging on startup 2025-06-15 18:08:46 +02:00
RattleSN4K3
c38d9db31b Restore installation files on uninstallation of addons 2025-05-27 23:15:29 +02:00
RattleSN4K3
be7240d5a0 Fix validating game files for non-installed games 2025-05-27 23:15:20 +02:00
RattleSN4K3
c996561e38 Validating files of mods/expansions, prioritizing files over another 2025-05-27 23:15:17 +02:00
RattleSN4K3
7cea3df3b4 Update local manifest and scripts of base game on modifying installation 2025-05-27 23:15:07 +02:00
RattleSN4K3
464c4014c7 Ability to uninstall/install addons at will through Modify dialog 2025-05-27 23:15:03 +02:00
RattleSN4K3
fa2919b81b Fix installing addons post-installation, was using wrong base folder 2025-05-27 21:38:32 +02:00
RattleSN4K3
73ff5f258a Remove-game-library dialog to remove base game + addons 2025-05-25 22:25:17 +02:00
RattleSN4K3
852a1e1c36 Fix restoring save files by ensuring folders, and properly reading entries 2025-05-24 18:55:38 +02:00
RattleSN4K3
98c8bf8cd6 Fix storing save game files into "Files" subfolder for single-file save-paths 2025-05-24 18:55:37 +02:00