Update quickguide

This commit is contained in:
kyO The NinjA 2020-05-28 23:25:59 -03:00
parent 2154edefb1
commit 19418d3da8
2 changed files with 6 additions and 8 deletions

View File

@ -19,7 +19,7 @@
![venv](quickguide.assets/venv.png) ![venv](quickguide.assets/venv.png)
You can see that now python has created some folders and files in the venv folder, it has created a completely clean virtual environment, thus preventing any conflicts. You can see that now python has created some folders and files in the venv folder, it has created a completely clean virtual environment, thus preventing any conflicts.
* Now, it is necessary to activate the virtual environment in command line, go to project root and type `.\venv\scripts\activate.bat` * Now, it is necessary to activate the virtual environment in command line, go to project root (the same where you have the file alas.py) and type `.\venv\scripts\activate.bat`
![venv_activate](quickguide.assets/venv_activate.png) ![venv_activate](quickguide.assets/venv_activate.png)

View File

@ -313,7 +313,7 @@ def main(ini_name=''):
# ==========event_daily_ab========== # ==========event_daily_ab==========
event_ab_parser = subs.add_parser('event_daily_ab') event_ab_parser = subs.add_parser('event_daily_ab')
event_name = event_ab_parser.add_argument_group('Choose an event', '') event_name = event_ab_parser.add_argument_group('Choose an event', '')
event_name.add_argument('--event_name_ab', default=default('--event_name_ab'), choices=event_folder, help='E.g event_20200326_cn') event_name.add_argument('--event_name_ab', default=default('--event_name_ab'), choices=event_folder, help='E.g event_20200521_en')
# ==========main========== # ==========main==========
main_parser = subs.add_parser('main') main_parser = subs.add_parser('main')
@ -325,19 +325,17 @@ def main(ini_name=''):
event_parser = subs.add_parser('event') event_parser = subs.add_parser('event')
description = """ description = """
Support "Songs under the dome" (event_20200521_cn), optimized for D1D3 Support "Iris of Light and Dark Rerun" (event_20200521_en), optimized for D2
    D3 has a plot battle when he first enters the picture and clears 100%, which will cause an error.
    When the attack level is not optimized or the map does not reach the safe sea area, use the wasteland mode to run (slower)
""" """
event = event_parser.add_argument_group( event = event_parser.add_argument_group(
'Choose a level', '\n'.join([line.strip() for line in description.strip().split('\n')])) 'Choose a level', '\n'.join([line.strip() for line in description.strip().split('\n')]))
event.add_argument('--event_stage', default=default('--event_stage'), event.add_argument('--Event map', default=default('--Event map'),
choices=['a1', 'a2', 'a3', 'b1', 'b2', 'b3', 'c1', 'c2', 'c3', 'd1', 'd2', 'd3'], choices=['a1', 'a2', 'a3', 'b1', 'b2', 'b3', 'c1', 'c2', 'c3', 'd1', 'd2', 'd3'],
help='E.g d3') help='E.g d3')
event.add_argument('--sp_stage', default=default('--sp_stage'), event.add_argument('--SP map', default=default('--SP map'),
choices=['sp1', 'sp2', 'sp3'], choices=['sp1', 'sp2', 'sp3'],
help='E.g sp3') help='E.g sp3')
event.add_argument('--event_name', default=default('--event_name'), choices=event_folder, help='E.g event_20200312_cn') event.add_argument('--Name event', default=default('--Name event'), choices=event_folder, help='There a dropdown menu with many options')
# ==========半自动========== # ==========半自动==========
semi_parser = subs.add_parser('semi_auto') semi_parser = subs.add_parser('semi_auto')