[File] [PATCH] remove header byte detection for Civ 6
Benjamin Lowry
ben at ben.gmbh
Sat Feb 1 15:49:30 UTC 2020
Apparently the magic bytes in Civ 6 save headers change with game
updates. I don't have time to constantly fix those, so let's just
remove the save type detection and fall back to the "CIV6" at the start
of the file.
---
magic/Magdir/games | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/magic/Magdir/games b/magic/Magdir/games
index f728ae03..9103fc0c 100644
--- a/magic/Magdir/games
+++ b/magic/Magdir/games
@@ -312,8 +312,4 @@
>4 byte 0x01 Sid Meier's Civilization V replay data,
>>12 regex [0-9a-z.]+ saved by game version %s
-0 string CIV6
->8 byte 0x20 Sid Meier's Civilization VI singleplayer saved game
->8 byte 0x16 Sid Meier's Civilization VI singleplayer saved configuration
->8 byte 0x1F Sid Meier's Civilization VI multiplayer saved game
->8 byte 0x11 Sid Meier's Civilization VI multiplayer saved configuration
+0 string CIV6 Sid Meier's Civilization VI saved game
--
2.24.1
More information about the File
mailing list