How to work on max_nexus on SED?

Posted By: StJiongTeam

How to work on max_nexus on SED? - 04/21/11 07:20

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?
Posted By: Quad

Re: How to work on max_nexus on SED? - 04/21/11 08:11

max_nexus is a command line parameter( -nx ). go to sed preferences and add -nx 150 to your command line.
Posted By: StJiongTeam

Re: How to work on max_nexus on SED? - 04/21/11 16:15

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:


Posted By: Quad

Re: How to work on max_nexus on SED? - 04/21/11 19:03

you need to run your published exe with that command line too.
Posted By: StJiongTeam

Re: How to work on max_nexus on SED? - 04/21/11 20:31

How to publish my main script with that command line?
I've already configured it on the preference.
What else should I do?
Posted By: TerraSame

Re: How to work on max_nexus on SED? - 04/22/11 09:05

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"
Posted By: StJiongTeam

Re: How to work on max_nexus on SED? - 04/22/11 19:10

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.
Posted By: TerraSame

Re: How to work on max_nexus on SED? - 04/23/11 15:50

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...
Posted By: StJiongTeam

Re: How to work on max_nexus on SED? - 04/23/11 17:15

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.
© 2024 lite-C Forums