Opened 12 months ago

Closed 7 months ago

#14295 closed defect (fixed)

TWINE: missing possibility to add Adeline logo wav file to Little Big Adventure

Reported by: legluondunet Owned by: mgerhardy
Priority: normal Component: Engine: TwinE
Version: Keywords:
Cc: Game: Little Big Adventure

Description (last modified by legluondunet)

Hello,
I own Little Big Adventure game, provided by GOG, and I would like to play this game with Scummvm.

Concerning the Adeline logo:
https://imgur.com/lqKiBu1

when the Adeline logo appears, if I enable midi I can hear music.
But if midi is not enabled in ScummVM options, it seems lba engine code does not planned to play audio file instead of midi for this sequence.
If I start scummvm in terminal with debug mode, I can read:

Play midi file for index 31

I try to put a mp3 file called track31.mp3 in main game folder but the file was not played.

GOG provides a wav file for Adeline logo: "Common/Midi/LBA1-31.wav" to replace midi.

I don't know if my report is an issue or a feature request.
Is it possible to ask Scummvm to play a wav file when Adeline Logo appearing? For example, track31.mp3?

Change History (12)

comment:1 by legluondunet, 12 months ago

Summary: Little Big Adenture:Little Big Adenture: missing possibility to add Adeline logo wav file

comment:2 by legluondunet, 12 months ago

Game: Little Big Adventure

comment:3 by legluondunet, 12 months ago

Description: modified (diff)

comment:4 by digitall, 12 months ago

Component: --Unset--Engine: TwinE
Summary: Little Big Adenture: missing possibility to add Adeline logo wav fileTWINE: missing possibility to add Adeline logo wav file to Little Big Adventure

comment:5 by mgerhardy, 12 months ago

My GOG installation doesn't contain that particular wav file - but only mp3 files in Common/Midi

-rw-r--r-- 1 mgerhardy mgerhardy  693307 21. Jun 2022  LBA1-01.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 5183940 21. Jun 2022  LBA1-02.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  983530 21. Jun 2022  LBA1-03.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 3976157 21. Jun 2022  LBA1-04.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 4397449 21. Jun 2022  LBA1-05.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 4312003 21. Jun 2022  LBA1-06.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 2560864 21. Jun 2022  LBA1-07.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 5840828 21. Jun 2022  LBA1-08.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 6299674 21. Jun 2022  LBA1-09.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 6299674 21. Jun 2022  LBA1-10.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 1437506 21. Jun 2022  LBA1-11.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  431122 21. Jun 2022  LBA1-12.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  659094 21. Jun 2022  LBA1-13.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  367159 21. Jun 2022  LBA1-14.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  548074 21. Jun 2022  LBA1-15.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  376096 21. Jun 2022  LBA1-16.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  767706 21. Jun 2022  LBA1-17.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  746769 21. Jun 2022  LBA1-18.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  688005 21. Jun 2022  LBA1-19.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  666991 21. Jun 2022  LBA1-20.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  811223 21. Jun 2022  LBA1-21.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  557068 21. Jun 2022  LBA1-22.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  689680 21. Jun 2022  LBA1-23.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  868492 21. Jun 2022  LBA1-24.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 1421756 21. Jun 2022  LBA1-25.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 2012702 21. Jun 2022  LBA1-26.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 1304605 21. Jun 2022  LBA1-27.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  687213 21. Jun 2022  LBA1-28.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  379342 21. Jun 2022  LBA1-29.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 1026635 21. Jun 2022  LBA1-30.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  684835 21. Jun 2022  LBA1-31.mp3
-rw-r--r-- 1 mgerhardy mgerhardy  162524 21. Jun 2022  LBA1-32.mp3
-rw-r--r-- 1 mgerhardy mgerhardy 6299674 21. Jun 2022  LBA1-33.mp3

comment:6 by legluondunet, 12 months ago

Sorry, my fault, you are right, it's mp3 files, I have the same files as you and LBA1-31.mp3 is the music we should hear when game starts.

comment:7 by digitall, 12 months ago

@legluondunet: Firstly, when you detect the game, does it get detected as "GOG.com Classic Version"?

This is important as this flag indicates to ScummVM to use the mp3 / wav / ogg files rather than the midi for music. If you were detected by fallback detection (i.e. french version not in detection table), then this flag may not be set which would cause the issue.

See https://github.com/scummvm/scummvm/blob/master/engines/twine/audio/music.cpp#L247

You may want to try changing LBA1-XX.mp3 to lba1-xx.mp3 as well in case this is not being picked up due to some issue with case (this should work without, but best to eliminate that as a cause).

Secondly, check in the ScummVM about screen and make sure that the MP3 / libmad dependency which is required for playing MP3 is present in your build.

comment:8 by legluondunet, 12 months ago

OK, I understand better, I installed the GOG version not correctly.
Now I installed correctly GOG version with ScummVM.
But there is still an issue with Adeline Logo, it doesn't appear with ScummVM.

I installed GOG version alone and I can see Adeline Logo in second sequence:
1°) show version number 2.21
2°) Adeline Logo with music
3°) message for the next version planned in 2024

If I install GOG version ScummVM, there is no Adeline Logo:
1°) show version number 2.21
2°) title screen
3°) intro video

Last edited 12 months ago by legluondunet (previous) (diff)

comment:9 by mgerhardy, 11 months ago

the logo is shown now. the message about the next version is not included in my version of the game - looks like they updated it in the meantime. I first need to re-download it.

comment:10 by legluondunet, 11 months ago

"the logo is shown now"
nice, with music using "LBA1-31.wav"? I will test scummvm git this evening when I go back at home.

I have to confess that the

  • picture that shows version number 2.21
  • message for the next version planned in 2024

are not very interesting nor pleasant.

comment:11 by legluondunet, 11 months ago

I compiled latest git and confirm Adeline logo is now shown but...without playing wav file LBA1-31.wav :(

comment:12 by mgerhardy, 7 months ago

Owner: set to mgerhardy
Resolution: fixed
Status: newclosed

closing this one as the jingle-not-playing is tracked here already: https://bugs.scummvm.org/ticket/13132 - if you disagree please reopen with the reason.

Note: See TracTickets for help on using tickets.