Now you might not expect this kind of backward compatibility to work (and if you use the new features you would definitely not expect it to work), but if you are just creating a basic map using the basic features, it would be a shame if you cannot. Especially as you have access to features like the map aligning tool
The new attributes that would prevent you loading a token or map into 1.3b91 are the "token image table" and ability to "Flip an image on the isometric plane". So I tested a quick hack in the PersistenceUtil class to remove those attributes if not used:
Code: Select all
// legacy hack
InputStream c = pakFile.getFileAsInputStream("content.xml");
String content = IOUtils.toString(c, "UTF-8");
IOUtils.closeQuietly(c);
content = content.replaceAll("<isFlippedIso>false</isFlippedIso>", "");
content = content.replaceAll("<hasImageTable>false</hasImageTable>", "");
pakFile.putFile("content.xml", content.getBytes());
// end legacy hack
Suggestions?