maabus Posted April 30, 2021 Share Posted April 30, 2021 I am updating my Mame roms to 231. I deleted all the 230 roms, and i'm running the full mame import. I am getting an error at the end when it is parsing the roms. Data at the root level is invalid. Line 5642825, position 1. Does anyone know what this error is? Quote Link to comment Share on other sites More sharing options...
maabus Posted April 30, 2021 Author Share Posted April 30, 2021 I figured out what is happening. When launchbox is creating the listxml the following is getting appended to the end of the XML. I found this out because i created an xml for a program i'm working on and i got the same error message. Why would devreorder logs be added to the xml, and is there any way to stop it without having to remove devreorder? </mame> 11:16:17.494 00009888 devreorder: Calling hooked DirectInput8Create 11:16:17.496 00009888 devreorder: Loaded "C:\WINDOWS\system32\dinput8org.dll" 11:16:17.507 00009888 devreorder: in CreateHooks 11:16:17.507 00009888 Current process name: mame.exe 11:16:17.507 00009888 devreorder: using system-wide devreorder.ini 11:16:17.507 00009888 Ignored list: 11:16:17.507 00009888 devreorder: in CreateHooks 11:16:17.507 00009888 Current process name: mame.exe 11:16:17.507 00009888 Ignored list: 11:16:17.507 00009888 devreorder: using UNICODE interface 11:16:17.507 00009888 devreorder: CreateHook EnumDevicesW status MH_OK 11:16:17.517 00009888 devreorder: EnableHook EnumDevicesW status MH_OK 11:16:49.439 00009888 devreorder: Unloading C:\WINDOWS\system32\dinput8org.dll Quote Link to comment Share on other sites More sharing options...
Kiinkyfoxx Posted May 1, 2021 Share Posted May 1, 2021 Hi @maabus I had the same issue as yourself and the only way I have found so far is to rename the files in System32 and SysWOW64 when I do the update and then return them to the correct names for Devreorder to work again afterwards. If you find another way then I would be interested to hear about it, I have just set up a very basic AHK to allow me to do it with the press of a couple of buttons rather than having to rename the files manually full_command_line := DllCall("GetCommandLine", "str") if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)")) { try { if A_IsCompiled Run *RunAs "%A_ScriptFullPath%" /restart else Run *RunAs "%A_AhkPath%" /restart "%A_ScriptFullPath%" } ExitApp } ;Allow LaunchBox and Mame to update 1:: filemove, C:\Windows\system32\dinput8.dll, C:\Windows\system32\dinput8dev.dll, 1 filemove, C:\Windows\system32\dinput8org.dll, C:\Windows\system32\dinput8.dll, 1 filemove, C:\Windows\sysWOW64\dinput8.dll, C:\Windows\sysWOW64\dinput8dev.dll, 1 filemove, C:\Windows\sysWOW64\dinput8org.dll, C:\Windows\sysWOW64\dinput8.dll, 1 return ;Allow Devreorder to work again 2:: filemove, C:\Windows\system32\dinput8.dll, C:\Windows\system32\dinput8org.dll, 1 filemove, C:\Windows\system32\dinput8dev.dll, C:\Windows\system32\dinput8.dll, 1 filemove, C:\Windows\sysWOW64\dinput8.dll, C:\Windows\sysWOW64\dinput8org.dll, 1 filemove, C:\Windows\sysWOW64\dinput8dev.dll, C:\Windows\sysWOW64\dinput8.dll, 1 return ;Close AHK 3:: ExitApp I'm sure you have figured this out yourself or maybe even come up with a better solution but I have included the ahk above just in case it is any use to you or others. 1 - renames the files to allow you to do the update in LaunchBox 2 - puts the files back to the correct names after you have done the update 3- closes the ahk Cheers 2 Quote Link to comment Share on other sites More sharing options...
maabus Posted May 3, 2021 Author Share Posted May 3, 2021 Thanks Kiinkyfoxx i appreciate the help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.