Manually changing graphics settings?

Well, whenever I try to change my graphics settings in game, it says they’re changed. I go back to the options, and they’re reverted to DX7 levels, and normally my game runs on DX9.0c.

I’ve tried the startup commands, and I believe that’s what started it (using -dxlevel 90.)
I have since then deleted it and it still persists.

So, is there any way to change the settings besides ingame graphics settings?