Commit Graph

84 Commits

Author SHA1 Message Date
2c7b5fb47d refactor: Cleaning up downloads playing and pausing
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 19:57:53 +11:00
55b7921ee6 feat(downloads): Pausing and resuming game downloads
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 19:55:36 +11:00
97bb1fac68 chore(p2p): Starting p2p progress
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-06 16:40:19 +11:00
046ba643e2 refactor(downloads): Scoping changes and removing qualifications
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-06 16:39:30 +11:00
e9805a8359 rustix fs feature 2024-11-04 10:55:52 +00:00
0c6c4701fd Removing more unnecessary imports
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 19:22:30 +11:00
c5b6ccf992 Fixed all merge issues
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 19:05:27 +11:00
c748aec1c1 Merge branch 'downloads' (again)
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 18:57:54 +11:00
7213416421 Ran cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 18:50:25 +11:00
49184af96b Removed unnecessary dependencies
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 18:47:50 +11:00
f6476bc804 fixes and patches for merged changes 2024-11-04 18:13:03 +11:00
15204718cf Merge branch 'error-handling'
Makes the Drop app more resistent to errors during start-up
2024-11-04 18:06:51 +11:00
191e62c500 Allowing some dead code features because they are there for future use (potentially)
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 18:03:18 +11:00
201c8a4e7b Ran cargo clippy and cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 17:48:44 +11:00
d887f73163 Converted to using BufWriters instead of streaming everything at once
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 17:45:46 +11:00
0528c78092 Functioning download progress updates
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 17:11:37 +11:00
eb3311a0c4 Drop will no longer crash when the server goes down 2024-11-03 19:47:27 +11:00
df88395d98 drop no longer freaks out if server is unavailable on startup 2024-11-03 16:16:26 +11:00
bd39f1fd72 Removed gxhash and ran cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-01 07:51:56 +11:00
86363327a3 Clippy cleanup
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-01 07:49:42 +11:00
32067c0ed3 remove unpacker mod statement 2024-10-31 23:42:16 +11:00
4206c02c97 Removed unpacker.rs
Signed-off-by: quexeky <git@quexeky.dev>
2024-10-31 23:06:14 +11:00
13df631cc6 Lesson learned: Wrappers are the bane of my existence. Also here's the download cancelling logic.
Signed-off-by: quexeky <git@quexeky.dev>
2024-10-31 20:56:10 +11:00
01ce253bda Adding checks for the stopper callback
Signed-off-by: quexeky <git@quexeky.dev>
2024-10-29 22:15:44 +11:00
99beca4dbe Some progress on thread terminations 2024-10-28 22:06:44 +11:00
270bc8b06b Removed utils.rs 2024-10-28 22:04:50 +11:00
5564d23536 Queue is running game downloads sequentially now 2024-10-28 20:57:42 +11:00
1ab61c86b1 I think that download queuing is working 2024-10-28 19:23:41 +11:00
c9d9d2e94f More debugging because apparently checksums are the bane of my existence. But it works and I was just an idiot 2024-10-26 23:23:43 +11:00
706f525ae7 Converted to md5 2024-10-26 22:22:10 +11:00
ddc585dc23 Debugging line 2024-10-26 16:47:27 +11:00
c51e7618bd More progress on checksums 2024-10-26 15:18:34 +11:00
714b968683 Merge branch 'main' into downloads 2024-10-26 10:58:12 +11:00
d39e7cbdf1 Mostly finished with checksums. Just merging main in at the same time 2024-10-26 10:58:04 +11:00
6ef444ed12 Encoding game IDs and versions 2024-10-25 17:55:45 +11:00
7049673596 restructing and renaming 2024-10-25 17:41:03 +11:00
a628fc1417 copy direct to disk 2024-10-25 14:56:49 +11:00
2ec351f20e fixed multi-chunk downloads 2024-10-25 10:28:58 +11:00
4779383fc9 better download defaults 2024-10-24 22:17:50 +11:00
5ed0833e61 my own take on some BASED design decisions 2024-10-24 22:05:58 +11:00
10c8344930 Removed debugging statements 2024-10-24 20:39:03 +11:00
403ca65f7a Downloads should be fixed now 2024-10-24 19:38:58 +11:00
f388237132 I think that downloads are working. Need to test and set decent file locations now 2024-10-24 17:18:09 +11:00
984472ec01 Game downloads from the client are working (multithreaded) by parsing in gameID, GameVersion, and maxThreads from FE (#1) 2024-10-24 12:26:40 +11:00
553bc379f0 Clippy changes 2024-10-24 09:41:04 +11:00
f60ca2bd6c Just debugging tauri's damn Sync command features 2024-10-24 09:38:02 +11:00
f28c8802da Manifests are now being parsed successfully 2024-10-21 22:37:42 +11:00
c1fb39ef21 Update Cargo.toml 2024-10-21 21:23:52 +11:00
89d2814c06 Debugging & starting work on parsing manifest 2024-10-21 21:23:08 +11:00
d21b1d2857 Validated that loading data works 2024-10-20 20:45:02 +11:00