Forums » Community Projects
Targetless ore question
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
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).
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).
whose database are you stealing? lulz
He's probably just merging data between alts.
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
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
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.
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.
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'.
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'.
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!!!!