Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checksum mismatch for output file / Installer itself extracting without error #128

Open
Kazcade opened this issue Mar 11, 2022 · 6 comments
Labels
Milestone

Comments

@Kazcade
Copy link

Kazcade commented Mar 11, 2022

I'm running into an issue with certain GOG installers (version 5.6.2) that extract/install fine on their own, but produce output mismatches when extracted via innoextract. Interestingly, -t doesn't even catch all mismatches and extracting the installer produces additional (but consistent) mismatched files. Tried on different machines with identical results.

Looking at the files themselves, parts of the files appear to be missing and just contain zeros instead. Has anybody encountered similar issues with GOG installers?

@Kazcade
Copy link
Author

Kazcade commented Mar 14, 2022

Addendum:
I am runing into additional issues extracting certain GOG installers, for example the "They Are Billions" (1.1.4.10), which validates fine during testing, but throws this error during actual extraction:

  • "ZXGame_Data\Sprites\Effects_A_HQ.dat" [en-US]
  • "ZXGame_Data\Sprites\Effects_A_HQ.dxatlas" [en-US]
  • "ZXGame_Data\Sprites\Effects_A_HQ.trans" [en-US]
  • "ZXGame_Data\Sprites\Effects_A_LQ.dat" [en-US]
  • "ZXGame_Data\Sprites\Effects_A_LQ.dxatlas" [en-US]
  • "ZXGame_Data\Sprites\Effects_A_LQ.trans" [en-US]
  • "ZXGame_Data\Sprites\Effects_A_MQ.dat" [en-US]
    Warning: Could not read back "ZXGame_Data\Sprites\Effects_A_HQ.dat" to calculate
    output checksum for multi-part file

I have no idea what the issue with those installers is, as they install fine otherwise. Again, are any of these known issues?

@dscharrer dscharrer added this to the 1.10 milestone Aug 26, 2023
@dscharrer dscharrer added the bug label Aug 26, 2023
@dscharrer
Copy link
Owner

I don't have "They Are Billions" on GOG - have you encountered this error with any other games?

@dscharrer
Copy link
Owner

Possibly related to https://forge.dotslashplay.it/play.it/games/-/merge_requests/67#note_39175 as mentioned in #28.

@Kazcade
Copy link
Author

Kazcade commented Aug 29, 2023

Thanks for the reply, the linked issue seems to be identical to the one I am encountering, i.e. failure during extraction/appending of files.

I have encountered multiple other titles that exhibit this issue, among others the MechWarrior 5: Mercenaries and Art of Rally.

As far as I can tell extraction itself works fine, the error occurs when innoextract tries to combine/append the split-up parts of some gog galaxy style installers (most gog installers I have encountered now use this format). They are either appended in the wrong order or missing completely, which leads to the checksum mismatch of the file. Extracting just the [tmp] files shows that those checksums all match, and appending them manually / via batch script yields the correct file with the correct checksum.

Taking Art of Rally as an example, extracting the full files results in a mismachted *.res file (i'd have to check again, not at home right now) which results in missing level geomertry. Checking the corrupted file against the contained install script / iss and extracting and manually appending the corresponding split up part files yields a file with a matching checksum and results in correct level geometry.

Again, I don't think that extraction itself is the issue, it's how certain files are appended/recombined.

@moll
Copy link

moll commented Dec 2, 2023

I can just confirm that this seems to be an issue with Anvil Saga, a ~300 megabyte indie game, too:

Warning: Output checksum mismatch for AnvilSagaGOG/Anvil Saga_Data/resources.ass
ets:
 ├─ actual:   MD5 7867c096895d647127861d5648b4849b
 └─ expected: MD5 7ac087cfa1f8fa6a39a35e4ecb65403e
Warning: Output checksum mismatch for AnvilSagaGOG/Anvil Saga_Data/resources.ass
ets:
 ├─ actual:   MD5 bc1910375f8bd8fc0bbfaf74760671cf
 └─ expected: MD5 7ac087cfa1f8fa6a39a35e4ecb65403e
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_create
zsh: IOT instruction (core dumped)  innoextract --extract --language en-US --exclude-temp --output-dir  

@ymgve
Copy link

ymgve commented Aug 26, 2024

I've encountered this error with a few GOG installers so far:

  • setup_art_of_rally_1.5.5_(64bit)_(73521).exe
  • setup_atom_rpg_trudograd_1.056_(64bit)_(66345).exe
  • setup_atom_rpg_trudograd_1.056_uabr_(64bit)_(74515).exe
  • setup_beacon_pines_1.1.1_(63135).exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants