Jump to content

Photo

No music while playing quests on Linux/Wine


  • Please log in to reply
5 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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users