How to properly create textfiles to put into pk2

10/27/2020 16:59 sro_hunter#1
Hello everyone,

I am developing a small tool which helps me modify my db and pk2 simultaneously.

My problem might sound stupid because it seems so easy but I have not yet been able to programatticaly create my own textfiles (e.g. "refshopgoods.txt") that will work properly in my Media.pk2

Can someone please give me a short overview about what I need?

As far as I could observe, the textfiles shall just be tab separated representations of the respective db table and include only entries where 'Service' is active.

Any help is appreciated!
10/27/2020 17:36 Over56#2
you can take a look into dbtomedia source code
you may find your answer there