Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
WINTERMUTE: Add FoxTail Chapter 3 support #2242
FoxTail Chapter 3 was released several days ago:
There were 2 builds released: 1.2.896.4370 and 1.2.896.4371. There is a very minor difference in english localization between them, other package files are the same.
FoxTail Engine 1.2.896 for some reason is using different opcodes enum than usual WME bytecode, so new scripts are not runnable by unmodified Wintermute at all. However, simple remapping of instruction just after
Chapter 3 features a kalimba - playable musical instrument. Most of the chapter events are related to playing some melodies & catching tunes by watching how kalimba is resonating to a melody. However, there is an easter egg - kalimba can be also played with keyboard and result may be saved to a file and even open & replayed by other FoxTail player.
It took some time to support features related to replayer functionality, since ScummVM does read files from disk and SavefileManager and saves files to SavefileManager.
All new keys, mostly related to kalimba, are added to keymapper. While adding keymaps for this, I noticed that keymapper_tables.h is not in POTFILES, so keymaps were out of localization for some time... Ooops. Fixed.
Refactored and fixed Split() code. This FoxTail method is now used not only with 1-character delimeters only, but with 2-character delimeters as well, so I replaced
Music crossfade code is extended to work with custom volume numbers and to work correctly if channel1==channel2. This refactored code was used to implement FoxTail's
Half a dozen of other small FoxTail-related methods introduced in Engine 1.2.896 were also added here and there:
With those commits, FoxTail Chapter 3 is now playable and completable.