Quote:

str_cpy(tempstring1, "cubemap");



I believe this is the name of the cubemap it writes. It writes it as cubemap+6.tga. Just use a cubemap shader and change the cubemap to this one.