Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtimidity package is missing config file #10275

Open
Briseur opened this issue Mar 30, 2024 · 1 comment
Open

libtimidity package is missing config file #10275

Briseur opened this issue Mar 30, 2024 · 1 comment

Comments

@Briseur
Copy link

Briseur commented Mar 30, 2024

If you try something that needs timidity like Hexen II, timidity will fail to initialize and you will have no music.
See thread Some games on Haiku.
The culprit is a missing timidity.cfg file in /boot/system/etc.
As a workaround, it is possible to copy the config file from wildmidi package and rename it.
Also since freepats are used by timidity and wildmidi perhaps the package could be renamed to midi_freepats?

@darkstar252
Copy link

The issue exactly is this:
Hammer of Thyrion, release 1.5.9 (2018-05-31)
running on Hexen2 engine 1.29 (Haiku)
More info / sending bug reports: http://uhexen2.sourceforge.net
basedir is: /boot/system/apps/uHexen2
userdir is: /boot/home/config/settings/hexen2
Detected byte order: LE
Found SDL version 1.2.15
Host_Init
Server using protocol 19 (Raven/MP/1.12)
Added packfile /boot/system/apps/uHexen2/data1/pak0.pak (797 files)
Playing the demo version.
UDP_Init: WARNING: gethostbyname failed (Unknown host)
UDP, Local address: 127.0.0.1
UDP Initialized
Exe: 08:48:05 Nov 21 2020
32.0 megabyte heap
Console initialized.
4420k surface cache
Video Mode: 1280x1024x8

Sound Initialization
SDL audio spec : 22050 Hz, 512 samples, 2 channels
SDL audio driver: baudio, 32768 bytes buffer
Audio: 16 bit, stereo, 22050 Hz, using SDLAudio
Could not initialize Timidity --> This is the first error i encountered and it's reference to the libtimidity.
SDL detected 1 CD-ROM drive
CDAudio initialized (SDL, using /dev/disk/scsi/0/1/0/raw)
CDAudio_Init: No CD in drive
MIDI_DRV: disabled at compile time.
No joystick devices found

======== Hexen II Initialized =========

execing hexen.rc
execing default.cfg
execing config.cfg
execing autoexec.cfg
Shutting down SDL sound

But i think it needs the timidity executable to work on the path of the game.

And the latest. The game package is better to include the demo data files outside the /system/apps folder.(In case you have the original game cd and for to copy the data on /home/config/non-packaged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants