shapez 2

shapez 2

Not enough ratings
Shapez2 Miner Layout Solver
By jiahao
Originally posted in discord but thought should create a guide here so people who don't go to discord know about this tool.
   
Award
Favorite
Favorited
Unfavorite
What is this?
This is a web tool https://shapez2-tools.com that, given asteroid shape as input, solve for the configuration of miners and extensions that extracts as much of the asteroid as possible, and returns the result as in-game blueprint.

In case the above links don't work out for you (as the domain is fairly new and gets blocked a lot), here is an alternative link[13.53.212.19]

This project, like other projects I have, is open-sourced. The repo is here[github.com].

How to use it?
The instructions are given in details on the website
In short,
  • Cover the asteroid with miners (using the "brush blueprint" provided)
  • Copy the "painted" miners over and solve for an optimal layout

Working Princple
The placement of miners and extension are treated as an Mixed Integer Linear Programming Optimization problem, and is solved using third party solvers.

The formulation of the problem is pretty similar to the other project I worked on - the router solver[github.com], where I use the same principle to solve the routing of belts and launchers for a given components, you can find the working principle there if you are interested in the math.
What is next?
  • I have just finished a Shapez2 QR encoder project, the web link is here https://shapez2-tools.com/qr_encoder, and the repo for it is here[github.com]. Here is what it can generate:
  • I am currently working on a shape solver. For more active developments update, consider joining the official discord. I am surprised at how much more blueprints and useful information people are sharing there compared to in the steam. It is definitely worth checking out if you want more up-to-date blueprints and see what people are doing.
If you find this useful
  • You can rate this guide so more people can see it.
  • I am very happy to take your steam points if you like this tool a lot XD.
  • You can also give my repo a star if you have a github account.
3 Comments
jiahao  [author] 29 Jun @ 3:26pm 
Thanks @Brave Little Toaster for the ping. It may be running out of memory, I've kinda fix it, not sure if it will happen again. @nrnbole There is a "solve for fluid" checkbox at the top, which changes both the brush and blueprint.
nrnoble 29 Jun @ 1:21am 
Very cool! ... I successfully used it for shapes. I am assuming that fluids are not yet implemented.
Brave Little Toaster 21 Jun @ 6:27pm 
Web tool is down