That’s just it: the cfg file should be created by the time the video init happens, so if it’s not getting that far, it’s probably not the video driver that’s causing the issue. Nevertheless, you can make a text file named “retroarch.cfg” and put this line in:
video_driver = "whatever"
Try replacing whatever with gdi, d3d9 or d3d11.