Commit Graph

98 Commits

Author SHA1 Message Date
441a06fb5b fix(zzz); voicepack language detection 2024-12-18 17:39:48 +07:00
a33bdaa473 feat: implement zzz
It literally is just copy-pasting
2024-12-18 17:35:04 +07:00
4a7bc3d0b4 chore(cli): migrate to one file
Easier to maintain but slightly slower execution speed lol
2024-12-18 15:20:24 +07:00
1948d1f741 chore: add whatever spicy thingy here 2024-12-18 13:30:28 +07:00
6f384c1cc5 chore: add some information to readme 2024-12-13 19:42:36 +07:00
ebc0f2f3f5 feat(cli): support genshin
It literally is just copy-pasting lol, since almost all code are shared.
2024-12-13 19:35:51 +07:00
0c83958ee5 feat(cli/hsr): implement 'voicepack install' & other changes
Rename 'voicepack update-all' to 'voicepack update', allowing update only a voicepack instead of having to upate all of them
2024-12-13 19:30:54 +07:00
95ef9409f5 feat(cli/hsr): add 'hsr install download' command
Yeah
2024-12-13 13:22:38 +07:00
659366620b feat(cli/hsr): support game installation 2024-12-13 12:54:59 +07:00
5304cfbde1 chore: fix a bit
Wtf me
2024-12-13 11:59:51 +07:00
2331f9404a feat(game/genshin): initial copy of hsr code
Lol
2024-12-13 11:56:30 +07:00
a3df498444 chore: move repair-related functions to common
Preparation for Genshin Impact support xD
2024-12-13 11:26:48 +07:00
8ba00754ee chore: add more info to readme 2024-12-12 18:20:21 +07:00
4e0c4ed2c0 chore: refactor readme 2024-10-26 00:36:24 +07:00
7e5a60bb33 fix: applying update archive
It now works, previously I thought py7zr works the same as zipfile but it's different af so I had to change some code for that.
2024-10-23 20:46:44 +07:00
f02f1d5988 fix(common/update): zipfile -> py7zr
So py7zr does have some differences from zipfile
2024-10-22 13:10:14 +07:00
0bac04bdbd fix: use py7zr
Game archive now uses .7z, wow mihoyo
2024-10-22 00:34:57 +07:00
4d8f4008f2 fix(cli/hsr): download update now works
Also change e.__context__ to traceback.format_exc() to give better and actually useful error messages.
2024-10-21 13:34:38 +07:00
208c6efd1e fix(hsr/repair): fix the decompressed url
They changed it lol
2024-10-21 13:33:49 +07:00
156c42c1f3 fix: fix predownload object
Wow.
2024-10-21 13:33:17 +07:00
8ff2a388d7 fix: migrate to HoYoPlay
For now, only update game and voicepack are working

This commit also fixes a couple of bugs too. Tbf I enjoyed HoYoPlay until I don't have enough space to update my HSR so yeah 💀
2024-09-10 16:47:20 +07:00
08c51d2fd8 feat(repair): rework the repair feature
Mostly usable now
2024-06-18 02:49:52 +07:00
e8f63f175f Merge branch 'master' of himeko.tretrauit.me:tretrauit/vollerei 2024-06-06 20:21:06 +07:00
acd457babe fix(repair): join game path with pkg_version 2024-06-06 20:19:45 +07:00
bf5bdf7618 fix(repair): join game path with pkg_version 2024-06-06 20:17:22 +07:00
f5e7417cdf feat(hsr): repair game
Apparently doesn't completely work on my setup (NTFS + Btrfs) but yours may. If it doesn't fix the game then copy the file it downloaded from temp to the game directory and it should work.
2024-05-28 10:58:27 +07:00
bbdb8d3596 fix: revert back to ThreadPoolExecutor
ProcessPoolExecutor didn't work for me :(
2024-05-08 17:21:34 +07:00
f4e09a7aad fix: handle hdiffpatch downloading for each architecture 2024-03-27 12:20:29 +07:00
9569019fcf fix(cli/hsr): fix voicepack downloading 2024-03-25 22:57:00 +07:00
8c0e03ebfa feat(cli/hsr): add "update download"
Basically download the update only.
2024-03-25 20:14:14 +07:00
34f65c00f3 feat(cli/hsr): add more commands 2024-02-06 14:39:41 +07:00
a7d763d847 feat(hsr): add voicepack related commands 2024-02-06 14:24:44 +07:00
fa011a11a1 fix(cli): fix 416 response code 2024-02-06 14:24:15 +07:00
c2f81637e2 feat(hsr): add --from-version 2024-02-06 13:34:22 +07:00
7e18185b52 fix(hsr): wrong function call 2024-02-06 13:30:47 +07:00
63f5c36391 chore: fix dependencies 2024-02-06 12:12:42 +07:00
bdf1f8d785 fix: use packaging.version instead of distutils
distutils is dead
2024-02-06 12:04:53 +07:00
70eb0e9443 feat: add hi3 stub
HI3 isn't working atm, don't expect too much
2024-02-06 11:48:16 +07:00
ca03718bf1 chore: rename _path to path 2024-01-28 18:26:48 +07:00
9f9a63c9b0 feat(hsr): implement voicepack update 2024-01-28 17:11:16 +07:00
4c851b999a fix(hsr): proper implement --noconfirm 2024-01-25 20:18:56 +07:00
80f1ea87d7 feat: implement VoicePackLanguage
Enum better than string 8)
2024-01-03 19:54:29 +07:00
a9f3ee2e3e fix(hsr): convert to string first 2024-01-03 19:50:19 +07:00
f8cfbc1100 docs: add information on functions.apply_update_archive 2024-01-03 17:00:58 +07:00
960ba8d746 docs: add some updated info 2024-01-03 12:02:23 +07:00
884236177b fix(cli/hsr): remove redundant strings
I copy-pasted lol
2024-01-03 06:32:22 +07:00
d1bda2dc32 fix(patch): unlink file if auto-repair succeed 2024-01-03 06:31:57 +07:00
7ed2b2e643 feat(hsr): add auto_repair when hpatchz error 2024-01-03 02:46:07 +07:00
6db85bc439 feat(hsr): support continue download & apply-archive 2024-01-02 23:16:58 +07:00
6f030e79ce feat(hsr): download & install updates
WIP WIP WIP, probably will crash at some point.
Also the code in paths isn't working, so i'm merging them to constants in the next commit
2024-01-02 15:27:40 +07:00