Forums » Community Projects

Targetless ore question

Apr 25, 2015 Jaks link
Does anyone have an easy way to merge the targetless ore database with another and then remove the duplicates? I seem to be overthinking this. lol
Apr 29, 2015 Kierky link
Not an easy way, no, last I checked targetless stores its data in the systemnotes files (found in settings/<yourchar>/notes.txt)

You could design a plugin to merge the data, which shouldn't be too hard, unspickling the raw data from both, running a pairs loop to check for that duplicate sector data, and write it to a new systemnotes file with the data that is most accurate (or exists).
May 13, 2015 greenwall link
whose database are you stealing? lulz
May 13, 2015 Pizzasgood link
He's probably just merging data between alts.
Oct 08, 2015 Jaks link
What Pizzagood said.

Found this perl script but I'm assuming the targetless file format changed so the script reports "./system741937notes.txt
does not appear to contain targetless data!"

https://github.com/WonkoTheDolphin/Miner-Notes
Oct 09, 2015 meridian link
I tried it and was able to load a file without any errors. As far as I know, the targetless file format is unchanged from 2010. My guess would be that you wrote a note for one of your roids and a special character therein is messing up the script parser.

That said, the script doesn't appear to be very reliable. It only found 938 roids in the file I loaded, which seems extremely low. And the file I exported was 1% of the size of the original file.
Oct 10, 2015 Jaks link
I noted at the beginning of each system notes file there was a ' "",""; '. By removing it the script read the files and i was able to merge. And after doing a few face palms at my own lack of sanity (ie ignored a line in the readme file) everything seems to work.

Specifically, to merge a second file one clicks on "Merge this file with current data" (after typing the second files name) instead of clicking 'Load this file'.
Mar 22, 2016 Nyscersul link
Worked fine for me. I used a debug database first so i could make sure it was merging correctly. No troubles, beyond those needed to get to grips with linux for the first time, learn apt-get and cpanm to get perl working with the script hahahahaha MANY THANKS TO WONKO THE DOLPHIN!!!!