Back to Recipes Homepage
recipe picture
Recipe: Deep Rebuild 2020
Your rating: None Average: 5 (11 votes)


Name: Deep Rebuild 2020
ID: 103246
Created on: Thu, 01/30/2020 - 06:49
Updated on: Thu, 01/30/2020 - 14:49

Easier to read for beginners; Dev mode added for using a debugger (like Zerobrane Studio) to step through code locally to learn it more easily.

Best For


Joined: 10/03/2019
Groups: None
This is a debug-able version of "Tvdl enhanced DRW 3.0.2"

This version offers the following for users who are new to foldit and lua scripting:

1) Added tons of comments and documentation to make it easier to learn foldit scripting and lua coding in general.
2) Changed names of variables and functions to more easily understand their purpose.
3) Increased code spacing to allow easier viewing (especially for those of us over 40 years old).
4) Added debug functions with random return value generation for debugging locally (also as a learning aide).

Visit for the latest scripts, readme and tips
Visit to Learn more about the original script "Tvdl enhanced DRW 3.0.2" by "Timo van der Laan"


1) Download and install ZeroBrane Studio to learn how to write and debug Lua scripts, including the Rebuild2020.Lua script.
2) Although ZeroBrane Studio is an awesome Lua development environment, it does not have built-in version control abilities.
3) Only attempt to debug scripts in Visual Studio 2019 (VS-2019) or Visual Studio Code (VS-Code) if you want to get frustrated.
4) Although you can debug Lua scripts in VS-Code (with a free plug-in) it crashes often.
5) You cannot debug lua scripts in VS-2019, but you can check in changes to GitHub directly from VS-2019 (that's what I am doing).
6) See for tips on using GitHub within VS-2019

Learn more:
1. See also "Tvdl enhanced DRW 3.1.1" with small fixes and improvements here:
2. See also a different script approach, "Constructor v1.05" by "Grom" here:

Want to try?
Add to Cookbook!
To download recipes to your cookbook, you need to have the game client running.



Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons