Jump to content
Damocles

[A19] NITROGEN , a random world generator for 7DtD

Recommended Posts

16k map gen I use -Xmx32G     24 should work, 12 may not be enough. 653  sheep?  most likely not enough.

 

(had the same issue, so I give java half the memory)  :)

 

Share this post


Link to post
Share on other sites

Curious. I've never needed more than 12GB. I've even monitored the actual memory use vs. commit and it doesn't go over 10, with NitroGen and Compopack. Do you use anything else that requires altering the NitroGen files? Have you tried it with a lower setting for Roads? It seems you're saying that you have 64GB...is that all physical memory? Have you tried -Xmx60GB to see what happens?

 

Edited by GlassDeviant (see edit history)

Share this post


Link to post
Share on other sites

I needed to change the default biome for bad pixels with BiomeFixer and had a hard time! This could explain that you have to right-click and choose modify on the .bat file to set the options, it's not obvious!

Share this post


Link to post
Share on other sites

Good afternoon, I have problems with the generated maps, I am honest I know that part of the problem is my computer since I only have 8gb of ram and my video card is a GTX 1050 with 2gb of ram, with the maps that I have in the game ( Pregen01, 02 and 03) I can play without problems, the detail is with the maps that I have generated with Nitrogen, of course I have created only 6 and 8k maps, I still understand that the 8k maps need a minimum of 8gb of ram and it is recommended 16 (as I have read in other forums). Now, I have tried to play in the 6k maps that I have generated, I can play them the first time, but when I exit and return to the game I can no longer play them, the game always closes, I do not know if it is because of the pc I have or the maps I have to generate them with less requirements. I attach an image of how I generate the maps, if someone can help me with this problem because the truth is I would like to be able to play the maps that I generate. In advance thanks for the help and the apologies for the text that this and using the google translate

 

image.thumb.png.2381ae28758290a4241fbb869eae1687.png

Share this post


Link to post
Share on other sites

I've run into an odd issue in game with a custom generated map I made at the beginning of September.  It has been playing fine up to now as none of the players on the server have travelled to far out from the single spawn point.  Today I went out a couple kilometers and the terrain did not convert from the distant view (no grass and low res textures).  The moment I walked into the barren field I fell through the world.  It teleported me back to just about the terrain height and prevents me from doing anything as the player (no movement or menus).  Disconnecting/Reconnecting fails and sits on "initializing world" [edit]"Starting Game" indefinitely.  My only resolution is to restart the dedicated server world.  I can log in again, but fall through the world again when I move.  The server logs show chunks not available for spawning mobs in, and then an exception is thrown.

I generated the map for A19 b180, but currently running on Alpha 19.1 (b8) after they converted experimental to release

  • NitroGen_WorldGenerator_v0501
  • COMPOPACK_45hotfix02(for Alpha19stable_built180)

Any suggestions on fixes would be helpful, the other players are not keen on restarting the world from scratch.
 

2020-10-16T14:20:18 77066.557 INF Time: 1284.29m FPS: 22.77 Heap: 3975.0MB Max: 4139.8MB Chunks: 255 CGO: 29 Ply: 1 Zom: 3 Ent: 5 (185) Items: 2 CO: 1 RSS: 6056.6MB
2020-10-16T14:20:29 77076.800 WRN No chunk for position -1944, 54, 2096, can not add childs to pos -1944, 54, 2095! Block bed01
2020-10-16T14:20:29 77076.800 WRN No chunk for position -1940, 54, 2096, can not add childs to pos -1940, 54, 2095! Block bed01
2020-10-16T14:20:33 77081.268 INF 77071.92 SleeperVolume -1964, 53, 2019. Spawning at -1954, 55, 2021, group 'sleeperHordeStageGS89', class zombieCheerleader, count 4
2020-10-16T14:20:33 77081.385 INF 77072.04 SleeperVolume -1964, 53, 2019. Spawning at -1958, 55, 2022, group 'sleeperHordeStageGS89', class zombieNurseFeral, count 4
2020-10-16T14:20:48 77096.560 INF Time: 1284.79m FPS: 21.98 Heap: 3999.4MB Max: 4139.8MB Chunks: 255 CGO: 39 Ply: 1 Zom: 2 Ent: 6 (195) Items: 2 CO: 1 RSS: 6056.6MB
2020-10-16T14:20:51 77099.345 ERR Exception in thread GenerateChunks:
2020-10-16T14:20:51 77099.346 EXC Object reference not set to an instance of an object
NullReferenceException: Object reference not set to an instance of an object
  at GameManager.ChangeBlocks (System.String persistentPlayerId, System.Collections.Generic.List`1[T] _blocksToChange) [0x0065f] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at GameManager.SetBlocksRPC (System.Collections.Generic.List`1[T] _changes) [0x00000] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at World.SetBlockRPC (Vector3i _blockPos, BlockValue _blockValue) [0x0001a] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at BlockLiquidv2.ChangeToAir (WorldBase _world, Vector3i _blockPos) [0x00036] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at BlockLiquidv2.UpdateTick (WorldBase world, System.Int32 _clrIdx, Vector3i _blockPos, BlockValue _blockValue, System.Boolean _bRandomTick, System.UInt64 _ticksIfLoaded, GameRandom _rnd) [0x00102] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at BlockLiquidv2.OnBlockAdded (WorldBase world, Chunk _chunk, Vector3i _blockPos, BlockValue _blockValue) [0x00069] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at Chunk.SetBlock (WorldBase _world, System.Int32 x, System.Int32 y, System.Int32 z, System.Int32 _clrIdx, BlockValue _blockValue, System.Boolean _fireBlockAddedChangedEvents) [0x00082] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at Chunk.SetBlock (WorldBase _world, System.Int32 x, System.Int32 y, System.Int32 z, BlockValue _blockValue, System.Boolean _fireBlockAddedChangedEvents) [0x00000] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at Prefab.CopyBlocksIntoChunkNoEntities (World _world, Chunk _chunk, Vector3i _prefabTargetPos, GameRandom _random, System.Boolean _bForceOverwriteBlocks) [0x0065c] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at PrefabInstance.CopyIntoChunk (World _world, Chunk _chunk, GameRandom _random, System.Boolean _bForceOverwriteBlocks) [0x00000] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at DynamicPrefabDecorator.DecorateChunk (World _world, Chunk _chunk, System.Boolean _bForceOverwriteBlocks) [0x0003c] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at DynamicPrefabDecorator.DecorateChunk (World _world, Chunk _chunk) [0x00000] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at ChunkProviderGenerateWorld.GenerateSingleChunk (ChunkCluster cc, System.Int64 key, System.Boolean _forceRebuild) [0x000fd] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at ChunkProviderGenerateWorld.thread_GenerateChunks (ThreadManager+ThreadInfo _threadInfo) [0x0003a] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
  at ThreadManager.myThreadInvoke (System.Object _threadInfo) [0x0005d] in <9f04a0ee08f84f3794a7468a839f2bb0>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
ThreadManager:myThreadInvoke(Object)
System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
System.Threading.ThreadPoolWorkQueue:Dispatch()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback()
 
(Filename: <9f04a0ee08f84f3794a7468a839f2bb0> Line: 0)

2020-10-16T14:20:51 77099.358 INF Exited thread GenerateChunks


 

 

map_info.xml prefabs.xml

A19.1_2020-10-16_18-32-36.jpg

Edited by kwag (see edit history)

Share this post


Link to post
Share on other sites

I think that my issues involves this specific POI, which looks like a fishing boat or some kind of dredge, and the dock.
You can see the outline of the lake it is on and where one chunk ends loading, and then fails to load further.


I was able to backtrack my character out far enough from it to go around, and even go to other unexplored areas without issue.

[EDIT] The POI is xcostum_research_vessel(by_Pille) , I have the same issue in a new single player world, god/invisible mode let me fly there without falling through.  And clipping into the ground you do go under water.   I'll see if there is any difference in the most recent compopack.
 

A19.1_2020-10-16_19-19-19.jpg

Edited by kwag (see edit history)

Share this post


Link to post
Share on other sites

First of all, absolutely amazed by the quality of these generated maps! Kudos.

 

Question: I ticked the "random start location" option in my new map, but every time I start a new game I end up in the same place 😕 Is there a bug with this option or am I not doing it right?

 

EDIT: Nevermind... If you delete your first save and start a new one, you land in the same spot. If you keep your first save and start a new one it generates a new starting location. Guess that's the trick

Edited by PewP3r (see edit history)

Share this post


Link to post
Share on other sites
11 minutes ago, PewP3r said:

First of all, absolutely amazed by the quality of these generated maps! Kudos.

 

Question: I ticked the "random start location" option in my new map, but every time I start a new game I end up in the same place 😕 Is there a bug with this option or am I not doing it right?

If the map has the one coordinate in spawnpoints.xml in own folder then you have selected "one spawn point"

Edited by CrazyAluminum (see edit history)

Share this post


Link to post
Share on other sites
15 hours ago, PewP3r said:

If you delete your first save and start a new one, you land in the same spot. If you keep your first save and start a new one it generates a new starting location. Guess that's the trick

Did you name them the same?

 

Share this post


Link to post
Share on other sites
On 10/16/2020 at 7:13 PM, Chrnosdark said:

Good afternoon, I have problems with the generated maps, I am honest I know that part of the problem is my computer since I only have 8gb of ram and my video card is a GTX 1050 with 2gb of ram, with the maps that I have in the game ( Pregen01, 02 and 03) I can play without problems, the detail is with the maps that I have generated with Nitrogen, of course I have created only 6 and 8k maps, I still understand that the 8k maps need a minimum of 8gb of ram and it is recommended 16 (as I have read in other forums). Now, I have tried to play in the 6k maps that I have generated, I can play them the first time, but when I exit and return to the game I can no longer play them, the game always closes, I do not know if it is because of the pc I have or the maps I have to generate them with less requirements. I attach an image of how I generate the maps, if someone can help me with this problem because the truth is I would like to be able to play the maps that I generate. In advance thanks for the help and the apologies for the text that this and using the google translate

 

image.thumb.png.2381ae28758290a4241fbb869eae1687.png

 

Hi Chrsnosdark


I also have 8gb of ram on my pc and I play the map I made with Compopack + Nitrogen without many problems.
In the City trader option set it to nothing and in Custom towns set it to 1 of each type.
I do not know what configuration you have in the game, but try to play to the minimum and you will be fine.
Regards

Share this post


Link to post
Share on other sites
On 10/18/2020 at 9:27 AM, Gouki said:

 

Hi Chrsnosdark


I also have 8gb of ram on my pc and I play the map I made with Compopack + Nitrogen without many problems.
In the City trader option set it to nothing and in Custom towns set it to 1 of each type.
I do not know what configuration you have in the game, but try to play to the minimum and you will be fine.
Regards

Thanx for you help, I will try to do it like that, it is a pain that has to be with the graphics at a minimum, because if I had noticed that with the graphics at a minimum if I ran the map, but when the resolution went up, everything broke, hahaha

Share this post


Link to post
Share on other sites

@Damocles Is there any plan to modify nitrogen to make it generate Darkness Falls appropriate maps? (as in, make specific prefabs generate in specific biomes)

 

That would be HUGE

Share this post


Link to post
Share on other sites
On 10/17/2020 at 11:32 AM, kwag said:

I think that my issues involves this specific POI, which looks like a fishing boat or some kind of dredge, and the dock.
You can see the outline of the lake it is on and where one chunk ends loading, and then fails to load further.


I was able to backtrack my character out far enough from it to go around, and even go to other unexplored areas without issue.

[EDIT] The POI is xcostum_research_vessel(by_Pille) , I have the same issue in a new single player world, god/invisible mode let me fly there without falling through.  And clipping into the ground you do go under water.   I'll see if there is any difference in the most recent compopack.
 

A19.1_2020-10-16_19-19-19.jpg

Yes there is issues with water rotations and metas.  The research vessel was omitted from the cp46 to fix and should be back in cp47. 

  • Like 1

Share this post


Link to post
Share on other sites
On 10/12/2020 at 11:58 PM, GlassDeviant said:

Curious. I've never needed more than 12GB. I've even monitored the actual memory use vs. commit and it doesn't go over 10, with NitroGen and Compopack. Do you use anything else that requires altering the NitroGen files? Have you tried it with a lower setting for Roads? It seems you're saying that you have 64GB...is that all physical memory? Have you tried -Xmx60GB to see what happens?

 

 

yes, I do have 64gb physical ram.  :D

 

not gonna try using 60 of it for java. nope nope nope.

 

I didn't want lower settings for roads, I was trying for very large cities, and many of them.  Also had the new highways turned on.

It got up to around 20gb usage I believe for that ginormous map (90 min to gen. 8k takes about 3. avg for 16k is 45-60)

 

 

Share this post


Link to post
Share on other sites
5 hours ago, canadianbluebeer said:

 

yes, I do have 64gb physical ram.  :D

 

not gonna try using 60 of it for java. nope nope nope.

 

I didn't want lower settings for roads, I was trying for very large cities, and many of them.  Also had the new highways turned on.

It got up to around 20gb usage I believe for that ginormous map (90 min to gen. 8k takes about 3. avg for 16k is 45-60)

 

 

How strange. I generated a 16kx16k map just loaded with cities, including loads of roads and 2 double highways each direction and it generated fine in 12GB, if slowly. The game, unfortunately, couldn't run that map for very long in 16GB of total physical RAM. Once I got to about 20% of the map explored it was no longer playable. I'm just not up for upgrading during this whole covid thing but once it's over I'll likely go to at least 32 if the prices aren't ridiculous.

 

Edit: Doing a test to see what happens with even more aggressive map settings are used, using my -Xmx12GB batch file to start NitroGen. With landscape set to mostly flat with a bit of desert in the manual settings, all terrains included (no Darkness Falls stuff), lots of cities and mega city size, two single-lane highways and non-city areas minimized. NitroGen is not even using 4GB yet, but it's just getting started and I expect it will be a while.

 

Edited by GlassDeviant (see edit history)

Share this post


Link to post
Share on other sites
10 minutes ago, GlassDeviant said:

How strange. I generated a 16kx16k map just loaded with cities, including loads of roads and 2 double highways each direction and it generated fine in 12GB, if slowly. The game, unfortunately, couldn't run that map for very long in 16GB of total physical RAM. Once I got to about 20% of the map explored it was no longer playable. I'm just not up for upgrading during this whole covid thing but once it's over I'll likely go to at least 32 if the prices aren't ridiculous.

 

32gb in my server. old one only 16gb.

 

I really overdid the cities though.  I mean seriously over did it, and yes, 2 double highways. (I always make those, they don't take time to gen, cities/towns do)

the number of sheep to be counted was.... silly.

:D

 

Share this post


Link to post
Share on other sites
23 minutes ago, canadianbluebeer said:

32gb in my server. old one only 16gb.

 

I really overdid the cities though.  I mean seriously over did it, and yes, 2 double highways. (I always make those, they don't take time to gen, cities/towns do)

the number of sheep to be counted was.... silly.

:D

 

See edit to my previous post. I'm at 335 sheep so far and the memory use just jumped to nearly 6GB. I used single-lane highways so it doesn't take forever to repair them all...instead it takes nearly forever. :)

 

Edit: Just had a thought: Do you generate preview while generating maps, or set it to no preview and build it later?

 

Edit 2: Completed map generation in 23m40s. Max RAM use was 8.6GB and I forgot to turn off "no preview" (I usually make 4K maps lately) so that included preview generation.

Here it is if you want to take a look: https://www.dropbox.com/s/y3zte12h02vdjjl/MegaTest.rar?dl=0

(Note: 124MB WinRAR file, expands to 594MB)

 

NGMG.png

Edited by GlassDeviant
add NitroGen screenshot (see edit history)

Share this post


Link to post
Share on other sites

I was just wondering how I could get NitroGen to do 24k*24k maps. Then I thought about it and decided I didn't want to make my PC explode. :)

 

Anyway, looking at the map preview I clearly didn't get the results I was looking for. I only wanted to leave out steep mountains (it never works completely, but I like to reduce them to a minimum), so I am going to run another test with more varied terrain. I think, though, that the problem you're having is related to roads. With so many cities, default roads should be plenty enough to not lack at least one connection between adjacent cities most of the time.

 

Edit: So I did that and it took 23m50s. I used default roads and there aren't many adjacent cities without roads directly between them, though there are a few, and there are plenty of roads overall on the map. Oddly enough, NitroGen didn't even go over 7GB memory use this time. Best advice I have is to just not use the many roads setting.

 

Edit 2: Played with many settings and it always comes down to the roads for me, every other setting on a 16k*16k map generates in about 24 minutes.

 

Edited by GlassDeviant (see edit history)

Share this post


Link to post
Share on other sites

I do gen the preview as it is something I want to have.

 

One of these times, I'm going to spend the time and repair the highways, but keep it at day 1.

(unless I can figure out how to have them not be all busted up)

 

 

Share this post


Link to post
Share on other sites
On 10/19/2020 at 4:14 PM, Chrnosdark said:

Thanx for you help, I will try to do it like that, it is a pain that has to be with the graphics at a minimum, because if I had noticed that with the graphics at a minimum if I ran the map, but when the resolution went up, everything broke, hahaha

 

On 10/18/2020 at 9:27 AM, Gouki said:

 

Hi Chrsnosdark


I also have 8gb of ram on my pc and I play the map I made with Compopack + Nitrogen without many problems.
In the City trader option set it to nothing and in Custom towns set it to 1 of each type.
I do not know what configuration you have in the game, but try to play to the minimum and you will be fine.
Regards

Hello, good afternoon, I wanted to thank you very much for your help. I have finally been able to play the maps that I have generated as you told me and I was looking at some options to download the graphics and it works well. Thank you very much for your help

Edited by Chrnosdark (see edit history)

Share this post


Link to post
Share on other sites
1 hour ago, canadianbluebeer said:

I do gen the preview as it is something I want to have.

 

One of these times, I'm going to spend the time and repair the highways, but keep it at day 1.

(unless I can figure out how to have them not be all busted up)

 

 

I've asked about having them generate in pristine condition, but gotten no reply.

How do you keep the day at 1 while repairing the highways? Usually I just do it as I explore the map along the highways, placing wet concrete blocks to span the gaps as I go. Makes the trip "home" a lot easier.

 

Share this post


Link to post
Share on other sites
11 hours ago, GlassDeviant said:

I've asked about having them generate in pristine condition, but gotten no reply.

How do you keep the day at 1 while repairing the highways? Usually I just do it as I explore the map along the highways, placing wet concrete blocks to span the gaps as I go. Makes the trip "home" a lot easier.

 

Godmode, creative menu for the completed blocks (to cut down on xp gain), and keep turning the clock back.

 

Would be a boatload of work though, and probably not worth it.

 

Share this post


Link to post
Share on other sites

Good day Damocles

 

Sure Has been awhile since you were on Last and I'm Hoping that all is well and yes these are trying times.

Take Care and Be Safe ... the Old Gamer .. 😌

Share this post


Link to post
Share on other sites

I am trying to figure out what issue I'm having (See screenshot). Is it a setting? Did i install something wrong? I have several buildings in every city built under the ground level. Is this a nitrogen thing? Or is it a compo thing?

20201022212008_1.jpg

Share this post


Link to post
Share on other sites

Hello,

when I create a new world with NitroGen, the map is generated, but all buildings are in the left down corner of the map.

I use NitroGen 0,501 and added the three files from CompoPack (from folder Nitrogen-files) to resources.

I cannot post the preview, I always get an "-200" error.

What can I do to get correct working maps (or to post the previewmap.png)?

Thanks in advance

Thomas

spacer.pngs96ji89s.png

 

Edited by NemesisFulgidum (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...