Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAMEHub 4.0 tries to run csume64.exe on 32bit Win7. #377

Open
Xorcist77 opened this issue Apr 24, 2016 · 2 comments
Open

MAMEHub 4.0 tries to run csume64.exe on 32bit Win7. #377

Xorcist77 opened this issue Apr 24, 2016 · 2 comments

Comments

@Xorcist77
Copy link

Seems that MAMEHub is always trying to run csume64.exe instead of csume.exe under 32bit Win7.

The error generated is:

Cannot run program "csume64.exe": CreateProcess error=193, %1 is not a valid Win32 application
java.lang.ProcessBuilder.start(Unknown Source)
java.lang.Runtime.exec(Unknown Source)
java.lang.Runtime.exec(Unknown Source)
com.mamehub.client.MameHubEngine.launchGame(MameHubEngine.java:152)
com.mamehub.client.MainFrame$4.mouseClicked(MainFrame.java:617)
java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$200(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)

@Gitweazle
Copy link
Contributor

Gitweazle commented Apr 26, 2016

Thanks for reporting!
Make sure you delete or rename csume64.exe because MAMEHub prioritizes it over the 32-bit executable csume.exe

I think 32 bit users run into this problem because the official MAMEHub download already contains a 0 byte csume64.exe after installation.

@Xorcist77
Copy link
Author

Yes that worked, I renamed the csume64.exe so it would find the csume.exe.

Does Java not supply a reliable means of determining the underlying processor architecture? Seems like there should be some way to determine if it's x86 or x64 and use the proper csume rather than potentially incorrect defaulted prioritization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants