Assuming you have downloaded the ArknightsGameData repository from Kengxxiao/ArknightsGameData at a local path: D:\ArknightsGameData
Open powershell (Recommended) or cmd at the folder of this repo
The first path is the path to the script
py .\xlsxconvert.py -h
The second path is the path to the GameData
Use -E
to list all event in corresponding server.
Use -L [Langcode]
to config the server (default is zh_CN
, so you can skip this if you're working on zh_CN
server)
py .\xlsxconvert.py D:\ArknightsGameData -E -L en_US
possible output:
List of Events in en_US:
| Index: Eventid Eventname
===ACTIVITY===
| 0 : 1stact Grani and the Knights' Treasure
...
===MAINLINE===
| 5 : main_0 Evil Time, Part 1
...
From the event list above we can get the eventid, for example 1stact
is the eventid of Grani and the Knights' Treasure
, so we put it after -e
command
-c
enable Code Comment output
-i
enable Story Info output in menu
py .\xlsxconvert.py D:\ArknightsGameData -e 1stact -L en_US -c -i
or you can also use the index instad of eventid, but keep in mind that the index maybe changed
py .\xlsxconvert.py D:\ArknightsGameData -e 0 -L en_US -c -i
possible output:
==========================
Status:
Character CG output: False
Code Comment output: True
Story Info output: True
==========================
27 txt files dectected
Txt file ui_act5d0_firstenter.txt exported (1/27)
...
Exported to act5d0_Code of Brawl.xlsx
Then you can find the file named act5d0_Code of Brawl.xlsx
under the same folder
Sometimes you don't need to download the whole GameData folder, you can also config the second path to the path of raw story file:
py .\xlsxconvert.py D:\ArknightsGameData\en_US\gamedata\story\activities\act6d5\level_act6d5_st03.txt
which will export the file you chose
or config the second path to the folder path of raw story file:
py .\xlsxconvert.py D:\ArknightsGameData\en_US\gamedata\story\activities\act6d5\
which will export all file in this folder
However, this method won't be able to generate menu and story info.