param ($nwn_path, $log_path, $dest_path, $log_pref)$DateStamp = get-date -uformat "%Y%m%d-%H%M%S"$final = $log_pref + "_$DateStamp.log"move-item "$nwn_path\\$log_path\\nwclientLog1.txt" "$nwn_path\\$dest_path\\$final"
@echo offSET NWN_PATH="C:\\NeverwinterNights\\NWN" cd %NWN_PATH%start /w nwmain.exe +connect 173.198.229.123:5121 +password {player password}powershell %NWN_PATH%\\nwn-log-rotator.ps1 %NWN_PATH% logs logs nwclientLog
start /w nwmain.exe +connect 173.198.229.123:5122 +password {player password}
start /w nwmain.exe
Do you know of a way to set it so it ask for text to save the file under? Like the old GLR used to do?
Ok I mostly got this to work, however, when I start with the standard nwn.exe in windows7 x64 it switches to basic color mode and it doesn't seem to be doing it with the batch file so NWN crashes everytime. Any thoughts on how to add something in there to switch the color mode?
You can try finding your nwmain.exe program using Windows Explorer, right-clicking the file and selecting Properties. Within the "Combatibility" tab there's a bunch of options. The one marked "Disable desktop composition" should switch you to "Basic" mode on Win7 when you run nwmain.exe.
Have this up and running. Maybe now DB won't be so forgetful. Thanks for bringing this to the players, Dorg!