Skip to content

Export Account via csv#102

Open
TobiasB91 wants to merge 2 commits into
Healix:masterfrom
TobiasB91:master
Open

Export Account via csv#102
TobiasB91 wants to merge 2 commits into
Healix:masterfrom
TobiasB91:master

Conversation

@TobiasB91

Copy link
Copy Markdown

Hi,

I couldn't find a way to easily export the account information into a non-binary format, so I added a command line flag to create 2 csv files with all gw1 and gw2 accounts respectively. I needed that because I always created my accounts on-the-fly and added it to the launcher right away , resulting in me having lost track of all my mail addresses connected to accounts...

I don't really know C#, so this patch might need some work, but I wanted to share it anyways.

Thanks for your good work!

@Healix

Healix commented Dec 9, 2021

Copy link
Copy Markdown
Owner

I've added CSV exporting to the beta version, found under Settings > Tools. I quickly threw it together as a sample and will eventually add to it, including importing, which has been requested before.
https://github.com/Healix/Gw2Launcher/raw/master/Gw2Launcher/bin64/Beta/Gw2Launcher.exe

@SamMackrill

Copy link
Copy Markdown

Alternatively, abandon the hard to maintain binary settings and use json instead. I have just implemented my own account extraction using the binary file and it wasn't fun :)

@Healix

Healix commented Jan 11, 2022

Copy link
Copy Markdown
Owner

I have just implemented my own account extraction using the binary file and it wasn't fun :)

You're extracting the account data from settings.dat rather than modifying the source to simply dump the settings? The positioning of the data varies depending on the configured settings and version, so that's going to easily break.

Was there something you needed that the CSV export didn't do?

@SamMackrill

Copy link
Copy Markdown

I have just implemented my own account extraction using the binary file and it wasn't fun :)

You're extracting the account data from settings.dat rather than modifying the source to simply dump the settings? The positioning of the data varies depending on the configured settings and version, so that's going to easily break.

Was there something you needed that the CSV export didn't do?

Yes I know :) I was tuning my auto harvesting script by using the dat files in gw2launcher. Didn't even know the beta had a CSV export :D But seriously man a binary settings file is just pure pain, why would you do that to yourself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants