Gamestudio Links
Zorro Links
Newest Posts
WFO Training with parallel cores Zorro64
by Martin_HH. 02/23/26 10:49
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, alx, Martin_HH), 6,129 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Raise Nexus size programatically #424464
06/16/13 17:08
06/16/13 17:08
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hello, we are struggling with the message "nexus too small". Is there a way to raise the nexus for the entire game programatically? As written in the manual this only seems possible via the command line parameter nx.

Re: Raise Nexus size programatically [Re: PadMalcom] #424468
06/16/13 17:59
06/16/13 17:59
Joined: Jul 2000
Posts: 28,075
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,075
Frankfurt
The nexus is memory that you allocate beforehand. Allocating memory at runtime happens automatically, you need no programatical way for this.

Re: Raise Nexus size programatically [Re: jcl] #424486
06/17/13 07:38
06/17/13 07:38
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Okay, let me describe a small scenario. We start the game without loading a level. The game comes up fine and stays alive until we load a level from a menu panel. Then it crashes during a level_load call and says "Nexus too small". Shouldn't memory then be allocated dynamically for this new level?

Re: Raise Nexus size programatically [Re: PadMalcom] #424487
06/17/13 07:52
06/17/13 07:52
Joined: Jul 2000
Posts: 28,075
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,075
Frankfurt
Yes. Crashes in your game are caused by a bug, not by the nexus. The memory structure can indeed affect how and when a crash happens, but it can normally not cause a crash.

DirectX 9 crashes when all memory is consumed, but that should not happen on a normal PC. Please find out what element of that level causes the crash - there are suggestions in the manual under "Troubleshooting" how to do that. If you can't find the reason, please post here again and I'll try to help.

Re: Raise Nexus size programatically [Re: jcl] #424489
06/17/13 08:06
06/17/13 08:06
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Okay, I used a wrong wording. The game does not crash but the message "nexus too small" pops up during that ingame level_load call. Then I click okay, and the engine halts. When I use "-nx 100" as cmd line option, the level_load call works fine as well as the rest of the game.

Re: Raise Nexus size programatically [Re: PadMalcom] #424490
06/17/13 08:07
06/17/13 08:07
Joined: Jul 2000
Posts: 28,075
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,075
Frankfurt
The engine halts when you click ok? You mean it freezes and does not react anymore?

Re: Raise Nexus size programatically [Re: jcl] #424492
06/17/13 08:24
06/17/13 08:24
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
The application terminates after I click OK.

Re: Raise Nexus size programatically [Re: PadMalcom] #424493
06/17/13 08:30
06/17/13 08:30
Joined: Jul 2000
Posts: 28,075
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,075
Frankfurt
This is not supposed to happen. I've just tried it with a test level and it does not terminate. Are you using the latest version? If so, can you contact support and upload your level somewhere so that we can look into it?

It might also make sense to make the "Nexus" message a warning, not an error, so that you can disable it in development mode. In release mode it is disabled anyway as to my knowledge.

Re: Raise Nexus size programatically [Re: jcl] #424494
06/17/13 09:25
06/17/13 09:25
Joined: Aug 2003
Posts: 7,440
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,440
Red Dwarf
I don't know what you are talking about, as far as I can remember, the "nexus too small" message was ALWAYS an error that terminated the program as soon as you clicked OK.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Raise Nexus size programatically [Re: Michael_Schwarz] #424496
06/17/13 10:07
06/17/13 10:07
Joined: Jul 2000
Posts: 28,075
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,075
Frankfurt
Only in old versions. Since A7, when the nexus is to small, virtual memory is just allocated.

Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1