Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-13-2018, 11:39 PM
Vormotus Vormotus is offline
Fire Giant

Vormotus's Avatar

Join Date: May 2015
Location: Venezuela
Posts: 734
Default No City Sound/Midi Off Sound in UBUNTU 17.10+ FIX

Guys

I recently began playing here and well , it has been a blast!

I play on Lubuntu 17.10 and well, it was relatively simple to install it using one of the guides here and playonlinux.

Now, this is perhaps an odd thread, but wow, I spent several hours trying to fix this issue and managed to solve it, so perhaps, posting my solution to it here might benefit other Linux Users that want to enjoy MIDI music in the Game.


I noticed the client loaded well and I was able to play no problem, but then realized when selling to merchants I was unable to hear the classic merchant song.

For a moment I thought I was simply missing the merchanttheme.mp3 and copied one into my install but sound remained off, so that is when I found out MIDI sound was off for me.

I went to several cities and the same, some cities were silent, all other regular sounds and soundtracks were playing, like combat, and ambient sounds, but some of the classical midi music was gone.

So I decided to try to find a solution and this is what I did.

It might work or not for you, but wanted to share, right now I am in Faydwer loving the classical music!

(Ok- Before starting and just in case, check your P99 install has all the correct .xmi files, found one on the forums that helped me: http://www.mediafire.com/file/poyyht...IDI+backup.rar)


First you need to be sure to install a MIDI synthesizer, and I heartily recommend FluidSynth for it being simply one that has an Extra GUI called Qsynth which will make everything better (I am a pretty newbie linux user, so all frontend guis help me a ton) and you will also need a proper soundfont.

Paste this in your terminal:

Code:
sudo dnf install fluidsynth qsynth fluid-soundfont-gm
This will install FluidSynth, the Soundfont and the GUI Frontend for Fluidsynth Qsynth.

After all that software has been installed, run Qsynth.

On the new Qsynth Window go to the SETUP button (ignore all errors that might pop up , it will probably , like it happened to me, will try to connect FluidSynth to a JACK, but ignore it and focus on the SETUP button, right there on the left corner, just below the dial for GAIN, which is below the MASTER section, to the extreme left.

On SETUP do the following:

In Midi: for MIDI Client Name ID choose a fixed name (such as qsynth) instead of pid -

In Audio tab: select the proper audio driver (Pulseaudio, Alsa or Jack) - I choosed ALSA, if you have tweaked your sound card before in Linux you will know what ALSA is, I love the AlsaMixer!

In Soundfonts tab: click on Open to add a Soundfont file, these will be in usr/share/sounds/sf2/ and choose the Soundfont: FluidR3_GM.sf2 --- Here you can play with ALL the amazing soundfont banks you can get off the internet , I found these one particularly interesting:

https://drive.google.com/drive/folde...k5rVVVnSnhoSUk
http://www.schristiancollins.com/generaluser.php

And if you want a more classic sound remember the AWE32 one here http://p99.yourfirefly.com/


Small Side Note: If you want Audacious to play Midis remember to load a soundfont for it too
https://askubuntu.com/questions/8010...lay-midi-files



Theoretically speaking that should be it ---


Hope it helps you all guys, be safe!




I spent a ton of time finding the correct how tos, and all of these links helped me a ton, perhaps you too:


https://wiki.winehq.org/MIDI
https://github.com/wbsoft/frescobald...yback-on-Linux
https://askubuntu.com/questions/4635...duce-any-sound
https://sites.google.com/site/everqu...project/videos
https://wiki.archlinux.org/index.php/FluidSynth
Last edited by Vormotus; 04-13-2018 at 11:47 PM..
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:15 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.