Warning
This repository is no longer mantained and has been discontinued.
At the time of writing, the following forks are the most active and maintained:
Please refer to these repositories for the latest updates and improvements.
Application to find seeds for Shattered Pixel Dungeon given constraints (e.g. wand of disintegration +2 and ring of evasion in the first 4 floors). It can also display items found on a specific seed.
If no more than two arguments are provided, the items found in a given seed will be printed on the screen:
java -jar seed-finder.jar floors seed
- floors: maximum depth to display
- seed: dungeon seed to analyze
If al least 3 arguments are provided, the application will try to find a specific seed:
java -jar seed-finder.jar floors condition item_list [output_file]
- floors: maximum depth to look for the items
- condition: can be either
any
orall
: the first will consider a seed valid if any of the specified items has been found, the second one requires all of the items to spawn instead - item_list: file name containing a list of items, one item per line
- output_file: file name to save the item list for each seed, if unspecified it will be set to
out.txt
The entries in the item list need to be in english, all lowercase and can optionally specify the enchantement and the upgrade level, so both projecting crossbow +3
and sword
are valid item names.
The application will run until all the seeds have been tested by default (virtually indefinitely), so stop it using ctrl-C when you have found enough seeds for your needs.
Any valid seeds will be printed during the execution in the 9 letter code and numeric format.
- Clone the Shattered Pixel Dungeon repository.
git clone https://github.com/00-Evan/shattered-pixel-dungeon
- Download the patch into the local repository. If you use Windows open the URL below and save it.
wget "https://github.com/raw/alessiomarotta/shpd-seed-finder/master/changes.patch"
- Apply the patch to the repository.
cd shattered-pixel-dungeon
git apply ../changes.patch
- Compile the application with the following command:
./gradlew desktop:release