Commit Graph
12 Commits
Author SHA1 Message Date
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 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 934b99f116 DEVTOOLS: Fix typo in nancy2 data in create_nancy 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 5f6cd52def DEVTOOLS: Clean up nancy2 data in create_nancy
Removed hexadecimal scene IDs, fixed some indentation.
2023-09-29 15:13:42 +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 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 99c58c1227 DEVTOOLS: Fix incorrect scene names in nancy.dat 2023-07-19 21:47:24 +03:00
Kaloyan Chehlarski 69b70fd011 DEVTOOLS: Add missing strings in nancy.dat 2023-07-19 17:08:15 +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