Jump to content

Photo

No music while playing quests on Linux/Wine


  • Please log in to reply
9 replies to this topic

#1 Useless Old Man Wisdom

Useless Old Man Wisdom

    Doyen(ne)

  • Members
  • Location:Locked up and spun out in my room

Posted 03 May 2023 - 10:47 AM

On Ubuntu 22.x, with Wine 8.01 running the x86 a113 of Zelda Classic, all the custom quests I've tried are working smoothly and surprisingly lag free with the one notable exception that I cannot get quests midis or enhanced audio music (.ogg, .nsf, .gbs files) to play with a given quest. The music during the Legend of Zelda title splash screen plays OK when I start ZC, if I have this screen selected to show while using the launcher. All the sound effects, even scripted sound effects like rain or sound effects related to custom items, seem to work fine.

 

I've tried experimenting with installing and running fluidsynth and a windows midi sound package to no avail. I've also tried installing directx components like dsound and directmusic to no avail. Notably, having dsound.dll running via winetricks seems to break the previously-working sound effects in ZC and even cause ZC to hang when certain scripted sound effects are to play.

 

I'm pretty sure this is a ZC/wine issue, because midis seem to be playing fine when I run other emulators like BSNES via wine.

 



#2 connor.clark

connor.clark

    Junior

  • ZC Developers

Posted 05 May 2023 - 02:15 PM

Can you share your allegro.log file? Might be something useful in there.

Do any of the sample tunes in ZQuest menu work? What about playing enhanced music too (in ZQuest)?



#3 Useless Old Man Wisdom

Useless Old Man Wisdom

    Doyen(ne)

  • Members
  • Location:Locked up and spun out in my room

Posted 06 May 2023 - 11:00 AM

Great suggestion to try playing music in Zquest. In doing so, I see that, when I load up a quest, there is no music when I attempt to play midis under the quest/audio/midis menu. Conversely, playing sound effects and custom sound effects under the same menu works fine.

 

Another interesting finding is that when I go to the etc/media menu, attempting to play any of the ambient music selections results in dead silence; however, if I attempt to play tunes under the etc/media/play music menu, all the enhanced music files I've tried are playing fine.

 

I happened to also try playing with allegro5.cfg and editing the "driver" selection under the [audio] selection, but none of the selections fix the no-music problem and in fact, several of the selections kill all sound including sound effects.

 

 

Here's my allegro.log after playing around with ZQ and loading several quests in ZC player:

audio    W         kcm_stream.c:651  _al_kcm_refill_stLoading Saved Games
Finished Loading Saved Games
include/;headers/;scripts/;include/headers/scripts/
[ZQUEST CREATOR METADATA]
Loading 'DragonDream.qst'
Last saved in ZQuest Version: 2.55.0 Alpha 92
Created with ZC Module: modules/classid3d      W         d3d_disp.cpp:603  d3d_destroy_device               [ 237.45193] d3d_destroy_device: ref count not 0
d3d      W         d3d_disp.cpp:603  d3d_destroy_device               [ 237.45209] d3d_destroy_device: ref count not 0
ripts/
[ZQUEST CREATOR METADATA]
Loading '.\Herald of Heroes.qst'
Last saved in ZQuest Version: 2.53.1
Project ID: ZQuest Creator Suite

include/;headers/;scripts/;include/headers/scripts/
[ZQUEST CREATOR METADATA]
Loading '.\Mike's Fun House.qst'
Last saved in ZQuest Version: 2.50.2
Project ID: ZQuest Creator Suite

_NEW_QST...

Decrypting...okay.
Opening...okay.
Reading Header...okay.
Reading ZInfo - Internal...okay.
Reading Rules...okay.
Reading Strings...okay.
Reading Doors...okay.
Reading DMaps...okay.
Reading Misc. Data...okay.
Misc Colours section version: 4
Reading Misc. Colors...okay.
Reading Game Icons...okay.
Reading Items...okay.
Reading Weapons...okay.
Reading Maps...okay.
Reading Combos...okay.
Reading Combo Aliases...okay.
Reading Color Data...okay.
Registering blank tiles
Reading Tiles...okay.
Reading Tunes...okay.
Reading Cheat Codes...okay.
Reading Init. Data...okay.
Guy CVersion is: 4
Reading Custom Guy Data...okay.
Reading Custom Player Sprite Data...okay.
Reading Custom Subscreen Data...okay.
Loaded scripts last compiled in ZScript version: 20
Reading FF Script Data...okay.
Reading SFX Data...okay.
Reading Item Drop Sets...okay.
Reading Favorite Combos...okay.
Done.
Quest made in ZC Version: 255
Quest made in ZC Build: 61
Quest Section 'Header' is Version: 7
Quest Section 'Rules' is Version: 17
Quest Section 'Strings' is Version: 10
Quest Section 'Misc' is Version: 15
Quest Section 'Tiles' is Version: 2
Quest Section 'Combos' is Version: 35
Quest Section 'CSets' is Version: 5
Quest Section 'Maps' is Version: 23
Quest Section 'DMaps' is Version: 16
Quest Section 'Doors' is Version: 1
Quest Section 'Items' is Version: 53
Quest Section 'Weapons' is Version: 7
Quest Section 'Colors' is Version: 4
Quest Section 'Icons' is Version: 10
Quest Section 'InitData' is Version: 32
Quest Section 'Guys' is Version: 47
Quest Section 'MIDIs' is Version: 4
Quest Section 'Cheats' is Version: 1
Quest Section 'Combo Aliases' is Version: 4
Quest Section 'Player Sprites' is Version: 16
Quest Section 'Subscreen' is Version: 7
Quest Section 'Dropsets' is Version: 2
Quest Section 'FFScript' is Version: 21
Quest Section 'SFX' is Version: 8
Quest Section 'Favorites' is Version: 1
Quest Section 'CompatRules' is Version: 33
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: modules/classic/classic_qst.dat#NESQST_NEW_QST...

Decrypting...okay.
Opening...okay.
Can't find section!
Original title screen. Font: 0
Original title screen. X: 86
Original title screen. Y: 128
Original title screen. col: 13
Original title screen. sz: -1
Original title screen. Font2: 0
Original title screen. X2: 86
Original title screen. Y2: 136
Original title screen. col2: 13
Original title screen. sz2: -1
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: modules/classic/classic_qst.dat#NESQST_NEW_QST...

Decrypting...okay.
Opening...okay.
Reading Header...okay.
Reading ZInfo - Internal...okay.
Reading Rules...okay.
Reading Strings...okay.
Reading Doors...okay.
Reading DMaps...okay.
Reading Misc. Data...okay.
Misc Colours section version: 4
Reading Misc. Colors...okay.
Reading Game Icons...okay.
Reading Items...okay.
Reading Weapons...okay.
Reading Maps...okay.
Reading Combos...okay.
Reading Combo Aliases...okay.
Reading Color Data...okay.
Registering blank tiles
Reading Tiles...okay.
Reading Tunes...okay.
Reading Cheat Codes...okay.
Reading Init. Data...okay.
Guy CVersion is: 4
Reading Custom Guy Data...okay.
Reading Custom Player Sprite Data...okay.
Reading Custom Subscreen Data...okay.
Loaded scripts last compiled in ZScript version: 20
Reading FF Script Data...okay.
Reading SFX Data...okay.
Reading Item Drop Sets...okay.
Reading Favorite Combos...okay.
Done.
Quest made in ZC Version: 255
Quest made in ZC Build: 61
Quest Section 'Header' is Version: 7
Quest Section 'Rules' is Version: 17
Quest Section 'Strings' is Version: 10
Quest Section 'Misc' is Version: 15
Quest Section 'Tiles' is Version: 2
Quest Section 'Combos' is Version: 35
Quest Section 'CSets' is Version: 5
Quest Section 'Maps' is Version: 23
Quest Section 'DMaps' is Version: 16
Quest Section 'Doors' is Version: 1
Quest Section 'Items' is Version: 53
Quest Section 'Weapons' is Version: 7
Quest Section 'Colors' is Version: 4
Quest Section 'Icons' is Version: 10
Quest Section 'InitData' is Version: 32
Quest Section 'Guys' is Version: 47
Quest Section 'MIDIs' is Version: 4
Quest Section 'Cheats' is Version: 1
Quest Section 'Combo Aliases' is Version: 4
Quest Section 'Player Sprites' is Version: 16
Quest Section 'Subscreen' is Version: 7
Quest Section 'Dropsets' is Version: 2
Quest Section 'FFScript' is Version: 21
Quest Section 'SFX' is Version: 8
Quest Section 'Favorites' is Version: 1
Quest Section 'CompatRules' is Version: 33
Full path string is:
Include path 0:
Include path 1:
Include path 2:
File not found "d:\Games\Zelda Classic 2.55\DragonDream.qst". Searching...
Set quest path to "DragonDream.qst".
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: DragonDream.qst...

Decrypting...okay.
Opening...okay.
Reading Header...okay.
Reading Rules...okay.
Reading Strings...okay.
Reading Doors...okay.
Reading DMaps...okay.
Reading Misc. Data...okay.
Misc Colours section version: 3
Reading Misc. Colors...okay.
Reading Game Icons...okay.
Reading Items...okay.
Reading Weapons...okay.
Reading Maps...okay.
Reading Combos...okay.
Reading Combo Aliases...okay.
Reading Color Data...okay.
Registering blank tiles
Reading Tiles...okay.
Reading Tunes...okay.
Reading Cheat Codes...okay.
Reading Init. Data...okay.
Guy CVersion is: 4
Reading Custom Guy Data...okay.
Reading Custom Player Sprite Data...okay.
Reading Custom Subscreen Data...okay.
Loaded scripts last compiled in ZScript version: 18
Reading FF Script Data...okay.
Reading SFX Data...okay.
Reading Item Drop Sets...okay.
Reading Favorite Combos...okay.
Done.
Quest made in ZC Version: 255
Quest made in ZC Build: 57
Quest Section 'Header' is Version: 5
Quest Section 'Rules' is Version: 15
Quest Section 'Strings' is Version: 7
Quest Section 'Misc' is Version: 12
Quest Section 'Tiles' is Version: 2
Quest Section 'Combos' is Version: 15
Quest Section 'CSets' is Version: 4
Quest Section 'Maps' is Version: 22
Quest Section 'DMaps' is Version: 15
Quest Section 'Doors' is Version: 1
Quest Section 'Items' is Version: 46
Quest Section 'Weapons' is Version: 7
Quest Section 'Colors' is Version: 3
Quest Section 'Icons' is Version: 10
Quest Section 'InitData' is Version: 20
Quest Section 'Guys' is Version: 42
Quest Section 'MIDIs' is Version: 4
Quest Section 'Cheats' is Version: 1
Quest Section 'Combo Aliases' is Version: 3
Quest Section 'Player Sprites' is Version: 7
Quest Section 'Subscreen' is Version: 6
Quest Section 'Dropsets' is Version: 2
Quest Section 'FFScript' is Version: 18
Quest Section 'SFX' is Version: 7
Quest Section 'Favorites' is Version: 1
Quest Section 'CompatRules' is Version: 0
Trying to load C:/Program Files (x86)/Zelda Classic\modules/classic/zelda.nsf
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: modules/classic/classic_qst.dat#NESQST_NEW_QST...

Decrypting...okay.
Opening...okay.
Reading Header...okay.
Reading ZInfo - Internal...okay.
Reading Rules...okay.
Reading Strings...okay.
Reading Doors...okay.
Reading DMaps...okay.
Reading Misc. Data...okay.
Misc Colours section version: 4
Reading Misc. Colors...okay.
Reading Game Icons...okay.
Reading Items...okay.
Reading Weapons...okay.
Reading Maps...okay.
Reading Combos...okay.
Reading Combo Aliases...okay.
Reading Color Data...okay.
Registering blank tiles
Reading Tiles...okay.
Reading Tunes...okay.
Reading Cheat Codes...okay.
Reading Init. Data...okay.
Guy CVersion is: 4
Reading Custom Guy Data...okay.
Reading Custom Player Sprite Data...okay.
Reading Custom Subscreen Data...okay.
Loaded scripts last compiled in ZScript version: 20
Reading FF Script Data...okay.
Reading SFX Data...okay.
Reading Item Drop Sets...okay.
Reading Favorite Combos...okay.
Done.
Quest made in ZC Version: 255
Quest made in ZC Build: 61
Quest Section 'Header' is Version: 7
Quest Section 'Rules' is Version: 17
Quest Section 'Strings' is Version: 10
Quest Section 'Misc' is Version: 15
Quest Section 'Tiles' is Version: 2
Quest Section 'Combos' is Version: 35
Quest Section 'CSets' is Version: 5
Quest Section 'Maps' is Version: 23
Quest Section 'DMaps' is Version: 16
Quest Section 'Doors' is Version: 1
Quest Section 'Items' is Version: 53
Quest Section 'Weapons' is Version: 7
Quest Section 'Colors' is Version: 4
Quest Section 'Icons' is Version: 10
Quest Section 'InitData' is Version: 32
Quest Section 'Guys' is Version: 47
Quest Section 'MIDIs' is Version: 4
Quest Section 'Cheats' is Version: 1
Quest Section 'Combo Aliases' is Version: 4
Quest Section 'Player Sprites' is Version: 16
Quest Section 'Subscreen' is Version: 7
Quest Section 'Dropsets' is Version: 2
Quest Section 'FFScript' is Version: 21
Quest Section 'SFX' is Version: 8
Quest Section 'Favorites' is Version: 1
Quest Section 'CompatRules' is Version: 33
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: modules/classic/classic_qst.dat#NESQST_NEW_QST...

Decrypting...okay.
Opening...okay.
Can't find section!
Original title screen. Font: 0
Original title screen. X: 86
Original title screen. Y: 128
Original title screen. col: 13
Original title screen. sz: -1
Original title screen. Font2: 0
Original title screen. X2: 86
Original title screen. Y2: 136
Original title screen. col2: 13
Original title screen. sz2: -1
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: modules/classic/classic_qst.dat#NESQST_NEW_QST...

Decrypting...okay.
Opening...okay.
Reading Header...okay.
Reading ZInfo - Internal...okay.
Reading Rules...okay.
Reading Strings...okay.
Reading Doors...okay.
Reading DMaps...okay.
Reading Misc. Data...okay.
Misc Colours section version: 4
Reading Misc. Colors...okay.
Reading Game Icons...okay.
Reading Items...okay.
Reading Weapons...okay.
Reading Maps...okay.
Reading Combos...okay.
Reading Combo Aliases...okay.
Reading Color Data...okay.
Registering blank tiles
Reading Tiles...okay.
Reading Tunes...okay.
Reading Cheat Codes...okay.
Reading Init. Data...okay.
Guy CVersion is: 4
Reading Custom Guy Data...okay.
Reading Custom Player Sprite Data...okay.
Reading Custom Subscreen Data...okay.
Loaded scripts last compiled in ZScript version: 20
Reading FF Script Data...okay.
Reading SFX Data...okay.
Reading Item Drop Sets...okay.
Reading Favorite Combos...okay.
Done.
Quest made in ZC Version: 255
Quest made in ZC Build: 61
Quest Section 'Header' is Version: 7
Quest Section 'Rules' is Version: 17
Quest Section 'Strings' is Version: 10
Quest Section 'Misc' is Version: 15
Quest Section 'Tiles' is Version: 2
Quest Section 'Combos' is Version: 35
Quest Section 'CSets' is Version: 5
Quest Section 'Maps' is Version: 23
Quest Section 'DMaps' is Version: 16
Quest Section 'Doors' is Version: 1
Quest Section 'Items' is Version: 53
Quest Section 'Weapons' is Version: 7
Quest Section 'Colors' is Version: 4
Quest Section 'Icons' is Version: 10
Quest Section 'InitData' is Version: 32
Quest Section 'Guys' is Version: 47
Quest Section 'MIDIs' is Version: 4
Quest Section 'Cheats' is Version: 1
Quest Section 'Combo Aliases' is Version: 4
Quest Section 'Player Sprites' is Version: 16
Quest Section 'Subscreen' is Version: 7
Quest Section 'Dropsets' is Version: 2
Quest Section 'FFScript' is Version: 21
Quest Section 'SFX' is Version: 8
Quest Section 'Favorites' is Version: 1
Quest Section 'CompatRules' is Version: 33
Full path string is:
Include path 0:
Include path 1:
Include path 2:
File not found "C:\Storage\Games\Zelda Classic 2.55\.\Herald of Heroes.qst". Searching...
Set quest path to ".\Herald of Heroes.qst".
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: .\Herald of Heroes.qst...

Decrypting...okay.
Opening...okay.
Reading Header...okay.
Reading Rules...okay.
Reading Strings...okay.
Reading Doors...okay.
Reading DMaps...okay.
Reading Misc. Data...okay.
Misc Colours section version: 2
Reading Misc. Colors...okay.
Reading Game Icons...okay.
Reading Items...okay.
Reading Weapons...okay.
Reading Maps...okay.
Reading Combos...okay.
Reading Combo Aliases...okay.
Reading Color Data...okay.
Registering blank tiles
Reading Tiles...okay.
Reading Tunes...okay.
Reading Cheat Codes...okay.
Reading Init. Data...okay.
Guy CVersion is: 3
Reading Custom Guy Data...okay.
Reading Custom Player Sprite Data...okay.
Reading Custom Subscreen Data...okay.
Loaded scripts last compiled in ZScript version: 6
Reading FF Script Data...okay.
Reading SFX Data...okay.
Reading Item Drop Sets...okay.
Reading Favorite Combos...okay.
Done.
Quest made in ZC Version: 250
Quest made in ZC Build: 33
Quest Section 'Header' is Version: 3
Quest Section 'Rules' is Version: 13
Quest Section 'Strings' is Version: 5
Quest Section 'Misc' is Version: 7
Quest Section 'Tiles' is Version: 1
Quest Section 'Combos' is Version: 7
Quest Section 'CSets' is Version: 4
Quest Section 'Maps' is Version: 18
Quest Section 'DMaps' is Version: 9
Quest Section 'Doors' is Version: 1
Quest Section 'Items' is Version: 25
Quest Section 'Weapons' is Version: 6
Quest Section 'Colors' is Version: 2
Quest Section 'Icons' is Version: 1
Quest Section 'InitData' is Version: 18
Quest Section 'Guys' is Version: 24
Quest Section 'MIDIs' is Version: 4
Quest Section 'Cheats' is Version: 1
Quest Section 'Combo Aliases' is Version: 2
Quest Section 'Player Sprites' is Version: 5
Quest Section 'Subscreen' is Version: 6
Quest Section 'Dropsets' is Version: 2
Quest Section 'FFScript' is Version: 6
Quest Section 'SFX' is Version: 6
Quest Section 'Favorites' is Version: 1
Quest Section 'CompatRules' is Version: 0
Invalid Map ID (-2) passed to SetComboDataTrying to load C:/Program Files (x86)/Zelda Classic\modules/classic/zelda.nsf
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: modules/classic/classic_qst.dat#NESQST_NEW_QST...

Decrypting...okay.
Opening...okay.
Reading Header...okay.
Reading ZInfo - Internal...okay.
Reading Rules...okay.
Reading Strings...okay.
Reading Doors...okay.
Reading DMaps...okay.
Reading Misc. Data...okay.
Misc Colours section version: 4
Reading Misc. Colors...okay.
Reading Game Icons...okay.
Reading Items...okay.
Reading Weapons...okay.
Reading Maps...okay.
Reading Combos...okay.
Reading Combo Aliases...okay.
Reading Color Data...okay.
Registering blank tiles
Reading Tiles...okay.
Reading Tunes...okay.
Reading Cheat Codes...okay.
Reading Init. Data...okay.
Guy CVersion is: 4
Reading Custom Guy Data...okay.
Reading Custom Player Sprite Data...okay.
Reading Custom Subscreen Data...okay.
Loaded scripts last compiled in ZScript version: 20
Reading FF Script Data...okay.
Reading SFX Data...okay.
Reading Item Drop Sets...okay.
Reading Favorite Combos...okay.
Done.
Quest made in ZC Version: 255
Quest made in ZC Build: 61
Quest Section 'Header' is Version: 7
Quest Section 'Rules' is Version: 17
Quest Section 'Strings' is Version: 10
Quest Section 'Misc' is Version: 15
Quest Section 'Tiles' is Version: 2
Quest Section 'Combos' is Version: 35
Quest Section 'CSets' is Version: 5
Quest Section 'Maps' is Version: 23
Quest Section 'DMaps' is Version: 16
Quest Section 'Doors' is Version: 1
Quest Section 'Items' is Version: 53
Quest Section 'Weapons' is Version: 7
Quest Section 'Colors' is Version: 4
Quest Section 'Icons' is Version: 10
Quest Section 'InitData' is Version: 32
Quest Section 'Guys' is Version: 47
Quest Section 'MIDIs' is Version: 4
Quest Section 'Cheats' is Version: 1
Quest Section 'Combo Aliases' is Version: 4
Quest Section 'Player Sprites' is Version: 16
Quest Section 'Subscreen' is Version: 7
Quest Section 'Dropsets' is Version: 2
Quest Section 'FFScript' is Version: 21
Quest Section 'SFX' is Version: 8
Quest Section 'Favorites' is Version: 1
Quest Section 'CompatRules' is Version: 33
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: modules/classic/classic_qst.dat#NESQST_NEW_QST...

Decrypting...okay.
Opening...okay.
Can't find section!
Original title screen. Font: 0
Original title screen. X: 86
Original title screen. Y: 128
Original title screen. col: 13
Original title screen. sz: -1
Original title screen. Font2: 0
Original title screen. X2: 86
Original title screen. Y2: 136
Original title screen. col2: 13
Original title screen. sz2: -1
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: modules/classic/classic_qst.dat#NESQST_NEW_QST...

Decrypting...okay.
Opening...okay.
Reading Header...okay.
Reading ZInfo - Internal...okay.
Reading Rules...okay.
Reading Strings...okay.
Reading Doors...okay.
Reading DMaps...okay.
Reading Misc. Data...okay.
Misc Colours section version: 4
Reading Misc. Colors...okay.
Reading Game Icons...okay.
Reading Items...okay.
Reading Weapons...okay.
Reading Maps...okay.
Reading Combos...okay.
Reading Combo Aliases...okay.
Reading Color Data...okay.
Registering blank tiles
Reading Tiles...okay.
Reading Tunes...okay.
Reading Cheat Codes...okay.
Reading Init. Data...okay.
Guy CVersion is: 4
Reading Custom Guy Data...okay.
Reading Custom Player Sprite Data...okay.
Reading Custom Subscreen Data...okay.
Loaded scripts last compiled in ZScript version: 20
Reading FF Script Data...okay.
Reading SFX Data...okay.
Reading Item Drop Sets...okay.
Reading Favorite Combos...okay.
Done.
Quest made in ZC Version: 255
Quest made in ZC Build: 61
Quest Section 'Header' is Version: 7
Quest Section 'Rules' is Version: 17
Quest Section 'Strings' is Version: 10
Quest Section 'Misc' is Version: 15
Quest Section 'Tiles' is Version: 2
Quest Section 'Combos' is Version: 35
Quest Section 'CSets' is Version: 5
Quest Section 'Maps' is Version: 23
Quest Section 'DMaps' is Version: 16
Quest Section 'Doors' is Version: 1
Quest Section 'Items' is Version: 53
Quest Section 'Weapons' is Version: 7
Quest Section 'Colors' is Version: 4
Quest Section 'Icons' is Version: 10
Quest Section 'InitData' is Version: 32
Quest Section 'Guys' is Version: 47
Quest Section 'MIDIs' is Version: 4
Quest Section 'Cheats' is Version: 1
Quest Section 'Combo Aliases' is Version: 4
Quest Section 'Player Sprites' is Version: 16
Quest Section 'Subscreen' is Version: 7
Quest Section 'Dropsets' is Version: 2
Quest Section 'FFScript' is Version: 21
Quest Section 'SFX' is Version: 8
Quest Section 'Favorites' is Version: 1
Quest Section 'CompatRules' is Version: 33
Full path string is:
Include path 0:
Include path 1:
Include path 2:
File not found "C:\Storage\Games\Zelda Classic 2.55\.\Mike's Fun House.qst". Searching...
Set quest path to ".\Mike's Fun House.qst".
Trying to do strncasecmp() when loading a quest
Filename size of qst.dat file modules/classic/classic_qst.dat is 31.
Loading Quest: .\Mike's Fun House.qst...

Decrypting...okay.
Opening...okay.
Reading Header...okay.
Reading Rules...okay.
Reading Strings...okay.
Reading Doors...okay.
Reading DMaps...okay.
Reading Misc. Data...okay.
Misc Colours section version: 2
Reading Misc. Colors...okay.
Reading Game Icons...okay.
Reading Items...okay.
Reading Weapons...okay.
Reading Maps...okay.
Reading Combos...okay.
Reading Combo Aliases...okay.
Reading Color Data...okay.
Registering blank tiles
Reading Tiles...okay.
Reading Tunes...okay.
Reading Cheat Codes...okay.
Reading Init. Data...okay.
Guy CVersion is: 3
Reading Custom Guy Data...okay.
Reading Custom Player Sprite Data...okay.
Reading Custom Subscreen Data...okay.
Loaded scripts last compiled in ZScript version: 6
Reading FF Script Data...okay.
Reading SFX Data...okay.
Reading Item Drop Sets...okay.
Reading Favorite Combos...okay.
Done.
Quest made in ZC Version: 250
Quest made in ZC Build: 29
Quest Section 'Header' is Version: 3
Quest Section 'Rules' is Version: 13
Quest Section 'Strings' is Version: 5
Quest Section 'Misc' is Version: 7
Quest Section 'Tiles' is Version: 1
Quest Section 'Combos' is Version: 7
Quest Section 'CSets' is Version: 4
Quest Section 'Maps' is Version: 18
Quest Section 'DMaps' is Version: 9
Quest Section 'Doors' is Version: 1
Quest Section 'Items' is Version: 25
Quest Section 'Weapons' is Version: 6
Quest Section 'Colors' is Version: 2
Quest Section 'Icons' is Version: 1
Quest Section 'InitData' is Version: 18
Quest Section 'Guys' is Version: 24
Quest Section 'MIDIs' is Version: 4
Quest Section 'Cheats' is Version: 1
Quest Section 'Combo Aliases' is Version: 2
Quest Section 'Player Sprites' is Version: 5
Quest Section 'Subscreen' is Version: 6
Quest Section 'Dropsets' is Version: 2
Quest Section 'FFScript' is Version: 6
Quest Section 'SFX' is Version: 6
Quest Section 'Favorites' is Version: 1
Quest Section 'CompatRules' is Version: 0
Removing timers.
Freeing Data:
Bitmaps...
Subscreens...
SFX...
Misc...
Script buffers...
Screen Data...
Deleting quest buffers...
Cleaning maps.
Cleaning tile buffers.
Cleaning misc.
Armageddon Games web site: http://www.armageddongames.com
Zelda Classic web site: http://www.zeldaclassic.com
Zelda Classic wiki: http://www.shardstorm.com/ZCwiki/

Edited by Useless Old Man Wisdom, 06 May 2023 - 04:19 PM.


#4 connor.clark

connor.clark

    Junior

  • ZC Developers

Posted 06 May 2023 - 05:38 PM

I reproduced the problem of not being able to play MIDIs (in the player and the editor) on my Ubuntu image via VirtualBox. On Windows and OSX, we directly use the OS-provided APIs to play MIDIs, which supports calling out to a MIDI software synthesizer for us, but for Linux we use ALSA, which simply bridges communication with whatever MIDI controllers are available. If we had physical hardware MIDI devices in our setups, I expect it would have just worked. However, we don't, so first a software synthesizer needs to be installed.

 

I used this article to help me do this: https://help.ubuntu....eSynthesisHowTo

Try installing fluidsynth (as you already have), and a sound font. In QSynth set alsa as the audio driver, and alsa_seq as the midi driver, and configure the soundfont. If you install vkeybd you can quickly verify things are working. Once you hear sound from the virtual MIDI keyboard, it should just work in ZC.

 

If you can confirm this works for you, I'll add instructions somewhere for future users.

 

I haven't looked into enhanced music yet. To be clear, you are saying that it works in ZQuest (I did confirm this, via 5thmusic.nsf) but not in the player (I did not check this yet)?



#5 Useless Old Man Wisdom

Useless Old Man Wisdom

    Doyen(ne)

  • Members
  • Location:Locked up and spun out in my room

Posted 07 May 2023 - 10:57 AM

The trick I was missing is to configure Qsynth, which was there and installed the whole time - but which I never thought to use. I ended up using default-GM.sf2 as my soundfont, which Qsynth automatically pointed to in the usr/share/sounds directory under the soundfonts>open menu in Qsynth. There are several other soundfont files there as well - not sure if they are installed by Fluidsynth or Qsynth. I selected fluidsynth under the setup/audio menu and jack client name ID drop down, which made everything work and got rid of the annoying jack client error message when starting qsynth.

 

So, midis - including midis packed in custom .gbs, .nsf, and other containers, are working in ZC player now. I've noticed that enhanced audio .ogg and .mp3 files are also working when I load a quest with such music. I think these might have been working the whole time, but these music files are barely audible in ZC player if you keep the enhanced music volume slider at the stock 128. I turned the enhanced music slider to the max of 256 and, though the enhanced music songs still seem to be a bit on the quiet side, I can at least hear them now.

 

One more important caveat is that Qsynth needs to actually be running for midis to play in ZC player; it took me a minute to figure that one out.

 

Let me know if you want anymore information or insights about what I did to solve the problem.


Edited by Useless Old Man Wisdom, 07 May 2023 - 10:59 AM.


#6 kurt91

kurt91

    Follower of Destiny

  • Members
  • Real Name:Kurtis
  • Location:Eastern Washington University

Posted 24 March 2024 - 02:03 AM

I know this is an old topic, but I need a bit of help.

 

I downloaded the Flatpak for ZC 2.55 via the Discover store, and set it up as a Non-Steam Game. I downloaded Qsynth and a soundfont, and followed a guide to get it set up. (Specifically, I found this guide that was doing the same process to get System Shock to work in Gaming Mode: https://steamcommuni...?id=2809933598)I tried to copy the launch options into the settings for ZC, and it wouldn't start. If I remove the additions, the game runs.

 

These settings are supposed to automatically launch Qsynth to the System Tray prior to launching ZC, so that the audio works when in Gaming Mode. (Otherwise, I can't get the controls to work if I try to play it in Desktop Mode, it automatically uses them as desktop-navigation keys instead) It's also supposed to close Qsynth once the game is closed while in Gaming Mode.

 

Is there a way to incorporate the Launch Options in the guide that I'm trying to follow alongside the default launch options for ZC? Would it be better if I just installed the Windows version and used Proton instead?



#7 belkka

belkka

    Newbie

  • Members
  • Real Name:Misha
  • Pronouns:They / Them

Posted 15 May 2024 - 07:42 AM

Solution summary for Archlinux users
who just wanna play a game instead of learning music systems, software and formats

1. install qsynth and some soundfont (there is a soundfont-fluid in Arch repo and many other alternative soundfont-* packages in AUR):

pacman -S qsynth soundfont-fluid

2. run qsynth. The GUI looks like this:
qsynthMainForm1.png
From https://qsynth.sourc...creenshots.html
 

press Setup button (bottom left)

  • In the "MIDI" (first) tab ensure that "Enable MIDI Input" is enabled and try various values of "MIDI Driver". For me only alsa_seq worked (which was a default though).
  • In the "Audio" (second) tab try various values of "Audio driver". For me only pulseaudio worked (which wasn't a default).
  • In the "Soundfonts" (third) tab you will see an empty list. Press "Open", go to /usr/share/soundfonts/ (which didn't open by default for me) and try adding random files that you see here (or add them all at once). With `soundfont-fluid` package from the Arch repo I have two files here. Only one of them works (the big one, which is 150MB, not the small one which is 3MB). The sound was weird when I added both, so I only keep the big one.

Eventually, when you press "OK" qsynth will warn you if you've selected wrong "MIDI Driver" or "Audio Driver", so you can go back and try another value until you find a "working" one.

3. After you finished the setup and see no warnings, keep qsynth running in background and run the game in parallel. Apparently you have to run qsynth every time when you start the game :/

Thanks to Useless Old Man Wisdom for sharing their experience. I hope I just made instructions more clear for others who find this page.

 

BTW, I've downloaded a linux build from https://zquestclassic.com/releases/ and not using wine. I had the same issue as described in the original post — no background music, only sound effects. I've also tried the flatpak version, no observable difference.

The experience feels very user-unfriendly :/


Edited by belkka, 15 May 2024 - 07:47 AM.


#8 belkka

belkka

    Newbie

  • Members
  • Real Name:Misha
  • Pronouns:They / Them

Posted 15 May 2024 - 08:01 AM

Oh, nvm, there is a much simpler solution

CLI solution

 

Install fluidsynth + some soundfont

pacman -S fluidsynth soundfont-fluid  # Arch

and run this in background while playing the game:

fluidsynth /usr/share/soundfonts/FluidR3_GM.sf2  # the file is installed by soundfont-fluid, but you may use another if you install another soundfont-* package

I didn't need any additional configuration.

See also: https://github.com/F.../GettingStarted

 



#9 Nightmare

Nightmare

    Original ZC Tester

  • Members
  • Real Name:James
  • Location:Jackson, NJ

Posted 27 May 2024 - 06:50 AM

Reporting the issue on the Steam Deck as well using Wine.

Any solutions?

-James

#10 Russ

Russ

    Caelan, the Encouraging

  • Administrators
  • Location:Washington

Posted 27 May 2024 - 09:04 AM

In addition to the solution right above your post, there's this guide: https://www.purezc.n...showtopic=78707




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users