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
Lightguns Arcade1Up Try the site in https mode Site News

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

  

Author Topic: Startup of PC with Keywiz & Mamewah - no sound in Mamewah initially - fixed  (Read 777 times)

0 Members and 1 Guest are viewing this topic.

whatisk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:March 27, 2017, 06:41:39 am
  • Nothing to see here
Currently my MAME PC runs a batch file which programs the Keywiz Max with a custom codeset and then runs Mamewah.

I have set the taskbar to autohide and in the startup group I have a shortcut to the batch file set to run minimised. This is all good, as when it boots the background picture is showing (it has a message on there saying to 'please wait') and you can't see the startbar or dos box.

What does happen though, is that when Mamewah loads up through the link to the batch file, I get no sounds from it until I run a game and exit back to it. After that, all sounds work fine.

With a little experiementing, I have found that if I run the batch file directly, rather than via a shortcut, the sound works fine when it first goes into Mamewah. However, the obvious problem with this is that the dos box is then not minimised to the taskbar (and effectively hidden).

I would much prefer have the keywiz program itself prior to going into the FE, as if the FE runs prior to the programming being complete, it appears to get some key commands which runs a game and then the programming doesn't seem to complete itself until you exit the game (which can be difficult without the encoder being fully programmed).

I have tried moving the batch file to the Mamewah folder and setting the working path in the link to the Mamewah folder. I have also tried various combinations of having the keywiz program in the Run setting in the registry and running the link file and batch file in the Run setting in the registry (in separate tests obviously
« Last Edit: May 22, 2005, 06:53:30 pm by whatisk »
No trees were harmed in the creation of this post. Though several electrons were severely inconvenienced.

whatisk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:March 27, 2017, 06:41:39 am
  • Nothing to see here
Okay, after more searching around the net and experimentation, I have found a solution.

What I needed to do was change the layout properties for the cmd.exe window.

I set the window size height and width in the layout tab to 1.
I also set the window position left to the lowest figure I could and the top figure to the highest.

When done, I set it to be those settings for all windows with that title. Now when I place the batch file in the startup group, it runs as a small white line at the bottom left of the screen and when Mamewah comes up, I get the sound straight up.

Only side effect with doing it this way is that any window with the title cmd.exe that opens will appear as the small line at the bottom of the screen. Of course, in a dedicated MAME cab, this is not an issue as I won't be running command prompts on it except for running batch files for different functions.
No trees were harmed in the creation of this post. Though several electrons were severely inconvenienced.