Lua save.save([title],[comment]) - Save to hard disk

Case number:954892-2002598
Topic:Developer Preview
Opened by:Bruno Kestemont
Status:Closed
Type:Suggestion
Opened on:Wednesday, July 13, 2016 - 14:14
Last modified:Monday, July 8, 2019 - 15:17

I'd like to add lua commands to save a partial solution to my computer from time to time.

Quicksaves are too volatile (when computer crashes, or when there are no more slots available).

There are many potential uses. For example, I can run an "infinite" recipe with safe options (eg. "Skip Fuze"), save the result on the computer, then let it change to more destructive options (allowing losses etc). Or try different destructive actions and save the results on the computer for further visual evaluation.

Other linked suggestions:
save.load([title])
save.load([directory][filter][rank])
-----where
-----directory = {shared, local}
-----filter = {my solutions} or default all
-----rank = number in the list (default 1 = the first top on the list)

With this, I can imagine automatically collaborating between computers and/or team members (regularly loading the best global solution).

(Wed, 07/13/2016 - 14:14  |  2 comments)


Joined: 08/05/2010

The ability to programatically access files has been a bugaboo with `Foldit ever since lua scripting was introduced. Probably to eliminate malicious scripts.

Joined: 09/24/2012
Groups: Go Science
Status: Open » Closed

It has been implemented. Thanks !

save.SaveSolution(name)
save.LoadSolutionByName(name)

Sitemap

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