Unused code, not to mention that those days we prefer hosting images on the server rather than use ugly code in scripts. When the script is ready, just provide some link to a copy of the scaled gfx and I'll put it on the server.
#return = path to game.exe
cd $WINEPREFIX/drive_c && find . -name kb.exe
#set properties and forget
Unused and totally outdated code, use "function" scripts to install DirectX