https://itch.io/t/1412674/export-obj-with-material-types-mtl-file
Thanks. Fortunately its quite easy to select all the rooftops with a top-down view so that's a quick way of separating roofs from walls.