Skip to the page
Grenth's Gauntlet

OpenGW, the engine

Guild Wars was always two programs. The client on your desk draws the world. A server far away decides everything that happens in it. OpenGW is a new one of those, and it runs on your own machine.

Your client does the drawing, as it always has. OpenGW does the deciding. It is written in GDScript on Godot and has no graphics of its own.

The stack

How Grenth's Gauntlet fits togetherYour Guild Wars client, with the overlay (a GWToolbox++ plugin) running inside it, talks to the OpenTyria server over loopback, and the server also answers its file check. A bridge passes the server's packets to the OpenGW engine. The engine reads your Gw.dat and your knobs and mods. The overlay and the engine talk both ways over a local socket: the overlay draws the engine's HUD and windows, moves the camera and passes your input and orders back. The Foundry, the earlier build, shares the same knobs.Your Guild Wars clientyour own install · draws every framethe overlay · a GWToolbox++ pluginHUD · camera · input · draws inside the clientthe launcherpoints your client at your machinestarts it · loads the overlayOpenTyriaa local server · login · the client's file checkloopbacklogin · map · fightsthe bridge · packets in, engine events outpacketsOpenGWthe engine · the game, with no graphicsskills · foes · rules · the runevery number a knob/razah talks to itspawn · hit · skill · xpthe dat readerpart of the enginereads your Gw.dat in placeground · spawns · mapsyour knobs and modsplain files · by hand or by a sentenceknobsHUD · camera · input · local socketThe Foundryof Failed Creationsfull Godot build, own renderer · the playgroundwhere OpenGW begansame knobs

In short: the client is your game, the server is OpenTyria, the engine is OpenGW, and a knob is any setting you can change.

Every rule is a knob

A knob is a setting: any rule or number the engine uses, kept in a plain file. Skills, foes, drops, run speed, the lot. Turn one in the file and it is turned.

All you need is a text editor. Or type /razah in the chat, say what you want in a sentence, and it is done while you play. Pausing the fight and playing any hero were the first two things built this way.

The Foundry, and your game files

OpenGW grew out of an earlier build, the Foundry of Failed Creations, which drew Ascalon with a renderer of its own. It still runs, as a playground for the same knobs.

The engine reads your own Gw.dat to learn the ground, the spawns and the maps. To browse those files yourself, use GuildWarsMapBrowser.

Built on the community's work

Py4GW, preforged, OpenTyria, GWToolbox++. The party's AI comes from the community's HeroAI.

ivBook II: The Engine