h-docs

Search

Search IconIcon to open search

Save Minimals

Save Minimals

Save minimals are strict minimals, but saved pieces are prioritized. That means the program would rather settle for a 3-solution set that has 100% Save T over a 2-solution set that has 100% Save O (if you tell it to do so).

The program currently being used can prioritize multiple saves. If you ask for save T then O minimals, the solution set will maximize save T before finding solutions with the next specified save, and so on.

Solution Covers
Solution A (Saves O)
Solution B (Saves T)
Solution C (Saves T)
Solution D (Saves O)
Solution E (Saves T)

>

Saves

Finding Save Minimals

Save minimals are currently being found using Marfung37’s PC-Saves-Get program. It requires Python3 and NodeJS and will work off of sfinder’s Path Command the same way strict minimals do.

Downloading Python3:

Go to the Python3 download page. It should be a straight-forward installation.

Downloading NodeJS:

Go to the NodeJS download page. It should be a straight-forward installation.

Installing dependencies:

In a terminal, enter the following separately

Creating the files that sfinder-strict-minimal works off of:

Solution finder’s Path Command is used to produce a .csv file that is used to find minimals. The sfinder command is identical to a normal path file, but you must specify --format csv (-f csv) and --key pattern (-k p).

Using PC-Saves-Get:

The commands for the program is structured similar to sfinder. The following explanations are excerpts of important parameters from the official documentation.

1
py sfinder-saves.py filter -w [Wanted Saves] -p [Pieces Used]

-w Usage and Examples:

For most use cases, all you need for specifying wanted saves are:


Example Path and Filter Commands

Here's an example run on how to get save minimals starting from generating the path file. We'll be getting the Save O minimals for a three-piece 2nd PC setup. This setup in particular has 100% Save O potential.

v115@LhA8GeC8FeD8AeD8JeAgH

Don’t forget -f csv and -k p. Take note of the -p parameter as this will be also used in the filter command. This should create a file in the /output/ folder named path.csv.

1
2
3
4
5
6
7
Input:
java -jar sfinder.jar path -t v115@LhA8GeC8FeD8AeD8JeAgH -p T,*! -f csv -k p

Output:
...
perfect clear percent
  -> success = 100.00% (5040/5040)

From this you can already find minimals. Don’t forget -bs and to re-use the -p parameter that was used in the path command.

1
py sfinder-saves.py filter -w 'O' -p T,*! -bs

The resulting minimals should be the following:


v115@9gywR4whBthlxwR4A8whg0BtglxwC8whi0glwwD8wh?D8JeAgWaAWBwKB3ngHBFbcRASUzABWIaHBQecRAylAAA v115@9gilR4whzwglAtR4A8whg0ywBtC8whi0wwAtD8whD8?JeAgWaAV+f2A1ngHBFbcRASEROBSOaHBQecRAylAAA
v115@9gilR4whwwi0glAtR4A8whywg0BtC8whzwAtD8whD8?JeAgWaA0FIOByngHBFbcRASEhHBQRaHBQecRAylAAA v115@9gywR4whgli0xwR4A8whglBtg0xwC8whhlBtwwD8wh?D8JeAgWaAUBwKB3ngHBFbcRASExABVLaHBQecRAylAAA

The setup also has a 42.46% chance for saving T, so here’s a second example filter command:

1
py sfinder-saves.py filter -w 'T,O' -p T,*! -bs

The resulting minimals should be the following. If you double-check with cover, this set does max out the setup’s potential 42.46% save T before filling in the rest of the missing cover with save O.

v115@9gBtywwhh0R4wwBtwwA8whg0R4glxwC8whg0ilwwD8?whD8JeAgWaA0CwKB2ngHBFbcRASEJEBQLaHBQecRAylAAA v115@9gywR4whBthlxwR4A8whg0BtglxwC8whi0glwwD8wh?D8JeAgWaA08HOB1ngHBFbcRASEZ9AwPaHBQecRAylAAA v115@9gywR4whgli0xwR4A8whglBtg0xwC8whhlBtwwD8wh?D8JeAgWaAT4f2A4ngHBFbcRAS0eHBRRaHBQecRAylAAA v115@9gwhh0R4Btilwhg0R4A8wwBtRpwhg0C8xwglRpwhD8?wwD8JeAgWaASEYHB3ngHBFbcRAS0GEBUIaHBQecRAylAAA v115@9gilR4whi0wwglAtR4A8whRpxwBtC8whRpg0wwAtD8?whD8JeAgWZAxFg2A1ngHBFbcRAS0ILBwmv2AUo78AZAAAA v115@9gilR4i0RpglAtR4A8wwzhBtC8xwg0RpAtD8wwD8Je?AgWYAZlf9AFrnRASo78AYe22AvfEEBwnAVB v115@9gilR4wwzhglAtR4A8i0RpBtC8xwg0RpAtD8wwD8Je?AgWYASFrRBFrnRASo78A45o2AvfEEBwnAVB

Credits

  • Writer: Hsterts
  • Consultation: Marfung37, smdbs, torchlight

References