However, what sid wrote is right, but the section is not loading a WRS file from the directory
Which one? The one I pasted from engine_open()? It does...
However, I just noticed, the first instance of WRS3 is just a normal string... So, if you find an occurence of WRS3 followed by a null character... That's not an actual WRS but a string. The real WRS3 (of which there only exists one) starts with WRS3 followed by some non ASCII characters.