Mord3rca/gamma-launcher

zipfile.BadZipFile: File is not a zip file

Closed this issue · 6 comments

./gamma-launcher full-install --anomaly ~/Games/S.T.A.L.K.E.R.\ Anomaly/ --gamma ~/Games/S.T.A.L.K.E.R.\ Gamma/ [+] Updating G.A.M.M.A. definition Traceback (most recent call last): File "gamma-launcher", line 8, in <module> File "launcher/cli.py", line 64, in main File "launcher/commands/install.py", line 202, in run File "launcher/commands/install.py", line 71, in _update_gamma_definition File "launcher/archive.py", line 10, in extract_archive File "launcher/archive.py", line 13, in <lambda> File "zipfile.py", line 1301, in __init__ File "zipfile.py", line 1368, in _RealGetContents zipfile.BadZipFile: File is not a zip file [9210] Failed to execute script 'gamma-launcher' due to unhandled exception!

the same thing happens whether in a venv or not,
system is Void Linux

md5sum ~/Games/S.T.A.L.K.E.R.\ Gamma/.Grok\'s\ Modpack\ Installer/GAMMA_definition.zip ?

For reference: 035ed0e5ae5baa07c5dfb8521f953053 - based on Grokitach/Stalker_GAMMA@a5ac120

just checked and i do get a different md5, does this mean i should redownload?

Delete file & try again. If it does not work:

  • download it via your browser
  • Extract it and copy Stalker_GAMMA-main/* to Grok directory
  • Run full-install with --no-def-update

Did you managed to get this running ? (via the workaround or by trying another time)

No user input, closing as won't do

Have encoutered same issue.
Can confirm that just deleting gamma/.Grok's Modpack Installer/GAMMA_definition.zip works.