Commit graph

106 commits

Author SHA1 Message Date
Pat Hartl
769adc0605 Implement actual API logout method to kill any valid tokens. Keep better track if the API client is actually connected. 2024-01-23 18:01:12 -06:00
Pat Hartl
a269d7a658 Rough but functional download queue 2024-01-20 21:02:41 -06:00
Pat Hartl
7278aa8b86 Keep track of what name was used on the last name change script run for a game 2024-01-19 00:25:38 -06:00
Pat Hartl
ab7527479a Add offline mode to Playnite plugin 2024-01-18 23:22:46 -06:00
Pat Hartl
e6cc3d0901 Added the ability to manually specify host and port for server variable expansion. Default to client server address 2024-01-18 19:36:20 -06:00
Pat Hartl
926ecdb46d Allow servers to define additional game actions 2024-01-18 01:27:03 -06:00
Pat Hartl
283e40d839 Fix alias changing functionality 2024-01-15 20:38:45 -06:00
Pat Hartl
b9335ebebb Make manifest helper methods generic 2024-01-15 17:45:39 -06:00
Pat Hartl
ae521c32f1 If FileList.txt does not exist for uninstall, simply delete the entire install directory 2024-01-15 16:01:15 -06:00
Pat Hartl
901cbb25e7 Only replace files on disk that don't match CRC from ZIP file entry 2024-01-10 17:57:00 -06:00
Pat Hartl
0dae3e0b44 Default IPXRelayHost to the server address 2024-01-10 17:55:24 -06:00
Pat Hartl
976fe32207 Show actual game being installed 2024-01-10 17:54:46 -06:00
Pat Hartl
d955f080b7 Refactored uninstall to only remove files/directories that came from the original install 2024-01-10 01:59:51 -06:00
Pat Hartl
b40ce8aba1 When installing a mod or expansion, use the base game's install directory 2024-01-10 01:25:46 -06:00
Pat Hartl
1879c83729 Write a list of files to the LANCommander folder upon extraction 2024-01-09 20:43:54 -06:00
Pat Hartl
a8ed46bff7 Change location of all metadata/script files in install directory
In order to support mods and expansions, there needs to be another place to hold game scripts and the manifest. These have been moved to the {InstallDir}\.lancommander\{GameId} directory.
2024-01-09 01:22:56 -06:00
Pat Hartl
38d6135ad3 Install base game before installing expansion/mod 2024-01-08 18:52:00 -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
4de8eb53d2 Update packages
Some checks failed
LANCommander Playnite Plugin / build (push) Has been cancelled
LANCommander Release / build (push) Has been cancelled
LANCommander / build (push) Has been cancelled
2024-01-07 15:31:09 -06:00
Pat Hartl
5c53dc7472 Pull collections in as categories into Playnite when grabbing metadata 2024-01-05 18:27:52 -06:00
Pat Hartl
7d99b33233 Fix reference. Remove references to Forms 2024-01-02 21:27:32 -06:00
Pat Hartl
a8ce71a363 Allow other variables to be added. Remove dependency on Windows.Forms in SDK. Add display variables to actions. 2024-01-02 21:21:06 -06:00
Pat Hartl
939fafe829 Implement custom play actions. Allow for certain variables in arguments, working directory, and action path. 2024-01-02 20:46:28 -06:00
Pat Hartl
7afa8d0674 Rename managers to services, merge into Client so it can be used anywhere the client is accessible. 2024-01-02 02:34:58 -06:00
Pat Hartl
805878ec0a Don't create script file if script contents are empty 2023-12-29 02:32:57 -06:00
Pat Hartl
e7afbe369b Catch save download errors 2023-12-27 17:22:36 -06:00
Pat Hartl
f63df812cf Update save structure to put all files inside the Files directory 2023-12-26 20:02:21 -06:00
Pat Hartl
ef58167030 Log errors for extracting saves. Use new save format for extracting files. 2023-12-26 18:07:06 -06:00
Pat Hartl
ffe6f07753 Add tests for string extensions. Convert/trim path directory separator characters. 2023-12-26 18:06:25 -06:00
Pat Hartl
f9617c46fb Add logger to save manager in Playnite plugin 2023-12-26 18:05:27 -06:00
Pat Hartl
d4aa1c1e21 Renamed GetArchivePath to GetAcrualPath. Added notes in GameSaveManager for pathing terms. Fixed files getting added to save. Fixed directories getting added to save. Added special folders to expand/deflation of environment variables. 2023-12-23 17:39:37 -06:00
Pat Hartl
38195201f9 More test data for archive paths. Added test for regex save paths. 2023-12-23 02:00:53 -06:00
Pat Hartl
c9c8eb6ccf Methods to get correct save paths for archive with tests 2023-12-23 00:11:16 -06:00
Pat Hartl
0434cf4f66 Add working directory to save paths to better support regex searching 2023-12-22 12:58:39 -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
a5fb8b5ea4 Map database models to SDK models in API controller routes 2023-12-20 17:30:27 -06:00
Pat Hartl
87a8fd2f5d Added more logging for redistributable installing. Did not force a working directory on install script if no redist archive exists 2023-12-19 19:44:24 -06:00
Pat Hartl
62cd3052fd Properly clean up redist files 2023-12-18 20:32:51 -06:00
Pat Hartl
eab59a6fe9 Use const string for manifest name 2023-12-18 01:08:49 -06:00
Pat Hartl
75c2980158 Fix references to game manifest 2023-12-17 20:52:22 -06:00
Pat Hartl
881a1e93be Update game notes from manifest notes
Fixes #47
2023-12-15 17:26:01 -06:00
Pat Hartl
bce54643e3 Fix import for tags, genres, developers, publishers, save paths, and added support for keys. Imports now can also update games. 2023-12-15 13:06:33 -06:00
Pat Hartl
9a1dc652a2 Added the ability to export/import most game information 2023-12-14 19:09:00 -06:00
Pat Hartl
0bf4e8cc6d Import PowerShell cmdlets module based on SDK assembly's location
Fixes #45
2023-12-13 23:38:13 -06:00
Pat Hartl
171f82df3e Fix package references 2023-12-02 23:08:32 -06:00
Pat Hartl
82779bcc72 Restore files from save archive based on entries in manifest
Some checks failed
LANCommander Playnite Plugin / build (push) Has been cancelled
LANCommander / build (push) Has been cancelled
2023-11-30 18:37:23 -06:00
Pat Hartl
7b625b2f60 Use Path.DirectorySeparatorChar 2023-11-30 18:31:05 -06:00
Pat Hartl
74d8790ee2 Fix files skipped over if not in install directory 2023-11-30 18:30:15 -06:00
Pat Hartl
745cf0cce6 Prefer Path.DirectorySeparatorChar. Remove unused deserializer 2023-11-30 18:29:11 -06:00
Pat Hartl
7c22aaa139 Record save file paths in manifest. Support regex pathing in upload 2023-11-30 18:25:37 -06:00