Sound working on Win10 Mudlet from latest source

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Sound working on Win10 Mudlet from latest source

Post by Nyyrazzilyss » Mon May 02, 2016 10:26 pm

I'm still testing, but I removed all my paths and (think) I located all the missing dlls + copied the files necessary to run a compiled mudlet packaged into a single directory. A lot of them weren't mentioned in the windows compile instructions.

04/17/2016 09:55 PM 34,642 db.lua
05/24/2014 12:36 PM 696,131 en_US.dic
01/15/2014 04:36 AM 23,544,786 icudt52.dll
01/15/2014 04:36 AM 3,347,428 icuin52.dll
01/15/2014 04:36 AM 1,992,280 icuuc52.dll
04/17/2016 10:30 PM 55,877 lfs.dll
08/28/2013 03:00 PM 113,678 libgcc_s_dw2-1.dll
04/17/2016 09:24 PM 829,615 libhunspell-1.3-0.dll
04/17/2016 09:35 PM 381,219 libpcre-1.dll
04/17/2016 09:38 PM 2,655,665 libsqlite3-0.dll
08/28/2013 03:00 PM 958,990 libstdc++-6.dll
08/30/2013 01:08 AM 75,496 libwinpthread-1.dll
04/17/2016 09:29 PM 96,359 libyajl.dll
04/17/2016 09:53 PM 508,396 libzip-2.dll
04/17/2016 09:32 PM 193,412 lua51.dll
04/18/2016 05:29 PM 63,120 LuaGlobal.lua
05/02/2016 06:02 PM <DIR> luasql
05/02/2016 06:02 PM <DIR> mudlet-lua
04/30/2016 07:34 AM 5,806,094 mudlet.exe
04/17/2016 08:55 PM 4,786,176 Qt5Core.dll
09/11/2014 09:40 AM 4,597,248 Qt5Gui.dll
09/11/2014 10:39 AM 768,512 Qt5Multimedia.dll
09/11/2014 09:37 AM 1,412,608 Qt5Network.dll
09/11/2014 09:55 AM 323,584 Qt5OpenGL.dll
09/11/2014 09:49 AM 5,883,904 Qt5Widgets.dll
04/17/2016 10:30 PM 74,149 rex_pcre.dll
04/18/2016 04:11 PM 78,113 zip.dll
04/17/2016 09:48 PM 111,630 zlib1.dll

(edit)

One additional file I was missing -

Directory of platforms

09/11/2014 10:00 AM 1,276,928 qwindows.dll

The compiled mudlet is running with no errors, except on the machine I hadn't installed anything myself on other then the zip file I created, sound didn't work?

I'm downloading vanilla ms virtualboxes right now for 7, 8, and 10 to retest on. I'd removed all path information from my computer/ sound etc was still working just fine, but something else has to be missing that qt installed.

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Sound working on Win10 Mudlet from latest source

Post by Nyyrazzilyss » Tue May 03, 2016 4:48 pm

I've got compiled mudlet+sound working on a vanilla win10 virtual box now. I will test on 7+8 virtualboxes, then also check whether it does make an easy fix on delta.

The additional files I was missing - from the qt plugins folder (that delta is also missing)

Directory of mediaservice

09/11/2014 10:43 AM 211,456 dsengine.dll
09/11/2014 10:43 AM 9,492,907 dsengined.dll
09/11/2014 10:42 AM 62,976 qtmedia_audioengine.dll
09/11/2014 10:42 AM 3,882,119 qtmedia_audioengined.dll

Directory of audio

09/11/2014 10:42 AM 76,800 qtaudio_windows.dll

(edit)

I just put the same compiled package on a vanilla win7 computer - everything working properly, including sound :)

(edit 2)

I've installed 3.0-delta on a win7 vanilla computer. Copying the above mentioned 5 dll files in to the delta install directory (this does not replace any files, they're all new) fixes sound. I've uploaded a zip file containing those files to my github.

https://github.com/Nyyrazzilyss/NyyLIB/ ... undfix.zip

(edit 3)

Much like the above soundfix, this very much falls under -use at own risk-. Not simply because it is pre-release, but very much because pr308 involved some major changes to the mapper that some scripts might have issues with.

I've posted a window 32 binary package i've built myself at
https://github.com/Nyyrazzilyss/NyyLIB/ ... _pr308.zip
This package has been tested functional on vanilla windows computers. Let me know of any errors, however.

Additionally, i've got an osx package built by someone else from the source a couple days ago at
https://github.com/Nyyrazzilyss/NyyLIB/ ... et.app.zip

Both binaries are built from release 30 / pull request 308 - pr308 is pre-merge code of SlySven's.

User avatar
SlySven
Posts: 920
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Sound working on Win10 Mudlet from latest source

Post by SlySven » Wed May 04, 2016 2:38 am

May I ask if there are issues with Qt libraries later than 5.3.2? The current release is 5.6-ish and I know that Qt has changed some features since they started the Qt 5.x series. Do we have confirmation that sound on Qt + Mingw (or is that Mingw64 which is a FORK of the original) is broken before (and after 5.3.2?). I was expecting problems with earlier ones but having it working for 5.3.2 and then failing for later would be a pain!

I understand that there is some flexibility, at least on Linux/MacOs platforms, in running the Mudlet (or any other Qt application) with libraries with a different minor and/or patch version number compared to those it was compiled against, but I do not know if that extends to running with a "mixed-bag" of different version of components in the Qt libraries or if you have to use a uniform set...?

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Sound working on Win10 Mudlet from latest source

Post by Nyyrazzilyss » Wed May 04, 2016 2:59 am

While figuring out how to get it to compile on Windows, I went right from 5.6 to 5.3.2 . I've not touched any version between them.

I was having a lot of issues with getting everything to link properly following the compile instructions from the website, and from dicene's efforts it had looked like 5.3.2 was getting him further then 5.6 was for me.

Now that I have it working 100% on 5.3.2, I could certainly switch back to 5.6 and see whether I could make it work there also: I do prefer defined versions for anyone else trying to duplicate it though. Would 5.6 be the preferred version I should compile under?

I have a uniform set - To get it working under 5.3.2, I also recompiled everything with 5.3.2

Sake
Posts: 4
Joined: Tue Jul 21, 2015 8:04 pm

Re: Sound working on Win10 Mudlet from latest source

Post by Sake » Wed May 04, 2016 11:26 am

I really appreciate the effort you put into solving this, Nyyrazzilyss. Adding those DLLs did the trick for me. Now I've got sound triggers on my windows machine again!

User avatar
SlySven
Posts: 920
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Sound working on Win10 Mudlet from latest source

Post by SlySven » Wed May 04, 2016 1:04 pm

According to Wikipedia on the List of Qt releases, at the time of writing this 5.6 is the latest version (release March 2016), and 5.3 is a couple of year old. Obviously the porting of a release to a second tier platform takes a while (though the 32-bit Windows + Mingw IS a first tier one IIRC)

So if you can do it, the later 5.6.x is the one to try for currently.

For the record I encountered a nasty little issue in the Qt Creator a.k.a. I.D.E. (version 3.6.0) bundled with the on-line installer for (I think Qt 5.6.0) in that you could not modify variables from the integrated (gdb) debugger at run-time. So I had to install the separately packaged Qt Creator (version 3.6.1) for my debugging purposes...!

Siduri
Posts: 9
Joined: Wed Jun 26, 2013 7:12 pm

Re: Sound working on Win10 Mudlet from latest source

Post by Siduri » Mon May 23, 2016 10:33 pm

It didn't work for me, but I'm on Win10 64 bits.

Tried copying everything in Program Files (x86)/Mudlet.

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Sound working on Win10 Mudlet from latest source

Post by Nyyrazzilyss » Tue May 24, 2016 12:07 am

Siduri wrote:It didn't work for me, but I'm on Win10 64 bits.

Tried copying everything in Program Files (x86)/Mudlet.
I've tested with vanilla (clean installs) of both Win 7 and 10 (32 and 64 bit), working successfully with 3.0-delta on all 4 operating systems. You just unzipped the zip file containing the 5 dll files into the mudlet install folder, correct? It doesn't overwrite anything, should be just a straight extract?

User avatar
SlySven
Posts: 920
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Sound working on Win10 Mudlet from latest source

Post by SlySven » Tue May 24, 2016 4:00 am

Don't forget that on Windows your Mudlet build will very likely be 32-bit (unless you have previously compiled a 64 Qt build environment) so Program Files (x86) does seem to be right - right? Qt don't provide installable binary Windows Mingw64 64-bit Libraries/IDE - they have to be built from source first - which is not a trivial undertaking IMHO.

<aside>I also found, whilst preparing a mobile build platform (er, laptop) so I can do a spot of coding whilst off-line and on-holiday for a few weeks - that Qt had stopped providing 32-bit Linux on-line/off-line binary installers at the Qt 5.5.1 / QtCreator 3.5.1 versions {current versions are 5.6.0 / 4.0.0 IIRC} - and given that my laptop is, ahem, a mature product it only has 32 bits to work with! {It takes 22 minutes for a clean build compared to 1 minute 20 seconds for my main 64-bit development platform - ah well, I am supposed to be relaxing I suppose. ;) }</aside>

Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Re: Sound working on Win10 Mudlet from latest source

Post by Nyyrazzilyss » Tue May 24, 2016 1:09 pm

\Program FIles (x86)\Mudlet should be correct yes - My only concern would be that the zip file was unzipped maintaining the file structure -

\Program FIles (x86)\Mudlet\platforms\qwindows.dll
\Program FIles (x86)\Mudlet\mediaservice\dsengine.dll
\Program FIles (x86)\Mudlet\mediaservice\dsengined.dll
\Program FIles (x86)\Mudlet\mediaservice\qtmedia_audioengine.dll
\Program FIles (x86)\Mudlet\mediaservice\qtmedia_audioengined.dll

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests