• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

A19e Nitrogen - UNSTABLE

Status
Not open for further replies.
Im thinking about a general tool to convert imported hightmaps and prefab.xml back to a full map.

(So you could manually move POI locations, and then adjust the terrain to it automatically.)

Kind of seperating the the project into an easy to use generator (quickly get a map), and a set of modding tools. (tinkering around with custom maps)

 
Im thinking about a general tool to convert imported hightmaps and prefab.xml back to a full map.(So you could manually move POI locations, and then adjust the terrain to it automatically.)

Kind of seperating the the project into an easy to use generator (quickly get a map), and a set of modding tools. (tinkering around with custom maps)
Well, that would be amazing!

If you need help in any way just let me know. ;) :D

Seriously, great idea and would make the game even more fun and amazing.

Pretty hard to do all that stuff with the prefab and/or in game map editor.

 
New update: main.ttw should now be now unique. But have a test in a server environment first.

Fallback solution: grab any current main.ttw from an RWG world (can be 4k) and replace it.

 
So, downloaded and creating my first map. Anyone have any good options to try in the generator? I went with what it came up with other than removing burnt and wasteland. Is there any reason you need those in-game that I'll be missing out on? Oh, and I removed cracks as well.

 
ok so ran nitrogen thru 8gb 16k batch and this error showed -

Exception in thread "Thread-2" java.lang.OutOfMemoryError: Java heap space

at java.awt.image.DataBufferInt.<init>(Unknown Source)

at java.awt.image.Raster.createPackedRaster(Unknown Source)

at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)

at java.awt.image.BufferedImage.<init>(Unknown Source)

at nitrogen.terraingen.ToolImageProcessor.a(Unknown Source)

at nitrogen.a.i.a(Unknown Source)

at nitrogen.a.c.g(Unknown Source)

at nitrogen.a.c.a(Unknown Source)

at nitrogen.gui.NitroGenUI.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

however I do have 64 bit java any ideas

 
Check in the programs folder if you have more than one Java.

In the cmd console type

java -version

This show you the current java version that is "active" when running programs.

It should state something like "64-Bit Server VM"

You could manually start the 64bit java.exe by using the full path to the 64bit installation (editing the .bat files in NitroGen)

 
I just ran it and had same issue, issue started after exporting (2/3)

Edit sorry did not see your post, will try that :)

Edit Edit: I found that allocating more ram to the program was the fix. I gave it 12gb but it only used 8.5gb at peak. found i was using the right version of java all along. program was just running out of memory.

Hope this helps

BTW awesome program thanks heaps

 
Last edited by a moderator:
I just ran it and had same issue, issue started after exporting (2/3)
Edit sorry did not see your post, will try that :)

Edit Edit: I found that allocating more ram to the program was the fix. I gave it 12gb but it only used 8.5gb at peak. found i was using the right version of java all along. program was just running out of memory.

Hope this helps

BTW awesome program thanks heaps
how did you allocate more ram

- - - Updated - - -

because i have the right java as well

 
Thanks so much for this. ... I so badly wanted a nice map to start my new modded playthrough, but the in-game generator just takes way too long to make a nice big map. 12kx12k in 16min . Cant even do that with a 4k map ingame....and on top of that, I got cities, and the biomes where I want them.

 
Try changing the entire bat text to this

@echo off

set path=C:\Program Files\Java\jre1.8.0_231\bin\;%path%

java -Xmx12G -jar nitrogen.jar

make sure your path to java is at the location above

my 16k map took 23 minutes

Good luck

 
Try changing the entire bat text to this
@echo off

set path=C:\Program Files\Java\jre1.8.0_231\bin\;%path%

java -Xmx12G -jar nitrogen.jar

make sure your path to java is at the location above

my 16k map took 23 minutes

Good luck
that bit worked lol nitrogen generated but it was in game while loading i got the out of memory now still lol

 
Well I just tested my 16k world, it loads fine but is not that friendly on my PC.

I dont think we are ready for 16k maps until the game gets optimized or we get super computers

I am unsure how to help your situation tho sorry

 
Well I just tested my 16k world, it loads fine but is not that friendly on my PC.
I dont think we are ready for 16k maps until the game gets optimized or we get super computers

I am unsure how to help your situation tho sorry
i was playing 16k maps only last week lol but yeh been unable to since tho

 
Not sure how it could be related but prior to that latest small update I had made a couple of 16k maps without issue.

I have just tried to compile one now and it failed with this error....

Exception in thread "Thread-2" java.lang.OutOfMemoryError: Java heap space

at java.awt.image.DataBufferInt.<init>(Unknown Source)

at java.awt.image.Raster.createPackedRaster(Unknown Source)

at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)

at java.awt.image.BufferedImage.<init>(Unknown Source)

at nitrogen.terraingen.ToolImageProcessor.a(Unknown Source)

at nitrogen.a.i.a(Unknown Source)

at nitrogen.a.c.g(Unknown Source)

at nitrogen.a.c.a(Unknown Source)

at nitrogen.gui.NitroGenUI.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Java version...

java version "1.8.0_231"

Java SE Runtime Environment (build 1.8.0_231-b11)

Java HotSpot 64-Bit Server VM (build 25.231-b11, mixed mode)

I have 32GB of memory available and noticed when Java was compiling it used less than 4GB as a process.

I'll try again soon.

 
Last edited by a moderator:
Not sure how it could be related but prior to that latest small update I had made a couple of 16k maps without issue.
I have just tried to compile one now and it failed with this error....

Exception in thread "Thread-2" java.lang.OutOfMemoryError: Java heap space

at java.awt.image.DataBufferInt.<init>(Unknown Source)

at java.awt.image.Raster.createPackedRaster(Unknown Source)

at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)

at java.awt.image.BufferedImage.<init>(Unknown Source)

at nitrogen.terraingen.ToolImageProcessor.a(Unknown Source)

at nitrogen.a.i.a(Unknown Source)

at nitrogen.a.c.g(Unknown Source)

at nitrogen.a.c.a(Unknown Source)

at nitrogen.gui.NitroGenUI.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Java version...

java version "1.8.0_231"

Java SE Runtime Environment (build 1.8.0_231-b11)

Java HotSpot 64-Bit Server VM (build 25.231-b11, mixed mode)

I have 32GB of memory available and noticed when Java was compiling it used less than 4GB as a process.

I'll try again soon.
Blunt.jdog fixed this you edit the .bat for the 8g and change it to 12

- - - Updated - - -

like here

 
Status
Not open for further replies.
Back
Top