I have simple dress like this

But it does this really bad-looking transformation during knee-bend.

I tried to use

But it did not help. Is there some smart (automated) way how to fix it except manual weight map editing?
I tried to do it, but it is not easy to fix it and don't break anything else.
There would be useful some kind of cloth physics simulation that will auto adjust the weight map for all bones based on simulation to match natural fabric stretching. I don't want to use real-time cloth simulation inside of my game.