Commit graph

40 commits

Author SHA1 Message Date
Pat Hartl
30423a139a Update import event handlers to AsyncEventHandler 2025-12-05 21:24:08 -06:00
Pat Hartl
2ddcd75c19 Bind import UI events 2025-12-01 01:05:32 -06:00
Pat Hartl
54ace5d141 Map relational game data, fix individual game import 2025-11-29 19:31:43 -06:00
Pat Hartl
6dfc0906ac Refactor launcher library importing, manifests
Switched the library importing in the launcher to work based on a queue. As a new game is added to the queue, it should find any related data and also add it to the queue. This should result in an easier to maintain importer while reducing the load on the launcher's DAL. This may result in more RAM usage while importing. Local manifests have also been refactored to match manifests in import/export LCX files, removing the old manifest format. This is a large breaking change that will probably break existing game installations. A migration will probably have to be created.
2025-11-29 18:24:27 -06:00
Pat Hartl
d6577564db Move launcher settings to separate assembly 2025-11-23 20:53:45 -06:00
Pat Hartl
5cab1f3618 Remove old SettingsService, replace with Options pattern 2025-09-29 19:49:09 -05:00
Pat Hartl
d875377f15 Rename SDK services -> clients, implement new configuration, use dependency injection for clients 2025-09-24 20:58:23 -05:00
Pat Hartl
b4d48afe3a Track when game was last imported 2025-09-05 17:38:34 -05:00
Pat Hartl
209208632d Fix importing using transaction 2025-09-05 17:38:05 -05:00
Pat Hartl
c223b3756c Improve import speed by using transactions 2025-09-05 02:00:59 -05:00
RattleSN4K3
2053f359bf Storing dependent games ("childs") in local database to list addon options in UI 2025-05-27 21:38:25 +02:00
Pat Hartl
a852d71d97 Update UI when import fails 2025-02-21 23:52:51 -06:00
Pat Hartl
0594ad594d New login page with launcher download button 2025-02-15 23:45:51 -06:00
Pat Hartl
98bfe90605 Show import progress in popover 2025-02-06 20:54:03 -06:00
Pat Hartl
f3708b4f3c Refactor redistributable installation
- Install now extracts the redistributable archive to the game's `.lancommander` directory, under a directory matching the redist's ID
- Scripts are downloaded and saved to the same location
- BeforeStart, AfterStop, and NameChange scripts are now available for redistributables
- Change manifest reading/writing to use async
2025-01-30 23:57:12 -06:00
Pat Hartl
a6440e6b2e Fix import 2025-01-25 15:22:07 -06:00
Pat Hartl
c6c372ffd3 Get playsessions on import as separate request 2025-01-25 12:45:33 -06:00
Pat Hartl
cbe363ac4f Refactor launcher authentication, working import from depot 2025-01-20 12:10:30 -06:00
Pat Hartl
a25a00639b Remove repository, add audit interceptor, rename async methods 2025-01-19 00:04:01 -06:00
Pat Hartl
eb1eb3fd5c Fix importing 2025-01-18 22:36:41 -06:00
Pat Hartl
5de3b1ebc2 Fix importer only importing 1 of each metadata type 2025-01-14 01:50:45 -06:00
Pat Hartl
319f983f83 Fix game importing, fix loading of data for library 2025-01-12 21:49:07 -06:00
Pat Hartl
304f308474 WIP refactor of game importing 2025-01-12 02:54:41 -06:00
Pat Hartl
e22e5057df Fix importing base game and media 2024-11-16 01:44:53 -06:00
Pat Hartl
111251c9cf Import any base game that might be required 2024-11-15 02:25:22 -06:00
Pat Hartl
67941fe877 Fix singular game local import 2024-11-14 00:10:20 -06:00
Pat Hartl
ce9c1e9684 Consolidate game imports 2024-11-13 23:10:31 -06:00
Pat Hartl
79776c3327 Import games from library 2024-11-13 01:52:37 -06:00
Pat Hartl
be86bcb261 WIP depot view and import 2024-11-12 02:35:28 -06:00
Pat Hartl
9285c376d3 Remove base game and dependent games from serialization 2024-11-12 02:17:26 -06:00
Pat Hartl
b281919ab7 Import media if missing, refactor application login
Media is now imported if its given an ID that doesn't exist in the database. This should almost never happen, but it's there if needed.

The login process for the launcher has been refactored to do some initialization steps on application start. This should include pulling down the profile avatar and validating connection on start.

Fixes #124
2024-10-06 17:11:35 -05:00
Pat Hartl
7ecc472058 Delete removed/inaccessible media on import
Fixes #115
2024-09-30 20:37:14 -05:00
Pat Hartl
83ac42fc5f Proper logging of game deletions on sync 2024-09-18 21:07:04 -05:00
Pat Hartl
48479a55d2 Properly end media download operation 2024-09-18 20:48:03 -05:00
Pat Hartl
cb18400307 Pass exception when import failed 2024-09-18 20:41:32 -05:00
Pat Hartl
0d3412cb9d Add ability to allow a choice of install locations 2024-09-12 19:09:13 -05:00
Pat Hartl
9c95065108 Add Seq sink for debug and timed logging on import 2024-09-11 02:05:24 -05:00
Pat Hartl
c203ac6d32 Switch logging to Serilog 2024-09-11 00:24:34 -05:00
Pat Hartl
29047a4f12 Merge branch 'main' into v1.0.0
# Conflicts:
#	LANCommander.Launcher.Models/LibraryItem.cs
#	LANCommander.SDK/Client.cs
2024-08-10 12:11:04 -05:00
Pat Hartl
e055514811 Split models and services into separate projects 2024-08-07 18:48:13 -05:00
Renamed from LANCommander.Launcher/Services/ImportService.cs (Browse further)