Oh man. Don't waste your time. There is a whole paper about trying to crack wallets by using the lattice attack. They tried most transactions already... . Try something new.
If you want to try anyways: best way is to modify bitcoin core so it saves all transactions r,s,z to a file. I have those modifications but won't give them away for free.