[File] [PATCH] Add support for Civilization V/VI save files
Benjamin Lowry
ben at ben.gmbh
Thu Jan 30 19:20:50 UTC 2020
---
magic/Magdir/games | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/magic/Magdir/games b/magic/Magdir/games
index f5506ae6..3167ce2e 100644
--- a/magic/Magdir/games
+++ b/magic/Magdir/games
@@ -303,3 +303,17 @@
0 string ESVG
>4 lelong 0x00160000
>10 string TOC\020 Empire Deluxe for DOS saved game
+
+# Sid Meier's Civilization V/VI
+# From: Benjamin Lowry <ben at ben.gmbh>
+0 string CIV5
+>4 byte 0x08 Sid Meier's Civilization V saved game,
+>>12 regex [0-9a-z.]+ saved by game version %s
+>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
--
2.20.1
More information about the File
mailing list