HoraceAndTheSpider / Amiberry-XML-Builder

Python script to scan LHA files for WHDLoad integration in Amiberry
13 stars 3 forks source link

Bye blank lines + Remove any non-ASCII chars for good #61

Closed nemo93 closed 4 years ago

nemo93 commented 4 years ago

Hello! I've been looking at hardening the code around non ASCII chars to prevent issue with Amiberry/Retropie.

  1. I went for an easy kill => to remove any line with a non-ASCII character. I don't see any obvious reason to keep non ASCII char in XML. Please keep me honest.
  2. I commented the hardcoded value.
  3. blank lines removed as well and also let's make sure any line with "screen_offset" get deleted.
HoraceAndTheSpider commented 4 years ago

Happy with this now explained :)