Author Topic: format Filter.ini  (Read 9349 times)

djenn

  • Member
  • *
  • Posts: 2
    • View Profile
format Filter.ini
« on: 15 Jan 2018, 09:22:55 »
Ik wil aan PDW een aantal filters toevoegen voor Drenthe.
Daartoe had ik een lijst gedownload met capcodes en omschrijvingen, mbv van visual basic heb die lijst omgezet in een formaat zoals het in filters.ini staat.
Alleen weigert pdw te starten met die lijst.
Ik heb al met een hex editor gekeken of er speciale regel afsluitingen zijn maar dat lijkt me niet.
Dus mijn vraag is of er speciale dingen zijn waar ik op moet letten als ik buiten het programma om een filterbestand aanmaak.


VidarParry

  • Top Member
  • ***
  • Posts: 126
    • View Profile
Re: formaat Filter.ini
« Reply #1 on: 15 Jan 2018, 11:29:14 »
Unfortunately I can only read English:-)
Cheers
...Steve

Discriminator

  • Administrator
  • Top Member
  • ***
  • Posts: 185
    • View Profile
Re: formaat Filter.ini
« Reply #2 on: 15 Jan 2018, 12:18:43 »
De voertaal op dit forum is Engels. Voor ondersteuning bij het gebruik van PDW verwijs ik je naar het Scannerforum (Scannersoftware > PDW).

Language on this forum is English. For PDW support in Dutch, please refer to scannerforum.nl

-Rene

djenn

  • Member
  • *
  • Posts: 2
    • View Profile
Re: formaat Filter.ini
« Reply #3 on: 15 Jan 2018, 17:22:17 »
Ok well, I'm trying to convert a list of cap codes and insert the converted list in the filters.ini file.
I use visual basic to do so.
But PDW refuses to start when i use it with this list, I thought it had something to do with special line endings in the .ini file and I checked with a hex editor but i cannot see any difference between the origional file and the file that i created so I wonder is there a special way to add filters (except  adding them in PDW by hand)?

VidarParry

  • Top Member
  • ***
  • Posts: 126
    • View Profile
Re: formaat Filter.ini
« Reply #4 on: 15 Jan 2018, 17:45:19 »
Hi djenn,

I've successfully added to and edited filters.ini by hand using Notepad and Notepad+. Note that the format and structure is tightly defined and mistakes can easily be made that cause it not to function  as expected.

My guess would be that VB is inserting additional characters in your filters.ini file.

I suggest you hexview a standard filters.ini and a VB produced filters.ini and see if there is a difference in the end of line and end of file characters.

Cheers
...Steve