Commit graph

6 commits

Author SHA1 Message Date
Kaloyan Chehlarski
996a55abbe DEVTOOLS: Add nancy3 missing sound patch to nancy.dat
Also slightly modified the format to allow for language
checks in the PatchAssociation struct
2023-11-05 13:03:01 +02:00
Kaloyan Chehlarski
82cd37ce34 DEVTOOLS: Add nancy2 patches to create_nancy
Added facilities for embedding game patches into nancy.dat
Added two game patches for nancy2:
- one of the original patches, as distributed by the original
devs. Specifically, only the patch to extend the end-game
timer; there exists another patch that fixes an error when
double-clicking a specific cupboard, but that's caused by
an engine bug that does not exist in ScummVM.
- a new, custom patch that fixes a nasty softlock caused
by incorrect dependencies in a certain scene.
2023-11-02 11:41:22 +02:00
Kaloyan Chehlarski
6763eba9ce DEVTOOLS: Rework nancy.dat structure
More fields needed to be added to each nancy game's entry
in nancy.dat. Since this would've required bumping up the
file version anyway, the opportunity was taken to rework
its structure so future changes are smoother.

The new format is based around sections, each with a tag
denoting its contents, and an offset for easy skipping.
Conditions for dialogue, goodbyes, and hints have an
additional type field, with the newly-added difficulty type
being required by nancy5's data. Data for sound
channel types has also been added, since nancy4 and up
changed the structure of the channel data. And lastly, files
that were incorrectly using spaces for indentation have been
switched to tabs.
2023-08-10 14:28:50 +03:00
Kaloyan Chehlarski
a367dfe519 DEVTOOLS: Update create-nancy
Updated the format for nancy.dat to make multilanguage arrays
much easier to read.
2023-03-03 17:35:57 +02:00
Kaloyan Chehlarski
ec1ce07669 DEVTOOLS: create_nancy code cleanup 2023-03-02 14:28:10 +01:00
Kaloyan Chehlarski
2c798c6e43 DEVTOOLS: Add create_nancy project
Add initial version of create_nancy, which generates a datafile(nancy.dat) containing various data for games using the Nancy Drew engine.
2023-03-02 14:28:10 +01:00