- Make sure Cygwin is installed
- Remember that zsh and zip extensions need to be installed as well
- Node.js must also be installed, and added to your path (https://medium.com/@WWWillems/how-to-install-cygwin-node-js-npm-and-webpack-for-windows-7-c061443653d3)
- Place ac-fix-windscreen.zsh in your assetto corsa cards directory
- Run these commands in cygwin to recursively generate all windshield files for all cars:
$ cd '/cygdrive/c/Program Files (x86)/Steam/steamapps/common/assettocorsa/content/cars'
$ find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && zsh ./../ac-fix-windscreen.zsh -t /tmp/clean_windscreen -o clean-windshields ." \;
- Place the generated files in the appropriate car subfolders (or use a content manager)