-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.py
43 lines (34 loc) · 1.55 KB
/
settings.py
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
import os
#============================================================================
# you need a static key to decode communications between client and server
# where to get: inside mgsvtpp.exe
STATIC_KEY_FILE_PATH = './static_key.bin'
#STATIC_KEY_FILE_PATH = 'C://Users//lynch//Documents//mgsv_emulator-2//files//static_key.bin'
#============================================================================
# logging
LOG_FILE_PATH = './app.log'
LOGGER_NAME = 'mgsv'
#============================================================================
# proxy
# PROXY_ALL will proxy ALL commands to konami servers
PROXY_ALL = False
# PROXY_ALWAYS is a list of commands that will be always proxyfied
# regardless of PROXY_ALL value
PROXY_ALWAYS = []#'CMD_REQAUTH_HTTPS', 'CMD_AUTH_STEAMTICKET']
#============================================================================
# client authentication
# in general, there are two cases:
# - if you want to emulate the client, set your steamid and magic_hash
# - if you want to run a server, set them empty - this is important.
# In case you set them non-empty, run the server and database goes down, these
# credentials will be used for other players - thus sending wrong data about
# your account
#
# you can also set them to yours, enable PROXY_ALL (or add commands into PROXY_ALWAYS)
# and run server locally to capture commands for debugging
#
# STEAM_ID is client's steamid, duh
STEAM_ID = ''
# MAGIC_HASH is a hash returned from konami in response to CMD_REQAUTH_HTTPS
# essentially a password
MAGIC_HASH = ''