The compatibility layer is on an OBS repository (https://build.merproject.org/project/show/home:eugenio:compat-f5321), the patcher script simply unpacks the stock Sailfish...
I lurk here since the Internet Tablet Talk days and I'm also an occasional contributor to the Sailfish OS community (zram on jolla1, restore swipe to lock patch, etc...).