Commit Graph

49 Commits

Author SHA1 Message Date
9b1cb1bb95 Make Task check status of package download instead of assuming it succeeded 2025-04-26 07:52:25 -05:00
6736abc277 Write data/paths.ini file 2024-09-11 16:54:21 -05:00
29c8667602 Improve error messaging for fetching packages 2024-03-11 13:06:50 -05:00
3383cbd019 Make import button gooder, explicitly require excon http client 2024-03-04 16:35:52 -06:00
fc643235b5 Fixed Task#verify_files, patching will now actually delete removed files now, some minor refactoring. 2024-03-02 10:56:58 -06:00
cd0db4e0fc Refactored Task#build_package_list to fix 'overdownloading' packages that then are replaced/no longer needed; FIXME: broke Repair task in the process. 2024-03-02 01:41:36 -06:00
84051103fc Improved avatar handling, fixed import/install button text sizes, fixed typo ERRNO-> Errno, ocra[n] packaging adjustments 2024-03-01 22:39:18 -06:00
55c0f363e0 Removed dependence on the bsdtar command, fixed Play Now button not doing anything if a server nickname wasn't set, refactor a bit so that the Server List's 'Join Server' button functionality can be reused for the Play Now button, installer now always unpacks into 'data/*' instead of 'Data/*' 2022-12-02 14:12:45 -06:00
ab73b62c4b Renamed W3DHub.captured_command to simply W3DHub.command, replace usages of system with W3DHub.command, resolves command prompt's popping up on Windows under rubyw. 2022-10-30 22:02:20 -05:00
340c083a43 Removed Async[websocket/http] due to excessive require times and reliablity issues on Windows 2022-10-30 18:10:47 -05:00
af28013a7f Fix TSR not patching properly 2022-08-24 12:37:44 -05:00
7e305cdec1 Fix typo 2022-06-17 15:17:21 -05:00
7e59c984ff Fixed #7 repairer task no longer forces an update when repairing 2022-06-11 18:44:27 -05:00
b5fc3e9239 Use proper logging, more errors from tasks should now trigger showing the error dialog instead of siliently failing 2022-03-23 15:09:51 -05:00
8ba577d5fd Fixed boot saving in a thread causing png based icons to be blank, improvements to server browser to show same team and score data as android app, fixed settings page not using a find height for containers causing them to not position properly on initial gui regeneration, task fail fast now checks for write access to target path, fail fast now raises an exception to prevent incorrect fail fast check from being reported. 2022-02-21 09:29:40 -06:00
a5fa7507b5 Fixed infinite stack dive 2022-02-13 08:54:31 -06:00
f2edc30bbb Fixed crashes, added W3DHUB_DEBUG constant, reduced size of Excon download buffer from 4 MB to ~50KB to make ui able to more accurately show download activity 2022-02-12 12:40:08 -06:00
202966fd08 Drafted async-http downloader, fixed not correctly fetching icons at startup 2022-02-10 22:40:51 -06:00
d709e86e14 Updated gemfile.lock, fixed crash on windows when trying to repair data/ -> Data/ when windows thinks they're the same. 2022-02-05 08:09:02 -06:00
e3cb9805fe Fixed token refresh happening to often at startup, replace missing game icon image with question mark, add support for more wwconfig.exe naming funkiness... 2022-02-04 18:36:20 -06:00
7da254fd61 Changed how account data is stored, authorization header is now sent when logged in, adjusted spacing game filters for server list, fixed crashing when trying to load icon for game whos icon is not present, a bit of code cleanup to Api to use Async::HTTP::Client over Async::Internet directly (for everything except get requests), probably a few misc. changes 2022-02-04 08:59:15 -06:00
1214c35fb5 Fixed application taskbar not hiding after task completion, implemented basic uninstaller task, server browser is only told to update from updater if server data has actually changed, added Interface.instance method- fixes assuming window.current_state is a Interface instance. 2021-12-30 15:47:42 -06:00
d880d1525f Put a bandaid on Api.package_details by using Async::HTTP::Client instead of directly using Async::HTTP::Internet- TODO: use :Client instead of ::Internet, enabled verify_files task in installer 2021-12-29 08:37:54 -06:00
82add3cc9d Brought back Excon for package downloading as the method recommended by async-http is unreliable, added support for importing games, repairer and updater tasks are both now simple subclasses of installer, implemented verify_files for checking installed files to prune download package list (currently causes Api.package_details to fail..., so disabled for now), misc. changes. 2021-12-28 17:55:40 -06:00
93cc161f4c Finished removing usage of Excon- package download reimplemented (TODO: see if it's possibly to not need to make n requests to endpoint to emulate excon's chunked downloading), raise Async::Stop when window is closed to shutdown reactor 2021-12-27 09:56:09 -06:00
52e46eced5 Finished evicting Thread- probably more fiber scheduling to do while I figure out how to put Tasks into a Ractor 2021-12-26 13:46:48 -06:00
f1e7d430b6 Initial work on game verification 2021-12-23 18:15:11 -06:00
9707110972 Added parallel downloads setting (not in gui options yet), added a thread pool for downloading multiple packages at once- quite helpful for TSR 😁, fixed download resuming (used wrong file mode...) 2021-12-23 10:56:28 -06:00
e59441cd17 Mixer::Writer now uses the memory buffer, disabled verbose puts from Task verify package 2021-12-02 11:53:37 -06:00
fd90403886 Use new marquee style of progress bar for unpacking/patching since we don't have progress feedback 2021-12-02 08:16:52 -06:00
ade951f87c Fixed Mixer erroring on CRC's shorter than 8 characters long, hardcoded crc string for .w3dhub.patch 2021-12-01 19:49:25 -06:00
74a2ca652b Removed usages of eager_load, probably fixed application launching weirdness 2021-11-30 14:00:51 -06:00
e9aeb4a3e2 Fixed not wrapping tar paths in quotes 2021-11-27 16:33:30 -06:00
7257030e74 Added support for applying patches! added DemoInputDelay state to make recording Boot state easier, misc fixes for tweaks. 2021-11-26 22:36:29 -06:00
2a65761b8d Task now ask Interface to update task status instead of just doing it themselves whenever they want, stubbed apply_patch method, moved unpacking into its own method 2021-11-26 15:21:22 -06:00
6c18e16357 Added ApplicationManager::Status, DownloadManager now displays data from Status, added improved progress information to DownloadManager via Task updating its Status object 2021-11-26 12:17:26 -06:00
935aed1a7a Fixed crash from Cache accessing the global variable $Store instead of the class Store 2021-11-25 19:53:06 -06:00
a4dd375511 Removed window as central storage, added Store class to be central memory store 2021-11-22 20:38:24 -06:00
5801a88d95 Fixed Windows silliness 2021-11-19 20:46:54 -06:00
19eb1a66e9 Fixes for linux (Interim Apex not installs and RUNS!) 2021-11-19 20:27:36 -06:00
ec81959947 Interim Apex can now be installed and launched (on Windows) 2021-11-19 11:09:14 -06:00
2ce616ffbe Moved theme into its own file, added message dialog state to show error messages, game install button is disabled when clicked and if there is an installer task pending or running 2021-11-18 15:51:04 -06:00
662e5c2b0c Redid file checking to use the provided chunked checksums, added (broken) support for partial package downloads (resumed package fails verification), misc. supporting changes. 2021-11-17 22:34:15 -06:00
2ccc09d0b4 Partially working download manager details for packages (more work needed) 2021-11-16 15:29:03 -06:00
b99938ae3c Downloading packages now works most of the time, primary download indictator is now driven by the Task 2021-11-16 14:29:11 -06:00
db97b5a3ab Package downloading now mostly working 2021-11-16 09:34:41 -06:00
d0d8683c4e Stubbed Installer task methods 2021-11-15 23:13:36 -06:00
1ab835ba98 Removed idea to have Tasks have a seperate step class; needless abstraction at this point, added manifest parser 2021-11-15 19:22:09 -06:00
dae620ccbd Stubbed out tasks system for installers 2021-11-15 10:15:04 -06:00