This repository was archived by the owner on Apr 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
53 lines (43 loc) · 1.56 KB
/
Copy pathconfig.py
File metadata and controls
53 lines (43 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# GamesManager configs
# ver.1
# By Clok Much
# suffix of dir is '\\'
class Default:
games_main_dir = "D:\\Game\\"
games_shortcuts_subdir = "!Index\\"
games_list_sub = "games_lists.json"
interrupt_inct_sub = "games_lists_interrupt"
games_file_type = [".exe"]
launcher_file_type = [".bat", ".cmd"]
no_symbols = ('/', '\\', '?', '*', '"', '|', ':', '<', '>')
class GamesPoolOfExternalStorage:
# config for external storage of games
auto_select_the_external_storage_pool = True
pool_subdir = "Game\\"
games_shortcuts_subdir = Default.games_shortcuts_subdir
pool_games_list = "pool_game_list"
class MultiProcess:
# config for multi-process
main_switch = False
multi_process = True
process_bar = True
class ListOrder:
# config for list order
# If main_switch is False: order by game name.
main_switch = False
order_method = "name"
"""
Supported modes:
1. name : order by game name (Full name of game, not file name);
2. date : order by added index;
3. random : order randomly (not suggest).
If not supported modes, list will be ordered by full game name.
Do NOT edit supported modes beyond to avoid unexpectedness.
"""
supported_modes = ["name", "date", "random"]
class XPrintColor:
# config for print colors
queue = ("\033[0;30;40m", "\033[0m") # normal, fore-black, back-yellow.
processing = ("\033[5;30;40m", "\033[0m") # flash, fore-black, back-yellow.
bold = ("\033[1;30;40m", "\033[0m") # just bold.
default = ("", "") # nothing.