Commit graph

20 commits

Author SHA1 Message Date
Kaloyan Chehlarski
9d0d8d0c5f DEVTOOLS: Fix languages in create_nancy
Replace Common::Language with a custom enum.
2024-11-27 11:07:05 +01:00
Kaloyan Chehlarski
d6d45d4f2f DEVTOOLS: Add official nancy6/7 patches to nancy.dat
These have not been well tested, but are enabled by
default anyway (controlled via the "fix softlocks" checkbox.
2024-02-03 22:52:09 +01:00
Kaloyan Chehlarski
294a6eb015 DEVTOOLS: Add nancy8 data to create_nancy 2024-02-03 22:52:09 +01:00
Kaloyan Chehlarski
5a76920126 DEVTOOLS: Rename variable in create_nancy 2024-02-03 22:52:08 +01:00
Kaloyan Chehlarski
c0e2f746ea DEVTOOLS: Update nancy.dat format
Slightly changed the format of nancy.dat:
- curtain animation frames are no longer stored
- number of cursor TYPES is stored instead of number of
non-item cursors
- map access IDs were moved to a separate chunk outside
the general GameConstants
- GameConstants now stores the ID of the event flag
that gets set after the player has won the game
at least once before.
2024-01-16 22:26:55 +01:00
Kaloyan Chehlarski
6d5a3e3063 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.
2023-11-09 22:18:11 +02:00
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
8745974c86 DEVTOOLS: Build cif trees in-place in create_nancy
Added code for reading .cif files, and combining them into
a ciftree, which is then to be written to nancy.dat. Removed
the nancy2_patchtree binary file, and added the four source
files in its place.
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
f504717f70 DEVTOOLS: Add nancy7 data to create_nancy 2023-10-02 12:19:30 +03:00
Kaloyan Chehlarski
a45544cb0f DEVTOOLS: Add nancy6 data to nancy.dat 2023-09-16 13:14:52 +03:00
Kaloyan Chehlarski
b9c04f6c95 DEVTOOLS: Add new strings to nancy.dat
Added the strings used in the save/load dialog to nancy.dat.
The file version doesn't need to be bumped.
2023-08-28 19:53:32 +03:00
Kaloyan Chehlarski
5ecbabb9a7 DEVTOOLS: Add nancy5 data to nancy.dat 2023-08-10 14:28:50 +03: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
85e5f41bb7 DEVTOOLS: Add nancy4 data to create_nancy 2023-08-08 12:13:05 +03:00
Kaloyan Chehlarski
53f8b4efa4 DEVTOOLS: Add nancy3 data to create_nancy 2023-05-10 16:57:34 +03:00
Kaloyan Chehlarski
39469c129b DEVTOOLS: Add nancy2 data to nancy.dat
Extracted the static data from the nancy2 executable and included
it in nancy.dat.
2023-04-02 22:33:42 +03:00
Kaloyan Chehlarski
4a3b47cba3 DEVTOOLS: Remove item names from nancy.dat
Removed the debug item names from nancy.dat since they're also
present in the game data (inside the INV boot chunk)
2023-04-02 22:33:41 +03: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