display-name: "Games/7 Cities of Gold ('93)"

meta: 
{
	"Working": "All assets except music, and those hidden in the executable",
	"Issues": "Many images do not have correct colors"
}

palette-table:
{
	"ea_logo.m52":	"ea_logo.pal",
	"harbmast.m52":	"harbmast.pal",
	"harbconq.m52":	"harbor.pal",
	["harb*.m52"]:		"harbor.pal",
	["tit*.m52"]:		"title.pal",
	["comm*.m52"]:		"commish.pal",
	"logbook.m52":	"logbook.pal",
	"palace.m52":		"palace.pal",
	"grass.m52":		"grass.pal",
	"dirt.m52":		"dirt.pal",
	["prch*.m52"]:		"prchmap.pal",
	"loadscrn.m52":	"loadscrn.pal",
	["nwb*.m52"]:		"newworld.pal",
	"vil_terr.m52":	"newworld.pal",
	"terricon.m52":	"newworld.pal",
	["terrain*.m52"]:	"newworld.pal",
	["frstland.m52"]:	"newworld.pal",
	["bdr_part.m52"]:	"newworld.pal",
	["face*.m52"]:		"tradepal.pal",
	["trb*.m52"]:		"tradepal.pal",
	["spain*.m52"]:		"palace.pal",
	["spnbdr*.m52"]:	"palace.pal",
	["*"]:				"grass.pal"
}

if (file.name like "*.m52")
{
	unsigned16 width
	unsigned16 height
	data(8) unknown

	image
	{
		format: "I8"
		if (!(file.name like "*col.m52"))
		{
			//collision images are not interlaced
			interlaced: 4
		}

		palette: palette-table[file.name]
	}
}

if (file.name == "newworld.riv")
{
	image
	{
		width: 64
		height: 64
		format: "I8"
		palette: "newworld.pal"
	}
}

if (file.name == "newworld.cim")
{
	image
	{
		width: 65
		height: 65
		format: "I8"
		palette: "newworld.pal"
	}
}

if (file.name like "*.pal")
{
	palette
	{
		size: 256
		format: "R6G6B6"
	}
}

if (file.name like "*.xmi")
{
	folder: "Music"
}

if (file.name like ["*.smp", "*.voc"])
{
	interpret-as "sound-VOC"
}

if (file.name == "values.cfg")
{
	text
}

if (file.name like ["*.adv", "*.bat"])
{
	folder: "Executables"
}