You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#45)
If the EGAHEAD and EGAGRAPH files don't match (which will often happen
if the wrong version of Keen is used with the provided graphics files),
the chunk lengths will typically be totally wrong. Attempting to
decompress them leaves us with a terrible error message, so provide a
(slightly) better one, letting us know that it's chunk expansion which
is failing, and suggesting that it's a version mismatch.
This is not the ideal long-term solution for this, but the extra
sanity-checking doesn't hurt, so we'll do it anyway.
Thanks @synthead for reporting this.
While I look into a more general way of identifying known and unknown versions (ideally one which doesn't preclude the loading of custom levels, etc), I've pushed a change which will improve the message slightly in the case where the EGAGRAPH file (provided from the game) and the EGAHEAD file (which is extracted from the .exe, but omnispeak includes from v1.4), don't match.
So using the EGAGRAPH.CK4 file from v1.0 with the EGAHEAD.CK4 from the data/keen4 directory should, instead of saying MM_GetPtr: Out of Memory! (which is probably what the original game would do if you mixed its files up!), it'll give the slightly more useful:
Tried to expand an invalid chunk! Make sure you're using a compatible version of Keen!
Spun off from #44.
When game data is in place that isn't explicitly the versions in this list...
omnispeak/README
Lines 16 to 20 in d017166
...this window is displayed:
It would be better to display an error that tells the user that there is a version mismatch for the game data instead 👍
The text was updated successfully, but these errors were encountered: