Where can I find game.dtd?
-
I'm new to creating custom maps. I looked through some of the existing posts; however, I didn't find what I was looking for.
Looking at other maps, the game.xml file declares the following dtd file:
<!DOCTYPE game SYSTEM "game.dtd">I can't seem to find a copy of the game.dtd file though within other maps nor the main tripleA GitHub repo. Does anyone know where I can get a copy of it? I was hoping to find it so that the schema checking in VS Code would work correctly.
-
Welcome to the forum.
You need to open the triplea....jar file for example with 7zip.
Find the game.dtd here:
C:...\TripleA\bin\game-headed-2026-"any".jar\games\strategy\engine\xml\game.dtd
Look at it with any editor.
Alternatively find it here:
https://github.com/triplea-game/triplea/blob/main/game-app/game-core/src/main/resources/games/strategy/engine/xml/game.dtd -
@Panther Thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login