Please go to the the game's installation directory.
By default: C:\GOG Games\Star Wars - KotOR
Locate the atigktxx.dll and atioglxx.dll file, change their names, move them to a different directory or delete them. Now check if the issue persists.
If you are able to open the main menu, but the game crashed when you press Play. Please go to the options menu in the Graphics options go to Advanced and turn off Frame Buffer Effects.