Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

I try to auto-install Mame but every time I try it I get this error:

Could not install MAME because the archive could not be extracted; perhaps it is corrupt or files are in use?

App: LaunchBox
Version: 12.11
Type: System.AccessViolationException
Site: Unbroken.LaunchBox.Windows.Data.Emulator Install(System.Action1[System.Double], System.Func1[System.Boolean], Boolean, System.String, System.String, System.String)
Source: Unbroken.LaunchBox.Windows

at Unbroken.LaunchBox.Windows.Integrations.MAME.MameInstaller.Install(Action1 progressAction, Func1 getCancelledFunc, Boolean createEmulator, String folderPath, String version, String platform)
at Unbroken.LaunchBox.Windows.Desktop.ViewModels.MameFullSetWizardInstallMameViewModel.UpdateSupportedAttribute()
at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.ManageInvalidStrategy()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

Recent Log:

14:07:33 Exception

  • 2 months later...
Posted

Hi there

 

I have the same exact error. Any clue?  I have deleted Mame 0.245 from Emulators folder and some temp files i have seen, but still same error.

 

OS: Windows 11

Mame Romset version: 0.245

Launchbox 12.13

Quote


Could not install MAME because the archive could not be extracted; perhaps it is corrupt or files are in use?

App:     LaunchBox
Version: 12.13
Type:    System.AccessViolationException
Site:    Unbroken.LaunchBox.Windows.Data.Emulator Install(System.Action`1[System.Double], System.Func`1[System.Boolean], Boolean, System.String, System.String, System.String)
Source:  Unbroken.LaunchBox.Windows

   at Unbroken.LaunchBox.Windows.Integrations.MAME.MameInstaller.Install(Action`1 progressAction, Func`1 getCancelledFunc, Boolean createEmulator, String folderPath, String version, String platform)
   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.MameFullSetWizardInstallMameViewModel.RemovePrincipalManager()
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.CalculateObservableInvocation(Object )
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.PopAbstractInvocation()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ThreadHelper.ThreadStart()

Recent Log:

   3:07:19 Exception

 

 

  • 2 years later...
Posted

Having the same issue here at version 13.16 and romset 0.270. Any luck anybody still in 2024 having the same issue. This is the complete code error:

Could not install MAME because the archive could not be extracted; perhaps it is corrupt or files are in use?

App:     LaunchBox
Version: 13.17
Theme:   Default
Type:    System.AccessViolationException
Site:    Unbroken.LaunchBox.Plugins.EmulatorInstallResponse InstallEmulator(Unbroken.LaunchBox.Plugins.InstallEmulatorArgs)
Source:  Unbroken.LaunchBox.Windows.Mame

   at Unbroken.LaunchBox.Windows.Mame.MamePlugin.InstallEmulator(InstallEmulatorArgs args)
   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.MameFullSetWizardInstallMameViewModel.SearchInterruptibleContext(Object , Object )
   at Unbroken.LaunchBox.Windows.Desktop.ViewModels.MameFullSetWizardInstallMameViewModel.LogoutGenericServer()
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.ComputeIterableProcessor(Object )
   at Unbroken.LaunchBox.Windows.Threading.<>c__DisplayClass0_0.InstantiateScopeException()
   at System.Threading.Thread.StartHelper.Callback(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Thread.StartCallback()

Recent Log:

   6:35:37 PM Exception

  • 10 months later...
Posted

I had the same issue and I managed to fix it by the following.

 

What I noticed was that when it tried to update Mame, it would crash even before it downloaded any files.

I saw that under my Launchbox/Emulators directory, it had several folders like Mame 0.281, Mame 0.281(1), Mame 0.281 (2) and all of these duplicate folders were empty.  I checked the Mame 0.281 and saw that it was not updated so I renamed it back to Mame 0.280 and then deleted all of the empty duplicate Mame folders.

I restarted Launchbox after the crash and saw that in Plugin Manager that there was an update so I selected to update and Launchbox installed the plugin and restarted again.

Now I am able to update Mame with Mame 0.281.

Maybe something with the plugin manager for Mame was the main issue.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...