DEVTOOLS: Add nancy5 patches to create_nancy

Added a patch for a softlock between day 2 and 3, as well
as one at the very end of day 3. Added a patch for a buggy
scene that won't work properly without subtitles. Both of
these patches are supposed to be distributed by HeR, but
the file on their website does not actually contain them;
thus, they're both homebrew.
This commit is contained in:
Kaloyan Chehlarski 2023-11-06 22:30:56 +02:00
parent 2bd42c7b22
commit 6d5a3e3063
4 changed files with 24 additions and 0 deletions

View File

@ -265,6 +265,8 @@ int main(int argc, char *argv[]) {
WRAPWITHOFFSET(writeRingingTexts(output, _nancy5TelephoneRinging))
WRAPWITHOFFSET(writeEmptySaveTexts(output, _nancy5EmptySaveStrings))
WRAPWITHOFFSET(writeEventFlagNames(output, _nancy5EventFlagNames))
WRAPWITHOFFSET(writePatchFile(output, 6, nancy5PatchSrcFiles, "files/nancy5"))
WRAPWITHOFFSET(writePatchAssociations(output, nancy5PatchAssociations))
// Nancy Drew: Secret of the Scarlet Hand
gameOffsets.push_back(output.pos());

Binary file not shown.

Binary file not shown.

View File

@ -824,4 +824,26 @@ const Common::Array<const char *> _nancy5EventFlagNames = {
"EV_TBD"
};
// Patch notes:
// Both of the softlock patch files are described on HeR Interactive's website,
// but not actually present in the file they distribute. Thus, the fixes are ours.
// - S3503.cif blocks the transition between day 2 and 3 until the player obtains both the flash paper
// and the safe key. This is not the most graceful way to handle the endgame softlocks, as both items
// would technically be obtainable on day 3 as well; however, it is the least intrusive one. Moreover,
// it seems to be what the original devs were planning to do; there is a check for the flash paper in
// the exact scene that we patch. However, failing that check simply locks you in the room forever,
// because they seem to have forgotten to finish the softlock fix.
// - S3503 removes the check for close captioning which would result in the player being unable to
// close Simone's purse without having subtitles on. Technically not a softlock but just a plain bug,
// so it is not hidden behind a setting, and is always enabled.
const Common::Array<const char *> nancy5PatchSrcFiles {
"S3503.cif",
"S3218.cif"
};
const Common::Array<PatchAssociation> nancy5PatchAssociations {
{ { "softlocks_fix", "true" }, { "S3218" } }
};
#endif // NANCY5DATA_H