gametools-global-mapping 0.1.17__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gametools-global-mapping might be problematic. Click here for more details.
- gametools_global_mapping-0.1.17.dist-info/METADATA +16 -0
- gametools_global_mapping-0.1.17.dist-info/RECORD +20 -0
- gametools_global_mapping-0.1.17.dist-info/WHEEL +4 -0
- global_mapping/__init__.py +0 -0
- global_mapping/battlebit.py +31 -0
- global_mapping/battlelog.py +159 -0
- global_mapping/bf1.py +652 -0
- global_mapping/bf1942.py +14 -0
- global_mapping/bf2.py +51 -0
- global_mapping/bf2042.py +1829 -0
- global_mapping/bf2142.py +39 -0
- global_mapping/bf3.py +299 -0
- global_mapping/bf4.py +406 -0
- global_mapping/bf5.py +1238 -0
- global_mapping/bf6.py +153 -0
- global_mapping/bfbc2.py +194 -0
- global_mapping/bfh.py +230 -0
- global_mapping/bfvietnam.py +30 -0
- global_mapping/marne.py +95 -0
- global_mapping/other.py +76 -0
global_mapping/marne.py
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
MODES = {
|
|
2
|
+
"Conquest0": "Conquest",
|
|
3
|
+
"Rush0": "Rush",
|
|
4
|
+
"BreakThrough0": "Shock Operations",
|
|
5
|
+
"BreakThroughLarge0": "Operations",
|
|
6
|
+
"Possession0": "War pigeons",
|
|
7
|
+
"TugOfWar0": "Frontlines",
|
|
8
|
+
"AirAssault0": "Air assault",
|
|
9
|
+
"Domination0": "Domination",
|
|
10
|
+
"TeamDeathMatch0": "Team Deathmatch",
|
|
11
|
+
"ZoneControl0": "Rush",
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
SMALL_MODES = {
|
|
15
|
+
"Conquest0": "CQ",
|
|
16
|
+
"Rush0": "RS",
|
|
17
|
+
"BreakThrough0": "SO",
|
|
18
|
+
"BreakThroughLarge0": "OP",
|
|
19
|
+
"Possession0": "WP",
|
|
20
|
+
"TugOfWar0": "FL",
|
|
21
|
+
"AirAssault0": "AA",
|
|
22
|
+
"Domination0": "DM",
|
|
23
|
+
"TeamDeathMatch0": "TM",
|
|
24
|
+
"ZoneControl0": "RS",
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
MAPS = {
|
|
28
|
+
"MP_Amiens": "Amiens",
|
|
29
|
+
"MP_Chateau": "Ballroom Blitz",
|
|
30
|
+
"MP_Desert": "Sinai Desert",
|
|
31
|
+
"MP_FaoFortress": "Fao Fortress",
|
|
32
|
+
"MP_Forest": "Argonne Forest",
|
|
33
|
+
"MP_ItalianCoast": "Empire's Edge",
|
|
34
|
+
"MP_MountainFort": "Monte Grappa",
|
|
35
|
+
"MP_Scar": "St Quentin Scar",
|
|
36
|
+
"MP_Suez": "Suez",
|
|
37
|
+
"MP_Giant": "Giant's Shadow",
|
|
38
|
+
"MP_Fields": "Soissons",
|
|
39
|
+
"MP_Graveyard": "Rupture",
|
|
40
|
+
"MP_Underworld": "Fort De Vaux",
|
|
41
|
+
"MP_Verdun": "Verdun Heights",
|
|
42
|
+
"MP_ShovelTown": "Prise de Tahure",
|
|
43
|
+
"MP_Trench": "Nivelle Nights",
|
|
44
|
+
"MP_Bridge": "Brusilov Keep",
|
|
45
|
+
"MP_Islands": "Albion",
|
|
46
|
+
"MP_Ravines": "Łupków Pass",
|
|
47
|
+
"MP_Tsaritsyn": "Tsaritsyn",
|
|
48
|
+
"MP_Valley": "Galicia",
|
|
49
|
+
"MP_Volga": "Volga River",
|
|
50
|
+
"MP_Beachhead": "Cape Helles",
|
|
51
|
+
"MP_Harbor": "Zeebrugge",
|
|
52
|
+
"MP_Naval": "Heligoland Bight",
|
|
53
|
+
"MP_Ridge": "Achi Baba",
|
|
54
|
+
"MP_Alps": "Razor's Edge",
|
|
55
|
+
"MP_Blitz": "London Calling",
|
|
56
|
+
"MP_Hell": "Passchendaele",
|
|
57
|
+
"MP_London": "London Calling: Scourge",
|
|
58
|
+
"MP_Offensive": "River Somme",
|
|
59
|
+
"MP_River": "Caporetto",
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
MAP_IMAGE = {
|
|
63
|
+
"MP_Amiens": "https://cdn.gametools.network/maps/bf1/MP_Amiens_LandscapeLarge-e195589d.jpg",
|
|
64
|
+
"MP_Chateau": "https://cdn.gametools.network/maps/bf1/MP_Chateau_LandscapeLarge-244d5987.jpg",
|
|
65
|
+
"MP_Desert": "https://cdn.gametools.network/maps/bf1/MP_Desert_LandscapeLarge-d8f749da.jpg",
|
|
66
|
+
"MP_FaoFortress": "https://cdn.gametools.network/maps/bf1/MP_FaoFortress_LandscapeLarge-cad1748e.jpg",
|
|
67
|
+
"MP_Forest": "https://cdn.gametools.network/maps/bf1/MP_Forest_LandscapeLarge-dfbbe910.jpg",
|
|
68
|
+
"MP_ItalianCoast": "https://cdn.gametools.network/maps/bf1/MP_ItalianCoast_LandscapeLarge-1503eec7.jpg",
|
|
69
|
+
"MP_MountainFort": "https://cdn.gametools.network/maps/bf1/MP_MountainFort_LandscapeLarge-8a517533.jpg",
|
|
70
|
+
"MP_Scar": "https://cdn.gametools.network/maps/bf1/MP_Scar_LandscapeLarge-ee25fbd6.jpg",
|
|
71
|
+
"MP_Suez": "https://cdn.gametools.network/maps/bf1/MP_Suez_LandscapeLarge-f630fc76.jpg",
|
|
72
|
+
"MP_Giant": "https://cdn.gametools.network/maps/bf1/MP_Giant_LandscapeLarge-dd0b93ef.jpg",
|
|
73
|
+
"MP_Fields": "https://cdn.gametools.network/maps/bf1/MP_Fields_LandscapeLarge-5f53ddc4.jpg",
|
|
74
|
+
"MP_Graveyard": "https://cdn.gametools.network/maps/bf1/MP_Graveyard_LandscapeLarge-bd1012e6.jpg",
|
|
75
|
+
"MP_Underworld": "https://cdn.gametools.network/maps/bf1/MP_Underworld_LandscapeLarge-b6c5c7e7.jpg",
|
|
76
|
+
"MP_Verdun": "https://cdn.gametools.network/maps/bf1/MP_Verdun_LandscapeLarge-1a364063.jpg",
|
|
77
|
+
"MP_ShovelTown": "https://cdn.gametools.network/maps/bf1/MP_Shoveltown_LandscapeLarge-d0aa5920.jpg",
|
|
78
|
+
"MP_Trench": "https://cdn.gametools.network/maps/bf1/MP_Trench_LandscapeLarge-dbd1248f.jpg",
|
|
79
|
+
"MP_Bridge": "https://cdn.gametools.network/maps/bf1/MP_Bridge_LandscapeLarge-5b7f1b62.jpg",
|
|
80
|
+
"MP_Islands": "https://cdn.gametools.network/maps/bf1/MP_Islands_LandscapeLarge-c9d8272b.jpg",
|
|
81
|
+
"MP_Ravines": "https://cdn.gametools.network/maps/bf1/MP_Ravines_LandscapeLarge-1fe0d3f6.jpg",
|
|
82
|
+
"MP_Tsaritsyn": "https://cdn.gametools.network/maps/bf1/MP_Tsaritsyn_LandscapeLarge-2dbd3bf5.jpg",
|
|
83
|
+
"MP_Valley": "https://cdn.gametools.network/maps/bf1/MP_Valley_LandscapeLarge-8dc1c7ca.jpg",
|
|
84
|
+
"MP_Volga": "https://cdn.gametools.network/maps/bf1/MP_Volga_LandscapeLarge-6ac49c25.jpg",
|
|
85
|
+
"MP_Beachhead": "https://cdn.gametools.network/maps/bf1/MP_Beachhead_LandscapeLarge-5a13c655.jpg",
|
|
86
|
+
"MP_Harbor": "https://cdn.gametools.network/maps/bf1/MP_Harbor_LandscapeLarge-d382c7ea.jpg",
|
|
87
|
+
"MP_Naval": "https://cdn.gametools.network/maps/bf1/MP_Naval_LandscapeLarge-dc2e8daf.jpg",
|
|
88
|
+
"MP_Ridge": "https://cdn.gametools.network/maps/bf1/MP_Ridge_LandscapeLarge-8c057a19.jpg",
|
|
89
|
+
"MP_Alps": "https://cdn.gametools.network/maps/bf1/MP_Alps_LandscapeLarge-7ab30e3e.jpg",
|
|
90
|
+
"MP_Blitz": "https://cdn.gametools.network/maps/bf1/MP_Blitz_LandscapeLarge-5e26212f.jpg",
|
|
91
|
+
"MP_Hell": "https://cdn.gametools.network/maps/bf1/MP_Hell_LandscapeLarge-7176911c.jpg",
|
|
92
|
+
"MP_London": "https://cdn.gametools.network/maps/bf1/MP_London_LandscapeLarge-0b51fe46.jpg",
|
|
93
|
+
"MP_Offensive": "https://cdn.gametools.network/maps/bf1/MP_Offensive_LandscapeLarge-6dabdea3.jpg",
|
|
94
|
+
"MP_River": "https://cdn.gametools.network/maps/bf1/MP_River_LandscapeLarge-21443ae9.jpg",
|
|
95
|
+
}
|
global_mapping/other.py
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
ALL_BF_GAMES = ["bf2", "bf3", "bf4", "bfh", "bf1", "bf5"]
|
|
2
|
+
COOKIE = {"sid": "", "remid": ""}
|
|
3
|
+
FRONTEND_GAME_FULLNAME = {
|
|
4
|
+
"tunguska": "Battlefield 1",
|
|
5
|
+
"casablanca": "Battlefield V",
|
|
6
|
+
"kingston": "Battlefield 2042",
|
|
7
|
+
"bf4": "Battlefield 4",
|
|
8
|
+
"bf3": "Battlefield 3",
|
|
9
|
+
"bfh": "Battlefield Hardline",
|
|
10
|
+
"bf2": "Battlefield 2",
|
|
11
|
+
"bfbc2": "Battlefield Bad Company 2",
|
|
12
|
+
}
|
|
13
|
+
FRONTEND_GAME_TRANSLATION = {
|
|
14
|
+
"tunguska": "bf1",
|
|
15
|
+
"casablanca": "bfv",
|
|
16
|
+
"kingston": "bf2042",
|
|
17
|
+
"bf4": "bf4",
|
|
18
|
+
"bfh": "bfh",
|
|
19
|
+
"bf3": "bf3",
|
|
20
|
+
"bf2": "bf2",
|
|
21
|
+
"bfbc2": "bfbc2",
|
|
22
|
+
}
|
|
23
|
+
GAMEMODES = {
|
|
24
|
+
"TugOfWar": "Frontlines",
|
|
25
|
+
"Domination": "Domination",
|
|
26
|
+
"Breakthrough": "Shock Operations",
|
|
27
|
+
"Rush": "Rush",
|
|
28
|
+
"BreakthroughLarge": "Operations",
|
|
29
|
+
"Conquest": "Conquest",
|
|
30
|
+
"Possession": "War pigeons",
|
|
31
|
+
"TeamDeathMatch": "Team Deathmatch",
|
|
32
|
+
"AirAssault": "Air assault",
|
|
33
|
+
"ZoneControl": "Rush",
|
|
34
|
+
"Airborne": "Airborne",
|
|
35
|
+
"FinalStand": "Grand Operations",
|
|
36
|
+
"Outpost": "Outpost",
|
|
37
|
+
"RushLarge": "Rush large",
|
|
38
|
+
"Frontlines": "Frontlines",
|
|
39
|
+
"FrontlinesMedium": "Frontlines Medium",
|
|
40
|
+
"SquadConquest": "Squad Conquest",
|
|
41
|
+
"Conquestlarge": "Conquest large",
|
|
42
|
+
}
|
|
43
|
+
JOINME_GAMES = ["tunguska", "bf1"]
|
|
44
|
+
OLD_GAMES = ["bf2hub", "bfbc2"]
|
|
45
|
+
PLATOON_ROLES = {
|
|
46
|
+
"role9": "General",
|
|
47
|
+
"role6": "Colonel",
|
|
48
|
+
"role3": "Lieutenant",
|
|
49
|
+
"role0": "Private",
|
|
50
|
+
}
|
|
51
|
+
SMALLMODES = {
|
|
52
|
+
"Conquest": "CQ",
|
|
53
|
+
"Domination": "DM",
|
|
54
|
+
"TugOfWar": "FL",
|
|
55
|
+
"Rush": "RS",
|
|
56
|
+
"BreakthroughLarge": "OP",
|
|
57
|
+
"Breakthrough": "SO",
|
|
58
|
+
"Possession": "WP",
|
|
59
|
+
"TeamDeathMatch": "TM",
|
|
60
|
+
"ZoneControl": "SD",
|
|
61
|
+
"AirAssault": "AA",
|
|
62
|
+
}
|
|
63
|
+
SPARTA_COMMON_ALL_STATS_METHODS = [
|
|
64
|
+
"Progression.getWeaponsByPersonaId",
|
|
65
|
+
"Progression.getVehiclesByPersonaId",
|
|
66
|
+
"Platoons.getActivePlatoon",
|
|
67
|
+
"Platoons.getPlatoons",
|
|
68
|
+
"Progression.getFilteredCodexByPersonaId",
|
|
69
|
+
"Progression.getDogtagsByPersonaId",
|
|
70
|
+
"Progression.getMedalsByPersonaId",
|
|
71
|
+
]
|
|
72
|
+
SPARTA_GAMES = ["tunguska", "casablanca"]
|
|
73
|
+
SPARTA_PLATFORMS = {"cem_ea_id": "pc", "ps3": "psn", "xbox": "xbox"}
|
|
74
|
+
SPARTA_REGIONS = ["Afr", "AU", "OC", "AC", "SAm", "EU", "NAm", "Asia"]
|
|
75
|
+
SPARTA_TITLES = ["pc", "xbox", "psn"]
|
|
76
|
+
TEAMNAMES = ["team 2", "team 1"]
|