Commit graph

396 commits

Author SHA1 Message Date
Observer KRypt0n_
213e418ee8
2.0.0-rc1
- updated locales
- made `Launcher.isPackageAvailable()` method to check if some package installed
- added GameMode and shaders packages existance checking

From previous commits:
- added 8 new discord rpc icons
- updated way `DiscordSettings` handles RPC icons
- fixed windows sizing on wayland
- updated dependencies
- added proper shaders menu section
- made `Locales.bind()` method to bind some callback to locale changing event
- with change above, made proper translations for button on the main window
- added UWU (Cursed) Language (by Marie)
- removed vi-vn and es-es locales because no one translate it
- added 6 new splash screen messages
- encoded file names for discord rpc icons
- fixed old launcher logs deletion
- added environmental variables manager
- fixed `Domain.getInfo()` method work in some specific cases(?)
- added `Launcher.version` field that represents... current launcher version
- made `Git` class to work with git repositories;
  made `Git.getTags()` method to list remove repository tags
- added outdated launcher version notification
- now by default config file's `env` field contains `{ WINEESYNC: 1 }`
  so now ESync enabled by default
- added `fsr` field to config file;
  added checkbox to the settings menu
  if this option enabled, launcher will run the game with `WINE_FULLSCREEN_FSR: 1`
  and `WINE_FULLSCREEN_FSR_STRENGTH: 3`
  environmental variables
2022-01-10 20:57:30 +02:00
Observer KRypt0n_
6b60d6326e
Added separate FSR checkbox
- updated locales
- now by default config file's `env` field contains `{ WINEESYNC: 1 }`
  so now ESync enabled by default
- added `fsr` field to config file;
  added checkbox to the settings menu
  if this option enabled, launcher will run the game with `WINE_FULLSCREEN_FSR: 1`
  and `WINE_FULLSCREEN_FSR_STRENGTH: 3`
  environmental variables
2022-01-10 19:35:18 +02:00
Observer KRypt0n_
02984394ee
Several changes
- added `Launcher.version` field that represents... current launcher version
- made `Git` class to work with git repositories;
  made `Git.getTags()` method to list remove repository tags
- added outdated launcher version notification
2022-01-10 17:44:24 +02:00
Observer KRypt0n_
d7162e85a4
Several changes (I LOVE SVELTE!!!)
- updated readme
- removed es-es locale because no one use it
- updated German, French and uwu languages
- fixed old launcher logs deletion
- added environmental variables manager
- fixed `Domain.getInfo()` method work in some specific cases(?)
2022-01-10 15:14:03 +02:00
Observer KRypt0n_
016f6abe88
Several changes
- removed vi-vn locale because no one translate it
- added 6 new splash screen messages
- encoded file names for discord rpc icons
- made preparations for env manager
2022-01-10 12:20:15 +02:00
Maroxy
9de6bf2748
Add UWU (Cursed) Language 2022-01-09 18:43:21 +01:00
Observer KRypt0n_
50830b530b
Several changes
- updated dependencies
- added proper shaders menu section
- made `Locales.bind()` method to bind some callback to locale changing event
- with change above, made proper translations for button on the main window
2022-01-09 17:24:00 +02:00
Observer KRypt0n_
4c16ce1de3
Fixed windows scaling for different gnome themes 2022-01-08 23:22:44 +02:00
Observer KRypt0n_
37e6a1162c
Removed splash screen resizing on wayland 2022-01-08 19:30:08 +02:00
Observer KRypt0n_
ffa1e4aaff
Wayland windows sizing
- improved `Window` class. Added:
  + `Window.isWayland()` to check if the system runs under wayland
  + `Window.upscaleSize()` to fix sizing of the window if the system uses wayland
- removed ability to resize windows (mistakenly added in the prev commit)
2022-01-08 17:55:17 +02:00
Observer KRypt0n_
8ec4765a5b
Fixed windows sizing on wayland 2022-01-08 17:11:13 +02:00
Observer KRypt0n_
80a0711b6b
Updated way DiscordSettings handles RPC icons 2022-01-08 14:48:31 +02:00
Observer KRypt0n_
bd07307f3c
Added 3 new Discord RPC icons 2022-01-08 13:02:21 +02:00
Observer KRypt0n_
900a5aa61c
Added 5 Inazuma icons 2022-01-07 23:55:23 +02:00
Observer KRypt0n_
f7cb1e7d24
2.0.0 beta 9
- added some buttons to settings menu
  + winetricks
  + winecfg
  + launcher folder
  + game folder
- made `Button` component
- fixed textarea and input background in dark theme in tables

From previous commits:
- made outdated files deletion
- reworked runners selection list
- removed `purge_dxvk_logs` config
- added `purge_logs.game` and `purge_logs.launcher` configs
- now launcher can delete its own old log files
- made DXVK logs deletion option works
- `Patch/Stream`'s `patchFinish()` callback now have `result: boolean` argument
  which indicates whether the patch was successfully applied
- `Patch/Stream` now also logs patch script output
- if the patch wasn't successfully applied - then `ApplyPatch` script
  will show user a notification about it
- also was fixed notification icon in telemetry checking
- fixed typo in notahuman's shaders
2022-01-07 23:27:55 +02:00
Observer KRypt0n_
4e21472e9e
Made outdated files deletion 2022-01-07 20:38:00 +02:00
Observer KRypt0n_
3aa0e2859b
Reworked runners selection list 2022-01-07 19:45:20 +02:00
Observer KRypt0n_
3d3bb5cb40
Reworked log files deletion system
- removed `purge_dxvk_logs` config
- added `purge_logs.game` and `purge_logs.launcher` configs
- now launcher can delete its own old log files
2022-01-07 18:52:15 +02:00
Observer KRypt0n_
483d7bd99a
Made DXVK logs deletion option works 2022-01-07 17:50:00 +02:00
Observer KRypt0n_
3fa259ec64
Several changes
- `Patch/Stream`'s `patchFinish()` callback now have `result: boolean` argument
  which indicates whether the patch was successfully applied
- `Patch/Stream` now also logs patch script output
- if the patch wasn't successfully applied - then `ApplyPatch` script
  will show user a notification about it
- also was fixed notification icon in telemetry checking
2022-01-07 15:22:32 +02:00
Observer KRypt0n_
af6315cdf1
Fixed default folders.game config value 2022-01-07 00:50:24 +02:00
Observer KRypt0n_
b22dd2aa44
2.0.0 beta 8
- added Italian
- added `Locales.supported()` and `Locales.fallback()` methods
  now launcher can have locales unsupported by the game

From previous commits:
- fixed shaders work
- made `Tray` class to manage tray features
- added tray icon
- added `folders` field in config file
  and now you can specify some pathes
- added `constants.paths.tempDir` field
- Discord RPC icons were moved to `src/assets/images/discord` folder
  and highly optimized
- added templates for `fr-fr`, `es-es` and `vi-vn` translations
- added Discord RPC icons selection
- added windows centering;
  also added `Window.current.center()` method
- added custom shaders option in settings menu
- fixed `applied` patch info field caching
- decreased splash screen timings
2022-01-06 22:39:29 +02:00
Observer KRypt0n_
9c85cef91c
Fixed comments 2022-01-06 19:52:16 +02:00
Observer KRypt0n_
6bbd40ca62
Actually fixed shaders work 2022-01-06 19:48:55 +02:00
Observer KRypt0n_
9118c433be
(probably) fixed shaders work 2022-01-06 19:45:37 +02:00
Observer KRypt0n_
d03db083e9
Fixed default folders.temp value 2022-01-06 19:28:20 +02:00
Maroxy
f233092d36
Removed estimated counter when just sitting in launcher 2022-01-06 17:44:07 +01:00
Observer KRypt0n_
7fafddffac
Several changes
- fixed `constants.paths.prefix.current` value
- made `Tray` class to manage tray features
- added tray icon
2022-01-06 18:35:48 +02:00
Observer KRypt0n_
3904a86381
API improvements
- added `folders` field in config file
  and now you can specify some pathes
- added `constants.paths.tempDir` field
2022-01-06 15:46:49 +02:00
Observer KRypt0n_
4c5d08ba13
Several changes
- Discord RPC icons were moved to `src/assets/images/discord` folder
  and highly optimized
- added templates for `fr-fr`, `es-es` and `vi-vn` translations
- added Discord RPC icons selection
- added windows centering;
  also added `Window.current.center()` method
2022-01-06 15:03:59 +02:00
Observer KRypt0n_
c404cc486e
Added custom shaders option in settings menu 2022-01-06 12:56:35 +02:00
Observer KRypt0n_
d81aa0df31
Fixed applied patch info field caching 2022-01-06 01:07:45 +02:00
Observer KRypt0n_
3af42f2aff
Decreased splash screen timings 2022-01-05 23:27:00 +02:00
Observer KRypt0n_
76da5b607f
2.0.0 beta 7
- added `Patch.getPatchInfo()` now caches its data
- increased `Game.getLatestData()` method caching time to 6 hours

From other commits:
- improved dropdown item contrast (!18)
- fixed DXVK applying
- fixed `Cache.set()` work
- added log files auto-saving
- fixed `Domain.getInfo()` work with different system languages
- added debug logs printing in console
- added proper launched game closing handling
2022-01-05 23:22:16 +02:00
Observer KRypt0n_
357f1292bb Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2022-01-05 23:02:52 +02:00
Observer KRypt0n_
d669d9e8cc
Reverted PR changes 2022-01-05 23:02:50 +02:00
Marie
cb8d74f555 Merge branch 'dropdown-contrast' into 'neutralino'
Improve dropdown item contrast

See merge request KRypt0n_/an-anime-game-launcher!18
2022-01-05 21:00:53 +00:00
Observer KRypt0n_
e3a476c87e Merge branch 'neutralino' into 'neutralino'
Different construction

See merge request KRypt0n_/an-anime-game-launcher!19
2022-01-05 20:59:11 +00:00
cybik
0eae8055e5 Different construction 2022-01-05 20:57:17 +00:00
Laurin Neff
c26b88d7b5
Improve dropdown item contrast 2022-01-05 21:52:55 +01:00
Observer KRypt0n_
0ea13d30ed Merge branch 'neutralino' into 'neutralino'
change newline to ; for command chain or just true

See merge request KRypt0n_/an-anime-game-launcher!17
2022-01-05 20:42:15 +00:00
Observer KRypt0n_
5abd8d788b
Fixed Cache.set work 2022-01-05 22:41:03 +02:00
cybik
8f5540eefc change newline to ; for command chain or just true 2022-01-05 20:38:41 +00:00
Observer KRypt0n_
6983ca6c36
Added log files auto-saving 2022-01-05 20:12:02 +02:00
Observer KRypt0n_
b643823d60
Fixed DXVK applying and hot cache resolving issues 2022-01-05 19:36:48 +02:00
Observer KRypt0n_
0045e0576a
Fixed DXVK installation and deletion 2022-01-05 18:32:53 +02:00
Observer KRypt0n_
15ee001b68
Fixed Domain.getInfo() work with different system languages 2022-01-05 15:27:59 +02:00
Observer KRypt0n_
4c096eb4b9
Added debug logs printing in console 2022-01-05 15:04:05 +02:00
Observer KRypt0n_
e5375dabff
Added proper launched game closing handling 2022-01-05 14:39:24 +02:00
Observer KRypt0n_
e52b87bbb5
2.0.0 beta 6
- added `patch` property to `Patch.install()` method to optimize it a bit
- added `button-blue` and `aria-label` thingies removing after test patch applying
- added some visual tweaks during patch applying
2022-01-05 12:54:23 +02:00
Observer KRypt0n_
f3de899ba5
Removed fakeroot usage 2022-01-05 12:42:45 +02:00
Observer KRypt0n_
5ea815dc03
Fixed patch applying 2022-01-05 12:36:43 +02:00
Observer KRypt0n_
e550f051e3
Fixed something important 2022-01-05 03:18:20 +02:00
Observer KRypt0n_
ec8447dc6e
2.0.0 beta 5
- updated logo
- updated discord rpc structure, settings menu and so on
- (probably) fixed .tmp files deletion
- decreased `Game.getLatestData()` caching period
- fixed discord-rpc binary execution
2022-01-05 03:08:48 +02:00
Maroxy
2015ce2057
OwO 2022-01-05 00:35:12 +01:00
Maroxy
552c3ea3a9
Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2022-01-05 00:20:32 +01:00
Maroxy
f1d39c61a7
Update discord 2022-01-05 00:19:33 +01:00
Observer KRypt0n_
cc6ff31606 Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2022-01-05 01:15:36 +02:00
Observer KRypt0n_
9aaf1e8ddd
Fixed discord-rpc binary file execution 2022-01-05 01:15:34 +02:00
Maroxy
60cdf66a58
Actually properly use discord rpc 2022-01-05 00:11:39 +01:00
Maroxy
5748cfb5ad
Add back details for more customization like in old launcher 2022-01-05 00:08:39 +01:00
Maroxy
2e9fdec00c
Return launcher icon if in launcher 2022-01-05 00:00:33 +01:00
Observer KRypt0n_
6fb8852ef4
2.0.0 beta 4
- made preparations to make discord rpc settings
- fixed game updating mechanism
- fixed `Patch.getPatchInfo()` method work
- added proper design for patch-related launcher states
- fixed progress bar displaying issues during pre-downloaded game unpacking
2022-01-05 00:52:26 +02:00
Observer KRypt0n_
7ecab2f995 Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2022-01-04 22:49:32 +02:00
Observer KRypt0n_
e244bca62b
Processes handling improvements
- added remained .tmp files removing before launcher closes
- improved `Process.run()`, fixed its work with AppImages
  also now it finds the real process id by the `pgrep -P` command
  which is a lot faster and better
2022-01-04 22:49:30 +02:00
Maroxy
e967165487
Add new flags to DXVK hud
DXVK Version
Estimated GPU Load
2022-01-04 20:22:34 +01:00
Observer KRypt0n_
34a48ed6a9
2.0.0 beta 4
- added Discord RPC feature
- fixed `Cache.get()` hot cache debug output
2022-01-04 18:26:36 +02:00
Observer KRypt0n_
66f852ddea
Improved Launcher.state.update() method performance 2022-01-04 17:07:24 +02:00
Maroxy
ee66769cb1
revert fakeroot as it won't work with the way process.run works 2022-01-04 00:56:38 +01:00
Maroxy
6052977c3c
Replace host removal with fakeroot 2022-01-03 22:55:29 +01:00
Observer KRypt0n_
d2764d3d34
Fixed game launching, removed excess code 2022-01-03 23:18:00 +02:00
Observer KRypt0n_
8260d1b975
(probably) fixed voice language update button 2022-01-03 19:59:55 +02:00
Observer KRypt0n_
d2de083355
Improved Voice.delete() method work 2022-01-03 19:43:05 +02:00
Observer KRypt0n_
4b41d46505
Fixed game launching when pre-installation available 2022-01-03 19:16:07 +02:00
Observer KRypt0n_
db6c219776
2.0.0 beta 3
- made Discord RPC preparations
  made `discord-rpc` cli utility
  made `DiscordRPC` class to manage it
- changed `'` to `"` in every command execution
- `Voice.current` field changed to `Voice.installed`
- `Voice.selected` field now returns list of selected voice packages
- added `Voice.delete()` method to delete voice package
- `Voice.isUpdatePredownloaded()` method now can check list of voice packages
- fixed ProgressBar's `showTotals` property work
- decreased maximal wine prefix creation log size in progress bar
- improved `Process.run` command which now finds correct process id
- made DropdownCheckboxes component
- made voice packages selection system
2022-01-03 18:51:32 +02:00
Observer KRypt0n_
d90f339eb1
Added fps unlocker 2022-01-02 19:44:12 +02:00
Observer KRypt0n_
9a2666b8b3
Improved Voice.current output 2022-01-02 19:00:32 +02:00
Observer KRypt0n_
9105a6efa1
Several changes
- added env variables support in config file
- fixed `Process.run()` method work with env variables
- changed a bit `Domain.getInfo()` method
2022-01-02 11:57:10 +02:00
Observer KRypt0n_
2587b29b40
Fixed Domain.getInfo() method work 2022-01-02 03:06:01 +02:00
Observer KRypt0n_
becb7db124
Fixed AppImage compatibility 2022-01-02 02:38:42 +02:00
Observer KRypt0n_
4a2250277d
Improved IPC class working 2022-01-01 23:57:50 +02:00
Observer KRypt0n_
e87f3526c0 Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2022-01-01 23:40:29 +02:00
Observer KRypt0n_
4b69f9e4d0
API improvements
- made `IPC` class to make custom IPC implementation
  instead of the Neutralino's Storage API
2022-01-01 23:40:26 +02:00
Maroxy
6139c460be
Fix DXVK not applying due to shell file looking for wine 2021-12-31 22:11:38 +01:00
Observer KRypt0n_
1fe18818dc
Added hints for "recommended only" options in settings 2021-12-31 20:40:18 +02:00
Observer KRypt0n_
d42ad9e04f Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-31 19:23:35 +02:00
Observer KRypt0n_
3faa73dcfd
Minor changes 2021-12-31 19:23:33 +02:00
Maroxy
ca83c20b48
remove hosts editing from patch 2021-12-31 17:27:54 +01:00
Observer KRypt0n_
df9d2f8a33
Several changes
- added slashes to the Download Stream curl command
- fixed game pre-installation scripts
2021-12-31 11:21:26 +02:00
Observer KRypt0n_
7088842f53
Fixed prefix creation
- `Prefix.getWinetricks()` now makes `winetricks.sh` executable
- added test patch hint
- fixed `Install` script error with game updating
- fixed `InstallWine` and `InstallDXVK` scripts work
  now they select installed things in config file
2021-12-30 15:04:09 +02:00
Observer KRypt0n_
aa4539cec3
Made better folder creation
- now Archive Stream creates folders recursively before unpacking
- `DXVK.list()` and `Runners.list()` now don't require related to them folders to work
- now launcher automatically creates `constants.paths.launcherDir` directory at the start
2021-12-30 13:55:04 +02:00
Maroxy
ff6f80c9e0
Fix bundling of json, locales, shaders
Add check for if dxvk, runners and launcher directory exist or doesn't exist
2021-12-30 02:02:11 +01:00
Observer KRypt0n_
81676f4b7c
Made default runner and dxvk auto-installation
- Wine-GE runners family moved to the top of the runners list
- now installed runner will be automatically selected
- launcher controls were slightly moved down
- fixed double resolved unpack directory logging in AbstractInstaller
- fixed `Prefix.create()` method work
- added `State.update()` method logging
- now settings button will be hidden when user are doing something
- added `InstallWine` and `InstallDXVK` scripts; added related launcher states
2021-12-29 21:34:23 +02:00
Observer KRypt0n_
2a4dcc03e3
API improvements
- now pre-downloaded game will be automatically unpacked
2021-12-29 19:32:09 +02:00
Observer KRypt0n_
77969868e3 Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-29 18:04:33 +02:00
Observer KRypt0n_
d2d690a114
Added game pre-downloading feature
- decreased splash window size
- added `Game.getLatestData()` result caching, so basically every
  `Game` and `Voice` method and field now caches most of the data
- Made `Game.predownloadUpdate()` method
- Made `Game.isUpdatePredownloaded()` method
- Made `Voice.predownloadUpdate()` method
- Made `Voice.isUpdatePredownloaded()` method
- fixed `Cache.get()` method work
- now launcher window hides when you launch the game
- added `pre_download_game` API field type definition
- added game pre-downloading button
2021-12-29 18:04:30 +02:00
Maroxy
f51e4d558e
Delete webm 2021-12-29 14:47:38 +01:00
Observer KRypt0n_
7bfb3ab0b5
Some not important changes 2021-12-29 14:59:55 +02:00
Observer KRypt0n_
fd6989acb8 Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-29 14:56:57 +02:00
Observer KRypt0n_
e762825d91
Several changes
- added theme switching
- added dark theme support for the splash window
2021-12-29 14:56:54 +02:00