Easiest solution is Tweego, which supports all compilers and formats. You could also just use Twine 1. There's a tool TME has on SugarCube's website (under utilities, all the way at the bottom) for converting files to Twine 2, but I think it works best for SugarCube-format stories, and I don't know what format you're working with. Probably Sugarcane.
Other than that, you can't. The data is in a completely different format.