I took a look at this, because I'd like to try getting the game running under WINE. I went ahead and back-ported it to .NET 2.0 since that works on WINE and now the tool runs for me on there.
But in the state you released it, it's never going to generate a valid config file. You have DepthFormat in AdapterInfo hardcoded to 24, which is not a valid value. Honestly, I haven't figured out what DepthFormat is though. When I boot into Windows and run the original unmodified utility there, it outputs 1515474505 for DepthFormat which doesn't correspond to anything in the DirectX DepthFormat enumeration. If I generate a config file with your version of the code, then replace DepthFormat manually in a text editor, the game accepts the file. (But that DepthFormat value isn't valid for WINE so the game crashes)
I'll see if I can figure out what DepthFormat is supposed to be. It's kind of funny that they forgot to change the default icon in the corner of the window, so it was very obvious when you opened the program that it was a .NET app.
Edit: It just realized that 1515474505 is ZTNI in ASCII, or INTZ if you reverse the endianness. Could this be some kind of depth buffer setting? Not sure what the possible values are yet.
Edit 2: I think the possible values are INTZ, DF24 and DF16. Obtained these values looking at the DXInputHandler.dll in a hex editor. The game appears to accept these as valid values.
Edit 3: Updated build of the application, this generates valid config files and runs under WINE:
Updated source code with my changes to downgrade to .NET 2.0 and force INTZ depth textures:
I could have made it detect if cards support INTZ and if not fall back to DF24, but looking at the minimum game requirements all of the minimum supported cards support INTZ except ATI cards older than the 4000 series. DF24 is only supported by older ATI cards, so 90% of users who can run the game will be using INTZ anyway.
Good luck with this. It didn't allow me to run the game in WINE, but maybe it will help some other users who want to try unsupported configurations.
This post has been edited by sonicblur: 05 November 2011 - 04:40 PM