Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

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

Vormotus's Avatar

Join Date: May 2015
Location: Venezuela
Posts: 737
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
  #2  
Old 05-11-2018, 08:09 PM
Vormotus Vormotus is offline
Fire Giant

Vormotus's Avatar

Join Date: May 2015
Location: Venezuela
Posts: 737
Wink

Just a small Update to let everyone know that this works flawlessly on Ubuntu 18.04 -[You must be logged in to view images. Log in or Register.]

Ran a terminal to install Qsynth and it worked quickly, no issues on a clear installation of Lubuntu 18.04 -

You could save some extra steps on reinstalls if you take the precaution to install your Linux Distro on a multi partition HD or SSD by creating a single partition for Root (/) and another for Home (/home) and just wiping the root one with your fresh install. This usually keeps your home folder safe when upgrading versions and it keeps some prior settings too, so I kept my prior EQ Platinum install without the need to copy it again alongside personal files.

But when In doubt just nuke everything and reinstall. [You must be logged in to view images. Log in or Register.]

Side bonus extra info : Nouveau Drivers Run EQ1999 Perfectly , no need to install Nvidia Proprietary ones either if you want to keep your system clear of proprietary software, this was TIL for me today, specially because I considered Nouveau GPU drivers totally basic "barebones".

Happy gaming and much love to everyone from the Isthmus! [You must be logged in to view images. Log in or Register.]
__________________
----------------------------------
Ikoparu - Necromancer of Bertoxxulous (Green)
Euridun - Druid of Karana (Blue)
----------------------------------
[center]
Reply With Quote
  #3  
Old 08-23-2018, 09:56 AM
GreenTurtleKing GreenTurtleKing is offline
Decaying Skeleton


Join Date: Apr 2018
Posts: 1
Default

I just want you to know how much I love you, and how much joy you've brought to my life with your work. <3
Reply With Quote
  #4  
Old 01-29-2019, 05:55 AM
needsram needsram is offline
Large Bat


Join Date: Nov 2016
Location: Cincinnati, OH
Posts: 12
Default

Hi Vormotus,

I have followed your guide on Linux Mint 19.1 64bit, but I still have no music. I tried using audio driver pulseaudio and alsa. I tried the soundfonts FluidR3_GM.sf2 and 1mgm.sf2. Do you have any suggestions? Thanks.
Reply With Quote
  #5  
Old 01-29-2019, 07:01 AM
needsram needsram is offline
Large Bat


Join Date: Nov 2016
Location: Cincinnati, OH
Posts: 12
Default

I tested MIDI and it plays on my system. I set ALSA as my driver in winecfg/winetricks. I still think there is a problem between pulseaudio and ALSA...
Reply With Quote
  #6  
Old 01-29-2019, 06:12 PM
needsram needsram is offline
Large Bat


Join Date: Nov 2016
Location: Cincinnati, OH
Posts: 12
Default

Nevermind, I have it working now. I'm not sure what I did...
Reply With Quote
  #7  
Old 10-01-2019, 06:29 PM
Vormotus Vormotus is offline
Fire Giant

Vormotus's Avatar

Join Date: May 2015
Location: Venezuela
Posts: 737
Default

Small Bump to acknowledge this works without issues today and on a 18.04.3 LTS Lubuntu Install.
__________________
----------------------------------
Ikoparu - Necromancer of Bertoxxulous (Green)
Euridun - Druid of Karana (Blue)
----------------------------------
[center]
Reply With Quote
  #8  
Old 10-24-2023, 01:35 PM
Vormotus Vormotus is offline
Fire Giant

Vormotus's Avatar

Join Date: May 2015
Location: Venezuela
Posts: 737
Default

Update to mention that this works on a fresh Lubuntu 22.04 install on both P99 and the TAKP / Quarm Project Client .

As a side note, you need sound realism setup to 100% within the game or else the midi will break for one reason or another.
__________________
----------------------------------
Ikoparu - Necromancer of Bertoxxulous (Green)
Euridun - Druid of Karana (Blue)
----------------------------------
[center]
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:26 AM.


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.