All errors cleared, but now "Map Missing: Care to download?" Please help :)

  • Hey there. This is regularkid. Adam and I are working on a new map. We ran the map creator included with TripleA, and after extensive tinkering managed to get the map to load to the Player Selection screen with no errors. But now, when we click "Play," TripleA prompts us to download the map, stating:

    "Map missing: WW2 Total Victory, could not join game. Would you like to download the map now? Once the download completes, you may reconnect to this game."

    I wondered if this was because the map folder wasn't in a .zip format (this was never an issue with other maps i've tinkered with. but who knows). So I zipped the folder. But when I try to run it from the zipped folder, an error does appear, as shown below. We would hugely appreciate help troubleshooting this issue. Thanks! ```

    Could not parse:jar:file:/Users/michaeljoseph/Documents/triplea/downloadedMaps/!/__MACOSX/ww2_total_victory-master/map/games/._ww2_total_victory.xml error at line:1 column:1org.xml.sax.SAXParseException; systemId: jar:file:/Applications/!/games/strategy/engine/xml/; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
    	at javax.xml.parsers.DocumentBuilder.parse(
    	at games.strategy.engine.framework.ui.NewGameChooserEntry.<init>(
    	at games.strategy.engine.framework.ui.NewGameChooserModel.createEntry(
    	at games.strategy.engine.framework.ui.NewGameChooserModel.addNewGameChooserEntry(
    	at games.strategy.engine.framework.ui.NewGameChooserModel.processZipEntry(
    	at games.strategy.engine.framework.ui.NewGameChooserModel.populateFromZip(
    	at games.strategy.engine.framework.ui.NewGameChooserModel.parseMapFiles(
    	at games.strategy.engine.framework.ui.NewGameChooserModel.<init>(
    	at games.strategy.engine.framework.ui.NewGameChooser.getNewGameChooserModel(
    	at games.strategy.engine.framework.ui.NewGameChooser.createComponents(
    	at games.strategy.engine.framework.ui.NewGameChooser.<init>(
    	at games.strategy.engine.framework.ui.NewGameChooser.chooseGame(
    	at games.strategy.engine.framework.startup.ui.GameSelectorPanel.selectGameFile(
    	at games.strategy.engine.framework.startup.ui.GameSelectorPanel.lambda$setupListeners$181(
    	at games.strategy.engine.framework.startup.ui.GameSelectorPanel$$Lambda$35/148996630.actionPerformed(Unknown Source)
    	at javax.swing.AbstractButton.fireActionPerformed(
    	at javax.swing.AbstractButton$Handler.actionPerformed(
    	at javax.swing.DefaultButtonModel.fireActionPerformed(
    	at javax.swing.DefaultButtonModel.setPressed(
    	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(
    	at java.awt.AWTEventMulticaster.mouseReleased(
    	at java.awt.Component.processMouseEvent(
    	at javax.swing.JComponent.processMouseEvent(
    	at java.awt.Component.processEvent(
    	at java.awt.Container.processEvent(
    	at java.awt.Component.dispatchEventImpl(
    	at java.awt.Container.dispatchEventImpl(
    	at java.awt.Component.dispatchEvent(
    	at java.awt.LightweightDispatcher.retargetMouseEvent(
    	at java.awt.LightweightDispatcher.processMouseEvent(
    	at java.awt.LightweightDispatcher.dispatchEvent(
    	at java.awt.Container.dispatchEventImpl(
    	at java.awt.Window.dispatchEventImpl(
    	at java.awt.Component.dispatchEvent(
    	at java.awt.EventQueue.dispatchEventImpl(
    	at java.awt.EventQueue.access$500(
    	at java.awt.EventQueue$
    	at java.awt.EventQueue$
    	at Method)
    	at java.awt.EventQueue$
    	at java.awt.EventQueue$
    	at Method)
    	at java.awt.EventQueue.dispatchEvent(
    	at games.strategy.engine.framework.GameRunner$1.dispatchEvent(
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(
    	at java.awt.EventDispatchThread.pumpEventsForFilter(
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
    	at java.awt.EventDispatchThread.pumpEvents(
    	at java.awt.EventDispatchThread.pumpEvents(

  • Here is a dropbox link to the zip file in question (too big to attach):

  • Moderators Admin


    Look at line 3138, here you have:

    <property name="mapName" value="WW2 Total Victory" editable="false"/>

    Now the value here must correspond with the map-folder name (before the -master), that is

    <property name="mapName" value="ww2_total_victory" editable="false"/>

  • Ok. I've done that. Now when I press play, nothing happens. No message. No error. It just clicks back to the Player Selection screen. 😕

  • Moderators Admin

    I have replaced the edited XML in the "games" folder.
    In the downloadedMaps folder I have the uncompressed map:

    It starts perfectly fine here...

    Of course the zipped-version starts fine, too.

  • Admin

    @Joe-G Still got the problem?
    Make sure you only got 1 version of your map in your downloadedMaps dir. Also, try to load another map than the one you are working on. Then exit TripleA. Then start up up again and try to load your map.

    Many of the instances I have experienced with the map not loading up after I press play, is related to unit images file names. Be sure to go through all of them and see if any of them do not correspond with the names stated in the xml (like in unit list and unit attachments, basically everywhere). Some of them might accidentally have been given a “space” after the name and before the file type / surname.

    Also, go through your XML and look for typo mistakes … for example an extra unwanted “space”. You could try to do a search for the term (space)”
    A.k.a. a space bar followed by a “ sign.
    I just did a search in one of my maps and there is only 1 instance of this in <!DOCTYPE game SYSTEM "game.dtd">
    But I have seen that this was something that was wrong with my XML at some point.

    Small typos like this can prevent the map from starting. Sometimes a word is witten/copy-pasted twice by mistake, sometimes a back slash is missing. So try to comb through your map manually, with your eyes (yes it takes a long time).

    TIP: When you can start your map, save a copy and work on with new changes. Then you always have something to fall back on that works. Making maps is not easy, but is hard work 😛

  • @Frostion thanks. you guys rock. I got it working

Log in to reply