I wouldnt recommending editing the dat files directly, encase you make a mistake or write to the wrong dat file (ie. the official ones). If you do decide to release a mod, then you cant test it with an vanilla game.
I know X3Editor2 can compress, extract, edit files. however I gotten used to using ModManager to extract and compress the file, then one of the editors to change the file. I think in the past the editors didnt have a very good track-record.
oh, and has for which version of the file to use. This is why I said about extracting the dats to another folder. Start with 01, then go through to the last one. As you do it, replace any matching files. This will mean you will be left with the most up-to-date version of the file. The game uses last 'copy' of the file.