2020-01-04, 22:10
AML 0.9.11 gets an error when parsing History.dat 2.17:
The section of History.dat 2.17 causing the error is:python:2020-01-04 11:49:56.338 T:772 NOTICE: AML INFO : mame_load_History_DAT() Parsing "C:\EMU\MAME\ini\history.dat"
2020-01-04 11:49:56.707 T:772 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: Wrong header "$megadriv=" (line 86,415)
Traceback (most recent call last):
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.program.AML\addon.py", line 36, in <module>
resources.main.run_plugin(sys.argv)
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.program.AML\resources\main.py", line 405, in run_plugin
command_context_setup_plugin()
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.program.AML\resources\main.py", line 6088, in command_context_setup_plugin
data_dic = mame_build_MAME_main_database(g_PATHS, g_settings, control_dic, __addon_version__)
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.program.AML\resources\mame.py", line 3872, in mame_build_MAME_main_database
(history_idx_dic, history_dic, history_version) = mame_load_History_DAT(HISTORY_FN.getPath())
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.program.AML\resources\mame.py", line 788, in mame_load_History_DAT
raise TypeError('Wrong header "{}" (line {:,})'.format(line_str, line_number))
TypeError: Wrong header "$megadriv=" (line 86,415)
-->End of Python script error report<--
AML 0.9.11 loads History.dat 2.16 OK and seems to be working fine with MAME 0.217python:$megadriv=
$vgmplay=archrivl_md,
$bio