Skip to content
sepalani edited this page May 7, 2023 · 5 revisions

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.

config.ini

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 section

[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.

Server section

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

Source code

Logs related properties

Logs are generated based on the create_logger function in other/utils.py.

Sandstorm

To activate the sandstorm set TIME_STATE in mh/constants.py to 2.

Japanese server

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.

Changing items and texts

These can be changed in mh/constants.py as well.

Example:

  • Trading lady's items are located in the make_binary_trading_post function.