...Well in that case, almost every signle one of those values should be DirectX because there are very very few version specific things. I'm not entirely sure which thing is which, though, so i'll leave that to a more experienced SCP coder.
I sidestepped this whole problem, apparently without breakage, by commenting out the LUA init. Obviously LUA script aren't going to work anymore but i succeeded in reaching the pilot screen and navigating through most of FS2_open. I'm going to do a few more tests now. DX9 appears to be working!

EDIT: Gah, now it has a problem with one of the turrets of a model... Whats most annoying is that none of these errors are at all DX related.
EDIT2: HOOOOOOOOOORAAAAAAAAAAAAAAAAAH! DX9 is rendering! And that turret problem seems to have gone away. However, for one, it starts out smooth but the more data it loads the slower it gets. It seems like its running in software mode. But everything seems to be at least rendering correctly... Except i can't take screenshots?

Also the main hall and menus in general are all red-tinted. Any idea why that would happen?