Commit graph

423 commits

Author SHA1 Message Date
Observer KRypt0n_
474364fee1
Removed test telemetry notification before game launching 2022-02-20 19:01:25 +02:00
Observer KRypt0n_
cbe542e995
Improved integrity checking, added pause/resume button 2022-02-20 18:28:02 +02:00
Observer KRypt0n_
40ed431438
Removed temp button 2022-02-20 16:51:04 +02:00
Observer KRypt0n_
ebe22485e6
Implemented files verification feature (!45) 2022-02-20 16:49:03 +02:00
Observer KRypt0n_
0f3693d849 Merge branch 'marie/integrity' into 'main'
Add file integrity/verification

See merge request KRypt0n_/an-anime-game-launcher!45
2022-02-20 12:50:00 +00:00
Observer KRypt0n_
d1ebf567b7
Added generic types for Locales.translate() 2022-02-20 14:46:58 +02:00
Maroxy
836faa38ec
Merge branch 'main' into marie/integrity 2022-02-20 13:39:48 +01:00
Maroxy
7327231c04
Add Downloading of mismatched files
Add Locales
2022-02-20 13:39:14 +01:00
Observer KRypt0n_
2eb2c98637
Fixed defaultSettings.ts work 2022-02-20 13:33:11 +02:00
Observer KRypt0n_
75f2ad66ed
Added initial Chinese game version support
- added `zh-cn` locale
- added `server` field to `config.yaml` file that indicates
  currently using game server - `global` or `cn`
  its default value is based on the system language
- `constants.paths.gameDataDir` returns path based on `server` config property
- `constants.placeholders.uppercase.full` was changed to an object:
  + global: <global game name>
  + cn: <cn game name>
- in `constants.uri.*` changed second fields:
  + api
  + telemetry
  they're following the same format as `full` placeholder
- `constants.versionsUri()` and
  `constants.backgroundUri()` are functions now
  their output depends on server you're passing as a parameter
- added `Game.server` field (global / cn)
- `PatchInfo` type now contains `server` field
- `Patch.getPatchInfo()` also depends on `Game.server` value
- reworked `Background.get()` method to support cn game api
2022-02-20 13:29:06 +02:00
Maroxy
e47dd445a5
Add Voice Pack checking 2022-02-20 11:14:27 +01:00
Maroxy
6be07994cc
Change handling of Integrity button in State 2022-02-20 11:13:18 +01:00
Maroxy
4cd514457c
Make langs public in Voice 2022-02-20 11:12:35 +01:00
Observer KRypt0n_
3abd53753d Small code style changes 2022-02-20 08:26:44 +00:00
Maroxy
ab5cf4e658
Fix accidental state change for predownload 2022-02-20 04:57:47 +01:00
Maroxy
f05d25b021
Add basic file integrity checking
- Uses md5sum and awk to get it from command
- Adds button for checking integrity only if launch ready
- Skips UnityPlayer if patched
2022-02-20 04:52:34 +01:00
Observer KRypt0n_
e0a093237d
2.2.0 (pre-release 2)
- added analytics window
- reworked `Checkbox`'s `tooltip` property
- added `LeftCheckbox` component
- added `constants.uri.analytics` field
- updated French and Hungarian
2022-02-19 21:24:26 +02:00
Observer KRypt0n_
195220d7e0
2.2.0 (pre-release)
* This version will be released after
  all the locales will be updated
- added `HDiffPatch` class to work with HDiffPatch (https://github.com/sisong/HDiffPatch)
- added 2 new launcher states
  + game-files-changes-applying-required
  + game-outdated-files-deletion-required
- added `.hdiff` files changes applying
- updated dependencies

From previous commits:
- fixed an issue with log files' name generation
  It seems that on some specific file systems(?) `stat -c '%W' <file>`
  returns `0` as a file creation timestamp
- updated Italian
2022-02-19 17:06:08 +02:00
Observer KRypt0n_
505f8d16b8
Fixed an issue with log files' name generation
It seems that on some specific file systems(?) `stat -c '%W' <file>`
returns `0` as a file creation timestamp
2022-02-17 18:29:10 +02:00
Observer KRypt0n_
1c944a3d86
2.1.5
- updated pictures and statistics
- removed `constants.getPatchUri()` function
- reworked `Patch/Stream` class to use `git clone` and `git pull` instead of
  downloading repository archive
- fixed patch applying issue (!43)
2022-02-16 15:43:24 +02:00
Marie
1ab7e0f549 Fix test patching 2022-02-16 12:09:40 +00:00
Observer KRypt0n_
086e502f12
2.1.4
- updated dependencies, statistics and pictures
- dxvk and runners list now stored in yaml format
- added new wine versions;
  made `Wine-GE 7.2-2` the default one
2022-02-16 09:24:28 +02:00
Maroxy
4fd4168f9c
Fix translation not working properly on some areas 2022-02-10 13:22:45 +01:00
Observer KRypt0n_
41260f3dfb
(probably) fixed issue with launcher's window not disappearing 2022-02-09 17:50:20 +02:00
Observer KRypt0n_
1dfafd3da4
2.1.3
- updated dependencies

From previous commits:
- added Futex2 option for Wine synchronization settings
- fixed 100% CPU Usage lock on Discord RPC (!36)
- added borderless windows option (!35)
- reworked `enhancements` locales structure;
  added separate "Wine", "Game" and "Launcher" sections
  to the "Enhancements" settings
- added "Use terminal" option to run the wine command in a separate terminal window
- fixed `DXVK.apply()` compatibility with Wine-GE 7.* (b1c96039)
- updated Hungarian and Norwegian
- updated notahuman's shaders to v5 (!37)
- disabled terminal usage in flatpaks
2022-02-06 22:00:36 +02:00
Maroxy
5be0d2c212
Add sed Command for NFAA file 2022-02-05 22:20:46 +01:00
Marie
ae085b858f Test SED 2022-02-05 21:13:01 +00:00
Observer KRypt0n_
43d0b0f5e8
Disabled terminal usage in flatpaks 2022-02-05 22:35:58 +02:00
Observer KRypt0n_
b1c960398c
Fixed DXVK.apply() compatibility with Wine-GE 7.*
In this version was changed `--version` output to the `ge-7.*`, and thus
because `setup_dxvk.sh` script is searching for `grep wine` (`wine-*`) output,
it has been ending with an error that wine
is not provided
2022-02-04 21:10:25 +02:00
Observer KRypt0n_
7375c7436a
Several changes
- reworked `enhancements` locales structure;
  added separate "Wine", "Game" and "Launcher" sections
  to the "Enhancements" settings
- added "Use terminal" option to run the wine command in a separate terminal window
2022-02-04 20:23:22 +02:00
Observer KRypt0n_
c70ff55093
Updated Norwegian and Russian, changed a bit settings order 2022-02-04 17:47:22 +02:00
Rattlehead15
7b5ac30cbe borderless window setting 2022-02-04 15:20:54 +00:00
Marie
b371baee72 Add Norwegian to I18N 2022-02-03 20:56:04 +00:00
Marie
af81e951c9 Add Norwegian locale 2022-02-03 20:53:48 +00:00
Observer KRypt0n_
791614bdcd
Added Futex2 option for Wine synchronization settings 2022-02-03 22:25:05 +02:00
Observer KRypt0n_
7646731470
2.1.2 (2)
- actually fixed the problem with Chinese voice package
2022-02-03 17:23:53 +02:00
Observer KRypt0n_
a4a1d3501e
2.1.2
- added `latest.log` file generation, changed log files naming

From previous commits:
- fixed chinese voice data installation (!33)
- don't attempt to edit /etc/hosts or use pkexec when running as flatpak (!31)

From beta-1:
- fixed compatibility issues with patch repos
2022-02-03 17:12:55 +02:00
Marie
7fad110680 What's zn-cn 2022-02-03 14:03:26 +00:00
Marie
e77fb91382 Fix sed command for Flatpak users due to new lines 2022-02-02 21:17:36 +00:00
Observer KRypt0n_
571143afd8
2.1.2-beta1
Fixed compatibility issues with patch repos
2022-02-02 22:54:10 +02:00
Laurin Neff
b6542a6a4b
don't attempt to edit /etc/hosts or use pkexec when running as flatpak 2022-02-01 22:55:51 +01:00
Observer KRypt0n_
2cfc8b51d1
Fixed (?) yes yes input piping in patch applying 2022-01-31 22:16:24 +02:00
Observer KRypt0n_
e319099c1e
Fixed patch applying 2022-01-31 22:09:05 +02:00
Observer KRypt0n_
be569219f3
Changed app title 2022-01-31 10:02:05 +02:00
Observer KRypt0n_
3083f0f4ce
2.1.0
- changed application id
- implemented !28
- changed a bit config file structure

From previous commits:
- ping command check before telemetry check (!23)
- updated empathize version;
  due to it was removed `Launcher.isPackageAvailable()` method
  which now included in empathize as `Package.exists()`
- `Game.isTelemetryDisabled()` now rejects an Error object
  when `iputils` package (`ping` command) is not installed
- due to the change above was slightly rewritten `Launch.ts` script
- added automatic default language selection
- added `Locales.system()` method to get
  launcher-supported locale based on the `$LANG` env variable
- use polkit/pkexec instead of removing sudo section (!26)
- blured everything that should be blured in the launcher pics
- added blank analytics window
- removed `components.sass` file;
  its content was moved to `settings.sass`
- improved `Button` component
- added `constants.uri.discord` and
  `constants.placeholders.uppercase.company_alterego` fields
- added proper windows centering
- added Hungarian
- added `wine-ge 7.1-1` and `proton-ge 7.1-(1/2)` to the runners list
- `wine-ge 7.1-1` now is the default runner to install during the game's installation
- small conspiracy changes
- fixed actions execution issues in the launcher's core libraries
- added virtual desktop option (!28)
- added ToS violation warning window
- added additional IPC pull purging during the start of the launcher

From 2.1.0-beta1:
- moved launcher on empathize
- added some links to the end of the settings menu
- updated notahuman's shaders to v4
- added localizations for notifications
- fixed possible errors in `Locales.bind()` method
- added `Locales.translate()` method to translate something
- added DXVK 1.9.4 and made it default;
  DXVK 1.8 and 1.8.1 now aren't recommended
- added Indonesian
- added Wine synchronization option in settings
  that can accept None, ESync or FSync
- added `xdelta3` package existing checking before patch applying;
  also added an error notification when patch repos are not available
- `cache.json` file was renamed to `.cache.json`
- `Patch.fetchTimeout` was increased up to 5 seconds from 3 seconds
- fixed *possible* issue with `Locales.default()` method:
  before, if you've been passing there a language to set as default,
  it wasn't returning properly
- added notification when all the patch repos are not available
2022-01-30 22:48:34 +02:00
Observer KRypt0n_
a2b2cbf14d
Small change in splash screen opening timing 2022-01-30 21:35:06 +02:00
Observer KRypt0n_
0868bf13ef
Added ToS violation warning window
- also added additional IPC pull purging during the start of the launcher
2022-01-30 21:33:12 +02:00
Observer KRypt0n_
081a330830
Fixed actions execution issues in the launcher's core libraries 2022-01-30 20:45:38 +02:00
Maroxy
554a97b104
Fix misplacement of translation category 2022-01-30 18:39:35 +01:00
Maroxy
31b5e7b1f9
Make VD disable AMD FSR 2022-01-30 17:40:58 +01:00