Issues Loading New Map: Avatar
-
@black-order don't get discouraged... this is all part of map making. You tend to go on a bug hunt after all the up front work is done. It gets easier as you plod on through the issues.
-
i know im bussy with it so long about 3 years already and this is just 1% of the 43% i hope 2 bedone in 2020 22feb on my birthday

-
@black-order I hear you. I'm on a journey similar to yours.
-
@black-order Here is a zip with mostly working files that just remove all territories except 0-4 (the map mostly launches but you are missing some capitals then). Here is the zip: 0_1528212057743_avatar-simplified.zip
-
still get thise error
TripleA engine version 1.9.0.0.9687
Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip
Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip, C:\Program Files\TripleA\assets]
Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip
Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar.zip, C:\Program Files\TripleA\assets]
Failed to start game
java.lang.IllegalStateException: Error in resource loading. Unable to load expected resource: polygons.txt, the error is that either we did not find the correct path to load. Check the resource loader to make sure the map zip or dir was added. Failing that, the path in this error message should be available relative to the map folder, or relative to the root of the map zip
at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:146)
at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:77)
at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:104)
at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:232)
at games.strategy.triplea.TripleA.lambda$startGame$0(TripleA.java:121)
at games.strategy.ui.SwingAction.lambda$invokeAndWait$0(SwingAction.java:86)
at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source) -
@black-order It appears you are missing the polygons.txt from the map folder. Can you post a screenshot of the inside of the avatar folder?
-

-
i must say 1.8 was way easier 2 build your own map
if i could "if i want 2 but i dont because the newest version :(" i would return 2 1.8
and next 2 that im also already so far -
@black-order Really has nothing to do with the version of Triple A. All of these issues are related to things in your map folder. You would have had the same issues with 1.8
-
@black-order You'd pretty much have all these same problems in 1.8. Can you unzip the avatar folder so the directory structure for the XML file:
C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar\games\avatar.xml -
done that
think its to much 4 java

TripleA engine version 1.9.0.0.9687
Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar
Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar, C:\Program Files\TripleA\assets]
Loading map: avatar, from: C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar
Loading resources from the following paths: [C:\Users\Robin-Teus16\triplea\downloadedMaps\avatar, C:\Program Files\TripleA\assets]
Failed to start game
java.lang.NullPointerException
at games.strategy.triplea.image.MapImage.loadMaps(MapImage.java:160)
at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:96)
at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:104)
at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:232)
at games.strategy.triplea.TripleA.lambda$startGame$0(TripleA.java:121)
at games.strategy.ui.SwingAction.lambda$invokeAndWait$0(SwingAction.java:86)
at games.strategy.ui.SwingAction.lambda$invokeAndWaitResult$1(SwingAction.java:114)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source) -
@black-order Better. You missed replacing the "smallMap.jpeg" step I had above:

-
thats true

-
thanks guys the only error = capital but thats easy 2 fix thanks


-
@black-order Yep. Now you just need to add the other 400+ territories back in to the XML, centers, place, and polygons files

-
thats good but now i know 10% sure that it will work i dont know if 7k almost 8k will work but atleast i know its hell fun 2 try out hope i don't waisted my time BTW borgia = also a project of my but 1st thise 1

-
@black-order Well @Hepps is making a map with a couple thousand territories. So he'll probably prove out that level of scale fairly soon.
-
what map = he making "time period ect?"
-
@black-order https://forums.triplea-game.org/topic/95/global-dominance
Its probably good to start a map thread for avatar here: https://forums.triplea-game.org/category/5/maps-mods. Where you can provide an overview and progress updates to folks.
-
so a ww2/ww3 scenario ,a okay i do it at the moment on moddb.com
"btw they could update the page if they wanted ;)"
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