Yo!
I was bored and did write a java version of the awk-script, which is much faster and offers a map optimizer (tries to merge multiple lines into one (not tested yet)).
And as a plus, it does not only make one map at a time, no, it can convert whole directories...
If anyone wants it, here is it: (see attachment).
=== Edit: ===
New Version allows to convert any .txt file, not just _1.txt ones.
Also allowes to set a destination directory.