RTSLib-fb (repackage branch)