Difference between revisions of "SCI/TODO"

Jump to navigation Jump to search
734 bytes removed ,  20:10, 1 September 2010
Removed resolved bugs
(Removed a warning)
(Removed resolved bugs)
Line 8: Line 8:
* Voice mapping. This is used by all SCI games to assign hardware voices to midi channels in the AdLib and FB-01 drivers. So, for example, if a song tries to play more than 9 notes at the same time, we need to stop an earlier note. We currently do this round-robin, while we should be respecting voice assignments. If a game sets 3 voices for piano, we should not take one away unless 4 piano notes are played, then it's OK to stop one piano note. Currently if a song were to use 5 notes at once we would just play them all, even if that midi channel was set to use 2 voices, and those 3 extra notes might stop more important notes, e.g. in the melody. This has been implemented for SCI0, but it's not hooked up to AdLib at the moment. Also we're not sure if the initial voice assignments are in the MIDI stream in SCI1 (they're not in SCI0). Of course, channel remapping has an effect on this too
* Voice mapping. This is used by all SCI games to assign hardware voices to midi channels in the AdLib and FB-01 drivers. So, for example, if a song tries to play more than 9 notes at the same time, we need to stop an earlier note. We currently do this round-robin, while we should be respecting voice assignments. If a game sets 3 voices for piano, we should not take one away unless 4 piano notes are played, then it's OK to stop one piano note. Currently if a song were to use 5 notes at once we would just play them all, even if that midi channel was set to use 2 voices, and those 3 extra notes might stop more important notes, e.g. in the melody. This has been implemented for SCI0, but it's not hooked up to AdLib at the moment. Also we're not sure if the initial voice assignments are in the MIDI stream in SCI1 (they're not in SCI0). Of course, channel remapping has an effect on this too
* Improve Amiga (SCI01/1) and Mac sound support ([[SCI/Specifications/Sound/SCI0 Resource Format#Amiga Sound (SCI1)/Macintosh Sound (SCI1/1.1)|same format]])
* Improve Amiga (SCI01/1) and Mac sound support ([[SCI/Specifications/Sound/SCI0 Resource Format#Amiga Sound (SCI1)/Macintosh Sound (SCI1/1.1)|same format]])
* Proper song volume support, currently volume is reset to max whenever a new song is loaded
* kDoAudio subops 12 and 13 (used in Freddy Pharkas: subop 12 is called while people are talking and subop 13 is called while the narrator's voice is heard)
* kDoAudio subops 12 and 13 (used in Freddy Pharkas: subop 12 is called while people are talking and subop 13 is called while the narrator's voice is heard)
* Implement a CMS driver
* Implement a CMS driver
Line 74: Line 73:
* KQ5: End credits song is broken (resource 699). we are now filtering out invalid channels, but at the end of the song it plays back garbled somewhat. This video proves that it worked fully in original sci http://www.youtube.com/watch?v=GerEZ68YSzc - the resource is uncompressed inside resource.000 right at the end, this is definitely no decompression or resource size error
* KQ5: End credits song is broken (resource 699). we are now filtering out invalid channels, but at the end of the song it plays back garbled somewhat. This video proves that it worked fully in original sci http://www.youtube.com/watch?v=GerEZ68YSzc - the resource is uncompressed inside resource.000 right at the end, this is definitely no decompression or resource size error
* LSL6: when saving when music is fading out (and restoring) the music will stay on that level and keep playing - we should check for fading and modify selectors to the endpoint
* LSL6: when saving when music is fading out (and restoring) the music will stay on that level and keep playing - we should check for fading and modify selectors to the endpoint
* SQ1: it seems sierra sci wasn't able to pause samples at all. We are getting pause sample call when getting killed by acid drops and we pause the sample, but this isn't the way sierra sci behaved. In that case the sample continued. Maybe they just stopped it from looping again. LSL1 seems to pause samples on kDoSound(pause) calls although thats sci1early sound wise


=== SCI0-01 parser ===
=== SCI0-01 parser ===
Line 82: Line 80:
=== VM ===
=== VM ===
* Castle of Dr. Brain: Saving and restoring in room 380 will result in a broken sentence puzzle (last puzzle in that room) - for testing replace 577504302400 with 5775042E2400 in script.380 - this will make it possible to use as many hint coins on the locked cupboard, so that one doesnt have to solve the hangman puzzle at all - this may be a regression since last playthrough (end of january 2010) - workaround: play through this room at once w/o restoring
* Castle of Dr. Brain: Saving and restoring in room 380 will result in a broken sentence puzzle (last puzzle in that room) - for testing replace 577504302400 with 5775042E2400 in script.380 - this will make it possible to use as many hint coins on the locked cupboard, so that one doesnt have to solve the hangman puzzle at all - this may be a regression since last playthrough (end of january 2010) - workaround: play through this room at once w/o restoring
* Island Dr. Brain/wii exclusive(?): when being in the first puzzle room, going to menu doesn't really work on Wii. The menu is visible for around 0.1 seconds and then disappears automatically - caused by MoveCursor not setting cursor - needs to get further investigated
* KQ5: Path-walking - in the town some people "jump" around sometimes, also happens to ego in rare cases as well (sq5 right at the start when walking down)
* KQ5: Path-walking - in the town some people "jump" around sometimes, also happens to ego in rare cases as well (sq5 right at the start when walking down)
* LSL6: =NOT OUR BUG= sometimes the tram does not stop. This is a game script issue and not an engine one, but we should still figure out what goes wrong and fix it. To make it work -> see SCI bugs
* LSL6: =NOT OUR BUG= sometimes the tram does not stop. This is a game script issue and not an engine one, but we should still figure out what goes wrong and fix it. To make it work -> see SCI bugs
1,502

edits

Navigation menu