Skip to content

Setup: Editing Scenes

lamali292 edited this page Oct 27, 2026 · 1 revision

For editing scenes, UI or other assets in the Godot editor. If you only change code, the README is enough.

Requirements

Setup

Run everything in a terminal opened in the repository root.

1. Clone

git clone https://github.com/lamali292/Downfall.git
cd Downfall

2. Extract the game assets with GDRE. Note the root folder of the extracted project.

3. Create local.props - copy local.props.example to local.props and set:

<Project>
    <PropertyGroup>
        <GodotPath>C:\...\MegaDot\MegaDot_v4.5.1_mono.exe</GodotPath>
        <Sts2Branch>beta</Sts2Branch>
        <Sts2BetaPath>C:\Program Files (x86)\Steam\steamapps\common\Slay the Spire 2</Sts2BetaPath>
        <AssetSourcePath>C:\path\to\extracted\Slay the Spire 2</AssetSourcePath>
    </PropertyGroup>
</Project>

AssetSourcePath is the root of the extracted GDRE project. Sts2PublicPath is only needed to also use the public branch.

4. Link the assets and set up

build/link-assets.ps1
build/setup.ps1

5. Pack the assets

build/publish-all.ps1

It worked if the last line is ALL PROJECTS PUBLISHED. See the README for the rebuild commands.

Running the project in the Godot editor

Open project.godot with the Godot executable from GodotPath. With the linked assets the editor runs the real game scenes, so you can inspect the live scene tree of this mod's cards, powers and relics. Set <CopyToGodotMods>true</CopyToGodotMods> in local.props to also copy built .dll / .pck files into a mods folder next to the Godot executable, so the editor loads the mod the way the game does.

Clone this wiki locally