Topic: Audio Plugin/Audio Service  (Read 530 times)

Audio Plugin/Audio Service
« on: February 03, 2021, 12:40:52 PM »

techguy01

  • Apprentice
  • *
  • Date Registered: Dec 2020
  • Posts: 3
Having same issue as others have described. Build is fine, even tried with different sources. Upon booting, audio service doesn't load. Device manager shows the HD audio devices. It you attempt to start the audio service manually it errors with 126, module can't be found. Can someone please take a look at the Audio script? I wasn't able to find all of the audio script revisions (jumps from v26 to v31 between win10pese 2019-01-19 and 2020-03-28) to compare with.

Re: Audio Plugin/Audio Service
« Reply #1 on: February 06, 2021, 07:14:13 PM »

techguy01

  • Apprentice
  • *
  • Date Registered: Dec 2020
  • Posts: 3
ila_rendered

Re: Audio Plugin/Audio Service
« Reply #2 on: February 10, 2021, 01:16:49 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi techguy01,

I feel there will not be time for a long while to check Audio Plugin unless someone comes with a solution after checking codes.

:turtle:

Re: Audio Plugin/Audio Service
« Reply #3 on: February 19, 2021, 04:48:33 AM »

Mr. Breez

  • Apprentice
  • *
  • Date Registered: Aug 2020
  • Posts: 4
Drivers are not installed. newbielink:http://www.mediafire.com/file/o3jg7nn3gs9hr42/Win10PESE_x64.ISO/file [nonactive]  just educational.

Re: Audio Plugin/Audio Service
« Reply #4 on: February 24, 2021, 01:45:10 PM »

techguy01

  • Apprentice
  • *
  • Date Registered: Dec 2020
  • Posts: 3
Thanks for the reply Lancelot.

Update on Issue. Went back over the audio script. Biggest changes came with build class 3. The older version of the script (v27) won't work with build class 3, so I made a build class 2 to test it. The audio service loaded without issue. Did another build class 2 with the newest version of audio script (v31) and it also loaded the audio service without any issue. So the issue with the audio script is definitely somewhere in entries for build class 3. I'm not enough of a coder to figure out what is causing this. At least for now the workaround would be to build via class 2. Obviously takes longer but end result is good. Oh and I'm not a newbie. The audio plugin does NOT require drivers (it copies what is needed).

Re: Audio Plugin/Audio Service
« Reply #5 on: February 26, 2021, 11:40:42 AM »

Mr. Breez

  • Apprentice
  • *
  • Date Registered: Aug 2020
  • Posts: 4
What exactly is the problem? What is your goal? What do you need help with? Who gives a shit if one runs well and another doesn't? Use the one that works. You say issues others are describing, what issues? Point me in the right direction. Post a link so I gain understanding.


Re: Audio Plugin/Audio Service
« Reply #6 on: February 26, 2021, 12:01:02 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
What exactly is the problem? What is your goal? What do you need help with? Who gives a shit if one runs well and another doesn't? Use the one that works. You say issues others are describing, what issues? Point me in the right direction. Post a link so I gain understanding.

Hi Mr.Breez,

Such attitude not tolerated around theoven, techguy01 describe the problem very well and it is quite comfortable to build with buildclass3 which you seem not to care, but you have to respect to others who care.

Anyway, only 1 warning, check forum rules and other posts around ...

 :horse:

Re: Audio Plugin/Audio Service
« Reply #7 on: February 26, 2021, 12:03:45 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi techguy01,

Did another build class 2 with the newest version of audio script (v31) and it also loaded the audio service without any issue. So the issue with the audio script is definitely somewhere in entries for build class 3.

Thanks for the report techguy01,

Good to know v31 works fine with build class 2  :cheerleader: :magic:

If you have time, I feel you can quickly figure out the missing things by comparing the result files of Win10PESE buildclass2 and buildclass3 ......

*
Just for info:
BuildClass2 is build by copying files from source
BuildClass3 is build by extracting files from wim (wim not mounted or extracted)

I update many plugins in the past to support BuildClass3 , obviously, I made a mistake with Audio Plugin but I do not have time anymore ...
 If you can figure out missing things (files etc.) I will have to get my hands dirty to add broken things you report ...

Thanks again.  :great:
:turtle:

Re: Audio Plugin/Audio Service
« Reply #8 on: February 27, 2021, 03:37:10 PM »

coelhosauro

  • Jr. Chef
  • **
  • Date Registered: Dec 2020
  • Posts: 21
Thanks for the reply Lancelot.

Update on Issue. Went back over the audio script. Biggest changes came with build class 3. The older version of the script (v27) won't work with build class 3, so I made a build class 2 to test it. The audio service loaded without issue. Did another build class 2 with the newest version of audio script (v31) and it also loaded the audio service without any issue. So the issue with the audio script is definitely somewhere in entries for build class 3. I'm not enough of a coder to figure out what is causing this. At least for now the workaround would be to build via class 2. Obviously takes longer but end result is good. Oh and I'm not a newbie. The audio plugin does NOT require drivers (it copies what is needed).

hi, nice. i've got to say i was curious with your fix, since i've been having the same issue for a couple of months and tried a lot of things, but never tought of buildclass issues. for me your fix didn't work, but i have not tried a new build, just modified an existing one, so that could be the issue (since i've tempered a lot with it trying to get sound). but will do a clean one and post the results

Re: Audio Plugin/Audio Service
« Reply #9 on: February 27, 2021, 05:43:51 PM »

coelhosauro

  • Jr. Chef
  • **
  • Date Registered: Dec 2020
  • Posts: 21
just did a clean build with 1809 in class 2, and still no sound (at least not in a virtual machine).

Re: Audio Plugin/Audio Service
« Reply #10 on: February 27, 2021, 08:59:53 PM »

HeyJoe

  • Chef
  • ***
  • Location: Germany
  • Date Registered: Apr 2020
  • Posts: 102
Hi Guys,

We are speaking about "%BaseDir%\Projects\Win10PESE\Drivers\Audio8.Script" version 31 dated 2020.03.24 - right ?
If yes maybe this helps.

My basics: I build from source: win10 v.1809 x86 (10.0.17763.1) on host machine: Windows Pro. DE v.1909 x64 (10.0.18363.1379)
always with BuildClass=2 (that is extracted Win10_1809_German_x32.iso to hd ~ 95 GB)

Changes I did:

1.) in section [Interface]
from
  AutoRun_ScrollBox="After Displaying Explorer shell",1,4,110,10,180,21,"At Startup","After Displaying Explorer shell"
to
  AutoRun_ScrollBox="At Startup",1,4,110,10,180,21,"At Startup","After Displaying Explorer shell"

2.) in section [CopySys32Files] append lines taken from "\Win10XPE\Projects\Win10XPE\Features\Audio_AddFiles.txt" in downloaded "Win10XPE_2020-07-08.7z" by ChrisR - thx
( Attention: following 8 code lines are NOT yet compatible with BuildClass=3 -->  Lancelot please forgive Me)

If,ExistFile,%Source_Sys%\DolbyDecMFT.dll,Require_FileQ,DolbyDecMFT.dll
If,ExistFile,%Source_Sys%\hevcdecoder.dll,Require_FileQ,hevcdecoder.dll
If,ExistFile,%Source_Sys%\mfh264enc.dll,Require_FileQ,mfh264enc.dll
If,ExistFile,%Source_Sys%\MSAudDecMFT.dll,Require_FileQ,MSAudDecMFT.dll
If,ExistFile,%Source_Sys%\Windows.Media.dll,Require_FileQ,Windows.Media.dll
If,ExistFile,%Source_Sys%\Windows.Media.MediaControl.dll,Require_FileQ,Windows.Media.MediaControl.dll
If,ExistFile,%Source_Sys%\CapabilityAccessManager.dll,Require_FileQ,CapabilityAccessManager.dll
If,ExistFile,%Source_Sys%\CapabilityAccessManagerClient.dll,Require_FileQ,CapabilityAccessManagerClient.dll

3.) Fixed 3 times the positions of a single quote --> for x86 leads to fail madplay.exe playing startup sound. Same for nircmd.exe setsysvolume and mutesysvolume - sorry x64 not tested

in section [StartupSound] line 639
from
  Add_Shortcut,Startup,,#$pSystemRoot#$p\system32\HideRun.exe,Audio_StartupSound,#$q#$pSystemRoot#$p\system32#$q,"#$q%ExeSound% -q #$q#$pSystemRoot#$p\Media\%Sound_FileName%#$q#$q",,2
to
  Add_Shortcut,Startup,,#$pSystemRoot#$p\system32\HideRun.exe,Audio_StartupSound,#$q#$pSystemRoot#$p\system32#$q,"#$q%ExeSound%#$q -q #$q#$pSystemRoot#$p\Media\%Sound_FileName%#$q",,2

in section [ControlVolume] line 596
from
  Add_Shortcut,Startup,,#$pSystemRoot#$p\system32\HideRun.exe,Audio_Change_Volume,#$q#$pSystemRoot#$p\system32#$q,"/w #$qnircmd.exe mutesysvolume 1#$q",,2
to
   Add_Shortcut,Startup,,#$pSystemRoot#$p\system32\HideRun.exe,Audio_Change_Volume,#$q#$pSystemRoot#$p\system32#$q,"/w #$qnircmd.exe#$q mutesysvolume 1",,2

and line 599
from
  Add_Shortcut,Startup,,#$pSystemRoot#$p\system32\HideRun.exe,Audio_Change_Volume,#$q#$pSystemRoot#$p\system32#$q,"/w #$qnircmd.exe setsysvolume %Volume%#$q",,2
to
  Add_Shortcut,Startup,,#$pSystemRoot#$p\system32\HideRun.exe,Audio_Change_Volume,#$q#$pSystemRoot#$p\system32#$q,"/w #$qnircmd.exe#$q setsysvolume %Volume%",,2

Please report back.
Have a nice day everyone.

Re: Audio Plugin/Audio Service
« Reply #11 on: February 28, 2021, 02:58:51 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi HeyJoe,

Thanks for the very good feedback,
Since feedback very nice, I get my hands dirty and made your changes and update Plugin on servers now (v32)
to see changes, See: Small Yellow Compare Button on Plugins - Reply 4:

Let me know the plugin is fine for your BuildClass2 side

*
btw, I see on other topic you also use Slore's WimBuilder, see also Azin http://theoven.org/index.php?topic=3052.0
bonus: you can test plugins easily with both Wimbuilder and also LiveSystemPro (after changing If,ExistFile,%Source_Sys%\ ....  :lol: )
tip: Win10PESE and Azin can be together on same base folder using single builder ....
ps: only using Require_FileQ alone without If,ExistFile will always work only gives warning if no such file  :thumbsup:

:turtle:

Re: Audio Plugin/Audio Service
« Reply #12 on: February 28, 2021, 03:01:39 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi techguy01, coelhosauro,

just get new plugin from server
See: Small Green Download Button on Plugins - Reply 1: Update Plugins

Let us know if HeyJoe fixes make Audio work now on your sides?

:turtle:

Re: Audio Plugin/Audio Service
« Reply #13 on: March 05, 2021, 06:03:17 PM »

coelhosauro

  • Jr. Chef
  • **
  • Date Registered: Dec 2020
  • Posts: 21
hi guys,
so i tried updating the plugin in my build (1809 64b), no luck.
tried a new clean build (again 1809 64b) also no luck.
all i did was update the plugin.

Re: Audio Plugin/Audio Service
« Reply #14 on: March 06, 2021, 03:21:36 PM »

HeyJoe

  • Chef
  • ***
  • Location: Germany
  • Date Registered: Apr 2020
  • Posts: 102
@ coelhosauro,

may We have the log file posted (7zed)?

Regards.

Re: Audio Plugin/Audio Service
« Reply #15 on: March 06, 2021, 03:31:31 PM »

HeyJoe

  • Chef
  • ***
  • Location: Germany
  • Date Registered: Apr 2020
  • Posts: 102
@ Lancelot,

Your Reply #11
Quote
Let me know the plugin is fine for your BuildClass2 side

Works fine on My side.

Regards.

Re: Audio Plugin/Audio Service
« Reply #16 on: March 06, 2021, 04:16:45 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi HeyJoe,
Works fine on My side.

Thanks for the info, half glass is full.
Since you are a "Good User"  :wink: can you also test with buildclass3 ...

ps: As you know, All other projects I see on your posts you are testing with are technically BuildClass3  :wink:

:turtle:

Re: Audio Plugin/Audio Service
« Reply #17 on: March 06, 2021, 04:17:53 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi coelhosauro,

As instructed before by HeyJoe, Try changing the setting on plugin UI from
"After Displaying Explorer shell"
To
"At Startup"

and test ...

+
ps:
I assume you have your audio drivers added via a driver plugin

+
and further, provide log as instructed by HeyJoe

+
I only follow the topic, you are on HeyJoe hands  :thumbsup:

:turtle:

Re: Audio Plugin/Audio Service
« Reply #18 on: March 06, 2021, 05:46:14 PM »

HeyJoe

  • Chef
  • ***
  • Location: Germany
  • Date Registered: Apr 2020
  • Posts: 102
Hi Lancelot,

Quote
Since you are a "Good User" ...

Thank You for trusting Me.

Honestly I don't like buildclass3 very much for reasons I mentioned earlier.
But let's see first what coelhosauro's log can reveal.

Regards.
« Last Edit: March 07, 2021, 01:43:09 PM by HeyJoe, Reason: correct buddy\'s name »

Re: Audio Plugin/Audio Service
« Reply #19 on: March 06, 2021, 07:43:30 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi HeyJoe,

While you waiting for test results of Audio ...

out of topic:

Since you like BuildClass2
check Bob.Omb Plugins that may take your interest:
Build\"Unlock Install Source Build" plugin
Utils\"Unlock Install Source (BETA)" plugin

(
not tested for a long while now but they should be in good condition  :wink:
 They are Bob.Omb babies, I did not work on them....
)

+
when you finalize your plugins (bluetooth and all others) remember to share around  :cool:
http://theoven.org/index.php?board=9.0

Memo: I can only update following good feedback (thanks) without any free time.

Have Fun  :xmas-beer:
:turtle:

 

Powered by EzPortal