-
Notifications
You must be signed in to change notification settings - Fork 19
Configuration
Depending on what you want to change you will have to modify the python source
code (that will change in the future) or the config.ini
file.
Most fields should be pretty self explanatory. Each section is each server
configuration and the SSL
section is the default configuration for SSL.
Comments can be used using the #
character.
[SSL]
DefaultCert = cert/server.crt
DefaultKey = cert/server.key
LegacySSL = OFF
You might need to switch LegacySSL
to ON
if you're having SSLError
and
key size issues which might occur on recent systems.
NB: The Wii doesn't support recent certificates using SHA256 signatures. You will need an old version of OpenSSL supporting SHA1 signatures.
NB: The OPN server port shouldn't be changed unless you know what you're doing!
[OPN]
IP = 0.0.0.0
Port = 8200
Name = OpnServer
UseSSL = ON
SSLCert =
SSLKey =
LogFilename = opn_server.log
LogToConsole = ON
LogToFile = ON
LogToWindow = ON
Logs are generated based on the create_logger
function in other/utils.py
.
To activate the sandstorm set TIME_STATE
in mh/constants.py
to 2
.
To emulate the Japanese server set IS_JAP
in mh/constants.py
to True
.
NB: Strings in western versions are usually 1.5 times larger.
These can be changed in mh/constants.py
as well.
Example:
- Trading lady's items are located in the
make_binary_trading_post
function.