Darkest Dungeon®

Darkest Dungeon®

Not enough ratings
[CN]Courtyard Plus Compatibility enhancement
   
Award
Favorite
Favorited
Unfavorite
General: Gameplay Tweaks
File Size
Posted
409.587 KB
30 Aug @ 4:38am
1 Change Note ( view )
You need DLC to use this item.

Subscribe to download
[CN]Courtyard Plus Compatibility enhancement

Description

Have you ever encountered the following error when using Courtyard Plus alongside other mods that modify Crimson Court enemies?

No monster brain class with id:Blood_Cherub_A

At first, it just appears during the loading screen without any immediate consequences. This fatal error only fully manifests when you enter the Courtyard and encounter specific new monsters, resulting in an instant crash to desktop (CTD).

Since Courtyard Plus is a large content mod, simply disabling it to fix the issue could potentially corrupt your save file's progress.

Cause:

The root of the crash is a file override conflict.

Mods that alter vanilla Crimson Court content, such as Courtyard Plus and Exaelus' Arduous Edition Mod, both modify the same vanilla AI file: crimson_court.monster_brains.json

The critical problem is that Courtyard Plus not only modifies the AI of vanilla enemies but also incorrectly adds the AI for its new monsters (like the Blood_Cherub_A mentioned in the error) into this same shared file.

When another AI mod is placed higher in the load order than Courtyard Plus, its version of the file will naturally overwrite the one from Courtyard Plus. This causes the game to be unable to find the AI data for the new monsters when it tries to spawn them, leading to an immediate crash.

Solution:

This compatibility patch resolves the issue with a simple fix:

It separates the newly added monster AI from Courtyard Plus out of the vanilla file and places it into its own independent AI file.

This way, other mods will only override the AI for the original vanilla enemies, while the AI for the new monsters will always be present and loaded separately, preventing any conflicts or crashes.

How to Use:

Place this compatibility patch directly above Courtyard Plus in your mod load order to ensure it takes priority correctly.

This patch will continue to work as long as Courtyard Plus is not updated with new types of enemies that require new AI entries.

2 Comments
吱吱呱 1 Sep @ 9:10am 
哇,感谢大佬
绿树掩 30 Aug @ 7:42am 
哇是cn老师