the software computes a hash value for each file. then this hash value is compared to hash values of known tilesets. if they match the software knows what tileset is being used and loads settings / biomes accordingly.