- A Slay the Spire 2 installation
- A Godot Executable (Preferably to be MegaDot v4.5.1; secondly to be Godot v4.5.1)
- Extracted Slay the Spire 2 assets from GDRE
git clone https://github.com/lamali292/Downfall.gitCopy local.properties.example to local.properties and set the paths.
link-assets.ps1
setup.ps1dotnet publish PublishAll/PublishAll.csprojThe compilation and packing process is split into different steps. Under different circumstances, you may only need to run some of the steps.
- Original images changed: Run the image generator.
- Codes changed: Compile the code.
- Assets changed: Pack the assets.
The image generator can copy the images from ImageGen/ folder to project folders.
dotnet run --project ImageGen/ImageGen.csprojIf the code is changed but the assets are not, you can just compile the code without packing the assets. This will significantly reduce the time needed for testing.
dotnet build Awakened.csprojIf the assets are changed, you need to pack the assets into .pck files. This process will take a long time.
This process also automatically compiles the code.
dotnet publish Awakened.csproj