Sekiro: Shadows Die Twice

File information

Last updated

Original upload

Created by

thefifthmatt

Uploaded by

thefifthmatt

Virus scan

Safe to use

Tags for this mod

About this mod

Randomizes enemies (including bosses and minibosses) and items (including key items and skills)

Permissions and credits
A comprehensive enemy and item randomizer for Sekiro, including boss randomization and key item randomization.

Things to definitely know for item randomizer
- The first castle invasion starts when you have Mortal Blade, Shelter Stone, and Lotus of the Palace; you have Isshin asked about the Mortal Blade location in the watchtower (talked to him twice); and you are in Senpou Temple/Sunken Valley/Ashina Depths/Hirata Temple.
- You can get into Ashina Castle after the first invasion even if you can't swim underwater, through the Ashina Reservoir gate
- To enter Hirata Estate without the Shinobi Prosthetic, do a running jump, holding forward the whole time, onto the tree branch you could otherwise grapple onto (see https://streamable.com/u7d7y). If you get stuck in water, you may have to use Homeward Idol to get out. The prosthetic activates as soon as you acquire it; even if you don't see green circles, you can still grapple.

Things to definitely know for enemy randomizer
- Game progression things that apply to enemies will apply to their replacements instead. e.g. killing Guardian Ape's replacement will spawn Headless Ape's replacement.
- Armored Warrior will now fall off the edge of anything the game considers a floor collision. This is easiest off of ledges/cliffs. If there is no ledge/cliff, kick him into a wall or a rock. He only shows up in arenas where this is possible, but you may have to try a few spots.

If you have issues installing the mod, or would like to provide feedback/participate in beta tests, you can join the discord server at https://discord.gg/QArcYud

Installation
To install and run:

1. Download Sekiro Randomizer and Mod Engine Beta from the files page. You will also need to download Combined SFX if you haven't unpacked the game using UXM.

2. Add the randomizer directory directly into the Sekiro.exe directory from SekiroRandomizer.zip (*not* into an existing mods or parts directory).


3. Install Sekiro Mod Engine from ModEngineSekiroRandomizer.zip, downloaded from the files page of this mod. Especially if the last time you downloaded a version of Mod Engine was before March 2020, you must use this version instead. If it not officially released yet  (it will be when katalash has the time). This version allocates 200 MB additional memory for sound files and is required for avoiding crashes. It should suffice to copy dinput8.dll and modengine.ini into your Sekiro directory.


4. Change modengine.ini to have modOverrideDirectory="\randomizer", if it's not already.

5. All enemy sfx must be combined. There are two ways to do this.

5a. Download CombinedSFX.zip (76 MB download) and extract the sfx directory into the randomizer directory.


5b. Alternatively, unpack Sekiro using UXM (needs about 14 GB disk space) and the randomizer will combine the SFX automatically on startup. This will take a few seconds. (After this, the sfx directory should match the above screenshots.)

6. Run the randomizer. If you plan on using other mods: use the "Merge in files" option under Misc. (For instance, if you have a mod with text edits or param edits, put the files in mods folder, not randomizer folder.) Never copy files into the randomizer if they already exist there, because they will not be merged correctly and will break your game.


7. Make sure that the randomizer succeeds (shows "Done" in the status bar), and then close Sekiro if you have it open, and start up Sekiro for changes to be reflected, and create a new save file.

To uninstall, change back modOverrideDirectory="\mods", or delete the randomizer directory. The new version of mod engine will also work for previous mods, if you don't mind the extra memory allocation.

Gameplay details
To repeat "Things to definitely know" from above:

Things to definitely know for item randomizer
- The first castle invasion starts when you have Mortal Blade, Shelter Stone, and Lotus of the Palace; you have Isshin asked about the Mortal Blade location in the watchtower (talked to him twice); and you are in Senpou Temple/Sunken Valley/Ashina Depths/Hirata Temple.
- You can get into Ashina Castle after the first invasion even if you can't swim underwater, through the Ashina Reservoir gate
- To enter Hirata Estate without the Shinobi Prosthetic, do a running jump, holding forward the whole time, onto the tree branch you could otherwise grapple onto (see https://streamable.com/u7d7y). If you get stuck in water, you may have to use Homeward Idol to get out. The prosthetic activates as soon as you acquire it; even if you don't see green circles, you can still grapple.

Things to definitely know for enemy randomizer
- Game progression things that apply to enemies will apply to their replacements instead. e.g. killing Guardian Ape's replacement will spawn Headless Ape's replacement.
- Armored Warrior will now fall off the edge of anything the game considers a floor collision. This is easiest off of ledges/cliffs. If there is no ledge/cliff, kick him into a wall or a rock. He only shows up in arenas where this is possible, but you may have to try a few spots.

If you encounter any issues, like softlocks from inaccessible items or unbeatable enemies, feel free to report a bug. It will help a lot if you include the log in the 'spoiler_logs' folder, or at least the full first line of the log (starting with "Options and seed"). The seed by itself probably won't help.

Here are some misc hints and tips, but not strictly required to know:

Misc general info
- There is a hint/spoiler log that is generated and put in the 'spoiler_logs' folder. Check it out if you are lost or want to check enemy placements.
- For convenience, tutorials pop-ups have been removed.
- It should be fine to re-run the randomizer with a different seed after starting NG+ playthroughs (needs more testing). If item randomizer is off, it should also be fine to re-run enemy randomizer with a different seed in the middle of a playthrough.- The "Open Bell Demon's Temple" option allows you to get to Ashina Castle without defeating Gyoubu, although you must eventually go back to complete Isshin's quest. See https://streamable.com/fywve for a demonstration of this.

Misc info about enemy randomizer
- Sword Saint Isshin and True Monk don't require Mortal Blade to deathblow.
- You can get to Genichiro, skipping Ashina Elite Jinsuke Saze, by going through a breakable wall down the stairs from the Ashina Dojo idol toward Isshin's watchtower
- If you get really stuck on a randomized enemy, you can rerun the seed with enemy rando turned off (use the big checkbox), defeat the enemy, then turn it back on again. This won't change the location of key items, but if item rando uses enemy placement data, some non-key item drops may become inaccessible.

Misc info about item randomizer
- Remember that additional enemies spawn in Guardian Ape's Burrow after defeating Guardian Ape, and Fujioka will also sell Valley Apparitions Memo when the final enemy spawns.
- Divine Dragon's Tears and Aromatic Branch have no effect in the game. You can complete the game and enter Fountainhead Palace, respectively, without them.
- Item logic assumes that you can get into Sunken Passage Serpent Shrine if you have either Puppeteer Ninjutsu or Mist Raven's Feathers.
- There are options like 'Item availability similar to base game' which I would strongly recommend. Otherwise, at high biases, it is possible for e.g. all Gourd Seeds and Memories to be in Fountainhead Palace.

There are also some features I could implement in the future. Let me know if any of these would be interesting, or if you have any other suggestions:
- Adding boss vs boss or multi-boss fights
- Making all Esoteric Texts skills item drops in the world instead
- Randomizing enemies in Divine Dragon phase 1
- Scaling minibosses/bosses down or up if they are moved from late game to early game or vice versa
- Adding the ability to reroll enemy rando in the middle of a combined run
- Semi-related, backporting some of the new features to DS3 Static Item Randomizer which uses the same codebase

Presets
The randomizer can be heavily customized using text files in the 'presets' folder. These can be selected in the UI and add some significant challenge or fun to runs. You can also create your own: there is a template you can copy. Check out README.txt in the presets folder to learn more. In v0.2 presets are more focused on enemy randomization, but there is some item randomizer customization support, and more coming in the future. Built-in presets include:

- Oops! All: Replace all enemies in the game with some selected enemy
- 10% Boss Replacement: The same as regular randomization except that 10% of enemies are upgraded to bosses
- Ashina Zoo: Replace all enemies and bosses with animals and occasionally some animal caretakers
- Nightmare Mode: The worst run with the most annoying and challenging enemies which might be possibly doable
- No Demon of Hatred: The same as regular randomization but prevent Demon of Hatred from appearing
- Reverse Enemy Order: Place all enemies in the game roughly based on how soon you can find them in a full playthrough, but in reverse order

Acknowledgements
The fantastic art in the randomizer UI (the title and hand-drawn characters) was made specially for the randomizer by Souv, who has also created many wonderful emotes for the FromSoft modding discord server (https://discord.gg/mT2JJjx). Thanks to JesterPatches, Tolvo, and Shoobe for their valuable alpha testing feedback, and JP for some of the lovely screenshots as well. Thanks to katalash, who made DSTools and DSMapStudio and made a version of Mod Engine which fixed the audio crashes. Thanks to TKGP and Pav and others for SoulsFormats and Paramdex, and Pav for the CE table which was useful for testing. Thanks to HotPocketRemix and Meowmaritus and AinTunez for developing tools for event script editing which this mod uses. Thanks to everyone else who helped debug issues and provide feedback. The initial version of this project took 3-4 months of development time and makes some really advanced dynamic edits to game scripts and systems, and with the things we've learned, I'd love to see more gameplay-oriented Sekiro mods like it.

Finally check out the source code on GitHub.

Key items
Key items are defined as items which unlock other unmissable items. They are only placed in unmissable locations, which excludes many of the game's non-main quests. These items, and no others, can block your progress in the randomizer until you find them, with the ultimate goal of defeating the final Immortal Severence boss and getting to the credits.

- Father's Bell Charm: Used to revisit Hirata after Lady Butterfly has already been defeated
- Gatehouse Key: Used to access the locked building in Ashina Reservoir
- Gun Fort Shrine Key: Used to access Sunken Valley Passage after Gun Fort
- Hidden Temple Key: Used to access the Lady Butterfly fight from Hirata Estate
- Lotus of the Palace: One of three incense ingredients used to trigger the Interior Ministry invasion and access Fountainhead Palace
- Mibu Breathing Technique: Used to access many underwater areas in the game (in Fountainhead Palace, Hirata Estate, Senpou Temple Grounds, Mibu Village, Ashina Castle, Ashina Reservoir, Abandoned Dungeon, Riven Cave, Guardian Ape's Watering Hole, and the Sunken Valley Headless)
- Mist Raven's Feathers: Can be used to get past the cave snake in Sunken Valley Passage
- Mortal Blade: One of three incense ingredients used to trigger the Interior Ministry invasion and access Fountainhead Palace
- Puppeteer Ninjutsu: Can be used to get past the cave snake in Sunken Valley Passage, and access Sunken Valley Cavern from Senpou Temple
- Secret Passage Key: Used to access the final boss
- Shelter Stone: One of three incense ingredients used to trigger the Interior Ministry invasion and access Fountainhead Palace
- Shinobi Prosthetic: Required to access most of the game past Dilapidated Temple and some early parts of Hirata Estate
- Truly Precious Bait: Used in Fountainhead Palace to unlock an item in Sunken Valley Passage
- Young Lord's Bell Charm: Used to access Hirata Estate from Dilapidated Temple

Important locations
Some items have the option to be placed in "important locations". This can be used for shorter runs or live races. If enabled, all of the same item logic still applies, so it shouldn't be possible to get softlocked. Generally, these include the vanilla locations of bosses, minibosses, prayer beads, gourd seeds, prosthetics, esoteric texts, key items, and serpent viscera. Currently, they are:

In Dilapidated Temple: Given upon arriving in Dilapidated Temple. Replaces Shinobi Prosthetic.
In Dilapidated Temple: Unique initial item sold by Fujioka the Info Broker. Replaces Gourd Seed.
In Dilapidated Temple: Given by the Sculptor after acquiring 1 skill point. Replaces Shinobi Esoteric Text.
In Dilapidated Temple: Given by the Sculptor after collecting 3 prosthetic tools. Replaces Prosthetic Esoteric Text.
In Ashina Outskirts Gate Path: On the second floor of the building next to the Gate Path Sculptor's Idol, or in the Offering Box after the second invasion. Replaces Shuriken Wheel.
In Ashina Outskirts Gate Path: Dropped by General Naomori Kawarada, or in Offering Box after the Central Forces invasion. Replaces Gourd Seed, Prayer Bead.
In Ashina Outskirts Stairway: Unique item sold by Crow's Bed Memorial Mob and Battlefield Memorial Mob. Replaces Robert's Firecrackers.
In Ashina Outskirts Stairway: Given by Inosuke's Mother. Replaces Young Lord's Bell Charm.
In Ashina Outskirts Stairway: Unique location from Chained Ogre. Replaces Shinobi Medicine Rank 1, Prayer Bead.
In Ashina Outskirts Courtyard: In the left room of the lookout building after Chained Ogre. Replaces Gourd Seed.
In Ashina Outskirts Courtyard: Dropped by General Tenzen Yamauchi, or in the Offering Box after the Central Forces invasion. Replaces Prayer Bead.
In Ashina Castle Fortress: Unique location from Gyoubu Oniwa. Replaces Memory: Gyoubu Oniwa, Mechanical Barrel.
In Ashina Castle Gate: Unique item sold by Battlefield Memorial Mob. Replaces Gourd Seed.
In Ashina Castle Gate: Given by Tengu after killing rats, or in his spot in Ashina Castle if the quest is refused and after Divine Dragon. Replaces Ashina Esoteric Text.
In Ashina Castle Gate: Unique location from Blazing Bull. Replaces Shinobi Medicine Rank 2, Prayer Bead.
In Ashina Castle Gate: In a chest on the top floor of the building up the stairs after Gyoubu. Replaces Prayer Bead.
In Ashina Outskirts after Central Forces: Unique location from Demon of Hatred. Replaces Lapis Lazuli, Memory: Hatred Demon.
In Ashina Outskirts after Central Forces: Dropped by Shigekichi of the Red Guard. Replaces Prayer Bead.
In Ashina Reservoir: Dropped by a soldier on the bridge leading to the Abandoned Dungeon entrance, or in the courtyard immediately to the left after the Ashina Castle Sculptor's Idol. Replaces Gatehouse Key.
In Ashina Reservoir: Dropped by Seven Ashina Spears - Shikibu Toshikatsu Yamauchi, or in the Offering Box after the Central Forces invasion. Replaces Prayer Bead.
In Ashina Reservoir: Dropped by Lone Shadow Longswordsman. Replaces Prayer Bead.
In Ashina Reservoir: In the chest in Ashina Reservoir Gate House. Replaces Gyoubu's Broken Horn.
In Ashina Reservoir after Central Forces: Dropped by Seven Ashina Spears - Shume Masaji Oniwa. Replaces Prayer Bead.
In Ashina Reservoir Ending: Unique location from Sword Saint Isshin. Replaces Memory: Saint Isshin, Dragon Flash.
In Ashina Castle: Dropped by Genichiro. Replaces Memory: Genichiro, Bloodsmoke Ninjutsu.
In Ashina Castle: In the library area in Kuro's Room which opens up after you ask Isshin where the Mortal Blade can be found. Replaces Gun Fort Shrine Key.
In Ashina Castle: In a chest in the Upper Tower basement. Replaces Sabimaru.
In Ashina Castle: Sold by Blackhat Badger, or left behind after he moves to Senpou Temple, or in Offering Box if killed. Replaces Iron Fortress.
In Ashina Castle: In a chest before the Upper Tower Antechamber. Replaces Gourd Seed.
In Ashina Castle: Dropped by General Kuranosuke Matsumoto, or in the Offering Box after the Interior Ministry invasion. Replaces Prayer Bead.
In Ashina Castle: Dropped by Ashina Elite Jinsuke Saze, or in the Offering Box after the Interior Ministry invasion. Replaces Prayer Bead.
In Ashina Castle: In a chest past a scroll-covered shinobi door in the Upper Tower room where two fencers are studying a map. Replaces Prayer Bead.
In Ashina Castle after Interior Ministry: Unique location from Owl. Replaces Aromatic Branch, Memory: Great Shinobi.
In Ashina Castle after Interior Ministry: Dropped by Isshin Ashina. Replaces One Mind.
In Ashina Castle after Interior Ministry: Unique location from Chained Ogre. Replaces Shinobi Medicine Rank 3, Prayer Bead.
In Ashina Castle after Interior Ministry: Dropped by Lone Shadow Vilehand. Replaces Prayer Bead.
In Ashina Castle after Interior Ministry: Dropped by Lone Shadow Masanaga the Spear-bearer, or in the Offering Box after the Central Forces invasion. Replaces Prayer Bead.
In Ashina Castle after Central Forces: Given by Emma in Kuro's Room after Divine Dragon. Replaces Secret Passage Key.
In Ashina Castle after Central Forces: Dropped by Ashina Elite Ujinari Mizuo. Replaces Prayer Bead.
In Hirata Estate: Near the bandits' bonfire. Replaces Flame Barrel.
In Hirata Estate: In the shrine where you can eavesdrop bandits arguing about whether to loot the shrine. Replaces Shinobi Axe of the Monkey.
In Hirata Estate: Dropped by Shinobi Hunter Enshin of Misen. Replaces Prayer Bead.
In Hirata Estate: Dropped by Juzou the Drunkard. Replaces Prayer Bead.
In Hirata Audience Chamber: In a chest behind the scroll-covered shinobi door before the Audience Chamber. Replaces Prayer Bead.
In Hirata Estate Hidden Temple: Unique location from Lady Butterfly. Replaces Memory: Lady Butterfly, Sakura Droplet.
In Hirata Estate Revisited: Dropped by Lone Shadow Masanaga the Spear-bearer. Replaces Prayer Bead.
In Hirata Estate Revisited: Dropped by Juzou the Drunkard. Replaces Prayer Bead.
In Hirata Estate Hidden Temple Revisited: Unique location from Owl. Replaces Aromatic Flower, Memory: Foster Father.
In Abandoned Dungeon: Unique location from Shichimen Warrior. Replaces Ceremonial Tanto.
In Abandoned Dungeon: Unique item sold by Dungeon Memorial Mob. Replaces Prayer Bead.
In Senpou Temple: Unique location from Armored Warrior. Replaces Breath of Nature: Shadow, Prayer Bead.
In Senpou Temple: In the main room of the cricket building, in front of the Infested Seeker. Replaces Gourd Seed.
In Senpou Temple: Dropped by Long Arm Centipede Sen-Un. Replaces Prayer Bead.
In Senpou Temple Grounds: Inside of the pagoda after the cave acessible near the Main Hall side entrance. Replaces Senpou Esoteric Text.
In Senpou Temple Grounds: Underwater in the Temple Grounds pond. Replaces Prayer Bead.
In Senpou Temple Inner Sanctum: Unique drop from Folding Screen Monkeys. Replaces Memory: Screen Monkeys, Puppeteer Ninjutsu.
In Senpou Temple Inner Sanctum: Given by the Divine Child. Replaces Mortal Blade.
In Upper Sunken Valley: In the room with Long-arm Centipede Giraffe in front of the statue. Replaces Large Fan.
In Upper Sunken Valley: After two tree branch grapples in Under-Shrine Valley, rather than going right toward the Sunken Valley Sculptor's Idol, climb up the wall to the left and follow that path. Replaces Gourd Seed.
In Upper Sunken Valley: Dropped by Snake Eyes Shirafuji. Replaces Prayer Bead.
In Upper Sunken Valley: Dropped by Long-arm Centipede Giraffe. Replaces Prayer Bead.
In Upper Sunken Valley: In the area before the Headless cave, found going backwards from the Under-Shrine Valley Sculptor's Idol. Replaces Prayer Bead.
In Sunken Valley Passage: Unique location from Guardian Ape. Replaces Memory: Guardian Ape, Slender Finger.
In Sunken Valley Passage: After Guardian Ape. Replaces Lotus of the Palace.
In Sunken Valley Passage Shrine: Held by a statue after the shrine building. Replaces Dried Serpent Viscera.
In Sunken Valley Passage after Snake Deathblow: Unique location from Great Serpent. Replaces Fresh Serpent Viscera.
In Poison Pool: Dropped by Snake Eyes Shirahagi. Replaces Prayer Bead.
In Guardian Ape's Burrow: Unique location from Guardian Ape. Replaces Bestowal Ninjutsu.
In Guardian Ape's Burrow: Rather than dropping down into the burrow, grapple to the left and wall jump up to the cliff edge overlooking Poison Pool, and then grapple onto the nearby statue's head. Replaces Prayer Bead.
In Guardian Ape's Burrow: Unique drop from Headless Ape. Replaces Memory: Headless Ape, Prayer Bead, Prayer Bead.
In Guardian Ape's Burrow: Unique location from Shichimen Warrior. Replaces Malcontent's Ring.
In Hidden Forest: Dropped by the Mist Noble in the temple. Replaces Lump of Grave Wax.
In Hidden Forest: Dropped by Tokujiro the Glutton. Replaces Prayer Bead.
In Mibu Village: Unique location from Corrupted Monk. Replaces Mibu Breathing Technique, Memory: Corrupted Monk.
In Mibu Village: On the cave altar. Replaces Shelter Stone.
In Mibu Village: Unique location from O'Rin. Replaces Breath of Life: Shadow, Prayer Bead.
In Mibu Village: In front of the tree in the area with many underground villagers. Replaces Gourd Seed.
In Mibu Village: On a small shrine in the upper floor of the Head Priest's house. Replaces Prayer Bead.
In Mibu Village: In a chest at the bottom of the village pond. Replaces Prayer Bead.
In Fountainhead Vermillion Bridge: Unique drop from True Monk. Replaces Memory: True Monk, Dragon's Tally Board.
In Fountainhead Palace: Unique location from Sakura Bull of the Palace. Replaces Prayer Bead.
In Fountainhead Palace: Unique location from Divine Dragon. Replaces Divine Dragon's Tears, Memory: Divine Dragon.
In Fountainhead Palace: Unique location from Shichimen Warrior. Replaces Lapis Lazuli.
In Fountainhead Palace: In a chest in the Palace Grounds building. Replaces Gourd Seed.
In Fountainhead Palace: Unique drop from Okami Leader Shizu. Replaces Prayer Bead.
In Fountainhead Palace: In the chest guarded by the two Underwater Headless. Replaces Prayer Bead.

If Headless locations are allowed to be important, these are also added:

In Ashina Outskirts Courtyard: Unique location from Headless. Replaces Ako's Spiritfall.
In Ashina Castle: Unique location from Underwater Headless. Replaces Ungo's Spiritfall.
In Hidden Forest: Unique location from Headless. Replaces Gachiin's Spiritfall.
In Upper Sunken Valley: Dropped by the Headless found going backwards from the Under-Shrine Valley Sculptor's Idol and under the pond. Replaces Gokan's Spiritfall.
In Fountainhead Palace: Unique location from Underwater Headless. Replaces Yashariku's Spiritfall.