Custom Minimals
Custom Cover-Based Minimals
A special method of generating minimals, where you can get minimal sets for maximizing a setup’s quad clear chance, T-Spin chance, etc. by converting solution finder’s cover output into a path.csv
file, allowing sfinder-strict-minimal to work its magic.
Finding Custom Cover-Based Minimals
This is currently done through Hillosanation’s Cover-to-Path Script.
Downloading:
- Download the
Cover-to-Path script and place it in the folder where
sfinder.jar
is. - Download the
unglueFumen script and place it in the folder where
sfinder.jar
is.
Example Path and Usage
We're going to get the minimal Quad PC solutions for this particular board. To do this we'll:
- Get all the unique solutions for the field through path.
- Convert it all to their glued versions.
- Run cover with
--mode tetris-end
. - Convert the
cover.csv
file topath.csv
. - Run sfinder-strict-minimals.
Getting all the unique solutions:
|
|
Open the path_unique.html
file in the /output/
folder. At the top of the page should be a link to all the solutions.
Gluing all the fumen solutions:
“Glued” fumens are required as input for sfinder’s cover command.
- Right click the first link in the
path_unique.html
file and select “Copy link”. - Go to this fumen editor and paste the link into the input field and select the “Glue” option. This should return a list of fumens in the output field.
- In the folder where
sfinder.jar
is, go to the/input/
folder and open thefield.txt
file. Paste the results in there and save it.
Run cover with --mode tetris-end
:
|
|
Since you don’t specify the --tetfu
parameter, the input.txt
file is what’s being used for this command. Use the same -p
value as the path command from earlier. -M tetris-end
makes it so that cover is only returned as successful if the last clear in the sequence is a quad or tetris line clear.
The result should show OR = 72.46 % [3652/5040]
.
Converting the cover.csv
to path.csv
:
|
|
The resulting file should be in the /output/
folder, named cover_to_path.csv
.
Running sfinder-strict-minimals: If you’ve installed sfinder-strict-minimals properly, it should just be:
|
|
The result should tell you that you need 22 solutions. This means that those 22 solutions are required to reach 72.46% Quad PC chances for this setup. This is our output.
Afterwards you can open the path_minimal_strict.md
or get it through Marfung’s makeMinimals script.
And that’s your output. You can use other --mode
values for cover to get different outputs, like T-Spin minimals for a certain setup or things like that. Read more about it over at the sfinder cover documentation.
Credits
- Writer: Hsterts
- Consultation: Marfung37, smdbs, torchlight
References
- Custom Cover-Based Minimals: Hillosanation