Jump to content



Photo
- - - - -

EM table has annoying "ka-chunk" sound ONLY when using DB2S.


  • Please log in to reply
52 replies to this topic

#21 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 18 July 2023 - 01:50 AM

Request made

untitled0.png


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#22 robertms

robertms

    Control Enthusiast

  • Members
  • PipPipPipPip
  • 621 posts
  • Location:Chicago, IL

  • Flag: United States of America

  • Favorite Pinball: Steve Ritchie designs

Posted 18 July 2023 - 02:37 AM

Off topic, but people don't seem to understand the meaning of jarr3's user name and avatar... it is a reference to Jean-Michel Jarre (not jarr) :)

 

The Équinoxe album cover avatar kinda gave it away. Fellow JMJ fan here, grew up listening to his music  ;)

 

Thanks for all your B2S contributions Jarr3, much appreciated!


Behold Godzilla! Check out my monster pincab project here: http://www.vpforums....topic=32236&hl=


#23 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 198 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 25 August 2023 - 03:40 PM

As summer is coming to an end here in europe, I had a quick look on this issue on github (and also answered there).

 

The result is...

 

that it is already possible to turn off sounds per table in the directb2s files:

In one part of the directb2s adding Sound3-5 attributes to an empty string disables the builtin sound for reels:

<Scores ReelCountOfIntermediates="0" ReelRollingDirection="Up" ReelRollingInterval="20">
<Score Sound3="" Sound4="" Sound5="" Parent="Backglass" ID="1" B2SStartDigit="0" B2SScoreType="1" B2SPlayerNo="1" ReelType="ImportedEMR_T2_0" ReelIlluImageSet="1" ReelIlluLocation="3" ReelIlluIntensity="4" ReelIlluB2SID="25" ReelIlluB2SIDType="1" ReelIlluB2SValue="0" ReelLitColor="255.69.0" ReelDarkColor="15.15.15" Glow="900" Thickness="1400" Shear="10" Digits="5" Spacing="100" DisplayState="0" LocX="666" LocY="177" Width="549" Height="77" />
</Scores>

You see the three Sound3, Sound4 and Sound5="" I have added to a directb2s file, which mutes all REEL sounds when using this one file.

 

I am also looking at adding a flag from the B2SServer that can be used globally by changing the B2STableSettings.xml or per table in the settings.

 

What do you think?



#24 digitalarts

digitalarts

    Pinball Fan

  • Members
  • PipPipPipPip
  • 860 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Judge Dredd (have the real one); all virtual EM's

Posted 25 August 2023 - 09:22 PM

It's always good to have an option 😊

#25 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 198 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 27 August 2023 - 02:08 PM

I have now added a little command line tool which can automatically add/remove the mentioned attributes in the sound tag. It can either be run on the command line or in windows explorer by "dropping" a directb2s file on the directb2sReelSoundsONOFF.cmd 

These files are not yet included in any release zip file.

 

It works using this directb2sReelSoundsONOFF.cmd which takes a directb2sReelSoundsONOFF.xsl transformation file next to it and calling windows builtin routines to convert the file using XSL (Extensible Stylesheet Language).

 

The input file is not touched, rather it takes inputfile.directb2s and produces inputfile-updated.directb2s with the changes inside.

 

The tool can be used by authors who want their reels to be silent, and steer the sounds in VPX instead. And also end users can use it to make the directb2s silent for each file wanted.



#26 Mustang1961

Mustang1961

    Pinball Fan

  • Members
  • PipPipPipPip
  • 725 posts
  • Location:Isernhagen

  • Flag: Germany

  • Favorite Pinball: All Loserman76 recreations

Posted 27 August 2023 - 02:40 PM

...
  
The tool can be used by authors who want their reels to be silent, and steer the sounds in VPX instead. And also end users can use it to make the directb2s silent for each file wanted.

Dear Jarr3, can you please make a tutorial with a sample and post it in youtube, so people like me with limited IT skills can use the tool in order to open new functionalities with the B2S server.

Thank you, sincerely Christian.

#27 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 198 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 27 August 2023 - 06:34 PM

Dear Jarr3, can you please make a tutorial with a sample and post it in youtube, so people like me with limited IT skills can use the tool in order to open new functionalities with the B2S server.


Thank you, sincerely Christian.

 

 

Hi Christian, I am not very good in YouTube videos... So I hope I can convince you that one picture says more than 1000 words...

 

I have now updated the repo so that the B2STools folder and files are included in the v2.0.4 action build (you need a github login to reach prerelease action builds)

 

Once downloaded, you can extract the files and go into the B2STools window, then "drop" your EM Backglass(es) on the directb2sReelSoundsONOFF.cmd file.

 

See the picture Attached File  DropBackglassFileB2STools.png   28.13KB   6 downloads.

This will open a cmd window, telling what is happening. If it can find EM Backglass reels without the Sound3-5 attributes, they will be added to a copy of your file in the same directory.


Edited by jarr3, 27 August 2023 - 06:52 PM.


#28 Mustang1961

Mustang1961

    Pinball Fan

  • Members
  • PipPipPipPip
  • 725 posts
  • Location:Isernhagen

  • Flag: Germany

  • Favorite Pinball: All Loserman76 recreations

Posted 27 August 2023 - 09:27 PM

Dear Richard, at present I am on vacation - far from my systems. I thank you VERY much for your reply and efforts. Much apprechiated!!! Will follow up.

#29 Mustang1961

Mustang1961

    Pinball Fan

  • Members
  • PipPipPipPip
  • 725 posts
  • Location:Isernhagen

  • Flag: Germany

  • Favorite Pinball: All Loserman76 recreations

Posted 06 September 2023 - 12:13 PM

Dear Richard,

 

back at home I tested your directb2sReelSoundsONOFF.cmd file. It worked on the 1st trial, I found the 2nd version of the BG file in the same directory where the initial version came from. Everything ok, but the reel click stays using the "upgraded" version. Both files have the same size. Have I overseen anything in the process?

 

With best regards, Christian.

 

 



#30 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 06 September 2023 - 06:51 PM

Dear Richard,

 

back at home I tested your directb2sReelSoundsONOFF.cmd file. It worked on the 1st trial, I found the 2nd version of the BG file in the same directory where the initial version came from. Everything ok, but the reel click stays using the "upgraded" version. Both files have the same size. Have I overseen anything in the process?

 

With best regards, Christian.

 

 

is the other BG set as read only or blocked?


you can open the bg in notepad++ and edit it off by hand too


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#31 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 198 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 07 September 2023 - 07:05 PM

Dear Richard,

 

back at home I tested your directb2sReelSoundsONOFF.cmd file. It worked on the 1st trial, I found the 2nd version of the BG file in the same directory where the initial version came from. Everything ok, but the reel click stays using the "upgraded" version. Both files have the same size. Have I overseen anything in the process?

 

With best regards, Christian.

 

 

 

Hello, as usual vpforums did not tell me there where answers..

 

Well, there should be additions to the files in the "upgraded" version. Do you have a diff tool runnig like winmerge? Then you could press both files and diff them. You should see the added parameters.



#32 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 198 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 08 September 2023 - 06:04 AM

Here you see a screenshot of what I meant:

 

Attached File  B2STools-NoSameSize.png   285.85KB   10 downloads

 

Attached File  B2STools-NoSameSizeProperties.png   38.24KB   5 downloads



#33 Mustang1961

Mustang1961

    Pinball Fan

  • Members
  • PipPipPipPip
  • 725 posts
  • Location:Isernhagen

  • Flag: Germany

  • Favorite Pinball: All Loserman76 recreations

Posted 08 September 2023 - 05:51 PM

Here you see a screenshot of what I meant:

 

attachicon.gif B2STools-NoSameSize.png

 

attachicon.gif B2STools-NoSameSizeProperties.png

Dear Richard, dear Wiesshund,

 

I have used Winmerge and see - nothing, both analysis' looks equal, maybe I operated Winmerge not the appropriate way. Then I compared the exact file size, and the processed file is 153 Bytes larger. The processing works, but unfortunately the reel click stays.

 

Coming back to Wiesshund's suggestion .. which adjustments are to be set in order to mute the reel click? 

 

Best greetings from Christian.


Edited by Mustang1961, 08 September 2023 - 05:52 PM.


#34 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 198 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 08 September 2023 - 06:00 PM

I would suggest you tell me which backglass you test with, so that I can test myself.

Or send it through PM


Sent from my iPhone using Tapatalk

Edited by jarr3, 08 September 2023 - 07:03 PM.


#35 Mustang1961

Mustang1961

    Pinball Fan

  • Members
  • PipPipPipPip
  • 725 posts
  • Location:Isernhagen

  • Flag: Germany

  • Favorite Pinball: All Loserman76 recreations

Posted 15 September 2023 - 10:20 AM

Dear Jarr3,

 

thank you VERY much for our trial and error- game we played the last days. Now it is done, and all the honor is yours! We (the community) have now  the choice to switch off all BG sounds completely with only one measure. No interference anymore between the table driven klick- sound and the BG sounds. For me it is a big step forward.

 

Thanks again, greetings from Christian. 



#36 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 198 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 08 October 2023 - 07:24 PM

I now we have a solution... which can be applied to the directb2s file.

 

 

Request made

untitled0.png



#37 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 11 October 2023 - 02:40 AM

 

I now we have a solution... which can be applied to the directb2s file.

 

 

Request made

untitled0.png

 

Hi Jarr,

I am not seeing the solution here. What am I missing?Thanks for looking at this issue. :)


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.


#38 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 11 October 2023 - 02:58 AM

 

 

I now we have a solution... which can be applied to the directb2s file.

 

 

Request made

untitled0.png

 

Hi Jarr,

I am not seeing the solution here. What am I missing?Thanks for looking at this issue. :)

 

grab and run the powershell file


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#39 jarr3

jarr3

    Enthusiast

  • Platinum Supporter
  • 198 posts
  • Location:Frankfurt, Germany

  • Flag: Sweden

  • Favorite Pinball: Medieval Madness

Posted 11 October 2023 - 05:55 AM

 

 

I now we have a solution... which can be applied to the directb2s file.

 

 

Request made

untitled0.png

 

Hi Jarr,

I am not seeing the solution here. What am I missing?Thanks for looking at this issue. :)

 

 

as mentioned here  you just drag and drop your directb2s files on the CMD file.

 

As in this screenshot:

 

DropBackglassFileB2STools.png
 
It says "open this file with directb2sReelSoundsONOFF.cmd"

Edited by jarr3, 11 October 2023 - 05:56 AM.


#40 wrd1972

wrd1972

    Authoring Padawan

  • Platinum Supporter
  • 2,265 posts
  • Location:Central KY. USA

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 17 October 2023 - 01:05 AM

Hi Jarr.

 

Thanks for looking at this. I followed the directions (I think) and ran the 4 Square DB2S through your script, but it appears that not all of the reel sounds were disabled. A good deal of them were, but some still remain. Below is a link to that updated DB2S where I was hoping all of the sounds would be disabled:

https://www.dropbox....lv06pfbkxt&dl=0

 

Could you please take a look and see if the script addressed everything it should have?

 

Thanks again.


My VP Pincab /MAME Arcade  Specs: Dell T3400 workstation with Core2 Quad core 3.0GHZ (Q9650) CPU - 8GB of RAM - Nvidia  GTX 970

40" PF Sony gaming LED TV, Dual 21" Dell monitors in the backbox - Pinscape dual boards - Full DOF - Full MAME arcade support.