thobbsinteractive / magic-carpet-2-hd

Recode Binary code of game Magic Carpet2 to C/C++ language(remake MC2 for any platform)
GNU General Public License v3.0
30 stars 4 forks source link

Character speeches are not played and shown as text instead #14

Open Tim-Hobbs opened 3 years ago

Tim-Hobbs commented 3 years ago

I believe this is because these speeches are CD Audio tracks. I have not been able to confirm this yet as the gog bin/cue image files (gog.gog (bin)) and gog.ins (cue)), when converted and mounted as iso in Windows will not play their tracks in the media player. But this data works fine via DOS box the version.

thobbsinteractive commented 3 years ago

Update: as I was playing the 3 level about 10 minutes in I heard the Character speech (unprompted by an objective). So now I am completely confused as to what is going on

GrimSqueaker commented 3 years ago

I also noticed this today in level 7 or 8. I hope that we can track this down when figure out control flows in the future. I have read that clang can be used to emit the call graph which then can be rendered. Maybe that will also help.

thobbsinteractive commented 2 years ago

So I actually worked on this for a bit, I wrote the WriteWaveToFile() method to help with this. In the end I found the loading of all the sounds except the speeches! But I did manage to find and label the display and loading of the Portals on the level selection map. I will take another swing at this at some point

thobbsinteractive commented 1 month ago

So this is simply caused by the fact the speeches were not ripped to be played. This is a fix for this in progress