DavM 10 Posted March 11, 2019 (edited) 50 minutes ago, mumia said: Hi! I try to use this app to make a map of Iberian Peninsula with over 1400 provinces (water and some tiny islands not finished), but I got this error in log: Start Comapre #586 [2349,1121],[2350,1121],[2349,1122],[2351,1122],[2348,1123],[2352,1122],[2347,1123],[2353,1123],[2346,1124],[2354,1123],[2345,1124],[2344,1124],[2355,1124],[2343,1124],[2355,1125],[2353,1127],[2352,1128],[2355,1126],[2354,1127],[2352,1129],[2342,1123],[2356,1126],[2352,1130],[2341,1123],[2356,1127],[2352,1131],[2340,1123],[2352,1132],[2339,1123],[2352,1133],[2338,1123],[2336,1124],[2337,1123],[2353,1134],[2353,1135],[2335,1125],[2335,1126],[2354,1136],[2334,1127],[2355,1137],[2334,1128],[2355,1138],[2333,1129],[2356,1139],[2333,1130],[2357,1140],[2332,1131],[2331,1131],[2358,1141],[2357,1142],[2356,1143],[2330,1131],[2358,1142],[2356,1144],[2356,1145],[2355,1146],[2329,1130],[2355,1147],[2328,1130],[2355,1148],[2327,1130],[2355,1149],[2326,1130],[2355,1150],[2325,1130],[2349,1156],[2350,1156],[2324,1130],[2356,1151],[2351,1156],[2323,1130],[2348,1157],[2356,1152],[2356,1153],[2352,1157],[2322,1129],[2347,1158],[2356,1154],[2321,1129],[2346,1158],[2353,1158],[2357,1155],[2354,1158],[2320,1128],[2345,1159],[2319,1128],[2358,1156],[2355,1159],[2318,1128],[2344,1160],[2359,1156],[2317,1128],[2343,1160],[2360,1156],[2356,1160],[2316,1128],[2338,1156],[2339,1157],[2340,1158],[2341,1159],[2342,1160],[2361,1156],[2356,1161],[2314,1129],[2315,1128],[2336,1155],[2337,1156],[2313,1129],[2335,1155],[2362,1157],[2357,1162],[2312,1129],[2334,1155],[2358,1162],[2363,1158],[2359,1162],[2311,1128],[2333,1156],[2363,1159],[2360,1162],[2310,1128],[2363,1160],[2306,1131],[2332,1157],[2363,1161],[2361,1163],[2306,1130],[2309,1127],[2363,1162],[2361,1164],[2306,1129],[2305,1132],[2308,1127],[2331,1158],[2363,1163],[2306,1128],[2304,1132],[2307,1127],[2363,1164],[2362,1165],[2305,1128],[2303,1132],[2307,1126],[2330,1159],[2363,1165],[2305,1127],[2302,1132],[2306,1126],[2330,1160],[2305,1126],[2301,1132],[2330,1161],[2330,1162],[2300,1133],[2331,1163],[2299,1134],[2299,1135],[2332,1164],[2298,1136],[2333,1165],[2298,1137],[2334,1166],[2297,1138],[2297,1139],[2335,1167],[2335,1168],[2296,1140],[2296,1141],[2336,1169],[2334,1172],[2333,1173],[2332,1174],[2331,1175],[2330,1176],[2295,1142],[2337,1170],[2336,1171],[2335,1172],[2330,1177],[2295,1143],[2337,1171],[2329,1178],[2294,1144],[2329,1179],[2293,1144],[2292,1144],[2328,1180],[2290,1144],[2291,1143],[2327,1181],[2290,1143],[2290,1145],[2326,1182],[2289,1146],[2289,1147],[2325,1183],[2289,1148],[2324,1184],[2288,1149],[2323,1184],[2288,1150],[2289,1151],[2289,1152],[2322,1185],[2289,1153],[2321,1185],[2289,1154],[2289,1155],[2320,1186],[2289,1156],[2289,1157],[2319,1187],[2289,1158],[2319,1188],[2289,1159],[2319,1189],[2289,1160],[2319,1190],[2289,1161],[2319,1191],[2289,1162],[2319,1192],[2289,1163],[2319,1193],[2289,1164],[2319,1194],[2289,1165],[2319,1195],[2289,1166],[2289,1167],[2320,1196],[2288,1168],[2321,1197],[2299,1180],[2300,1181],[2321,1198],[2287,1169],[2298,1180],[2300,1182],[2287,1170],[2297,1180],[2300,1183],[2308,1191],[2309,1192],[2322,1199],[2287,1171],[2296,1180],[2300,1184],[2307,1191],[2309,1193],[2318,1202],[2322,1200],[2319,1203],[2287,1172],[2295,1180],[2300,1185],[2306,1191],[2309,1194],[2317,1202],[2287,1173],[2288,1174],[2289,1175],[2290,1176],[2291,1177],[2292,1178],[2293,1179],[2294,1180],[2309,1195],[2310,1196],[2311,1197],[2313,1199],[2314,1200],[2315,1201],[2316,1202],[2323,1201],[2320,1204],[2299,1186],[2305,1192],[2311,1198],[2312,1199],[2323,1202],[2321,1204],[2304,1192],[2311,1199],[2323,1203],[2322,1204],[2298,1187],[2323,1204],[2303,1193],[2297,1188],[2302,1193],[2296,1189],[2301,1194],[2295,1190],[2300,1195],[2299,1195],[2294,1191],[2294,1192],[2295,1193],[2296,1194],[2297,1195],[2298,1196], Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: -1, Size: 0 at java.util.LinkedList.checkElementIndex(Unknown Source) at java.util.LinkedList.get(Unknown Source) at Main.returnEdgeByDirection(Main.java:647) at Main.returnEdgeByDirection(Main.java:622) at Main.start(Main.java:69) at Main.main(Main.java:21) Anyone know how to fix it? Previously I've made a map with Catalonia and it worked just fine... https://ibb.co/PYvYL2K Open your picture with any pics editor (I usually use paint.net). Then, look for the pixel located in the last coordinate that appeared in the script (2298, 1196 in your case). Search for any problems near this pixel. There could be a 1x1 province or an enclaved province (when one province is inside another). I that case, correct that, because both things are not supported by the tool. BTW, good looking map! Soy español de hecho PD: It seems that Ibiza and Formentera are enclaved in the purple sea province, you should divide the sea so they have a border with at least two provinces, not only one. Y podrías añadir también Canarias/Madeira/Azores 😉 Edited March 11, 2019 by DavM Quote Share this post Link to post Share on other sites More sharing options...
mumia 0 Posted March 11, 2019 Thank you. I found a 1x1 pixel province and removed it, maybe it will help. And it's nice you like it, I always wanted make map of Iberian Peninsula since I was working at E3Map for Hearts of Iron 2/Darkest Hour, but I just had no time. I planned to make this map for personal use, maybe for some sort of Spanish Civil War or something much more ahistorical - historical regions as countries etc. I could also upload it when done if some one more skilled/with more time wanted to work with it. I just need to get this map work, at least land provinces. Quote Share this post Link to post Share on other sites More sharing options...
TheDash 14 Posted March 30, 2019 Where does it generate the file? Quote Share this post Link to post Share on other sites More sharing options...
King Richard I Lionheart 3 Posted March 30, 2019 I generated everything and now I don't know what to do with these provinces files. Help please! ieunal61 1 Quote Share this post Link to post Share on other sites More sharing options...
GyLala 343 Posted June 1, 2019 I have many provinces +1000 idk why Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 2102 at Main.returnEdgeByDirection(Main.java:619) at Main.returnEdgeByDirection(Main.java:622) at Main.start(Main.java:69) at Window$3.actionPerformed(Window.java:98) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.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) Beter Griffin, Ilovethisgame2 and TomattinoYT 3 Quote Share this post Link to post Share on other sites More sharing options...
vendex_thegreatest 11 Posted June 5, 2019 this is a useful concept but hard to make it work, could you show us how to use it via a video tutorial? it would be much more understanding Quote Share this post Link to post Share on other sites More sharing options...
EndlessLuck 2 Posted August 9, 2019 Can't download this file.Can you upload it to more websites? Quote Share this post Link to post Share on other sites More sharing options...
Eldrac 4 Posted August 30, 2019 (edited) I guess it has to be unique colors for each "province" for it to work or just so not the same color touch each other? Edited August 30, 2019 by Eldrac Quote Share this post Link to post Share on other sites More sharing options...
Eldrac 4 Posted August 30, 2019 (edited) Also after loading for like 10 min nothing happen, what are the rules with provinces? Do Everything have to have an unique color or can i have like all water on the map the same color for the time being and is there a color? What counts as a blob? Because the map am trying to make i made mountains black as i will make them unpassable. Edited August 30, 2019 by Eldrac Quote Share this post Link to post Share on other sites More sharing options...
trainhead1201 31 Posted September 30, 2019 Please make a more in depth tutorial Quote Share this post Link to post Share on other sites More sharing options...
İmperial Sealand 86 Posted October 20, 2019 I tried it but if I made less or more provinces what will happen ? Quote Share this post Link to post Share on other sites More sharing options...
blindidiot91 0 Posted January 16, 2020 (edited) [468,369],[467,370],[493,345],[469,369],[493,346],[470,369],[493,347],[471,369],[493,348],[472,369],[493,349],[473,369],[493,350],[474,369],[493,351],[475,369],[476,369],[494,352],[477,369],[494,353],[478,369],[494,354],[479,369],[494,355],[480,369],[494,356],[481,369],[494,357],[482,369],[494,358],[483,369],[494,359],[484,369],[494,360],[485,369],[494,361],[486,369],[494,362],[487,369],[494,363],[489,368],[488,369],[490,368],[495,364],[491,368],[495,365],[492,368],[495,366],[493,368],[495,367],[494,368], Exception in thread "main" java.util.NoSuchElementException at java.util.LinkedList.getLast(Unknown Source) at Main.returnEdgeByDirection(Main.java:633) at Main.returnEdgeByDirection(Main.java:622) at Main.start(Main.java:69) at Main.main(Main.java:21) I'm trying to make a new map from a province map I used without issue in a mod for ck2. I can't figure out what's going on here with this error. It seems to get past all the outer ocean provinces and then get stuck. I've tried removing provinces to see if I can isolate a specific problem with one of them, but as I remove them (either by converting them to a transparency or merging with another province), it just throws an error on the next province it gets to. The map is below [removed once issue discovered]. **Update here: it was the one province issues. I modified the code to show me the last blob it got stuck on and just stepped through until all of the one provinces were gone.** Edited January 17, 2020 by blindidiot91 Quote Share this post Link to post Share on other sites More sharing options...
aipers 0 Posted April 24, 2020 It Works But It Doesnt Create A Provinces.txt or someting like this, pls help. Quote Share this post Link to post Share on other sites More sharing options...
krauser3ful 939 Posted July 7, 2020 Could someone explain to me step by step how to use it? Please WINNIE THE PARAMOUN LEADER 1 Quote Share this post Link to post Share on other sites More sharing options...
Simranto09 0 Posted July 23, 2020 (edited) Videotutorial please. ppsspp gold Edited January 6, 2021 by Simranto09 Quote Share this post Link to post Share on other sites More sharing options...
LEGIT 0 Posted January 14, 2021 Is this gonna work for Android? Quote Share this post Link to post Share on other sites More sharing options...
Awesomenesdragon 10 Posted April 9, 2021 I was wondering, after the program finishes running, where are the files as i cant seem to find them. Quote Share this post Link to post Share on other sites More sharing options...
Dmmk 5 Posted June 1, 2021 hey, I don't know if it's a lot of trouble, but could you make a video tutorial? I did not understand the guide very well Quote Share this post Link to post Share on other sites More sharing options...
Yugo45 0 Posted March 17, 2022 wheres the discord? Quote Share this post Link to post Share on other sites More sharing options...
mikeshatter 14 Posted April 14, 2022 I can't figure out the problem Quote Share this post Link to post Share on other sites More sharing options...
thatdumbghast 12 Posted April 17, 2022 doesnt do commit anything for me ye i guess ill have to watch a quadrillion tutorials on how to use actual map editor (that would atleast do something or tell whats the error in) Quote Share this post Link to post Share on other sites More sharing options...
Digiman28 7 Posted July 6, 2022 On 7/7/2020 at 8:03 AM, krauser3ful said: Could someone explain to me step by step how to use it? Please yes me toooooooooo Quote Share this post Link to post Share on other sites More sharing options...
Akyla 0 Posted September 9, 2022 if anyone esle trying to use this and gets errors heres 2 i got and how i fixed them: program just not doing anything, Main not functioning: also add the path to the jar files, in quotes, just like the image out of bounds/memory heap: just decrease the resolution of the image i dont know any other errors so yeah Quote Share this post Link to post Share on other sites More sharing options...
mistik_0611 30 Posted September 20, 2022 Hi, I tried to use this tool, it worked on another map image but I couldn't manage to make it work on this map. Is there a problem with the map? (one pixel province etc.) Quote Share this post Link to post Share on other sites More sharing options...
Kozima 42 Posted January 10, 2023 there are android version? Quote Share this post Link to post Share on other sites More sharing options...