ad a new sea zone to an existing map
-
true, I found several connection mistakes in the xml, all of them are now fine
another error occured:
Jul 24, 2020 8:19:14 PM games.strategy.triplea.ui.mapdata.MapData <init>
SCHWERWIEGEND: Error reading map.properties
java.io.FileNotFoundException: map.properties
at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$2(MapData.java:194)
at java.util.Optional.orElseThrow(Unknown Source)
at games.strategy.triplea.ui.mapdata.MapData.lambda$requiredResource$3(MapData.java:194)
at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:175)
at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
at java.lang.Thread.run(Unknown Source)Jul 24, 2020 8:19:14 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
SCHWERWIEGEND: Failed to start game
java.lang.IllegalStateException: Missing map.width or map.height in map.properties
at games.strategy.triplea.ui.mapdata.MapData.getMapDimensions(MapData.java:688)
at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:280)
at games.strategy.triplea.ui.TripleAFrame.lambda$create$0(TripleAFrame.java:237)
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)what ist the problem with the width and height - where do I check the current state and how to change it to the needed values?
-
This is talking about the map.properties file. This is another file that can be created by the 'Map Creator' utility, and is located in the 'map' directory.
There should have been no reason to change this file, so I am unsure what may have happened to it. Even though the 'Map Creator' can create this file, you can not 'Load' it for editing, so any text editor can be used.
But I'm worried that if 'map.width=3773' and 'map.height=1830' have been messed up, that there might be other problems. So the easiest solution would be to take a copy of the file from 'world_war_ii_v3', and replace the one in your directory.
Cheers...
-
YES, everything works now, no more errors.
yet, I missed some details:

as you can see the new sea zones 66,67 und 68 do exist, but they have no numbers graphically.
sea zone 16 now belongs to the western part of Black Sea, but it has no number too. even worse the "16" is located where now the SZ 68 should bethere is another problem - the whole map ist white, the territories do not have the colors of the countries, e.g. blue for Italy.
How to fix those problems?
-
@Numetalfan check the map properties. That's where the colors are. Idk about the SZ numbers
-
color settings for the map
values must be a 6 digit hex number
color.Italians=394d86
color.British=916400
color.Americans=5a5a00
color.Russians=af2828
color.Germans=5a5a5a
color.Japanese=e6b937
color.Chinese=4a7300
color.Neutral=e87112
color.Impassable=d8ba7cmap.hasRelief=true
map.width=3773
map.height=1830should we draw territory names
map.showTerritoryNames=false
screenshot overlay stuff
screenshot.title.x=100
screenshot.title.y=50
screenshot.title.color=000000
screenshot.title.font.size=20
screenshot.stats.enabled=true
screenshot.stats.x=560
screenshot.stats.y=1465
screenshot.stats.text.color=000000
screenshot.stats.border.color=FFFFFFthat's whats the map properties are about
-
@Numetalfan that looks fine. Obviously something else causing it. Have to wait for map Wizard wc I guess

-
Hi,
what about the naming of the sea zones, where has this to be done?
-
@Numetalfan yea idk you could check centers and make sure they're in there. I don't know much about the graphics part
-
Sea Zone numbers are done as decoration in the decorations.txt file. I personally do not like running the "Decorations Placer" under "Map Creator". Usually I just poke and guess with a text editor until it looks right.
Have you updated the smallMap.jpeg. I'm looking into what might be causing your color problems.
Back soon...
Cheers...
-
For the Sea Zone numbers, I have the following in the directions.txt:
b16.png (1386,641)
b66.png (1161,830)
b67.png (1107,735)
b68.png (1480,641)
b69.png (1333,227)Make sure that the images for these new Sea Zones are in the 'misc' folder.
Also Sicily and Malta:
Sicily.png (1080,769)
Malta.png (1098,801)As to the missing colors, like @beelee stated it probably has something to do with map.properties.
Cheers...
-
Hi,
I did all this already and it worked.
Colors: but I doubt it's the map.properties, I copied that file from the WWII_v3.
Or this copy&paste is the reason for the effect
-
Hi,
still have the graphical problems,

small map fine
main map white color for the countrieswhat might be the reason for that effect?
-
@Numetalfan said in ad a new sea zone to an existing map:
YES, everything works now, no more errors.
yet, I missed some details:

as you can see the new sea zones 66,67 und 68 do exist, but they have no numbers graphically.
sea zone 16 now belongs to the western part of Black Sea, but it has no number too. even worse the "16" is located where now the SZ 68 should bethere is another problem - the whole map ist white, the territories do not have the colors of the countries, e.g. blue for Italy.
How to fix those problems?
You have to open the relief tiles... find the tiles where the numbers should go... and draw them in manually with a graphics program.
-
@Numetalfan If I had to guess I am thinking you saved the relief tiles with a solid white background... if you turn off "show reliefs" in game and can see the actual colours when they are off. That will confirm my suspicions.
-
THX for the advice,
that problem was already solved.my last problem is the one with the white color all over them map, see the screenshot.
-
Hi,
this are the options:

I don't see relief options
-
@Numetalfan I think @Hepps is suggesting that you turn of 'Show Map Details' and see if the country colors will show on the map.
There is no easy fix for this. You would need to redo the relief tiles.
Let us know.
Cheers...
-
perfect - now it looks normal
thx -
Hi,
the new terroritories and sea zone decoration pictures do not look like the original ones
what is the
- color
- font size
- font
of those pictures, e.g. Alaska.png or b17.png
-
That I can't answer. Someone with more graphic talent may be able to help. What I did was take b56, b57, b58, and b59 copied the '6' and pasted over the '5's. Then saved each with it new name, b66, b67, b68 and b69.
For Sicily and Malta I did just about the same. Cut and copied letters until I found something that look right.
That's the best I can tell you.
Cheers...
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