Viewing Issue Advanced Details
|ID||Category [?]||Severity [?]||Reproducibility||Date Submitted||Last Update|
|06359||Interface||Major||Always||Sep 1, 2016, 12:09||Sep 1, 2016, 14:33|
|Tester||ozfalcon||View Status||Public||Platform||MAME (Self-compiled)|
|Assigned To||Resolution||Invalid report||OS||Linux (32-bit)|
|Version||0.177||Fixed in Version||Build||Normal|
|Summary||06359: Lua hiscore.ini configuration file: The first line from file IO appears to have unwanted data returned|
When trying to set the hiscore game save path the plugin would fail (Path is assigned NIL value).
On further investigation, Plugin would work if the 1st line was a dummy entry - Which indicated an issue with IO for first line.
I have made a plugin which highlights the issue for easy reproduction and observation.
|Steps To Reproduce||
Simply unzip the "loadtable" plugin and drop into your plugins directory.
Run mame from command line, No rom is required.
Observe the "loadtable" plugin printed output.
Notice the string length does not match the actual characters visible in the displayed string.
Displayed output from "loadtable" plugin.
|Affected Sets / Systems||Lua hiscore.ini configuration file|
loadtable.zip (1,335 bytes) Sep 1, 2016, 12:20 Uploaded by ozfalcon
Demonstrate bug plugin
|There are no relationsihp linked to this issue.|
Sep 1, 2016, 14:33
|Your loadtable.ini has a utf-8 bom at the start. I don't know what editor you used to create it but you need to save it without the bom.|