[Scummvm-git-logs] scummvm master -> d7997513e3ca2a966aa19d306e77a8bbd0318f80

sev- noreply at scummvm.org
Sat Jul 18 21:14:23 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
d7997513e3 DIRECTOR: Parse Afterburner Fver imap/director versions and version string


Commit: d7997513e3ca2a966aa19d306e77a8bbd0318f80
    https://github.com/scummvm/scummvm/commit/d7997513e3ca2a966aa19d306e77a8bbd0318f80
Author: Gianluca Boiano (morf3089 at gmail.com)
Date: 2026-07-18T23:14:20+02:00

Commit Message:
DIRECTOR: Parse Afterburner Fver imap/director versions and version string

Fixes 'Expected Fver of length 13 but read 2 bytes' warning loading
D8.5 movies in loewe7

Changed paths:
    engines/director/archive.cpp


diff --git a/engines/director/archive.cpp b/engines/director/archive.cpp
index d3322609648..a208dd08138 100644
--- a/engines/director/archive.cpp
+++ b/engines/director/archive.cpp
@@ -887,6 +887,17 @@ bool RIFXArchive::readAfterburnerMap(Common::SeekableReadStreamEndian &stream, u
 	start = stream.pos();
 	_afterBurnerVersion = readVarInt(stream);
 	debugC(3, kDebugLoading, "Fver: version: %x", _afterBurnerVersion);
+
+	if (_afterBurnerVersion >= 0x401) {
+		uint32 imapVersion = readVarInt(stream);
+		uint32 directorVersion = readVarInt(stream);
+		debugC(3, kDebugLoading, "Fver: imapVersion: %d directorVersion: %x", imapVersion, directorVersion);
+	}
+	if (_afterBurnerVersion >= 0x501) {
+		byte versionStringLen = stream.readByte();
+		Common::String versionString = stream.readString(0, versionStringLen);
+		debugC(3, kDebugLoading, "Fver: versionString: %s", versionString.c_str());
+	}
 	end = stream.pos();
 
 	if (end - start != _fverLength) {




More information about the Scummvm-git-logs mailing list