184e96fa2d
patcher: add option to specify predefined patch url This option adds patch_provider to Patcher class, currently you can choose either y0soro or Krock (by default it uses y0soro for latest 3.0.0 patch)
tretrauit2022-08-24 20:14:38 +07:00
8449c104d9
patch: switch to y0soro repository for testing patch
tretrauit2022-08-24 20:06:02 +07:00
aa147792e6
fix: calculate_md5 will return "" for nonexistent files
tretrauit2022-06-26 01:56:14 +07:00
23980276ee
fix: patcher.py properly disable crash reporters. fix: revert_patch now works correctly. It was because of me forgetting to merge the game data name with the game directory I hope my crash log wasn't uploaded to mHY since I blocked their hosts...
tretrauit2022-06-26 01:53:37 +07:00
d4773bc38d
fix: _ask won't automatically think the answer is yes. I am dumb
tretrauit2022-06-25 02:09:26 +07:00
a5659f7ff3
refactor: convert all task-intensive functions to async. chore: rename gui.py to cli.py fix: internal downloader can resume download now. feat: add verify_game, verify_from_pkg_version, clear_cache to installer.py. feat: add clear_cache to patcher.py. fix: linux now check for pkexec before executing it. fix: add get_name to voicepack.py, latest.py, diff.py to get name from path (since the developer didn't set a name to these files in the sdk url) chore: remove deprecation message in read_version_from_config in installer.py misc: use chunk from self._download_chunk instead of being hardcoded to 8192. fix: is_telemetry_blocked will only wait 15s for a connection. chore: move appdirs to constants.py
tretrauit2022-06-25 01:13:47 +07:00
8b2d0cad8f
Remove game version check in download_full_game() Fix remote archive name detection (because archive.game.latest.name doesn't contain it anymore)
tretrauit2022-04-01 09:43:33 +07:00
b18da4e495
Remove game version check in download_full_game() Fix remote archive name detection (because archive.game.latest.name doesn't contain it anymore)
tretrauit2022-04-01 09:27:03 +07:00
4b99162bce
Fix hdiffpatch executables not being detected on Windows
tretrauit2022-03-31 20:38:59 +07:00
fd00e8b51d
Add support for hdiffpatch files Game now apply update properly (hopefully)
tretrauit2022-03-31 02:09:33 +07:00
c7918f8a20
Fix improper game version check
tretrauit2022-03-30 16:54:47 +07:00
7c45133508
Add support for downloading HDiffPatch
tretrauit2022-02-27 18:22:21 +07:00
992048ede3
Use create_subprocess_shell and fix hosts file appending on Linux
tretrauit2022-02-27 13:50:59 +07:00
aaf728445d
Various changes, block telemetry feature. -Sp/--patch is now required to do block telemetry before patching. Still preparing for hdiffpatch (will be coming at 1.10) Ay yo hosty support coming soon xD
tretrauit2022-02-27 01:54:20 +07:00
e4cc701166
Don't rely on xdelta3 python module Don't crash if xdelta3 module is not present, and add the ability to download game & voicepack in CLI Bump to 1.2.8
tretrauit2022-02-19 18:57:45 +07:00
2d6cff77c6
Disable crash reporters on patch Bump to 1.2.7
tretrauit2022-02-18 23:33:43 +07:00
ccb2d876fc
Fix syntax error on xlua patching function
tretrauit2022-02-18 21:41:50 +07:00
f4e668d8b0
Extend file duration from 3600 to 86400
tretrauit2022-02-18 21:34:41 +07:00
32b6ba965f
Implement install game in CLI
tretrauit2022-02-18 08:45:05 +07:00
ef24ad43ca
Added voiceover language info & archive type and install_game function Available through Installer.get_voiceover_archive_type and Installer.get_voiceover_archive_language Also some other optimizations including not extracting unneeded files from diff archive, deprecate _read_version_from_config function, and added install_game, uninstall_game, voiceover_lang_translate, get_installed_voiceovers
tretrauit2022-02-17 22:02:08 +07:00
b1a9223c19
Added support for updating game & applying voiceover packs
tretrauit2022-02-17 02:43:21 +07:00
da3ee30ab1
Wrap game resource info from the server
tretrauit2022-02-16 22:18:56 +07:00
81fbdec553
Remove message about QQ unimplemented.
tretrauit2022-02-16 02:58:48 +07:00
140e508dbf
Support chinese variant game version detection (not tested)
tretrauit2022-02-16 02:55:19 +07:00
ad391a551c
Read version from game file (thanks to An Anime Game Launcher project)
tretrauit2022-02-16 01:58:45 +07:00