~blowry/file

5c31bf8cbfd65156c70384833cbb92872c79af9e — Benjamin Lowry 1 year, 4 months ago 0471af9
remove header byte detection for Civ 6

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.
1 files changed, 1 insertions(+), 5 deletions(-)

M magic/Magdir/games
M magic/Magdir/games => magic/Magdir/games +1 -5
@@ 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