Beta Advanced MAME Launcher - MAME frontend for Kodi
#84
(2019-03-15, 17:30)Dax9 Wrote: Hi Wintermute, I'm glad I could help.

I'd always kept the zipped samples in MAME's default samples folder, but also deleted the floppy and MM1_keyboard subfolders because Clrmamepro won't scan clean with them there.  I don't mind keeping the zipped samples in a separate folder.  Users will need to be aware to configure samplepath in mame.ini for both sample folders.

Non UTF-8 filenames in ZIPs are a difficult issue.  It seems that chardet is the most recommended solution, but it's not foolproof.

namelist() from ZipFile returns strings with an invalid encoding

Python zipfile module can't extract filenames with Chinese characters

Thanks for your inputs. I already look at chardet but it will increase the complexity of the addon a lot. I have rolled back to 1 sample directory and currently AML ignores ZIP files not coded in UTF-8. In MAME 0.205 only one machine fails the audit because of the samples, and only 1 SL item out of 100,000 is affected by the UTF-8 issue. It is not perfect but we can live with that I think Smile

Interestingly, there are other SL ZIP files with non-ASCII filenames in the Pleasuredome collection, and on those ZIP files the filenames are correctly encoded in UTF-8. The problem seems to be with one particular ZIP file in the ibm5170 list. I will report this issue in the PD forum, currently I'm getting the 0.207 collection and once I'm finished I will see the results of the audit.

I will release 0.9.9 soon.
Reply


Messages In This Thread
RE: Advanced MAME Launcher - MAME frontend for Kodi - by Wintermute0110 - 2019-03-22, 08:35


Logout Mark Read Team Forum Stats Members Help
Advanced MAME Launcher - MAME frontend for Kodi2
This forum uses Lukasz Tkacz MyBB addons.