Bro, can try talk with Antoine Ferron - BitLogiK at his github ? I think he can help modify code to working condition
https://github.com/bitlogik/lattice-attack/issuesps a I was talk with him previously, he is ansver to queschion. Becausd I dont know what exact scrypt do, for me hard will talk with him...
That's actually a great idea, if you guys want we could offer the creator some $ to edit the code.
For talk about $$ for coder of original scrypt for rsz generation, we need to know, what is difference of original and modified versions of scrypt, and what not work in the scrypt.
May be this is imposible to solve ... unfortunately.
I have a telegramm of original scrypt developer, and first of all we ned try ask him for free help and message post to devevrloper iesues in github on link what I provide previously in this thread.

br