Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Re: MAME 0.172-0.204 freezes on Initialization Screen [Re: jh79] #114435
12/14/18 04:50 AM
12/14/18 04:50 AM
Joined: Feb 2004
Posts: 2,037
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,037
Sydney, Australia
Virtual keyboards aren't necessarily a problem, provided you know where they come from and the driver that provides them is working correctly. For example, my workstation has two virtual keyboards: one is provided by the Wacom tablet driver, and one is provided by the Logitech mouse driver. They're needed so that tablet or mouse inputs mapped to keyboard combinations/macros work correctly with applications and games that read keyboard(s) using RawInput or HID APIs. These two virtual keyboards don't cause a problem with MAME on my system. If you don't know where your virtual keyboards are coming from, you probably have a problem though (maybe something not uninstalled properly).

You can try changing the keyboard input module and see if it changes the behaviour - if it's really a problem with the keyboards this will likely fix it. Add "-keyboardprovider win32" to the command line (without the quotes) and see whether the behaviour changes.

Some people have reported trouble with certain sound drivers with MAME on Windows. Can you try adding "-sound none" (without the quotes) to your command line to completely disable audio output? If that changes the behaviour it could be a sound driver issue, and you can try reinstalling your sound drivers or using a different MAME sound output module (xaudio2, dsound or portaudio).

You could try running with different video modules, too - try "-video opengl" or "-video bgfx" (without the quotes) and see if anything changes. Sometimes DirectX 9 drivers are problematic, but OpenGL drivers or the DirectX 11 drivers used by BGFX work better.

Re: MAME 0.172-0.204 freezes on Initialization Screen [Re: jh79] #114436
12/14/18 11:17 AM
12/14/18 11:17 AM
Joined: Aug 2004
Posts: 1,370
Robbbert Online content
Very Senior Member
Robbbert  Online Content
Very Senior Member
Joined: Aug 2004
Posts: 1,370
I saw on another forum that "-keyboardprovider dinput" might do something.

Re: MAME 0.172-0.204 freezes on Initialization Screen [Re: jh79] #114437
12/14/18 01:42 PM
12/14/18 01:42 PM
Joined: Mar 2001
Posts: 16,138
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,138
USA
win32 as Vas suggested is most compatible. dinput frequently has trouble with these weird software key injectors too.

Re: MAME 0.172-0.204 freezes on Initialization Screen [Re: jh79] #114438
12/14/18 06:18 PM
12/14/18 06:18 PM
Joined: Nov 2018
Posts: 7
J
jh79 Offline OP
Member
jh79  Offline OP
Member
J
Joined: Nov 2018
Posts: 7
Guys, unbelievably the issue is solved 1 day after joining this awesome MAME forum, when I had no clue how to fix it for months.

I spent the whole day so far trying out ALL of your potential solutions which led me to the actual solution at the end (all credit goes to you guys, I want you to know that). You all were really so very helpful, what a community! I went to Device Drivers on Windows 10 and started testing and uninstalling each driver one by one. There was one Logitech driver that was the culprit among all my other Logitech drivers. After I uninstalled it MAME64 0.202 works perfectly now.

My exuberance is more relief after these months of it freezing on initialization of roms. It must have clashed with some MAME64 0.172 and above code when the Dev team put something into that patch, since it didn't affect the loading of ROMs for MAME64 0.171 and below. Thank God I did not have to reformat, which was suggested by someone else, elsewhere, and would have been my last resort to be honest.

I will now upgrade to the latest MAME64 0.204 for testing. I will then most likely acquire a drive with Hyperspin as the front end since I know the newest MAME64 now works on my system, I have all the roms for 0.202 and could attempt to do it myself but that seems like weeks/months of work and I really want Hyperspin working out of the box. I don't really want to learn the whole Hyperspin interface and then program each game to work right and add artwork, seems like a steep learning curve. So acquiring a drive online I believe is the way to go for me, I have seen some people selling them online.

I may start a new thread soon and ask you guys what settings you use for the newest MAME like video drivers, etc. that stuff really interest me and this has opened up the latest MAME to me now. I Hope this whole thread can help someone else out in the future in my predicament and again thank you all for your quick assistance, this community rocks!

Last edited by jh79; 12/14/18 06:24 PM.
Page 2 of 2 1 2

Who's Online Now
2 registered members (R. Belmont, 1 invisible), 47 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,635
Posts113,008
Members4,842
Most Online324
Dec 20th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.023s Queries: 15 (0.008s) Memory: 5.6634 MB (Peak: 5.8381 MB) Zlib enabled. Server Time: 2019-03-26 21:17:33 UTC