Commit graph

392 commits

Author SHA1 Message Date
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
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
RattleSN4K3
c444ef4c85 Fix packaging attempting to store non-existing files 2025-05-24 18:55:37 +02:00
RattleSN4K3
b274904f9f Ensure wrapping value in quotes
MadMilkman.INI does not support it, doing it manually
2025-05-13 20:40:45 +02:00
RattleSN4K3
51ff4ae23b Cleanup, comments and help messages 2025-05-13 20:06:28 +02:00
RattleSN4K3
6b2e3235c1 Allow to add update/add value when section is not existing (adds section) 2025-05-13 19:44:52 +02:00
RattleSN4K3
231c5405ca Added contrary switches to KeepSectionDuplicates and KeepKeyDuplicates 2025-05-13 19:42:54 +02:00
RattleSN4K3
49dd7372ed Changed "Add" parameter to be a switch, a contrary switch is added 2025-05-13 19:42:05 +02:00
RattleSN4K3
39fea675b7 Utilizing MadMilkman.INI for ini parsing handling multi-value section entries (+ Update-IniValue parameter) 2025-05-13 02:36:37 +02:00
Pat Hartl
56467fdfb7 Reply back to probe on random port 2025-05-04 20:47:33 -05:00
Pat Hartl
d6ccd5cb08 If beacon address is blank, auto populate using beacon's bound interface 2025-05-04 19:25:08 -05:00
Pat Hartl
cbc93ca852 Strip end period from file names
Fixes #239
2025-05-04 16:10:32 -05:00
Pat Hartl
1be73312b0 Fix default port 2025-04-25 00:56:58 -05:00
Pat Hartl
ef4e73c3aa Send probe requests on main thread 2025-04-25 00:56:47 -05:00
Pat Hartl
d4908a7fdf Prevent unbindable network interfaces from crashing app with beacon
Fixes #245
2025-04-25 00:56:14 -05:00
Pat Hartl
041a0069ee Add DiscoveryBeacon, DiscoveryProbe, new beacon message
Adds a discovery beacon and probe to the client and removes BeaconService from the server.
2025-04-23 21:23:33 -05:00
Pat Hartl
3abebaae4b Combine import/export context, start laying out export dialog 2025-04-12 02:37:14 -05:00
Pat Hartl
93d3c9dc06 Implement some export functionality 2025-04-11 02:31:29 -05:00
Pat Hartl
d75095aa64 Simplify importer DI, start laying out import dialog 2025-04-10 19:45:41 -05:00
Pat Hartl
268fa8ad6c Complete import relationships, start hooking up importers for games, redists, and servers. 2025-03-30 21:06:01 -05:00
Pat Hartl
9bd32083d8 Add importer for play sessions 2025-03-29 20:48:41 -05:00
Pat Hartl
13527e8ef2 Working in game imports 2025-03-29 20:10:35 -05:00
Pat Hartl
692cd85161 Fixed save packaging and upload
Fixes #190
2025-03-19 17:35:16 -05:00
Pat Hartl
404697d588 Refactor save upload using SavePacker 2025-03-18 20:30:04 -05:00
Pat Hartl
698ddc378e Add test for checking CreatedBy on basic record creation 2025-03-16 21:04:24 -05:00
Pat Hartl
b80d7d0153 First working test 2025-03-15 22:02:26 -05:00
Pat Hartl
0ef09ab5a7 Fix server login and registration script execution
Fixes #213
2025-03-14 17:43:23 -05:00
Pat Hartl
33cb02e518 Fix missing exception 2025-03-14 11:28:07 -05:00