Commit Graph

57 Commits

Author SHA1 Message Date
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
232ed2032f Window is no longer a fiber, should prevent window from locking up due to a fiber not yielding, replaced ui's direct async calls with BackgroundWorker.foreground_job, show pulsing circle behind app logo on boot 2022-02-12 09:03:46 -06:00
aef62b423f ICO parsing of 32-bit icons now possible, added default_icon image for missing app icon 2022-02-06 08:35:38 -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
4996315aeb Made games list and game menu scrollable, added ENV["SDL_VIDEO_ALLOW_SCREENSAVER"] to enable system to sleep when idle with launcher still open 2022-01-18 18:56:31 -06:00
1b91191d90 Server Browser is now properly updated like the offical launcher- just a bit more flashy due to taking 100+ ms to regenerate ui elements 2021-12-30 18:56:56 -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
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
0f943252c5 Websocket based server list updater now works, gui needs a bit of work to not flash when refreshing list 2021-12-27 20:48:30 -06:00
55191f143a Added option to force fetch to Cache.fetch, force user profile picture to be fetched on start up or on login 2021-12-26 21:32:54 -06:00
e87f14079d Added semi-functional websocket implementation of signalR for live server list changes (seems a bit chatty though with some servers only having time remaining changing, fixed crash when a user has an active login but their profile picture was removed, fixed not explicitly saving Cache.fetch'ed items as binary 'wb' resulting in corrupt profile image. 2021-12-26 21:23:53 -06:00
2bbb2acc6e Replaced most Excon + Thread calls with Async 2021-12-26 09:20:25 -06:00
961b61c0ce Made Join Server button have a different colored background for non-release servers, added small download icon next to a game's icon when it is not installed, updated Update Now string to Install Update, selected app and channel are now saved to the settings- possibly removing an unnecessary click 2021-12-22 18:14:26 -06:00
6b82fad794 Improved server list to show server release channel and to use correct channel for launch game, disable update interval manager due to current implementation being a bit janky looking 2021-12-22 15:48:51 -06:00
d2723c82ab renamed variable to make better sense of what it means 2021-12-22 14:56:20 -06:00
54ae2a1212 fixed download manager sometimes cropping off game version 2021-12-22 10:05:17 -06:00
da04debec4 Fixes 2021-12-16 22:22:36 -06:00
4f675644ee Enabled updater, TODO: make updater do less work than installer 2021-12-06 10:34:06 -06:00
a6c194b762 Show update available icon on Games page next to the games icon 2021-12-06 10:03:04 -06:00
a7a5b98955 Updates are now checked 2021-12-06 09:56:04 -06:00
2a5a9229bc Fixed unable to join non-renlike games due to the way that Process.spawn arguments are wrapped in quotes, enriched server game balance indictator 2021-11-29 22:12:05 -06:00
1a71d1274f Show estimate of game balance based on score 2021-11-29 21:18:29 -06:00
13103a7380 Added app icon, removed W3DHub::NAME constant, replaced stub content in community updates section with actual W3D Hub news 2021-11-29 18:39:15 -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
e0e649c922 Changes, made server browser refresh button have a hard 30 second minimum refresh interval, settings are now saved! 2021-11-24 21:50:56 -06:00
829bc3b2e1 Added refresh button to Server Browser 2021-11-24 20:48:06 -06:00
af0bf99f65 Render lock icon onto passworded servers game icon 2021-11-22 22:24:16 -06:00
6dd1966384 Play now button functional, server list Server now rejects 'players' with nicks Nod and GDI to correct player count, implemented show folder for Games list 2021-11-22 22:02:01 -06:00
74fc6bc24c Server browser filter options are now saved and restored 2021-11-22 21:19:08 -06:00
66e8c04fc7 Server list is now pre-fetched during 'bootup' 2021-11-22 20:48:46 -06:00
a4dd375511 Removed window as central storage, added Store class to be central memory store 2021-11-22 20:38:24 -06:00
3a269cbaae Added noto font, fixed bug in Join Server button 2021-11-22 13:15:19 -06:00
b3665af5c4 Disable async-websocket for now, added i18n gem, added support for translations, added password prompt for passworded servers 2021-11-22 11:39:42 -06:00
dfa1e413ea Added async-websocket gem, made game button icon greyed out if not installed 2021-11-22 07:24:03 -06:00
f483086c90 Added wine configuration game link if on unix 2021-11-20 11:16:46 -06:00
89f7f4ab6a Can now join a server and launch installed games (Play Now does nothing special yet) 2021-11-19 15:48:13 -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
ea1a7e8b13 Added .rubocop.yml config, filters for Server Browser now functional, game select button on Games page now overrides the hover color if its selected 2021-11-18 14:25:37 -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
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
7fd38cd92d Fixed game ordering, added ApplicationManager class that'll manage installing/repairing/removing games 2021-11-14 19:52:27 -06:00
b7ccdb2ad3 Refresh token at start up now works, added a bit of a hack to populate account info by opening the login page first and having it populate the data then load the games page, added Cache, and Settings 2021-11-14 18:54:09 -06:00
4b69b60aab Login to W3D Hub is now possible 2021-11-14 16:45:57 -06:00
86a5056705 Swapped out cncnet.org server list for w3dhub's 2021-11-14 14:21:05 -06:00