QlippothVI wrote...
Thanks for the mySQL info. This includes a WAMP server? I'm obviously not very knowledgable about servers in general. I guess I should be looking into PHP/mySQL for boosting the ram usage.
WAMP is Windows Apache Mysql PHP, so yes, mysql is in there.
I was using my Ubuntu webserver (virtual machine) for the NWNX DB, but the ESXi machine is not very powerful and starting to fail, so...
let me remind you that nwn came out 10 years ago. the system requirements are very minimal to today's standards. though you do lose a lot of performance from the layer of virtualization. you can have a mysql db on your windows server though. no need for a 2nd ubuntu VM.
I'm not sure I'm up to moving it to a Linux Server yet.
linux is very powerful and flexible.
If you're often opening and closing the module then it's a boon (open, make changed, build, close and test). Any suggestions on how to do this more efficiently? Just save and run your tests (don't close at all)? I simply hate waiting. It also appears to write to the script files during a build (see Build speed comparisons above). And you can flush the cache to disk and turn it off if you need the memory back.
yes, you're 100% correct that a RAM disk will speed up this process. when you're building and saving, all of that is being saved to disk. if it were writing to RAM, it would be 100s(? 1000s?) of times faster. there are many tips and tricks out there (somewhere) for speeding up your development time, but here are some things i do:
- i have a VM on my home machine that i leave the toolset open in all the time. that way it's always ready for me to make some updates if i think of it or have a few quick minutes. it's definitely slower in the VM guest than if i ran it on the host. it's most notable in the graphics/map. scripting however is just fine, though. and that's perfect for me because i spent 90% of my work on custom scripting and let my other developers design and create the areas. it's just not the part i enjoy.
- i only build the scripts i'm working on. rebuilding all of the untouched files doesn't do anything. so i develop compile that script, save it, and test it. no need to close the toolset in between.
- i have a 2nd linux server machine that i copy the saved module to (via a samba share) and start the server there to test on. i've never liked the (f9?) test in the toolset. it monopolizes my development machine and i can't do anything else. this way, while the module is booting, i can continue working on something or fix the code as i test on the module running on the other machine. i run the nwn client in a tiny window so i can work on both at once.
- i only do full rebuilds when i've finished a project just to test everything completely.
some people do other funky things like editing the files in the temp0 directly or using some command line interface. i've always been curious about their setups, but i've been happy enough with what i'm doing that it's not been a pressing issue for me.