Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Nymphodora), 972 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to work on max_nexus on SED? #368057
04/21/11 07:20
04/21/11 07:20
Joined: May 2010
Posts: 42
MN,USA
StJiongTeam Offline OP
Newbie
StJiongTeam  Offline OP
Newbie

Joined: May 2010
Posts: 42
MN,USA
I made a test today. I set max_nexus to 150mb on WED. If I compiled the main script on SED, I only got max_nexus 40mb (default). However, if I compiled the level on WED, I got max_nexus 150mb.
Here is the problem, what if I have many levels with high nexuses, I need to export my project from SED. How can I change max_nexus by code on SED?


3DGS Commercial A7/A8
Intel i7, 8GB DDR3, AMD 5870
Re: How to work on max_nexus on SED? [Re: StJiongTeam] #368064
04/21/11 08:11
04/21/11 08:11
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
max_nexus is a command line parameter( -nx ). go to sed preferences and add -nx 150 to your command line.


3333333333
Re: How to work on max_nexus on SED? [Re: Quad] #368122
04/21/11 16:15
04/21/11 16:15
Joined: May 2010
Posts: 42
MN,USA
StJiongTeam Offline OP
Newbie
StJiongTeam  Offline OP
Newbie

Joined: May 2010
Posts: 42
MN,USA
Thanks, I added the option line. Here is the result, still doesn't work for published exe:
Run Current Script or final published exe:


Test Run or Debug Run:



Last edited by StJiongTeam; 04/21/11 16:15.

3DGS Commercial A7/A8
Intel i7, 8GB DDR3, AMD 5870
Re: How to work on max_nexus on SED? [Re: StJiongTeam] #368136
04/21/11 19:03
04/21/11 19:03
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
you need to run your published exe with that command line too.


3333333333
Re: How to work on max_nexus on SED? [Re: Quad] #368141
04/21/11 20:31
04/21/11 20:31
Joined: May 2010
Posts: 42
MN,USA
StJiongTeam Offline OP
Newbie
StJiongTeam  Offline OP
Newbie

Joined: May 2010
Posts: 42
MN,USA
How to publish my main script with that command line?
I've already configured it on the preference.
What else should I do?

Last edited by StJiongTeam; 04/21/11 20:32.

3DGS Commercial A7/A8
Intel i7, 8GB DDR3, AMD 5870
Re: How to work on max_nexus on SED? [Re: StJiongTeam] #368156
04/22/11 09:05
04/22/11 09:05
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Have you looked in the manual by doing a search for "Command Line"?
If you do so, you will find good documentation under "Starting the Engine"

Re: How to work on max_nexus on SED? [Re: TerraSame] #368206
04/22/11 19:10
04/22/11 19:10
Joined: May 2010
Posts: 42
MN,USA
StJiongTeam Offline OP
Newbie
StJiongTeam  Offline OP
Newbie

Joined: May 2010
Posts: 42
MN,USA
Thx, I just looked up Command line options.
It works this way:
c:\program files\gstudio7\filename.exe -nx 150
but other users won't run the exe through the command, so I want to make sure my following understanding:
Are max_nexus limited by both user's virtual memory size and my command line option on SED preference?
If I set the max_nexus to 200 on command line option and publish an exe, then when any user just run the exe without option line, is max_nexus 40 or 200? It seems to be 40.

Last edited by StJiongTeam; 04/22/11 20:33.

3DGS Commercial A7/A8
Intel i7, 8GB DDR3, AMD 5870
Re: How to work on max_nexus on SED? [Re: StJiongTeam] #368276
04/23/11 15:50
04/23/11 15:50
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Hey...
Crap... I wrote a long letter explaining then it got whiped out....
Grrrrrrrrrrrrrrrrrrrrr
Anyways... Lets try again...

First, it's easiest to set your Nexus in WED under "File" "Map Properties"
Second, you can also set it in a "Winddow Definition File" but you need the Pro Version for that...

To get the Nexus set right, here's what you do...
Fire up the game, then press the F11 key once to see the "Statistics Panel".
Look for the nx line that tells you the game required Nexus...
Then reset your Nexus to slightly above the required amount.

As you continue working on the project and keep adding entities your game will require more memory and trerefore the required Nexus will rise... Just do the F11 thing again to see the change and then reset...

There are a lot of things to be done to get your Nexus as low as possable...
You will want to "Optimize" everything... Like, make sure your textures are as small as possable, use Bones animation instead of Verticie animation, Make your textures .tga only when an alpha is required and use .dds files for almost everything else... Doing all that will lower your file download size and time as well as your Nexus requirement...

After you press the F11 key you will need to press it again twice to get back to the game proper... The second press shows you the game polygons etc...

Look at the manual more...
You will find good info under "Winstart" but you need Pro for this but it is the best way because you get a Starter Window and you can compress all your files into a nice tidy package... Then you can create a self extracting .exe file using other free software...

There is a lot to be learned...
One day I'll build a tutorial...

Re: How to work on max_nexus on SED? [Re: TerraSame] #368280
04/23/11 17:15
04/23/11 17:15
Joined: May 2010
Posts: 42
MN,USA
StJiongTeam Offline OP
Newbie
StJiongTeam  Offline OP
Newbie

Joined: May 2010
Posts: 42
MN,USA
I see, thank you. I didn't think about publishing an exe and nexus until I got a big project right now. I hope that jcl can make a publish window with customizing max nexus tongue . It wouldn't confuse me at least. Anyway, look forward to your tutorial.

Last edited by StJiongTeam; 04/23/11 17:22.

3DGS Commercial A7/A8
Intel i7, 8GB DDR3, AMD 5870

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | 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