Commit Graph
4602 Commits
Author SHA1 Message Date
Scott Percival 054c674f79 DIRECTOR: Fix pitch calculation for BITDDecoder
The expected decompression size for D4 and above was being mistakenly overwritten
by the D3 size.

Fixes leaves animation in GOODBYE.DIR for Chop Suey.
2023-01-16 17:51:19 +01:00
Roland van Laar 59ef289138 DIRECTOR: LINGO: TESTS: Remove FileIO test for win
The windows specific test to open the FileIO XObject
doesn't test what it should test.
Since all lingo tests are ran as Mac D4.0.0 all the specific windows
checks aren't executed.
2023-01-16 15:25:27 +01:00
Misty De Meo 8f79e5ee6c DIRECTOR: CAST: remove reference check 2023-01-15 14:43:50 -08:00
Misty De Meo 08406b4510 DIRECTOR: add SearchMan check 2023-01-15 23:32:06 +01:00
Misty De Meo 6af5e86a77 DIRECTOR: openMainArchive may be opening an EXE
This fixes Fukuoka-Go-Round, which ends up passing the main EXE as a movie
to (re)open at runtime instead of a movie. Without this, clicking back to
the main menu crashes the disc.
2023-01-15 23:32:06 +01:00
Misty De Meo 14d9189888 DIRECTOR: Sailor Moon Gengashuu 2023-01-15 09:49:30 -08:00
Roland van Laar 9f1facb221 DIRECTOR: LINGO: TESTS: open FileIO test for win
Guard agains bug where the path is stripped incorrectly for:

    `openXLib("C:\fileio.dll")`

The `.dll` part isn't stripped correctly when trying to open the files.
2023-01-14 13:40:45 +01:00
Walter Agazzi 08e0f64f50 DIRECTOR: Add detection for Sinkha digital novels
Bugreport #12911
2023-01-11 17:22:57 +01:00
Misty De Meo 29673407d4 DIRECTOR: full shinshofukei app 2023-01-10 23:12:34 -08:00
Misty De Meo f1d3cc24a5 DIRECTOR: Spaceship Warlock Mac JPN 2023-01-10 20:54:06 -08:00
Scott Percival 7bd9eb1728 DIRECTOR: Fix visual regression in D3 with bitmap compression detection 2023-01-11 00:41:55 +01:00
Walter Agazzi aae245cc94 DIRECTOR: Improve detection for some D4 entries
* Who killed Taylor French?  | * Nikolai Knights
* Nile Passage to Egypt | * Nixon Watergate
* Noddy Toy Town
2023-01-10 21:21:22 +01:00
Scott Percival 7a3ce2ff5c DIRECTOR: Don't render color cycling in few frames mode 2023-01-10 13:41:53 +01:00
Scott Percival fb4d1f3bfe DIRECTOR: Make bitmap color correction ignore color cycling operations
Fixes the logo sequence in Alice: An Interactive Museum.
2023-01-10 13:41:53 +01:00
Scott Percival f61e06a752 DIRECTOR: Fix Score::getCurrentPalette()
Previously, this would return the palette for the current frame (if it
was specified). Real Director behaviour is to return the current
palette in use, i.e. taking into account changes made in previous
frames.
2023-01-10 13:41:53 +01:00
Scott Percival a5ed3bc202 DIRECTOR: Fix palette offset in BitmapCastMembers
When reading the palette ID from a BitmapCastMember, 0 or below
signifies a builtin palette and should be offset by -1. 1 or above
signifies a palette Cast ID.

Also make sure to compare like for like: a cast member ID needs to be
sent through resolvePaletteId to get the index in the actual palette
store.

Fixes palette swapping in the Lost Mind of Dr. Brain demo.
2023-01-10 13:41:53 +01:00
Scott Percival 26fad071c0 DIRECTOR: Read palette ID as signed int for D3 2023-01-10 13:41:53 +01:00
Scott Percival c5095c0e62 DIRECTOR: Fix several blend modes
Blend modes have been confirmed with visual inspection of a test card.

Fixes the end screens in Yaken Rodem.
2023-01-10 13:41:53 +01:00
Scott Percival bbc464a7bc DIRECTOR: Fix matte display for 1-bit images 2023-01-10 13:41:53 +01:00
Scott Percival 9fb41d82d1 DIRECTOR: Add support for displaying 2-bit and 4-bit bitmaps 2023-01-10 13:41:53 +01:00
Scott Percival 699eb67daa DIRECTOR: Add observed 16-color Mac palette
The resource fork in the Director 4 projector has a 16-color palette
right next to the 256-color System - Mac one, and the colors seem to
match the default System 4 palette. Nevertheless, this palette appears
to be reasonably different (both in colors and ordering) from the one
actually used. Included is a palette determined empirically from
DOSBox screenshots.
2023-01-10 13:41:53 +01:00
Scott Percival 48740a2ad1 DIRECTOR: Remove all palette reversing workarounds
All of the builtin palette lookup tables have been reversed, to match
the original layout of the tables in the Director 4 projector executable.
This corresponds with the colour indexing used in Lingo.
Likewise, the code to load palettes from the cast no longer reads the
colours in reverse order, and shiftPalette no longer expects
the start index to be after the end index.

DirectorEngine::transformColor still exists to upgrade to 32-bit colour,
but no longer reverses the palette index.

The missing builtin 16-color palettes from Director 4 have been added.
2023-01-10 13:41:53 +01:00
Scott Percival 97a6076168 DIRECTOR: LINGO: Allow setting any property on a factory object
Fixes game initialisation of Yaken Rodem.
2023-01-10 13:41:53 +01:00
Scott Percival ccd72e5e1b DIRECTOR: LINGO: Always let cb_assign write a property
This function needs to be able to deal with D3-style anonymous
objects, where no properties are defined in advance.
2023-01-10 13:41:53 +01:00
Scott Percival 9109495484 DIRECTOR: LINGO: Stop reading property list after getting -1
This appears to be another space reclamation feature in Director;
there are examples of the property list being a -1 followed by
bytecode garbage from the previous field.
2023-01-10 13:41:53 +01:00
Scott Percival d683688a55 DIRECTOR: Fix redraw when changing the stageColor
Previously, there was a workaround which would set score->_nextFrame to
the current frame. This meant that setting the stageColor in an
exitFrame handler would loop that single frame and softlock the movie.
The new approach re-renders the sprites and window inline, as we do
in several other spots.

Fixes frame progressions in Yaken Rodem.
2023-01-10 13:41:53 +01:00
Eugene Sandulenko d3f9ddcb44 AD: Move canPlayUnknownVariants() override to a flag. 2023-01-09 18:56:50 +01:00
Walter Agazzi 7bca06fcfe DIRECTOR: Improve detection for some D4 entries
* Madeline Puppet Show | * Makers of 20th century
* Masterpiece Mansion | * The Martian Chronicles
* Max Haunted Castle | * Mirage
* Mummy
2023-01-08 22:46:01 +01:00
Misty De Meo 859699147a DIRECTOR: Japan Art Today 14 2023-01-07 15:44:27 -08:00
Misty De Meo 41e1945712 DIRECTOR: games from Panicook disc 2023-01-07 09:59:31 -08:00
Walter Agazzi 22ef6eb83d DIRECTOR: Improve detection for some D4 entries
* Jewels Oracle Demo | * Journey to life
* Jungle Park | * Karma
* Kung Fu Kid | * Cosmology of Kyoto
* Letters Demo | * Louis Cat Orze
* The Louvre
2023-01-07 18:38:31 +01:00
Walter Agazzi 1ed6ab28fc DIRECTOR: Improve detection for some D4 entries
* ID4 Mission Packs
* Illustrators America (Jp)
* Intro n 2-4 (Jp)
* Ios (Jp)
* Isis
2023-01-06 15:45:35 +01:00
Walter Agazzi a2944ad6e3 DIRECTOR: Improve detection for some entries
* aozoragaho (Jp)
* Glassy Ocean (Jp)
* Seesaw C1 (Jp)
* Ritter Rost (De)
2023-01-06 15:45:35 +01:00
Walter Agazzi 7da461f8a5 DIRECTOR: Improve detection for D4 entries
* Hello Kitty Big Fun
* Zeddas 1-3
* Hoyle Card  Games Demo
* Hyperblade
2023-01-05 12:09:24 +01:00
Walter Agazzi c361741040 DIRECTOR: Improve detection for D4 entries
* The great green mouse disaster
* Infinity City
* Pantsylvania
* Les Guignols
* Multimedia Guns
* Guus Cybertown (NL demo)
2023-01-05 12:09:24 +01:00
Walter Agazzi 7114fe2498 DIRECTOR: Add some new entries
* Ravecard 2001
* Baltic Mission
* Trazan & Banarne
* Polis 3
2023-01-04 14:43:50 +01:00
Walter Agazzi e0941ef3aa DIRECTOR: Improve detection for two titles
* Ganbare Inuchan
* Gasbook 8 Intro
2023-01-04 14:43:50 +01:00
Misty De Meo ade01150b8 DIRECTOR: add quirk for henachoco05
Rodem tracks mouse movement outside the game window. It's not possible to
trigger Rodem's movement to the next screen to the left or right just by
moving the mouse cursor to the edge of the screen; it has to be tracked
outside the screen altogether.

This can be fixed by enabling ScummVM's desktop emulation. I've confirmed
this makes both the Mac and Windows versions playable. Since an existing
quirk already implemented this behaviour, I've renamed the existing
function and given it a more generic name.
2022-12-31 01:37:21 +01:00
Walter Agazzi fe4736c726 DIRECTOR: Add detection for Majestic from Trac 13225 2022-12-30 22:19:24 +01:00
Walter Agazzi b5b3a53095 DIRECTOR: Add detection for Moomin Party games 2022-12-30 22:19:24 +01:00
Vladimir Serbinenko 275379c3d2 ENGINES: Change getFileProperties to receive MD5Properties as argument 2022-12-28 12:56:22 +01:00
Thierry Crozat 917fe69a7d DIRECTOR: Add detection for another Spaceship Warlock mac demo 2022-12-27 20:30:15 +01:00
Misty De Meo 0c5d572cfc DIRECTOR: murphystv Mac 2022-12-26 23:06:17 -08:00
Misty De Meo 60e119b7cc DIRECTOR: henachocogala 2022-12-26 16:34:50 -08:00
elasota e280186a8c ALL: VS warning cleanup 2022-12-25 16:31:57 +01:00
Eugene Sandulenko edca65670d DIRECTOR: JANITORIAL: Added namespace comment 2022-12-25 10:02:06 +01:00
Walter Agazzi ca9f4e9739 DIRECTOR: Various fixes for D4 entries (F)
* Fix filesizes / director versions
* Improve detection of Ultimate FLW (win)
* Add win version of The fish who could wish
2022-12-21 18:12:29 +01:00
Walter Agazzi c36986a5e4 DIRECTOR: Various fixes for D4 entries (E)
* Fix filesizes / director versions
* Improve detection of Elmo's preschool
* Add mac version of Explorers (PT)
2022-12-21 18:12:29 +01:00
Misty De Meo d86fb3bf6e DIRECTOR: rodneyfs full version 2022-12-20 11:18:12 -08:00
Walter Agazzi ead0ae6a47 DIRECTOR: Fix filesize/version for D4 entries (D)
+ minor changes
2022-12-16 15:49:29 +01:00