Presumably from the same methodology they laid out in the parent comment: clean-room reimplementation of the code is fair game, and you have to bring-your-own-assets (ostensibly from a legal copy of the original game, but however you do it is your own choice, not anything the people providing the free code need to be concerned with).
That is impressive there is OSS Gothic 2
I wonder if its legal, how is it MIT