diff --git a/README.md b/README.md index 5a4d130..7e38fcb 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ A worthless CLI launcher written in Python. +> For a nice GUI launcher you should check out [An Anime Game Launcher](https://github.com/an-anime-team/an-anime-game-launcher) + Check out its website at https://tretrauit.gitlab.io/worthless-launcher for more information. > The current branch will enter maintenance mode, for the latest development please check `refactor` branch diff --git a/setup.py b/setup.py index ca93503..14ea46c 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ README = (HERE / "README.md").read_text() setup( name='worthless', - version='2.2.15', + version='2.2.16', packages=['worthless', 'worthless.classes', 'worthless.classes.launcher', 'worthless.classes.installer'], url='https://git.froggi.es/tretrauit/worthless-launcher', license='MIT License', diff --git a/worthless/__init__.py b/worthless/__init__.py index 46ddabc..dd42206 100644 --- a/worthless/__init__.py +++ b/worthless/__init__.py @@ -4,4 +4,4 @@ Launcher = launcher.Launcher Installer = installer.Installer -__version__ = "2.2.15" +__version__ = "2.2.16" diff --git a/worthless/installer.py b/worthless/installer.py index 23dff64..c4a1868 100644 --- a/worthless/installer.py +++ b/worthless/installer.py @@ -117,6 +117,7 @@ class HDiffPatch: return self._get_hdiffpatch_exec(hpatchz_name) async def patch_file(self, in_file, out_file, patch_file, error=False, wait=False): + print("executing hpatchz") hpatchz = self.get_hpatchz_executable() if not hpatchz: raise RuntimeError("hpatchz executable not found") @@ -321,7 +322,7 @@ class Installer: """ voiceovers = [] async for file in self.get_game_data_path()\ - .joinpath("StreamingAssets/Audio/GeneratedSoundBanks/Windows").iterdir(): + .joinpath("StreamingAssets/AudioAssets/").iterdir(): if await file.is_dir(): voiceovers.append(file.name) return voiceovers @@ -354,6 +355,7 @@ class Installer: for file in hdifffiles: current_game_file = self._gamedir.joinpath(file) if not await current_game_file.exists(): + print("File", file, "not found") # Not patching since we don't have the file continue @@ -385,6 +387,7 @@ class Installer: files.remove(patch_file) # Limit to 8 process running so it doesn't hang the PC. if count == 7: + print("add job") patch_jobs.append(cur_jobs) cur_jobs = [] count = 0 @@ -394,6 +397,7 @@ class Installer: # The last list may have count < 7 and the above code will not add them patch_jobs.append(cur_jobs) for jobs in patch_jobs: + print("exec jobs", jobs) await asyncio.gather(*jobs) except Exception as e: