Commit Graph

64 Commits

Author SHA1 Message Date
5a3f350015 Fixed edge case where Task#normalize_path wouldn't handle partial matches of correctly 2025-10-24 23:05:04 -05:00
d53299e904 Windows is too easy, or annoying. Fix Task#normalize_path on windows ignoring base_path" 2025-10-15 16:27:28 -05:00
d12d3ff6b8 Don't downcase file path unless we need too, update gems. 2025-10-10 13:30:37 -05:00
2dc750a686 Task#normalize_path now takes the base path as an argument and attempts to find the case-insensitive file path to target path 2025-10-08 11:32:35 -05:00
4997cfabb0 Fixed not handling filename case for patches 2025-08-26 09:23:54 -05:00
The Unnamed Engineer
0c906464f0 case desensitize unzip 2025-08-26 08:55:27 -05:00
The Unnamed Engineer
5bafc77d97 Update task.rb
Modify all potentially case sensitive file operations to operate in a case-insensitive manner.
2025-08-26 08:55:27 -05:00
30aa44312d Fixed failing to download application manifests unless logged in by checking which source the application/channel orginated from, updated gems. 2025-08-26 08:51:08 -05:00
1e0adc398c Add support for patching encrypted mixes 2025-05-16 09:39:05 -05:00
cb81a51bfe Fixed failing to fetch manifests properly 2025-04-26 19:45:58 -05:00
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
d83a439ad1 Updated gems, implemented game settings (works best with scripts 5.1 games) 2023-11-19 12:42:54 -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
c0eac0104b Inital Import of asterisk_gosu into launcher, non-functional. 2022-06-03 22:58:26 -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
4f675644ee Enabled updater, TODO: make updater do less work than installer 2021-12-06 10:34:06 -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