Commit graph

33 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
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
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
93d3c9dc06 Implement some export functionality 2025-04-11 02:31:29 -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
13527e8ef2 Working in game imports 2025-03-29 20:10:35 -05:00
Pat Hartl
d38432f675 Add server scripts to execute on game start/stop, refactor how play sessions are recorded 2025-02-23 15:39:06 -06:00
Pat Hartl
3c5d70b104 New status for enumerating files before move 2025-02-16 15:47:57 -06:00
Pat Hartl
38606a3231 Add progress for redistributable installing
Some checks failed
Publish SDK NuGet Package / publish (push) Failing after 1m42s
LANCommander Release / prep (push) Has been cancelled
LANCommander Release / build_server_win-x64 (push) Has been cancelled
LANCommander Release / build_launcher_linux-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_linux-x64 (push) Has been cancelled
LANCommander Release / build_launcher_osx-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_osx-x64 (push) Has been cancelled
LANCommander Release / build_launcher_win-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_win-x64 (push) Has been cancelled
LANCommander Release / build_server_linux-arm64 (push) Has been cancelled
LANCommander Release / build_server_linux-x64 (push) Has been cancelled
LANCommander Release / build_server_osx-arm64 (push) Has been cancelled
LANCommander Release / build_server_osx-x64 (push) Has been cancelled
LANCommander Release / build_server_win-arm64 (push) Has been cancelled
LANCommander Release / build_release (push) Has been cancelled
2025-01-31 00:34:37 -06:00
Pat Hartl
304f308474 WIP refactor of game importing 2025-01-12 02:54:41 -06:00
Pat Hartl
5fa37ef257 Generate thumbnails on upload for all media types 2024-11-05 19:22:59 -06:00
Pat Hartl
78065fdaad Merge queue changes 2024-10-28 01:10:17 -05:00
Pat Hartl
27d6ea6486 Add ability to modify a game's installation
- DownloadService has been renamed to InstallService
- In the library item context menu, there is a new option "Modify". This allows the user to selsct any additional addons to install as well as move the game to a separate storage location.
- Fixed issue where transfers were being double updated for installs
- Force UI update whenever queue is updates
2024-10-26 15:48:47 -05:00
Pat Hartl
07882e39d2 Add ability to specify multiple upload folders for archives
Implements #97
2024-10-11 01:09:12 -05:00
Pat Hartl
0abe1d688d Add basic support for checking Steam for lobbies when starting a game
Ref #98
2024-09-05 00:48:04 -05:00
Pat Hartl
e00aa77597 Move KeyAllocationMethod enum to SDK 2024-09-04 16:48:04 -05:00
Pat Hartl
0ac36f7a00 Allow upload of images from markdown editor 2024-08-23 01:05:31 -05:00
Pat Hartl
131479277b Consolidate enums 2024-08-12 00:15:16 -05:00
Pat Hartl
3925ec4c34 Move all install functionality to SDK 2024-08-07 01:14:13 -05:00
Pat Hartl
b91b9b1968 Import servers from LCX files 2024-07-04 16:34:30 -05:00
Pat Hartl
5de9ade2be Add ability for media to have thumbnails 2024-06-19 21:28:26 -05:00
Pat Hartl
512e13a05b Add media type for manual 2024-06-19 00:47:08 -05:00
Pat Hartl
9d8df90155 Import games using Game type instead of manifest
Games now import using the Game type instead of manifest. The manifest is fine for locally caching the game (though who knows, this could change as well), but for providing complex information like dependent games versioning it just doesn't have enough data.

Importing has been changed to provide the "Update Available" title change on games where the main game or mod/expansion has a new version available.

Notes now get populated on import, not just install.

Reworked population of game menu items to include non-primary actions from mods/expansions.

Simplified and fixed certain scripts not running for mods/expansions.
2024-05-07 01:47:00 -05:00
Pat Hartl
a269d7a658 Rough but functional download queue 2024-01-20 21:02:41 -06:00
Pat Hartl
de8c11b22d Add game type to manifest. Only return standalone game types in API 2024-01-08 18:33:12 -06:00
Pat Hartl
c58e27c04c Change Playnite plugin build to set YamlDotNet path. Downgrade YamlDotNet version on main project. Run start/stop scripts for servers. 2023-12-20 20:25:25 -06:00
Pat Hartl
739453c8bc Pull media for Playnite from LANCommander server if it exists
Some checks failed
LANCommander Playnite Plugin / build (push) Has been cancelled
LANCommander / build (push) Has been cancelled
2023-11-02 23:37:10 -05:00
Pat Hartl
5e47d8fa3d Remove display attributes 2023-10-24 19:13:09 -05:00
Pat Hartl
b4405d3034 Added redistributable installing to plugin 2023-10-24 19:11:50 -05:00
Pat Hartl
32d6e109df Added uploading of saves 2023-03-28 21:30:29 -05:00
Pat Hartl
0681d0a75b Save all scripts on a game and allow them to run as admin. 2023-01-15 04:29:47 -06:00