Commit graph

76 commits

Author SHA1 Message Date
Pat Hartl
6c49d9041a Add basic workflow for packaging games via scripts 2025-08-02 00:22:16 -05:00
Bastien Vidé
095eaa5dc7 Corrected routes for Play Sessions tracking 2025-07-25 00:38:09 +02: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
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
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
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
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
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
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
0ef09ab5a7 Fix server login and registration script execution
Fixes #213
2025-03-14 17:43:23 -05:00
Pat Hartl
f52e0349a5 Fix depot list API, gracefully handle depot errors
- Depot endpoint was doing an improper operation to get a user by username
- Failure to get depot results will result in a graceful error handling
- Depot will now show a no results error if nothing is available
- Depot will now show a no results message if there are no results in the applied filter

Fixes #210
2025-03-14 02:19:11 -05:00
Pat Hartl
4c587ebe35 Fix path for downloading save 2025-03-12 01:08:52 -05:00
Pat Hartl
7efac9867a WIP fix for save uploading, move saves to endpoint
Ref #190

Ported the save API functionality to endpoints as part of ongoing efforts to use minimal API patterns.

Added some more security checks to make sure users can only alter or download their own saves.

Moved upload pathing to use the default save storage location. Settings pages will need to be updated to use this storage location. Other areas of the application will have to be checked to make sure they're not reading from `Settings.yml`.
2025-03-08 20:06:34 -06:00
Pat Hartl
a9827a7636 Fix downloading of avatar
Some checks failed
LANCommander Release / prep (push) Failing after 2s
LANCommander Release / build_server_linux_arm64 (push) Has been skipped
LANCommander Release / build_server_linux_x64 (push) Has been skipped
LANCommander Release / build_server_osx_arm64 (push) Has been skipped
LANCommander Release / build_server_osx_x64 (push) Has been skipped
LANCommander Release / build_server_win_arm64 (push) Has been skipped
LANCommander Release / build_server_win_x64 (push) Has been skipped
LANCommander Release / build_launcher_linux_arm64 (push) Has been skipped
LANCommander Release / build_launcher_linux_x64 (push) Has been skipped
LANCommander Release / build_launcher_osx_arm64 (push) Has been skipped
LANCommander Release / build_launcher_osx_x64 (push) Has been skipped
LANCommander Release / build_launcher_win_arm64 (push) Has been skipped
LANCommander Release / build_launcher_win_x64 (push) Has been skipped
LANCommander Release / build_release (push) Has been skipped
LANCommander SDK Release / prep (push) Failing after 1s
LANCommander SDK Release / publish (push) Has been skipped
2025-02-28 18:13:34 -06:00
Pat Hartl
61cb858d52 Fix launcher blasting server on game stop 2025-02-28 17:38:25 -06:00
Pat Hartl
27f88f801f Fix games not starting 2025-02-28 14:02:37 -06: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
4796a2d9f6 Rename BytesDownloaded -> BytesTransferred 2025-02-16 15:48:34 -06:00
Pat Hartl
3c5d70b104 New status for enumerating files before move 2025-02-16 15:47:57 -06:00
Pat Hartl
e3513ea4f7 Fix moving progress 2025-02-16 15:42:00 -06:00
Pat Hartl
2e5959cb38 Max 10 seconds for detect script to execute 2025-02-08 23:26:33 -06:00
Pat Hartl
e9e5bc096d Move registration to AuthenticationService, add scripts for UserLogin and UserRegistration 2025-02-04 18:45:24 -06:00
Pat Hartl
90b02ed567 Fixed redist installation
Some checks failed
Publish SDK NuGet Package / publish (push) Failing after 1m17s
LANCommander Release / prep (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_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_release (push) Has been cancelled
- Made download progress show correct time/transfer values
- Added progress for redist installs
- Executed correct scripts on redist install
- Fixed extraction path / working directory for redists
- Make game install use FileTransferMonitor
- Include title of what's being installed in download progress
2025-02-04 02:34:31 -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
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
9ca82716f4 Use async overload for getting player alias 2025-01-30 20:34:34 -06:00
Pat Hartl
e753d54190 Add game variables to redist script execution, extract redist files to .lancommander directory, fix working directory of redist scripts
Ref #151
2025-01-30 20:29:50 -06:00
Pat Hartl
aa4ba8a056 Add custom fields to games and allow them to be used in scripts / actions 2025-01-30 19:21:02 -06:00
Pat Hartl
bebe4181a3 Add cmdlet for downloading player avatar
Some checks failed
Publish SDK NuGet Package / publish (push) Failing after 50s
LANCommander Release / prep (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_server_win-x64 (push) Has been cancelled
LANCommander Release / build_launcher_linux-arm64 (push) Has been cancelled
LANCommander Release / build_release (push) Has been cancelled
Implements #148
2025-01-29 23:11:52 -06:00
Pat Hartl
dfce85371d Add ByteSize component 2025-01-29 23:09:55 -06:00
Pat Hartl
baf4ec15b2 Smooth transfer speeds / time remaining, update progress on addons 2025-01-29 22:52:27 -06:00
Pat Hartl
45717345d3 Refactor execution context to include servers, use in server process orchestration 2025-01-29 20:35:42 -06:00
Pat Hartl
06ee4d4ed7 Fix install dialog not showing for games with addons 2025-01-27 01:38:55 -06:00
Pat Hartl
940ef82073 Fix uninstalling games that might not have a dependent game installed 2025-01-27 00:05:09 -06:00
Pat Hartl
c6c372ffd3 Get playsessions on import as separate request 2025-01-25 12:45:33 -06:00
Pat Hartl
f657065f40 Add route to check for update for game 2025-01-25 01:48:37 -06:00
Pat Hartl
a4f59f83c4 Get all actions from remote, fallback to manifests 2025-01-25 01:34:31 -06:00
Pat Hartl
11a2562429 Fix offline mode 2025-01-15 02:28:11 -06:00
Pat Hartl
304f308474 WIP refactor of game importing 2025-01-12 02:54:41 -06:00