Commit graph

775 commits

Author SHA1 Message Date
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
Maroxy
54ff1ed95e
Bundle public in release 2021-12-29 21:39:18 +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
19e8f14f2d
Update DE Locale 2021-12-29 15:43:27 +01: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
Maroxy
e9a208352e
Update locale Comments 2021-12-29 13:36:15 +01:00
Maroxy
14b594f8fe
Add German 2021-12-29 13:33:42 +01:00
Maroxy
a62d917992
Yeet ts-expect-error
otherwise TS nerds will be angry
2021-12-29 13:18:48 +01:00
Observer KRypt0n_
faee9c4a35
Several changes
- added splash screen
- added `Process.kill()` static method
2021-12-29 14:02:12 +02:00
Observer KRypt0n_
ee58e179c3
Several changes
- changed aur package name and link
- removed webkit2gtk from the install commands in readme
- added theme auto-switching
- fixed dxvk config updating after installation
- fixed `fetch()` delaying issues
2021-12-29 01:21:34 +02:00
Observer KRypt0n_
cec860e69c
Added debugger
- disabled already selected dxvk/runner re-selection
- fixed `Voice.current` output
- made `Debug` and `DebugThread` classes
- fixed `winecfg` usage during DXVK installation
- `bash` usage was changed to the `./`
- added voice update state identification
- fixed shaders usage in game launching script
- added debugging to the `[launchder]/logs` folder
2021-12-28 21:22:45 +02:00
Observer KRypt0n_
fca10371b8
Added settings tooltips
- added `tooltip` property for the `Checkbox` and `SelectionBox` components
- changed text selection cursor to default
- added tooltips for some options in the settings menu
2021-12-28 14:16:54 +02:00
Observer KRypt0n_
0c1a9e68ca
Added telemetry checking
- updated vite version
- made `Game.isTelemetryDisabled()` method to check whether game's telemetry is disabled
- made `Domain` class and `Domain.getInfo()` method
  to get information about some domain
- made `Notifications` class to manage system notifications
- added telemetry checking before game launching
2021-12-28 13:27:29 +02:00
Observer KRypt0n_
10b910c2ae
Updated roadmap goals 2021-12-28 12:12:40 +02:00
Observer KRypt0n_
35d9e82222
Several changes
- changed shaders config file format
- added shaders selection menu section template
- made `Shaders` class to manage shaders
2021-12-27 23:17:02 +02:00
Observer KRypt0n_
25e4c3f6f2
Reworked a bit windows opening 2021-12-27 20:51:56 +02:00
Observer KRypt0n_
bc8dfc0394
Several changes
- some `Wine-GE` things recommended now
- added loading gif during dxvk (runner) applying / something deleting
- added dxvk installation, deletion and applying
- `DXVK.current` field was reworked as a `DXVK.current()` method
- added `DXVK.delete()` method
- added `DXVK.apply()` method
2021-12-27 20:33:49 +02:00
Observer KRypt0n_
082b596421
Several changes
- fixed `runners.json` `Wine-6.16-GE-1` URI
- added recommendable only checkboxes for DXVK and runners lists
- fixed empty config property creation
- added runners installation, deletion and selection abilities
- `Runners.current` field was reworked as a `Runners.current()` method to be able
  to change selected runner according to the config file
2021-12-27 18:39:40 +02:00
Maroxy
d26d9578d0
Update comments 2021-12-27 15:36:54 +01:00
Observer KRypt0n_
71d6505fd7
Several changes
- added dnf requirements installation command from the main branch
- added Runners settings section
  and `RunnersSelectionList` to manage them
2021-12-27 16:31:32 +02:00
Observer KRypt0n_
295bd165d9 Merge branch 'Chaimann-main-patch-46547' into 'main'
Add Fedora's dnf installation command

See merge request KRypt0n_/an-anime-game-launcher!16
2021-12-27 14:10:12 +00:00
Observer KRypt0n_
7f4f14d76b
Severl changes
- disabled neutralino window hot reloading
- fixed `Game.current` version gathering from the game files
- fixed `Patch.getPatchInfo()` method working, so now this function and
  the `Patch.current` field will return correct information whether
  the patch was applied or not
- `Patch.install()` method now can return null if the patch state is "preparation"
- added `Voice.selected` field that will represent the `lang.voice` config
- fixed `Voice.getDiff()` method errors
- improved `Archive`'s stream unpacked files listing
- made `Prefix` class, some `Runners` methods from the previous update were moved there
- fixed `ProgressBar.init()` method work which also fixes ETA calculation
- added bunch of new launcher states and events for them
- added `State.update()` method to automatically update launcher's state
- `Process` object now can get the output of the process that was started
  by the `Process.run()` method and can be accesed
  by the `output` event
- also was removed `input` field for the `Process.run()` method options
2021-12-27 16:08:06 +02:00
Jegor Prawdikow
c0e8006fef Add Fedora's dnf installation command as the "xdelda3" package is actually called "xdelta". 2021-12-27 12:11:08 +00:00
Observer KRypt0n_
68d766da58
API improvements
- added `Archive.closeStreams()` method to close all the unpacking streams
- added `Downloader.closeStreams()` method to close all the downloading streams
- added the same methods to the streams itself
- fixed launch button events execution
- added prefix creation during the game installation/updagin
  if it is not created
- added some hack to the `Process.running()` method to show that the process
  is not running if it is a zombie
2021-12-27 00:27:39 +02:00
Observer KRypt0n_
e8c721dc93
API improvements
- added `Runners.getWinetricks()` method to get the `winetricks.sh` script
- added `Runners.createPrefix()` to create wine prefix using the currently
  selected wine version
- added game installation and updating action scripts
- added `Process.addSlashes()` method to easily isolate some strings
2021-12-26 23:38:04 +02:00
Observer KRypt0n_
342eeadbfd
Settings menu improvements
- added voice selection
- added theme selection
- added discrod rpc toggle
- added hud selection
- added gamemode, fps unlocker and dxvk logs auto-deletion options
- default settings were moved to a separate file
- dxvk list now shows installed and active dxvk
- added `DXVK.current` field
2021-12-26 22:32:01 +02:00
Observer KRypt0n_
8937a8eba9
Added svelte components
- made `SelectionBox` component
- made `DXVKSelectionList` component
- updated locales files
- added locale selection based on `SelectionBox` component
2021-12-26 19:50:24 +02:00
Observer KRypt0n_
e86058dabe
Changed project framework
- vue was replaced by svelte
- changed typescript preferences
- changed `Launcher` class
- added `Locales.default()` method to manage default localizations setting
2021-12-26 18:25:57 +02:00
Observer KRypt0n_
317557b335
Several changes
- made selection list component
- generalized selection box component;
  added `LanguageSelection` component
- `DXVK.get()` method was renamed to `DXVK.get()`
- added `DXVK.get()` method to get a DXVK with a specified version
2021-12-26 00:47:08 +02:00
Observer KRypt0n_
210157a5a8
Several changes
- made selectbox component
- added language selection box
- renamed languages
2021-12-25 22:03:01 +02:00
Observer KRypt0n_
c2b8623718
Several changes
- added components system
- made settings template settings
- added `vue-i18n`, made template locales
- made `Checkbox` component
2021-12-25 17:44:27 +02:00
Observer KRypt0n_
0684774ea8
Several changes
- added `vue-i18n`
- made `Locales` class to get launcher locales
- added checking that settings window is not already open in `Launcher.showSettings()`
- improved `promisify()`; now it can work with `Promise` objects
- improved `Process` class;
  added `Process.kill()` and `Process.running()` methods
- improved `Window` class, fixed its output
2021-12-25 16:09:46 +02:00
Observer KRypt0n_
1a99aae933
Several changes
- added template settings html file
- removed excess code from the entry file
- fixed windows loading
- added proper main window title
- added settings button events
- also `index.ts` now works through `promisify()`
- added `Launcher.showSettings()` method
- fixed `promisify()` issues related to `callAtOnce` property
2021-12-24 21:57:27 +02:00
Observer KRypt0n_
843196e0e1
API improvements
- fixed `Game.getLatestData()` method
- added `Patch.install()` method
- added downloaded archive auto-deletion in `AbstractInstaller`
- highly improved `promisify()` function
- added `source` field for the patch info
2021-12-24 21:05:58 +02:00
Observer KRypt0n_
bd41bd1f46
Added proper wine prefix usage in game starting 2021-12-24 14:41:17 +02:00
Observer KRypt0n_
123db17f57
Fixed promised runners dir usage 2021-12-24 14:37:26 +02:00
Observer KRypt0n_
d0368803cc
Added several runners versions 2021-12-24 14:35:37 +02:00
Observer KRypt0n_
d1474f643a
API improvements
- made `promisify()` function to run some code asynchronously
- added some default configs setting at start
- now settings are stored in yaml format
- fixed `Configs.defaults()` null values overwriting
- added launcher state system
- added `Runners.current` field to get the current selected runner
  according to the config file
- `Configs.get()` method was renamed to `Configs.list()`
- added `Configs.get()` method to get a `Runner` object
  by the specified runner name
- added `Process` class to have a better experience of working with processes
- updated readme
2021-12-24 14:23:45 +02:00
Observer KRypt0n_
6e38611900
API improvements
- added `Game.update()` method
- added `Voice.update()` method
- fixed `ProgressBar.update()` types errors
- added languages to the `Voice.current` field
- updated `package.json` and `tsconfig.json`
- updated roadmap goals
2021-12-23 22:19:32 +02:00
Observer KRypt0n_
f85acba926 Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-23 20:07:50 +02:00
Observer KRypt0n_
5835f1e6cf
Several changes
- added some default settings setting
- changed unsupported `user-select` style to `-webkit-user-select`
- `Configs.set()` now can store promise objects
- made `ProgressBar` and `Background` classes in `launcher` folder
  to simplify `Launcher` code
2021-12-23 20:07:48 +02:00
Maroxy
182cddb006
Proper TS 2021-12-23 18:06:52 +01:00
Maroxy
bf3e57a7dd
Fix ts-expect-error 2021-12-23 17:54:22 +01:00
Maroxy
65ab2a8be7
Merge branch 'neutralino' of https://gitlab.com/KRypt0n_/an-anime-game-launcher into neutralino 2021-12-23 17:48:26 +01:00