OpenTyria intend to be a fairly simple server in order to run all the stack required to support connection from a Guild Wars client to this server possible. Consequently, there is several design decisions that limit the scaling, but they are chosen, because it simpliefied the final solution.
- Move into the sqlite-amalgation directory.
- Compile sqlite shell.
clang -o sqlite.exe sqlite3.c shell.c
- From the
dbdirectory, - sqlite.exe database.db < seed.sql
- Use the Python script
tools/gen-dhm-keys.pyto generate Diffie-Hellman params. - Use the Python script
tools/patch-gw.pyto update an executable with the appropriate patches.
- This should be temporary, but you need to fix the
server_privateandprime_modulusincode/main.c. Those values can be inkeys.txt.
- Launch the "webgate"
python tools/webgate.py - Launch OpenTyria
- Launch the patched Guild Wars, e.g.
Gw.custom.exe -authsrv 127.0.0.1 -portal 127.0.0.1 - Use one of user1@example.com, user2@example.com, or user3@example.com to connect.