-
Notifications
You must be signed in to change notification settings - Fork 0
Tools modules
Before running any script, it is important to create some useful functions, which may be reuse several times. Well, here you can find a list of all files whose main goal is to be used by other files.
Of course, some of those files still have a main
part, however do not expect it to do some awesome work.
- util.py: Define several constants, globals variables and functions which are used by most (if not all) other files.
- wikiUtil.py: Define several functions which will perform some request to the Wiki's API.
- mapUtil.py: Define several functions which generate wikicode used on most pages.
-
reward.py: Define a single function,
parseReward
and several constants used for reward generation. - scenario.py: Define some functions for the scenario part of pages.
DerivedMapSettings.py is a file which simply holds two constants, and is only use by DerivedMap.py.
A list of objects used to determined which kind of derived map is currently on look.
Each object is composed of three fields:
-
value
: A list of object with the following fields:-
name
: The name of the type of derived map. -
diff
: A list of difficulties.
-
-
mapCond
: A list of objects with the following fields. This list must have the same size asvalue.diff
.-
true_lv
: The level of enemies on the map. -
rarity
: The rarity of enemies on the map. -
promotion_tier
: An unknown fields which seams to always be 1. -
hp_factor
: The percentage of enemies hp relativ to the original map.
-
-
extraCond
: A list of lambda. This list must have the same size asvalue
. Each lambdas take the id_tag of the group and the index of the battle.
Same as DERIVED_SETTINGS
, but value.name
may differ.
This one shall not be used.
plistSplitter.py is a file that only holds a main.
python3 plistSplitter.py [file [...]]
For each .plist
files passed as parameters, look for the associated .png
, and split it according to the plist. Save each files on the directory ../Cropped/
.
wepMgSplitter.py is a file that only holds a main.
python3 wepMgSplitter.py [wep_mgXXX.png [...]]
For each images passed as parameters split it according to 56x64 and 128x64+48+0. Save each files on the directory ../Cropped/
by appending _1
and _2
to the files.
- Util
- Maps
- StoryParalogue.py
- TD.py (Tactics Drills)
- HO.py (Heroic Ordeal)
- DerivedMap.py
- HB.py (* Hero Battle)
- RD.py (Rival Domains)
- EventMap.py
- Events
- Others
- REUtil.py
- Reverse.py
- Events
- RevVG.py
- RevTT.py
- RevTB.py
- RevGC.py
- RevFB.py
- RevRS.py
- RevLL.py
- RevHoF.py
- RevMS.py
- RevFP.py
- RevPoL.py
- Others
- RevData.py
- RevMap.py
- RevQuests.py
- RevSound.py
- RevUnit.py