Posted November 13, 2015 2097152KB = 2.097GB which is past the 2048 you've set. Try increasing the -Xmx2048m to 3072 or 4096 and you should be able to generate fine. No luck there either. If I use 2000m it tries to allocate 2048 due to the conversion from decimal to hex AFAIK. The problem is my system is refusing to release the memory to java even though resource manager is showing 4330m free after boot up. Share this post Link to post Share on other sites
Posted November 13, 2015 (edited) No luck there either. If I use 2000m it tries to allocate 2048 due to the conversion from decimal to hex AFAIK. The problem is my system is refusing to release the memory to java even though resource manager is showing 4330m free after boot up. The 2000 to 2048 makes sense, it just rounds it up to the nearest number of bytes. Did you by any chance disable your page file (virtual memory)? I know some people like to run with a setup like that but it causes problems for certain applications, this might be one of them. The only other thing I can think of is that there is a global Java setting taking precedence over your command-line although it shouldn't work that way. In your Windows Control Panel under Programs should be an entry for Java. Open that up and go the Java tab and click the View button there. It will show you the installed Java versions and you can add runtime parameters there. I'm not saying that will fix it, hopefully someone with more Java experience comes along and will tell you what's going on. - edit And one other thing, make sure you are using a 64-bit Java. 2048 would be the limit of a 32-bit version so if you're using that, that's the cause of the error. Edited November 13, 2015 by BadLuckBurt 1 Share this post Link to post Share on other sites
Posted November 14, 2015 The 2000 to 2048 makes sense, it just rounds it up to the nearest number of bytes. - edit And one other thing, make sure you are using a 64-bit Java. 2048 would be the limit of a 32-bit version so if you're using that, that's the cause of the error. 1 Share this post Link to post Share on other sites
Posted November 14, 2015 This is my issue when I try and give this tool more ram. C:\Users\MegaTarre>java -Xmx4096m -jar WGenerator.jarInvalid maximum heap size: -Xmx4096mThe specified size exceeds the maximum representable size.Error: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit. My java version: C:\Users\MegaTarre> java -versionjava version "1.8.0_65"Javaâ„¢ SE Runtime Environment (build 1.8.0_65-b17)Java HotSpotâ„¢ Client VM (build 25.65-b01, mixed mode) Share this post Link to post Share on other sites
Posted November 14, 2015 This is my issue when I try and give this tool more ram. C:\Users\MegaTarre>java -Xmx4096m -jar WGenerator.jar Invalid maximum heap size: -Xmx4096m The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. My java version: C:\Users\MegaTarre> java -version java version "1.8.0_65" Javaâ„¢ SE Runtime Environment (build 1.8.0_65-b17) Java HotSpotâ„¢ Client VM (build 25.65-b01, mixed mode) I fixed my own issue, I had a 32 bit java installed not a 64bit. Share this post Link to post Share on other sites
Posted November 14, 2015 I'll make a note in the first post, hopefully that helps people in the future 1 Share this post Link to post Share on other sites
Posted November 14, 2015 Ok so I got the memory thing dealt with but now the problem is the generator more or less keeps making the same square shaped packed with mountains and dotted with lakes map no matter what settings I use. Share this post Link to post Share on other sites
Posted November 14, 2015 when you drop dirt, what is your water level set to? Share this post Link to post Share on other sites
Posted November 15, 2015 can you look into flowers next? <3http://forum.wurmonline.com/index.php?/topic/134751-no-flowers-on-wu/#entry1381148 Share this post Link to post Share on other sites
Posted November 16, 2015 can you look into flowers next? <3 http://forum.wurmonline.com/index.php?/topic/134751-no-flowers-on-wu/#entry1381148 Share this post Link to post Share on other sites
Posted November 16, 2015 Something strange in dirt drop, generator v2.4.2. By a couple of maps there appeared two lines of discontinuity in the height of the dirt layer. One vertical from center of top edge to center of bottom edge, the other left to right, edge center to edge center. Share this post Link to post Share on other sites
Posted November 16, 2015 can you look into flowers next? <3 http://forum.wurmonline.com/index.php?/topic/134751-no-flowers-on-wu/#entry1381148 According to that thread it's an issue with the game code. Will see what I can do Something strange in dirt drop, generator v2.4.2. By a couple of maps there appeared two lines of discontinuity in the height of the dirt layer. One vertical from center of top edge to center of bottom edge, the other left to right, edge center to edge center. Update to the latest version. The drop dirt issues have been fixed. Also, new features Share this post Link to post Share on other sites
Posted November 16, 2015 No they specifically stated it is an issue with map generators not seeding flowers - they are adding random seeding hopefully for no flower maps only so that generators can still control the seeding. Many players want to make unique biomes and not have everything randomly everywhere. Share this post Link to post Share on other sites
Posted November 16, 2015 Updated to v2.6.2, no dirt shear lines anymore, fine eitr. But there is something else. Generate a height map, then drop first just a little dirt say 20, then drop say 150 and compare the smoothness of the generated dirt layers depth 20 and depth 150. The latter would be very hard to walk upon. Share this post Link to post Share on other sites
Posted November 17, 2015 No they specifically stated it is an issue with map generators not seeding flowers - they are adding random seeding hopefully for no flower maps only so that generators can still control the seeding. Many players want to make unique biomes and not have everything randomly everywhere. 1 Share this post Link to post Share on other sites
Posted November 19, 2015 Update 2.8 - Flowers! Added flower types (1-15) to biomes.Added random flower type selection.Added flower percent chance input. - Flowers must be grown on grass tiles Improved Biome growth function. - More accurately spreads biome (less patchy the closer to 100% growth) - CAUTION: seeding large biomes may cause long computation times (growth tries harder to spread now) - If you want big biomes reduce the seed count Added Biome view that shows the biome colors (same as exported image).Added Tree, Bush, and Snow tile types. Added the following biome import colors:TREE:(41,58,1)BUSH:(58,58,0)CLIFF:(155,151,148)SNOW:(255,255,255)WOODEN_PLANKS:(114,102,80)STONE_SLABS:(99,99,99)SLATE_SLABS:(99,99,98)MARBLE_SLABS:(99,99,97)COBBLESTONE:(92,83,73)ROUGH_COBBLESTONE:(92,83,74)ROUND_COBBLESTONE:(92,83,75)COBBLESTONE_NW:(92,83,76)COBBLESTONE_NE:(92,83,77)COBBLESTONE_SE:(92,83,78)COBBLESTONE_SW:(92,83,79)FLOWERS:(220,250,51-65) Action files are not compatible with previous versions 1 Share this post Link to post Share on other sites
Posted November 20, 2015 Added import/export 16bit grayscale .png height maps (credit to Xeon) My 16bit greyscale png image imports are covered in a cross hatching. :/ Share this post Link to post Share on other sites
Posted November 20, 2015 (edited) It is really irritating to use the program in a 32 bit OS, not to be able to work with larger than 2048 maps! Could the out of memory in java heap be avoided, like paging the heap to HD, processing in smaller hunks or what ever...... Edited November 20, 2015 by www Share this post Link to post Share on other sites
Posted November 20, 2015 My 16bit greyscale png image imports are covered in a cross hatching. :/ are you sure its in greyscale and not rgb? other thing would be to flatten the image before you save it. or make sure theres a locked layer at the bottom 1 Share this post Link to post Share on other sites
Posted November 22, 2015 If repost, can't be asked to check if i shared this already. Make heightmap with our Wgen, open it with http://www.decarpentier.nl/scape , get frustrated for a while til you master it.... THEN go back to the site, there's this nvidia tool, i have yet to test it, but this guy provides some algorithms you can use for some pretty realistic distortion effects on mountains and such. The simple Scape itself though, you can do a LOT with it. Use the "GPU" brushes btw, the other ones ain't that effective, at least not in my PC. You'll see what I mean. Now, a request. If it could do more than one dirt drop without basically just starting a new one. In short, "add 60 dirts up to 1000 height, then drop 40 dirt from 750 height to 2000 heights".... imagine the maps.. =D (If doable, if answer is FU i'll understand, code is a tricky mistress hence why i never got deep into programming). 2 Share this post Link to post Share on other sites
Posted November 22, 2015 14 hours ago, Mordraug said: Make heightmap with our Wgen, open it with http://www.decarpentier.nl/scape , get frustrated for a while til you master it.... THEN go back to the site, there's this nvidia tool, i have yet to test it, but this guy provides some algorithms you can use for some pretty realistic distortion effects on mountains and such. The simple Scape itself though, you can do a LOT with it. Use the "GPU" brushes btw, the other ones ain't that effective, at least not in my PC. You'll see what I mean. Very nice tool. I only played around with it a little bit but it seems quite powerful. I'll have to see how it translates to Wurm scale, some other terrains I've made were way too bumpy and made travel a pain. Share this post Link to post Share on other sites
Posted November 22, 2015 17 hours ago, Mordraug said: If repost, can't be asked to check if i shared this already. Make heightmap with our Wgen, open it with http://www.decarpentier.nl/scape , get frustrated for a while til you master it.... THEN go back to the site, there's this nvidia tool, i have yet to test it, but this guy provides some algorithms you can use for some pretty realistic distortion effects on mountains and such. The simple Scape itself though, you can do a LOT with it. Use the "GPU" brushes btw, the other ones ain't that effective, at least not in my PC. You'll see what I mean. Now, a request. If it could do more than one dirt drop without basically just starting a new one. In short, "add 60 dirts up to 1000 height, then drop 40 dirt from 750 height to 2000 heights".... imagine the maps.. =D (If doable, if answer is FU i'll understand, code is a tricky mistress hence why i never got deep into programming). I was using scape as well. I wish it would scale the wurm maps better because in scape you will have this steep slope but in wurm its actually a gradual slope. Its like the map is scrunched up in scape. I was mostly using it for smoothing out the bumpy terrain that all the generators seem to make and also create mountains. It would be awesome if we could do the same things in wurm generator as scape. 1 Share this post Link to post Share on other sites
Posted November 23, 2015 If anybody knows, will the server automatically create/place source springs, source fountains and ordinary water source tiles (where wells can be built) or should the map generator create them? Share this post Link to post Share on other sites
Posted November 23, 2015 (edited) I am trying to make a new map, and after I set up the heightmap and drop the dirt I get this message. Not really sure what is wrong with it, it was working fine last night. java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at com.wurmonline.wurmapi.api.MapData.createMap(MapData.java:74) at com.wurmonline.wurmapi.api.MapData.<init>(MapData.java:40) at com.wurmonline.wurmapi.api.WurmAPI.<init>(WurmAPI.java:49) at com.wurmonline.wurmapi.api.WurmAPI.create(WurmAPI.java:26) at net.buddat.wgenerator.MainWindow.getAPI(MainWindow.java:2420) at net.buddat.wgenerator.MainWindow.updateAPIMap(MainWindow.java:2463) at net.buddat.wgenerator.MainWindow.updateMapView(MainWindow.java:2443) at net.buddat.wgenerator.MainWindow.actionDropDirt(MainWindow.java:1765) at net.buddat.wgenerator.MainWindow$34$1.run(MainWindow.java:1487) Exception in thread "Thread-3" java.lang.NullPointerException at net.buddat.wgenerator.MainWindow.updateAPIMap(MainWindow.java:2463) at net.buddat.wgenerator.MainWindow.updateMapView(MainWindow.java:2443) at net.buddat.wgenerator.MainWindow.actionDropDirt(MainWindow.java:1765) at net.buddat.wgenerator.MainWindow$34$1.run(MainWindow.java:1487) I am using Wgenerator. Edited November 23, 2015 by Taijyn forgot to add program Share this post Link to post Share on other sites
Posted November 24, 2015 12 hours ago, Taijyn said: I am trying to make a new map, and after I set up the heightmap and drop the dirt I get this message. Not really sure what is wrong with it, it was working fine last night. java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) I am using Wgenerator. That happens when the program failed to save the map folder. Check if you have write permission in that folder, or try running the program from an admin command prompt. Share this post Link to post Share on other sites