Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Linux support and a command line parse once usage #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Suor
Copy link

@Suor Suor commented Sep 10, 2023

Running python BBParser.py will still open GUI, but now will also work on Linux.

Additionally one may run:

python BBParser.py parse <data-dir> <log-filename>

to parse log.html once and write config files. The intended usage is to run every time before Battle Brothers. E.g. when using Steam one can go to Properties -> General -> Launch Options and fill in (using your directory names):

python /path/to/BBParser.py parse ~/.local/share/Steam/.../data ~/.../log.html; %command%

This will parse the previous log prior starting Battle Brothers.

On Windows it should be possible to replace python /path/to/BBParser.py with /path/to/BBParser.exe in all commands above.

Running `python BBParser.py` will still open GUI, but now will also work
on Linux.

Additionally one may run:

    python BBParser.py parse <data-dir> <log-filename>

to parse `log.html` once and write config files. The intended usage is
to run every time before Battle Brothers. E.g. when using Steam one can
go to Properties -> General -> Launch Options and fill in (using your
directory names):

python /path/to/BBParser.py ~/.local/share/Steam/.../data
~/.../log.html; %command%

This will parse the previous log prior starting Battle Brothers.

On Windows it should be possible to replace `python
/path/to/BBParser.py` with `/path/to/BBParser.exe` in all commands
above.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant