Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: Here's an app to control volume with your spinner/trackball/joysticks/buttons...  (Read 33725 times)

0 Members and 1 Guest are viewing this topic.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Based on an idea in this thread:

http://forum.arcadecontrols.com/index.php?topic=69805.0

...I threw together a small application which allows you to set a hotkey which, when held down, allows you to control your windows wave output volume using a mouse device (spinner, trackball) and/or keyboard device (joysticks/buttons connected to a keyboard interface such as IPAC or keywiz).  Basically you can set it up to control cabinet volume using only arcade controls.  It only works on NT/2000/XP/Vista and it requires the .NET 2.0 framework which you can download from microsoft.  There are a bunch of apps like this out there, but the ones I've tried are not very cabinet friendly (requires use of the mouse scroll wheel, special 'windows' key, etc).  I hope someone gets some use out of it.

NT/2000/XP (this build does NOT work with Windows 7 and higher):
http://hofle.com/mame/CabVol.zip

Windows 7 (ONLY works with Vista/Win7/Win8 and higher):
http://hofle.com/mame/CabVol-VistaOnly.zip


« Last Edit: October 14, 2014, 12:26:29 am by ahofle »

Chunce DeLeone

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 414
YOUR THE MAN DUDE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1 :notworthy: :applaud:

You Just Made a Tron Spinner Vol Knob!!!!!!!!!!!
« Last Edit: August 10, 2007, 09:34:35 am by Chunce DeLeone »

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3551
Thsi is a great little application ..... may I suggest a little update to it ....

For a jukebox cabinet, having a little spinner know would be great for volume, however, having to press the hotkey while turning the spinner knob is not really great (for a jukebox cabinet).    Perhaps you could add an option in this application to indicate whether the HotKey should be used or not. 

Basically, for a jukebox scenario, walking up to the cabinet and turning the knob should always adjust the volume.  Would not want to have to get people to press a hotkey first then turn the knob for a jukebox ...... I understand why you do it for an arcade cabinet, but it just is not that friendly for a jukebox cabinet.


Neilyboy

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • what day is it...
Very cool program man!! Once my cabinet is done ill be running this software!
Neil

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Thsi is a great little application ..... may I suggest a little update to it ....

For a jukebox cabinet, having a little spinner know would be great for volume, however, having to press the hotkey while turning the spinner knob is not really great (for a jukebox cabinet).    Perhaps you could add an option in this application to indicate whether the HotKey should be used or not. 

Hmm interesting...  Are there people out there that have a spinner on their jukebox with no trackball or mouse (it would have to be totally mouseless or else the program would start wildly adjusting the volume around when you used the trackball/mouse)?

bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • "You're not wrong Walter, you're just an @##hole!"
I just installed this and it seems fairly cool, one question/request though.  Would it be possible to add z-axis control of the volume?  I don't yet have a spinner but my plans include one running off of the x-axis of a TB controller, the trackball would be x and y and the spinner would be z.  I think this is actually a fairly common approach and would allow me to use a TT2 spinner as the interface for both a trackball and spinner and then use the spinner for volume.  OK I lied, two requests... Is it possible to allow holding down a key for continuous volume control, right now I have it assigned to a joystick and to control the volume I have to tap it instead of hold it down, I suppose if I fine tune the adjustment increment then I could get a solution worked out.

Overall I think this software will save me a bunch of work, I was planning on replacing the wheel style volume control in-line with my computer speakers in the cabinet w/ a knob and that would have either been a complete custom cable or a hacked factory one.

Thank you for a great application, I like it as is and feel that the additions would only make it better.

unclet

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3551
Yeah, I guess a lot of people would not have a hacked mouse as a spinner for their jukebox, although if your application had this ability perhaps more people would hack a mouse for volume adjustment.   It would be pretty cool to have a knob of the jukebox to adjust volume.

Actually, you could do a lot with this program if you wanted to ...... you could allow people to map a certain key to moving the mouse "right" and another key to moving the mouse "left".   This way turning the spinner knob could be used to select a game in a game list, flip through all the various emulators installed on a cabinet, etc ... etc ...
« Last Edit: August 11, 2007, 08:45:16 pm by unclet »

TheBrokentoken

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Being a noob is awesome! (not)
    • Brokentoken.com
Very, very nice.  Thanks for putting this together, as it'll be a huge help to everyone here on the forum!
- Whitney Roberts
http://www.brokentoken.com

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
you are totally the man... I am glad I posted this thread!!! :)

Can't wait to try it ... my cab is all unplugged but my test / mockup CP is coming together and I'll make sure to set up your app.

thanks again

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Would it be possible to add z-axis control of the volume? 

I'll look into this.  I know the scroll wheel is reported differently than the X and Y movement (more like a keypress) but I think it should be easy to do.

Quote
Is it possible to allow holding down a key for continuous volume control, right now I have it assigned to a joystick and to control the volume I have to tap it instead of hold it down, I suppose if I fine tune the adjustment increment then I could get a solution worked out.

It works that way already.  Try going to your keyboard control panel and increasing the repeat rate.

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1887
  • Space Fractal
    • Space Fractal
Did not work in 64 bit version with Vista Premuim on my work machine.  All Inputs works in debug mode, but it did never change that volume (I have UAC user control disabled).

Otherwice Cool app to see and good use on a arcade cab (maybe on my primary arcadecab, where I use VolumeTray, that works as it should).

A request is been able to remove that config window and send it to the system tray, when you minimize it, after you configurated it. next start should allways start as minimized state.

About around repeat rate problem:
 Do NEVER change volume, directly on PollEvent() events. PollEvent() should even been use to check if key is pressed down or not.

 Instead use a input variable and change that that to 1 if KeyDown() is invoked and 0 if KeyUp() is invoked (and ONLY that).

 Then use a timer event to detect when it time to change the volume and check the variable for the keypress status. Now the key repeat is gone.

About mouse spinner
 Not all jukebox software need that, because it added to that software (like my own MultiJuke), but it would been cool to use a spinner without need to press a key or not (should been user choiseable). If you do that, this app would been suitable for arcade cabs and jukebox cabs (that do not have a touchscreen).



« Last Edit: August 13, 2007, 08:41:50 am by Space Fractal »
Currectly in work: Greedy Mouse || Previous Work: MultiFE Frontend, ArcadeMusicBox Jukebox || Music for various games (Tardis.dk + Greatflash.co.uk).

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
OK I added the Z axis.  It seems to work with my mouse scroll wheel.  Not sure how it will work with a spinner hooked to the Z axis though.

About around repeat rate problem:
 Do NEVER change volume, directly on PollEvent() events. PollEvent() should even been use to check if key is pressed down or not.

???
This uses windows hooks, not polling.

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
for some reason it does not work for me

i map to mouse x.
my spinner is mapped to mouse x

there is also a trackball (x and y mouse) ... conflict?

also it'd be awesome if this could start and minimize as a system tray app

thanks!!!!

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Are you using Vista?  Someone else reported it doesn't work with that OS too.

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
no, just xp pro with a bunch of services disabled (maybe thats it)

it does launch and run, just no effect

thanks

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Try checking on the 'debug mode' checkbox and make sure you are picking up the mouse and keyboard events.  Dumb question but you are holding down the hotkey right? 

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
yep

I am assigning the MAME P1 Switch 2 ("ALT", the mame default), from a happ pushbutton plugged to an I-PAC 2.

I will check the debug mode when I get home :)

thanks...

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
I am sad this is not working for me :(

the key presses are listed in the debug list, and the mouse x axis value (where my spinner is assigned) changes

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Re: Here's an app to control volume with your spinner/trackball/joysticks/button
« Reply #18 on: September 05, 2007, 10:19:12 am »
Just for kicks, can you try a different hotkey (like 'A' or '2' or something, not a special character).  Also make sure your focus is not on the cabvol program when testing (minimize it) because it will think you are trying to set the hotkey if you are focused in that field.  To test, I usually play an mp3 or something that has constant sound. 

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
OK! I will do that...

Is there any way to make CabVol.exe start minimized in the task bar?

I know how to add a shortcut to it in the Startup folder (so it starts when windows boots) BUT the UI shows up on top of MaLa frontend...

Thanks!!!

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Re: Here's an app to control volume with your spinner/trackball/joysticks/button
« Reply #20 on: September 05, 2007, 05:09:16 pm »
OK! I will do that...

Is there any way to make CabVol.exe start minimized in the task bar?

I know how to add a shortcut to it in the Startup folder (so it starts when windows boots) BUT the UI shows up on top of MaLa frontend...

Thanks!!!

Drag a shortcut to cabvol.exe into your startup folder, and then go to the shortcut's properties and select Run: 'Minimized'.  It should then start with Windows and minimize itself.

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1887
  • Space Fractal
    • Space Fractal
You might try to use bass.dll or fmod.dll as a alternative to change the volume, when it dosent work (I remember it can change the main volume, so it should effect other apps as well)? The only problem it may confuce with some Jukebox applications (which many use bass.dll)... The user could try it if it fail witch the normal api.
Currectly in work: Greedy Mouse || Previous Work: MultiFE Frontend, ArcadeMusicBox Jukebox || Music for various games (Tardis.dk + Greatflash.co.uk).

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
IT WORKS NOW!!! AAAAAAAAAAAAAAAAAAAAA

thank you thakn you thank you

(configured P2 START as hot key, and set increments to 1000... like a charm!)

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Re: Here's an app to control volume with your spinner/trackball/joysticks/button
« Reply #23 on: September 08, 2007, 01:58:00 am »
Glad to hear it!  :cheers:
I guess 'alt' doesn't work too well as a hot key for whatever reason.

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
this totally rocks...

I just spent about 1 hour playing various games, loving the volume control.
P2 START is a pretty good key for it too... I use P1 START to select items in MaLa

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
weird...

ok so i launch a game
then set the volume how i want it
then play
then exit the game

now

if i launch the same game again
without changing volume
it is LOUD again!

and
if i try to change volume again
it doesnt work all the way (changes but not below a certain value)

whats going on?

i use my spinner and increments are set to 250 i think


does your app controle mame's game volume, or the windows / general volume?  .. why is it changing on game launch?  ... is it perhaps reading the mouse x (spinner) and resetting itself?

...
« Last Edit: September 09, 2007, 02:34:30 pm by ARTIFACT »

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Re: Here's an app to control volume with your spinner/trackball/joysticks/button
« Reply #26 on: September 09, 2007, 05:17:54 pm »
Hmm I'm not sure.  I just tried what you did in MAME and when I exited and came back in the volume was the same.  What version of MAME are you using?

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
i compiled my own 117u3 with high score support and no nag screens

im about to do the same with version 118 and use that

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
One tiiiny feature request from me... :)


Right now, if by mistake I toggle from MaLa to the cab volume app, focus is on the hotkey field... if I then press a key, it simply messes up the configuration... I just had folks over playing on the arcade and couldn't figure out why it wans't working anymore... it was because the key had been changed by mistake... :(

Could you make it so the text field must be CLICKED to wait for a key change?

Thank you!!!

postalp123

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 193
  • Retro-gamers don't just play, they reminisce.
Re: Here's an app to control volume with your spinner/trackball/joysticks/button
« Reply #29 on: September 11, 2007, 10:52:32 pm »
Great program Afole, but im having a slight issue with it...

When my cabinet boots up into MAMEwah, your program seems to always boot on top of it in focus, is there anyway to have it stay in the background or even minimized in my tray?

Aside from that, awesome job mate!

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Re: Here's an app to control volume with your spinner/trackball/joysticks/button
« Reply #30 on: September 12, 2007, 12:19:18 am »
Have you tried running it minimized at startup?

Quote
Drag a shortcut to cabvol.exe into your startup folder, and then go to the shortcut's properties and select Run: 'Minimized'.  It should then start with Windows and minimize itself.

postalp123

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 193
  • Retro-gamers don't just play, they reminisce.
Re: Here's an app to control volume with your spinner/trackball/joysticks/button
« Reply #31 on: September 12, 2007, 08:56:08 am »
Have you tried running it minimized at startup?

Quote
Drag a shortcut to cabvol.exe into your startup folder, and then go to the shortcut's properties and select Run: 'Minimized'.  It should then start with Windows and minimize itself.

TY Sir! Ill give it a shot when I get home, But im sure that will do it.

Props again for this program.

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
it would be great if the focus was not being automatically set to the hotkey change action though... even if the app will generally be minimized... it would add an extra click to avoid switching the key by mistake :)

right now if i use alt+tab to flip between my apps (mala, cabvol, sometimes a folder open to copy files or notepad to edit ini files...)... well flipping to cabvol and to another app ... changes he hotkey o alt or tab ...

thanks for the hard work! one less hole to make i my cab or wires to solder :)

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Re: Here's an app to control volume with your spinner/trackball/joysticks/button
« Reply #33 on: September 13, 2007, 12:10:36 am »
I will try and look into that soon.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Re: Here's an app to control volume with your spinner/trackball/joysticks/button
« Reply #34 on: September 13, 2007, 11:34:40 am »

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
you ROCK!

i will try tonight :)

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
much better!

thank you

csa3d

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 872
  • Will game for food
    • Galaxian Mame Conversion
Is there any way you can add a Mute hokey combination to this fabulous little app?

Thanks!
-csa

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Hmm that's not a bad idea.  I'll look into it when I get a chance. 

csa3d

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 872
  • Will game for food
    • Galaxian Mame Conversion
awesome!  you the man.
-csa

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
you know... depending on the game. the app sometimes does not work.

I mapped to my spinner (mouse X / horizontal axis) + P2 START hotkey

csa3d

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 872
  • Will game for food
    • Galaxian Mame Conversion
Hmmm.. that seems odd.  This app shouldn't be hooking into a game, rather into the sound driver I had thought.  I suppose all this could be automated through AutoHotkey, but I liked the simplicity this app offers.

-csa

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
I think it is,

but

I think that when a game has a lower screen resolution...
somehow the mouse x values sent by the spinner to the app
are different

meaning... sometimes I can turn volume all the way down
sometimes not... only a little bit and it "stops" reducing

I think it has to do with the fact that the program looks for mouse X values...

ahofle: what do you think?

(thanks!)

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
I think I may have an idea what's happening here.  The app uses global hooks to capture key and mouse input.  Windows reports the X and Y coordinates of the current mouse event to my app when you move the mouse.  I'm guessing it maxes out at 0 (when all the way left) and a very large number when maxed all the way right.  In this case, the app compares the value to the previous and thinks it hasn't moved and does nothing.  Let me try and think of something to solve this problem.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
OK I think I see what's happening.  Try turning on 'debug' mode and move the mouse all the way left.  Once it's at or around zero, try moving it left again.  You'll see that windows reports some negative values and then quickly snaps back up to 0 or so.  Cabvol interprets this as a move to the right of course and increments the volume.  I'll get to this as soon as I can.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
OK ARTIFACT, can you try downloading it again and let me know if that helps?

EDIT: also added mute key
« Last Edit: October 25, 2007, 05:14:43 pm by ahofle »

csa3d

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 872
  • Will game for food
    • Galaxian Mame Conversion
woot!  Thanks for adding that!
-csa

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
HEY HEY you rock my friend!

I haven't had time to try the new version yet sorry
I will do so soon

THANK YOU! this is a very cool app

Warborg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 380
  • Personal text? Nah...
I installed XP Performance Edition on my cab and the app refuses to start, just giving a "failed to execute" error...  Is there some dependency that needs to be installed for this to work properly?

EDIT:  Never Mind, if I had bothered to search BEFORE posting, I would have seen it needed .NET 2.0.  Installed and working fine now...  :)
« Last Edit: November 17, 2007, 02:37:51 am by Warborg »

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
For anyone interested, I added 'minimize to tray' functionality so there won't be an item in the taskbar when you minimize now. 

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
you rock! thank you

TheBrokentoken

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Being a noob is awesome! (not)
    • Brokentoken.com
Would it be possible to have the option of not using a hotkey that has to be held down and if in that scenario, only solicit input from the up/down button instead of the axis input?  I'm really wanting to assign the volume up/down/mute to three individual inputs on my i-pac and therefore three pushbuttons on my cabinet and have this work w/o having to hold down yet another button....

Thanks!
- Whitney Roberts
http://www.brokentoken.com

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
OK I will add this to my list of things to do.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
OK hotkey is now optional (just uncheck the 'Hotkey' checkbox at the top left). 

« Last Edit: December 31, 2007, 04:48:03 pm by ahofle »

TheBrokentoken

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Being a noob is awesome! (not)
    • Brokentoken.com
Most excellent, my man!   Thanks so much - this is a great addition to the program and makes it 100% more usable, IMHO!
- Whitney Roberts
http://www.brokentoken.com

M37R01D

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
    • M37R01Dz M0Dz
Just want to thank you for the wonderfull program,
Its been running great, THANKS

roorooroo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
Many thanks for this very useful app..will be using it once i get my cab up and running. :applaud:

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Glad some people are getting use out of it.
:cheers:

M37R01D

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
    • M37R01Dz M0Dz
Yea man, Besides my frontend (even though Maximus Arcade auto starts your app) it is the single most used application on my machine. Again many thanks.

BobbyG66

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 588
  • Current project: Dodgeball
Ahofle,

Thank you VERY much for this app.
I have had dedicated volume keys on my CP for over a year now.
I was only able to get them working recently with this.

Thanks again!
BG66
Half of the people you meet are below average.

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9924
  • Comanche, OK -- USA
Thanks for this awesome program. I'm currently building a cabinet and wasn't sure how I was going to setup my volume control, but now you've inadvertantly helped me out. (I was searching on spinner info, and ran across this instead)
Great work, can't wait to use it.

bent98

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 476
  • Hyperspin Moderator
I cant wait to try this thing out.


bent98

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 476
  • Hyperspin Moderator
I put this program in startup folder with my mala, but program is maximized. Anyway have it start minimized?
« Last Edit: February 27, 2008, 09:41:54 pm by bent98 »

quarterback

  • King Of The Night Time World!
  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
I have a similar question, although I have to admit I haven't yet tested the app.   I have a trackball (mouse) as well as a spinner (mouse), is there any way to differentiate between the two so only the spinner controls the volume and not the trackball?
No crap, don't put your kids in a real fridge.
-- Chad Tower

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
I put this program in startup folder with my mala, but program is maximized. Anyway have it start minimized?

It's better to have a shortcut in the startup folder, not the actual program.  Then you can go to the shortcut's properties and select Run: 'Minimized'.  It should then start with Windows and minimize itself.

I have a similar question, although I have to admit I haven't yet tested the app.   I have a trackball (mouse) as well as a spinner (mouse), is there any way to differentiate between the two so only the spinner controls the volume and not the trackball?

Well, it depends.  If your spinner is on your mouse 'z' axis (GGG TT2 spinner for example) then yes you can make it separate.  If both your trackball and spinner move the windows cursor's x axis, then it won't be separate.

bent98

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 476
  • Hyperspin Moderator
I have a TT2 but the only way to get the spinner to raise and lower volume is too assign it to X if i assign to Z tt2 only lowers volume but can not riase it. Is that a bug?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Sure sounds like it.  I will take a look at that, although I'm pretty positive I tested it with a mouse scroll wheel (I don't have a TT2).  Does your TT2 work in both directions if you use it to scroll a long webpage or text document?

bent98

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 476
  • Hyperspin Moderator
humm

you know what

Wheel just goes left and right

Is there something I can use to config that?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
You may want to give RandyT a shout.  I'm not sure how to put the TT2 on the Z axis.
EDIT: From ggg's website:
"X, Y or Z axis operation can be selected by simply plugging the data cable onto the desired axis connector."

rooter

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 202
    • ShaunRoot.net
I can confirm that this program doesn't work in Vista 64bit Ultimate Edition.  I even tried to use it in Windows XP compatibility mode.

I'm going to subscribe to this thread in hopes that might someday change.  I would be willing to help test it out anytime as I would love to use this program.

Thanks for the great software idea!

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9924
  • Comanche, OK -- USA
Hmmm....strange.
I finally have my arcade PC setup. (XP Professional SP2)
Last night I was playing some games in ZSNES through MameWAH. Suddenly I started having extremely loose keyboard control in games. I'd press jump, and a second or two, they'd jump. I'd push a direction and let off, and the character would continue that way for a second or two.
I got out of mamewah and restarted it, same issue.
Then I got out and turned off CABVOL....problem solved. I couldn't replicate this issue, though.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Hmmm, I'll mess around with ZSNES and see if it happens to me.  Let me know if you figure out how to reproduce it.

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9924
  • Comanche, OK -- USA
I'll give it a go later and see what happens. I'm moving the PC into the cabinet finally, so now the real test begins.

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9924
  • Comanche, OK -- USA
Well, I tried a few things without Cabvol running at all. I managed to figure out the problem, and luckily, it's not Cabvol related.
For some reason, my PC didn't like me using CTRL, ALT, TAB, etc in my Mini-pac setup. It was creating all kinds of trouble. I remapped everything to purely numbers and letters and have no issues now.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Thx for the update!  :cheers:

thatitalian

  • Don't worry about the chicken, I feed my friends human all the time...
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 887
  • The Revolution Is Coming...
Great app! really does makes the whole "control everything from your control panel" experience a lot easier. Simple app, huge help!

THANKS!

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5506
    • Bella's Arcade
For some reason I can't even launch this app.  I download the zip, extract it and try to launch the .exe and I get an error... anyone experiencing this or have any ideas what could be wrong?  The exe is a 40kb file when extracted if that helps...

EDIT: I just tried it on my laptop and it worked... I have no idea what the problem could be on my cabinet...
« Last Edit: April 13, 2008, 11:18:47 am by javeryh »

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9924
  • Comanche, OK -- USA
javeryh: You need .NET 2.0 installed. Click here to grab it

I quit using Cabvol. It WAS causing problems with my controls for some reason.

I also bought a new sound system for my cabinet that has a volume pod and I mounted it in a hidden location, so I have no use for the program now anyway.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5506
    • Bella's Arcade
javeryh: You need .NET 2.0 installed. Click here to grab it

I quit using Cabvol. It WAS causing problems with my controls for some reason.

I also bought a new sound system for my cabinet that has a volume pod and I mounted it in a hidden location, so I have no use for the program now anyway.

That's it?  Sweet!  I'll grab it now and give it a shot.  It's such a pain though because my cab isn't connected to anything...  I need to figure something out...  THANKS!!!    :cheers:

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5506
    • Bella's Arcade
OK, it seems to be working now but I can't set any of the keys.  I'm using a U360 with the harness and it's not recognizing button presses to set everything... any ideas?

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9924
  • Comanche, OK -- USA
Aren't those recognized as gamepad buttons, instead of keyboard presses? (I don't own one, and have limited knowledge of them)

Try joy2key maybe? If you don't have it, search on that term exactly.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5506
    • Bella's Arcade
Aren't those recognized as gamepad buttons, instead of keyboard presses? (I don't own one, and have limited knowledge of them)

Try joy2key maybe? If you don't have it, search on that term exactly.

Yes, I think they are.  When I press buttons on the keyboard they seem to work just fine with this app as far as setting them goes.  Hmmm...  I'll try searching joy2key and see what I come up with.  Thanks for your help.   :cheers:

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Yeah it doesn't recognize analog joystick input unfortunately.  You'll have to either use joy2key or actual buttons or something.

ideft

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • "Mister, I suspect you to be a dope fiend"
will this program eventually support joystick inputs because it would be cool if it did!!!

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
I may look at it again at some point, but it wasn't exactly a quick fix if I recall correctly.

Flake

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1019
  • I am Evil Homer....I am Evil Homer....
I tried downloading the .NET 2.0 but I had an error stated the version I'm trying to download is incompatible with the version already installed on my computer.  Anyone have any insight on this issue?

Also, assuming I can get this fixed, what exactly are the steps needed to go about getting this application up and running.  I have already put a shortcut in the startup folder so is this all I have to do?  I am using Maximus Arcade as my FE and the spinner will actually rotate Maximus through the different emulators and through the game list so if I am trying to adjust the volume when I'm on these screens will the volume adjust simultaneously while the I scroll the game/emulator lists?  Or does pressing the "hotkey" trump the command in Maximus to scroll through the lists?

Any help would be appreciated.

Thanks

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Sounds like maybe you already have a newer version of .NET installed?  Have you tried running it?  If you don't immediately get an error, you don't need to install the .NET framework.
As for the scrolling, yes it will still scroll your frontend while the hotkey is down (this app doesn't consume the input currently).  I suppose it would be possible to do, but I'm not sure if that would be what everyone wants.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1904
    • My Arcade (updated 1/30/13)
will this program eventually support joystick inputs because it would be cool if it did!!!

Agreed.
My Collection: Mame cab, 34 dedicated cabs, pin, skeeball, coin op air hockey table, and token machine (VAPS, pics at Arcade Crusade, updated 1/30/13 with Sprint 2, Centipede, and Bubbles)
Sketchup video of my gameroom
Add Ambience to your mame cab setup

Flake

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1019
  • I am Evil Homer....I am Evil Homer....
Sounds like maybe you already have a newer version of .NET installed?  Have you tried running it?  If you don't immediately get an error, you don't need to install the .NET framework.
As for the scrolling, yes it will still scroll your frontend while the hotkey is down (this app doesn't consume the input currently).  I suppose it would be possible to do, but I'm not sure if that would be what everyone wants.

Well OK I have tried using the application anyways even after I got that error but am not sure if I "installed" it correctly.  So out of the kindness of your heart explain the steps needed to "install" the application and have it run correctly?

All I have done so far is to extract the application on my desktop, put a shortcut in the startup folder and thats it.  There must be something more to do since its not working for me.  Kinda noobish here on software so please do be kind to my fragile ego if I am missing something. 

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
There is no installation process, just manually run the cabvol.exe application by double clicking on it.  It should open up with a configuration window like the screenshot on the first post of this thread.

I'm still not sure how worthwhile it would be to add a bunch of joystick handling code to this, given that there are already tools out there like joytokey to convert joystick input to keyboard presses.  Also, are there really that many people that have an analog joystick but no trackball, spinner or digital arcade sticks?

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1904
    • My Arcade (updated 1/30/13)
I don't know, but in my case it's because I have swappable panels. Yeah, I know that's a very uncommon approach. I can understand you not wanting to add it, though I probably wouldn't bother with your app otherwise. I know I can use joy2key, but unless there is a REALLY good reason to get it, figure out how to configure it, and keep it running all the time JUST so I can use this app, I won't bother. But if you really prefer not to handle analog sticks then don't worry about it - I just wanted to add my vote for that but I'm not going to die without it.
My Collection: Mame cab, 34 dedicated cabs, pin, skeeball, coin op air hockey table, and token machine (VAPS, pics at Arcade Crusade, updated 1/30/13 with Sprint 2, Centipede, and Bubbles)
Sketchup video of my gameroom
Add Ambience to your mame cab setup

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
It's not that I prefer not to handle it, it's just that it isn't easy since joystick input isn't handled by the core windows SDK (like keyboard and mouse input is) so it would be a good deal more work I'm guessing.  I may get to it eventually though.

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1904
    • My Arcade (updated 1/30/13)
I understand that and that's all I was referring to - didn't mean to imply that you had a motive here. :cheers:
My Collection: Mame cab, 34 dedicated cabs, pin, skeeball, coin op air hockey table, and token machine (VAPS, pics at Arcade Crusade, updated 1/30/13 with Sprint 2, Centipede, and Bubbles)
Sketchup video of my gameroom
Add Ambience to your mame cab setup

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2929
  • 0x2b|~0x2b?
Hey ahofle if you want PM me and I can help you add joystick support using DirectInput.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Thanks headkaze!

Flake

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1019
  • I am Evil Homer....I am Evil Homer....
I'm up and running now with your application - thanks!   :cheers:

LLUncoolJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 668
  • This snowflake tastes like fish sticks!
I can confirm that this program doesn't work in Vista 64bit Ultimate Edition.  I even tried to use it in Windows XP compatibility mode.

I'm going to subscribe to this thread in hopes that might someday change.  I would be willing to help test it out anytime as I would love to use this program.

Thanks for the great software idea!

Same here..unable to get the app to work with Vista :'(. I could use this in the worst way if anyone figures it out. All inputs are good on the debugger, just no volume change. Thanks for changing everything for the worst Microsoft. :angry:
You probably remember me from such films as `The Revenge of Abe Lincoln' and `The Wackiest Covered Wagon in the West'

Gameroom pics at http://forum.arcadecontrols.com/index.php?topic=89006.40

Visitor Q

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1186
  • The Saw Is Family
Any hopes for Vista 64 support or is this a dead issue?
“Woe be unto him who opens one of the seven gateways to hell, because through that gateway evil will invade the world."

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
I wouldn't say it's dead, but I don't have Vista (64 or otherwise) so it would not be easy.  Actually, after your post and a quick google, I did find out why it's not working in Vista though as well as some newer volume adjustment code (not based on the winmm.dll stuff which is out dated), so I may give it a stab.  I'm just worried that it then won't work with XP LOL.  Stay tuned.

Visitor Q

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1186
  • The Saw Is Family
I'm sure many Vista user would appericate your effort, please do!
“Woe be unto him who opens one of the seven gateways to hell, because through that gateway evil will invade the world."

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Well, as expected this new audio API is ONLY supported on Vista and later.  :dunno  I have it integrated with CalVol but I have no way to test it.  If any of you would like to be a guinea pig let me know.  With this version, the volume range is much different (0-100), so you will NEED to change the volume increment and mouse volume increment rates from 2000/1000 to something like 1-5 with this version.  Any feedback would be appreciated.

http://hofle.com/mame/CabVol-VistaOnly.zip

Blanka

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2248
    • Retro Space
Is there no standard volume keys on the keyboard? On my mac I mapped the iPac shift keys in a way that shift+up and shift+down alters the volume.

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
HEY I just wanted to say... you rock aholfe!

I was the guy who suggested this program to be created, a couple of years ago :)
Anyway... I had this running all this time, noo problem.

I actually did not have the latest version, and really appreciate this new(er) version... the biggest improvement is the fact that volume rises/falls the same way regardless of the game's resolution (there was an issue before that - where it was stuck at certain resolutions)

My cab is perfect with this - no messy extra knobs to be seen ... just "P2 START + Spinner" to adjust volume.

Again thank you.

Visitor Q

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1186
  • The Saw Is Family
Well, as expected this new audio API is ONLY supported on Vista and later.  :dunno  I have it integrated with CalVol but I have no way to test it.  If any of you would like to be a guinea pig let me know.  With this version, the volume range is much different (0-100), so you will NEED to change the volume increment and mouse volume increment rates from 2000/1000 to something like 1-5 with this version.  Any feedback would be appreciated.

http://hofle.com/mame/CabVol-VistaOnly.zip

Just picking back up on this thread. ^^^

Does that support V64?

I can do testing for you if you like? I really would love this to work!
“Woe be unto him who opens one of the seven gateways to hell, because through that gateway evil will invade the world."

Visitor Q

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1186
  • The Saw Is Family
It seemed to be working as I was able to move the volume up and down but only with the crash of the app on the screen. The volume move up in down in a way where it was either all the way up or all the way down, maybe just an adjustment of the program but I really did not get that far till it crashed.



“Woe be unto him who opens one of the seven gateways to hell, because through that gateway evil will invade the world."

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Did you change the volume increments to something between 1-5 as mentioned above?

Visitor Q

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1186
  • The Saw Is Family
No... Is that going to make it stop from crashing though?
“Woe be unto him who opens one of the seven gateways to hell, because through that gateway evil will invade the world."

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Not sure.  It's just a guess, but from your description that's why it's going all the way up or down (because you are incrementing past the maximum with one mouse turn).  I'm pretty sure I handled going over 100 though, so I'm still not sure about the crash.

When exactly does it crash?  When you adjust the volume?  Or right when the program starts?

EDIT: Try grabbing the Vista version again and see if the crash goes away (I made a change that should hopefully help).
« Last Edit: February 26, 2009, 12:54:04 pm by ahofle »

Visitor Q

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1186
  • The Saw Is Family
Not sure.  It's just a guess, but from your description that's why it's going all the way up or down (because you are incrementing past the maximum with one mouse turn).  I'm pretty sure I handled going over 100 though, so I'm still not sure about the crash.

When exactly does it crash?  When you adjust the volume?  Or right when the program starts?

EDIT: Try grabbing the Vista version again and see if the crash goes away (I made a change that should hopefully help).

HEY! I think we are onto something here, it did not crash this time.

I only had a second to play with it before I got to eat dinner here but will provide more feedback soon after.

The volume still jumps full on or full off so I need to adjust that. Any recommend settings for that?

ps. It crashed when I adjusted the volume before.
“Woe be unto him who opens one of the seven gateways to hell, because through that gateway evil will invade the world."

Visitor Q

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1186
  • The Saw Is Family
Ok, here is the results of my testing.

The Program does not crash.

The volume jumps full on or full off with a twist of the spinner.

I can adjust the volume increments from 1 to whatever and it does not make a difference.

If I change the mouse volume increments from anything other than 1, it does not work at all no matter how much I twist the spinner.
« Last Edit: February 27, 2009, 07:37:51 am by Visitor Q »
“Woe be unto him who opens one of the seven gateways to hell, because through that gateway evil will invade the world."

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
I think I figured out the problem.  Can you try downloading it again and let me know?

Visitor Q

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1186
  • The Saw Is Family
IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

You
Are
The
Man
!
!
!

 :cheers: :cheers: :cheers: :cheers: :cheers:

Vista support is in da hizzy!  :applaud:
« Last Edit: February 27, 2009, 05:44:53 pm by Visitor Q »
“Woe be unto him who opens one of the seven gateways to hell, because through that gateway evil will invade the world."

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Thanks for guinea pigging. :)
I'll update the main post and add 'official' Vista support.  :cheers:

I still need to get to adding joystick support (headkaze sent me some code for that).
« Last Edit: February 27, 2009, 06:01:18 pm by ahofle »

Visitor Q

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1186
  • The Saw Is Family
Anytime man, works awesome!

Thanks Much!
“Woe be unto him who opens one of the seven gateways to hell, because through that gateway evil will invade the world."

smalltownguy

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 908
Thanks for the application, it's very useful. I have a question for the group, maybe someone can help me:

I'm running Mamewah FE as a shell. I can't seem to get CabVol to start when the computer boots. When I exit Mamewah to explorer, then CabVol starts when the desktop loads (and stays running for future sessions of Mamewah) but it won't load on startup. I've tried putting a shortcut in the startup folder (which is where it is now) and also tried loading it via Mamewah, by entering the executable path in the 'applications to run on startup' entry in the mamewah.ini file. No luck.

What am I missing? I'd really like to use the application for volume control, but if I can't get it to go on startup, I'll have to seek other options. I don't really want to go away from mamewah as a shell, b/c this cabinet will be placed in a family member's bar, and requires the ability to 'fix things on reboot.'

I can get VNC to start up properly on reboot (because I can log into the cab remotely whenever it reboots), so I know that I should be able to get this program loading at startup.

Any suggestions?
Man, will my cab EVER be finished?

Bender

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1919
    • Happ to Tron Conversion tutorial
had some issues getting my media conrtol buttons to work inside a FE Shell

so I got this little gem mapped the volume and mute keys unchecked the hotkey button and had it run on the FE  startup and Bibgo! volume control with my media buttons :applaud: :applaud: :applaud:

Thanks Ahofle!

Great work

Bender

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1919
    • Happ to Tron Conversion tutorial
anyway to get  this program to automatically quite when I exit the FE?

when I'm working on the system I end up with like 20 copies of this open

csa3d

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 872
  • Will game for food
    • Galaxian Mame Conversion
anyway to get  this program to automatically quite when I exit the FE?

when I'm working on the system I end up with like 20 copies of this open

I'm running an pre-launch command to a batch file, which includes a call to taskkill to ensure that various PC apps are closed upon running in "arcade mode".  I'd imagine you can you this upon exit to do the exact same thing going to "PC Mode"

-csa

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
Hey heyyy

So I just rebuilt the PC inside my cab, and for SOME REASON CabVol.exe crashes when I launch it...

Do I need to install some C++ runtime redistributable, or something like that?

Windows XP "out of the box" SP3

THANKS!!

I was the original poster who requested this beautiful app you biult :)

Bender

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1919
    • Happ to Tron Conversion tutorial
.Net 2 Framework, I think you need that

ARTIFACT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 754
    • ARTIFACT - my scratch designed & built arcade cabinet
Will try! oups...

Funny I know .NET well, just forgot to install it on the cab box after I reinstalled everything

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
This stopped working on my cab. The settings haven't changed. It's running. But no response. Got rid of it and re-d/l'd and started and still nothing. I notice the settings remained, so it seems it's accessing some registry?
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
Je-sus.....I just brought the window back up, and un-clicked and clicked mouse directions, put away, and now it works. Okay. 'mute' still don't work, but at least the volume goes up an down.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

Lewis Black

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 101
  • Baaaah Eff it!
I can't believe I missed this app until just now.  Very nice work! 

TxGlenn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 85
What would cause the KeyDown event to not register until I release the button?

In the debugger, I press my Hot Key and nothing happens.  When I release it, I then see KeyDown, the new coordinates of my mouse, and KeyUp, all at once.  The result is a working CabVol app, but only when I repeated hit the Hot Key as I'm spinning the spinner...holding the Hot Key down while spinning has no effect.  I am using an Ipac4 encoder.

Thanks

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Sounds like you are using the player 1 start button as a hotkey (which is a no-no).  The IPAC does not send a keydown for the special 'shift' key until you release it to allow shifted functions like 'esc'.  Try using a different hotkey like 2.

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
    • my baby
how did i miss this app?  it sounds awesome and i'll be adding it shortly.

i do have a suggestion if you are still working on it; emu specific config files.

sometimes when i play games, i'll be listening to music or have sirius radio streaming.  it'd be great to be able to reduce the emu volume (for those that support it) vs. the entire system volume.

maybe even have two hot keys; 1st hot key lowers system volume, 2nd hot key lowers volume based on which cfg file is loaded up.

thanks, t

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
Sounds like you are using the player 1 start button as a hotkey (which is a no-no).  The IPAC does not send a keydown for the special 'shift' key until you release it to allow shifted functions like 'esc'.  Try using a different hotkey like 2.

I think maybe something similar is happening with mine. Maybe not, but what's happening is this: I have '5' (coin up) as hotkey, and I'm finding I have to press it twice, holding it down the second time, for it to be active. Works, so fine, but weird.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

TxGlenn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 85
Sounds like you are using the player 1 start button as a hotkey (which is a no-no).  The IPAC does not send a keydown for the special 'shift' key until you release it to allow shifted functions like 'esc'.  Try using a different hotkey like 2.

You nailed it.  Thanks.

jeffremiller

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 70
  • No matter where you go... There you are...
Any chance of adding a drop down for use with multiple sound cards?  Would be nice to be able to control Cab volume and ambience volume for the same spinner with different hot keys.
"If all wishes were gratified, many dreams would be destroyed." - B. Banzai

syph007

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 598
  • With a router big enough, we can shape the world!
I gave this a try last night, and it seemed at first to do exactly what I needed but then I hit a snag.  I was hoping it would basically control the volume slider in the sound control panel, but it doenst appear to.  This didnt at first seem to be an issue, I cranked the sound louder than I wanted, then used the util to dial it down to what i wanted.  Perfect.. except after a reboot teh vol was back up to max and I have to dial it down again with the util.   So it doesnt seem to save and apply the current volume between boots.  At least I couldnt figure out how to get that to work.  I'm going to have to look for a util that actually contorls the system volume slider as that would do what I want. 

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
It adjusts the wave volume only, not the master volume.  But the end result is the same for mame and any other games.  It does not 'save' the volume, windows should do that.  It sounds like something else is resetting the volume?  Have you tried manually adjusting the volume (not with cabvol) and rebooting to see if it stays?

As for the multiple sound cards feature, it's pretty unlikely that I'll find the time for that one to be honest.

Nataq

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 188
  • Arcade of the dead... now alive!
    • Arcade of the dead... now alive!
Edit: Found out that problem below had nothing to do with cabvol... still, just because I wondered and others could too I will leave the trace here.  :)

Hey ahofle, a question for you. It seems like since I installed volcab I have strange problems with World Class Bowling. Sound stutters, goes up and down and I am experiencing slowdown in the game. Now even if I dont run cabvol I still have the problems that I didnt had before... My machine ran the game flawlessly before. I am using the trackball for volcab but obviously not holding my hotkey (player 2 start) down while playing. I have noticed another thread mentionning the same problem with World Class Bowling and the guy was also using volcab : http://forum.arcadecontrols.com/index.php?topic=91851.0

My question is : Even if not running, is there any trace left by volcab on the PC that can be undone ? Does volcab plays with any registry entries and if so wich ones ? How would we go to "reset" everything like if cabvol was never used ?

Thank you!

« Last Edit: November 27, 2009, 01:48:11 pm by Nataq »

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
It adds a few settings to the registry, can't remember the exact spot off the top of my head.  Just search regedit for cabvol. 

metahacker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 166
Edit: Found out that problem below had nothing to do with cabvol... still, just because I wondered and others could too I will leave the trace here.  :)

Hey ahofle, a question for you. It seems like since I installed volcab I have strange problems with World Class Bowling. Sound stutters, goes up and down and I am experiencing slowdown in the game. Now even if I dont run cabvol I still have the problems that I didnt had before... My machine ran the game flawlessly before. I am using the trackball for volcab but obviously not holding my hotkey (player 2 start) down while playing. I have noticed another thread mentionning the same problem with World Class Bowling and the guy was also using volcab : http://forum.arcadecontrols.com/index.php?topic=91851.0

My question is : Even if not running, is there any trace left by volcab on the PC that can be undone ? Does volcab plays with any registry entries and if so wich ones ? How would we go to "reset" everything like if cabvol was never used ?

Thank you!



you sure you didnt enable triple buffering or vsync or something?

ive had this exact problem before (with this exact same game)....

surface tension

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • feel the tension...
    • surface tension tables
First of all, great work on this app. Thanks.

Has anyone got this working on Windows 7? I am running it on Windows 7 64-bit and it works just fine within the windows environment. But when I launch MAME or even GameEx for that matter, the buttons don't appear to register. I'm running the Vista build... should this work the same way in Windows 7?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
I haven't tried it on Win 7 yet.  My wife has it on her netbook though so I'll take a look when I can.

surface tension

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • feel the tension...
    • surface tension tables
Thanks. I know you don't want this app to haunt you!

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
I'm just a little surprised to hear it doesn't work in Win7.  I'm wondering if anyone has ever tried it before.

jtslade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 737
  • Keep it looking originallish!
anyone having problems with CabVol and Hyperspin 1.0/ the loss of focus specifically while in HS frontend 1.0
Ms. Pacman Original Cocktail with Non destructive mod to Groovy Arcade Linux with All 4way Vertical Cocktail capable 2 button or less games.


Neo Geo MVS Mame Cab Running Hyperspin, 25" Nanao Arcade Monitor, Mini-pac, Arcade VGA 3000, IL 8 Way Euro-Sticks from Paradise Arcade, Win XP 64bit, and tons of other junk.


surface tension

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • feel the tension...
    • surface tension tables
anyone having problems with CabVol and Hyperspin 1.0/ the loss of focus specifically while in HS frontend 1.0
When you say "loss of focus", do you mean it simply doesn't react to the programmed keypresses... but then it's fine when you go back to the windows desktop? How about when in MAME? What OS are you running?

surface tension

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • feel the tension...
    • surface tension tables
I haven't tried it on Win 7 yet.  My wife has it on her netbook though so I'll take a look when I can.

Did you ever get the chance to look at this?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
I haven't tried it on Win 7 yet.  My wife has it on her netbook though so I'll take a look when I can.

Did you ever get the chance to look at this?

Just tried it in 64bit Win 7 and it seems to work fine in MAME.  I was only able to try using the keys to increment/decrement because the touch pad doesn't register while the hotkey is down, but I didn't have any problems.  Have you tried using keys?

surface tension

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • feel the tension...
    • surface tension tables
That's strange. I was also keeping it simple using keys for vol+/- without a hotkey. I will have another play around with it on the weekend and report back.

Thanks.

Bender

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1919
    • Happ to Tron Conversion tutorial
Sorry to bring this up again, but can someone let me know what the command line would be to quit this program?

Thanks a bunch!

mamefreak2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 93
  • I'm a llama!
Hi,

Hope nobody minds me bringing up this old thread but I'd really like to use this app.

I'm using a Griffin Powermate for my volume control and in Windows it works perfectly. Unfortunately though the software needs windows to run and so it doesn't help me when I've shelled my front end.

I've shelled Hyperspin and I'd really like to be able to use this. I'm using Windows7 64 bit and I downloaded the Vista and above version of this. I programmed it using the Griffin with the Griffin powermate software running. The volume adjustment and mute adjustment seemed to work. I unclidked the hotkey option because I don't want it:
 
Once I turned off the Griffin powermate software though, this didn't work. I no longer had any volume control. Any ideas on what I might be doing wrong here?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Hmm, what does the Griffin software do?  Does it emulate keyboard clicks when you move the spinner left or right?  Is it possible to just add it to Windows startup so it's always running?  If I'm not mistaken the Griffin is actually a joystick device is that right?  Unfortunately, cabvol doesn't support joystick devices, only keyboard and mouse.

mamefreak2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 93
  • I'm a llama!
Hmm, what does the Griffin software do?  Does it emulate keyboard clicks when you move the spinner left or right?  Is it possible to just add it to Windows startup so it's always running?  If I'm not mistaken the Griffin is actually a joystick device is that right?  Unfortunately, cabvol doesn't support joystick devices, only keyboard and mouse.
Someone on the Hyperspin board mentioned that he was using your app to work with Cabvol.

The Griffin Powermate is essentially a spinner with a nice glowing blue light. You can program macros into it etc... But it works well as a volume knob. When you press it, it mutes. Problem is that the Griffin powermate software requires that you have windows running for it to work. I've shelled Hyperspin so it's not going to work for me and that's where Cabvol comes in. The guy said he got it to work with the Griffing device.

When I went to program cabvol, I was able to input volume increment key values but ONLY when the Griffin Software was running. Once the Griffin software was turned off, it no longer seemed to capture it. The Griffin Powermate is plugged in via a USB cable into my computer. This is what it looks like: http://www.griffintechnology.com/support/powermate

So like I said, my problem is, once I shut off the Griffin software cabvol doesn't seem to pick it up. Any ideas on how to make this happen?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Are you sure it requires that Windows be the shell?  Can't you invoke the Griffin software when Hyperspin loads?

mamefreak2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 93
  • I'm a llama!
Are you sure it requires that Windows be the shell?  Can't you invoke the Griffin software when Hyperspin loads?
Unfortunately yes, it does require Windows to work. I have shelled Hyperspin and then opened the Task Manager and run the Griffin software. Nothing happened unfortunately. And this is consistent with what I heard from others that it needs Windows running in order to function.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
So does the Griffin do anything without its software running?  On other words, does MAME or any applications besides CabVol recognize any input from it? 

mamefreak2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 93
  • I'm a llama!
So does the Griffin do anything without its software running?  On other words, does MAME or any applications besides CabVol recognize any input from it?  
No, it doesn't do anything without the Griffin software running. And the Griffin software won't run without Windows. But the spinner shows up in my hardware devices even when the software isn't running.

How can I map cabvol to the spinner? I'm actually trying to finish my computer off tonight so I can get it into my cabinet this week. Any immediate help (if it's even possible to get it to work) would be appreciated. It seems somebody else was able to do this so I'm hoping you can help me.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
So when you spin it it doesn't move the mouse cursor or press any keys?  If not, I don't know of any way to get CabVol to recognize it. :(

mamefreak2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 93
  • I'm a llama!
So when you spin it it doesn't move the mouse cursor or press any keys?  If not, I don't know of any way to get CabVol to recognize it. :(
Ah that sucks. Oh well, nice try anyways. Thanks.

zanna5910

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 181
  • I want to build my own arcade controls!
Sorry to dig this up, but any chance in a "start minimized" option?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4524
    • Arcade Ambience Project
Yep just create a shortcut to it and set it to run 'minimized'.  Then drag that shortcut into your startup folder.

zanna5910

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 181
  • I want to build my own arcade controls!
Yep just create a shortcut to it and set it to run 'minimized'.  Then drag that shortcut into your startup folder.

Gracias.   You learn something new every day.

IG-88

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2035
  • Posts: 48,764
Hey ahofle! Fantastic little piece of software you've made here. Wiring volume pots, taking apart speakers, drilling holes in cabs mounting hardware ect ect is a thing of the past for me thanks to this! You have made my life a WHOLE lot easier. Many thanks!!  :cheers:  Downloaded and installed in about 2 min. Works like a champ. Only wish I had found this earlier!
"I know what a HAL 9000 is... I was wondering if HAL 7600 was his retarded cousin or something..."
-HarumaN

flaviometal

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • I want to build my own arcade controls!
Excelent work, ahofle! 

Question: is there a way to make this work with a "non-keyboard based" arcade controler? Make the software recognize a gamepad or something? I've tried with Joy2key without success...

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 200
  • I want to build my own arcade controls!
Hi,

Not sure if this is still being developed, but it would amazing to have a setting to only allow 1 instance of the app to be running. I have it in a startup script for HyperSpin, which means that during testing, I end up with tons of instances of the app running (as I close and re-open HyperSpin)

bulbousbeard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 522
  • I want to build my own arcade controls!
Can someone help me understand the point of this program?

Don't J-PAC/I-PAC encoders let you map buttons to volume controls anyway?

Is it mainly for mice? I guess I can see it if it's for mice.

EMDB

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 843
  • Project RetroCade
Not everybody uses an I/J-PAC...

bulbousbeard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 522
  • I want to build my own arcade controls!
I'm adding native support for this into Big Blue, so you'll be able to map keys to volume up, down, and mute without needing a separate program.

HHH

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • I want to build my own arcade controls!
Hi, first of all thanks for this good program

but it doesnt work in Windows 10 for me

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31