The World of Layonara
The Layonara Community => General Discussion => Topic started by: Hellblazer on November 03, 2011, 10:15:24 AM
-
I finally upgraded my os a few days ago, but since then I'm unable to make the glr work, even with a new installation of the little thing.
Any idea?
-
I use the script that I got from here. It starts NWN and GLR at the same time. I just had to make sure the script and GLR ran as administrator. Sometime I get an error when I run sometimes not
If you are not sure what the script is, it's this in a word pad. There is more to it but I forget how to set it up.
@echo off
SET NWN_PATH="C:\\NeverwinterNights\\NWN\\"
SET GLR_PATH="C:\\Program Files (x86)\\Gnomish Log Rotator"
cd %NWN_PATH%
start /w nwn.exe
cd %GLR_PATH%
glr.exe
-
Yeah I'm using that too, except that the path for neverwinter night for me is in the program files (x86) also.
But once I run the program (as the game starts) and try to save a log (after i get out of the game) it gives me an error, invalid path
So for me it goes
@echo off
SET NWN_PATH="C:\\Program Files (x86)\\NWN\\"
SET GLR_PATH="C:\\Program Files (x86)\\NWN\\Gnomish Log Rotator"
cd %NWN_PATH%
start /w nwn.exe
cd %GLR_PATH%
glr.exe
_______
-
It might be that it has troubles with the spaces.. I do not know how to make a literal space in the command promt scripting language
-
The spaces are that way already when you open the bat file, that's what you see. I'm stumped. At first I thought it was the darn permissions but i've set the whole nwn folder to full control and turned the UAC off.
-
I was not saying they were missing in the file, I would just guess that you cannot simply write the path with spaces like that... I wouldn't know though, parenthesis might be a problem as well...
-
hmm that could be. Although I'm not the one who wrote it. That's the file you get from installing the glr.
-
Sometime I get an error when I run sometimes not
I guess it's not fully compatible with win 7 64 then. A shame.
-
Try inserting these quotation marks... Again it is only a suggestion, but it might solve your issues :)
@echo off
SET NWN_PATH="C:\\Program Files (x86)\\NWN\\"
SET GLR_PATH="C:\\Program Files (x86)\\NWN\\Gnomish Log Rotator"
cd "%NWN_PATH%"
start /w nwn.exe
cd "%GLR_PATH%"
glr.exe
-
Try using the older GLR 3.1 (I think) vs. the newer GLR 5000 (or whatever they call it).
-
I'm using the 3.1 I haven't used the 5000 since I noticed that you couldn't change the name of your log file on demand (when closing nwn). Guess I'm going to have to try that one (glr 5000) again.
-
Try inserting these quotation marks... Again it is only a suggestion, but it might solve your issues :)
@echo off
SET NWN_PATH="C:\\Program Files (x86)\\NWN\\"
SET GLR_PATH="C:\\Program Files (x86)\\NWN\\Gnomish Log Rotator"
cd "%NWN_PATH%"
start /w nwn.exe
cd "%GLR_PATH%"
glr.exe
trying.
Nope same problem "runt ime error 76.. path not found."
It's weird though since the glr does start. It's something to do with saving the file under an other name.
-
Right well I'm getting somewhere i think.
I tried to redo the config of the GLR through the config application that comes with it, and I'm getting the same error.
-
K well glr 5000 works, but no new version adding the ability to name your log at the save period.
-
Since I got a pm asking me the steps I took with this.
Install the glr 5000 (i simply copied the GLR.exe that comes with the glr 5000 in the old glr folder over writing the previous glr.exe
Then edit the nwn.bat so it looks like this
@echo off
SET NWN_PATH="C:\\Program Files (x86)\\NWN"
cd %NWN_PATH%
start /w nwmain.exe
Since glr can start as a process when windows start, you don't need to have the nwn.bat start it. But you can still use that nwn.bat to start the game if you want.
SET NWN_PATH="C:\\Program Files (x86)\\NWN" <- this here should be the path of your neverwinter night game installation.
-
I guess it's not fully compatible with win 7 64 then. A shame.
Good old solution.. run it as Administrator.
I got the 5000 and running as that works
-
Good old solution.. run it as Administrator.
I got the 5000 and running as that works
It has full administrative rights and the UAC is on off, that shouldn't be a problem at this point. Hope I do find a solution though cause really, I prefer the gold old one to the new shiny one... :p
-
Same. but since mine got some kind of odd bug that didn't work anyway . had to get used to the 5000.. hehe.
Cheers
-
Might ask my bro to take a look at the glr 5000 and see if he can't update it to include the naming option.
-
OK, I just did this...meaning in the last half hour or so.
GLR 3.1 does work with Windows 7 64-bit, with proper tweaking.
Of importance, you should make sure that your user account is explicitly given full permissions to the GLR installation folder (i.e. C:\\Program Files (x86)\\Gnomish Log Rotator). Do not just assume it will inherit things properly because the Administrators group has these rights and your user account is administrative.
Windows 7 (and Vista to a lesser extent) in general places additional security on the Program Files and Program Files (x86) directory trees. Note that I do not recommend granting oneself full permission to the entire Program Files or Program Files (x86) folder.
You may also need to give your account full permissions to the NWN folder, or at least to the logs subfolder below. My NWN installed under C:\\NeverwinterNights\\NWN rather than into the C:\\Program Files (x86) tree, so there's less of a permission issue there.
If you set these rights (and you take full responsibility for any problems they may cause), you shouldn't have to run GLR as an Administrator on the Compatibility tab of its properties.
-
Thanks for the efforts dorg. That's what I had done. My account has full administration right*. and I had also edited the nwn folder and sub-folders and files (drop down menu when you edit the permissions), which included the Glr 3.1 folders to set it to full control for the administrative account and user account.**
I can start glr 3.1 fine, it runs without having to run it as administrator. It just can't save the files at the exiting of NWN and gives a "path not found" error. (even though the path are configured correctly.
Anyhow thanks for all the help. GLR 5000 works, just have to edit the files after it rotates them to include text naming.
* Both the admin account and the user account which for the love of G, I don't get why i have two types of security settings when there's only one account for this os..?? IE Emmanuel-pc administrative and Emmanuel-PC User. Same account two different settings.
** Which if I understand this is granting that folder and all folders and items in those folders, full administrative rights. If not then the Microsoft documentation is badly written :p.
(http://forums.layonara.com/photopost/data/101832/medium/nwn_administrative_rights.png)
-
That's not explicitly giving your login account the full control rights it needs. It's expecting an inheritance from the Users group on your PC.
Add your user name to the security list for the GLR and NWN folders (which will include all files and subfolders by default, unless you've overridden that) and give your account full control. Like I said originally, the inherited properties from the user (Users or Administrators) groups don't cut it in this case.
-
Yep that's what I thought hence as shown in the picture I've disabled the inheritance and also given my user account full control. I don't have an account with a user name. There's only one account on my system that logs in windows automatically without having to select it or enter a pass.
Man they had to make things more complicated for nothing :P joking I understand the reasoning, just not the implementation.
//edit
Trying with adding like you've said.
-
Even with creating the new permission account using my login Account name (that is the administrator account on this system) and giving it full control over the folders, sub folders and items, like you said.
I'm still getting the same error 76 "Path not found" once glr 3.1 tries to rotate the file after the game closed. It starts fine, it's when you get to input the name of the file you want to be saved under that it gives me an error 76 "Path not found"
So just to reiterate the steps
1- login account name created and given full control permissions for the NWN folder and everything in it.
2- GLR 3.1 always started fine without having to use the run as administrator.
3- Once the game closed, the pop up window to input the name of the file to save under came up fine.
4- Once you enter the file name, and press ok, the glr3.1 returns an error 76 "path not found" And the file is not saved.
Step 2 to 4 had been doing this from the start, even when I didn't have the login account added to the security list.
-
Just for fun, can you tell me if it works without the option to rename the file when the log closes? I'm not using that particular option, so it's one possible variable.
Also, you should not disable inheritance on the folder and the files/folders below it.
-
Can't even save the config that way, it;s strange
-
Try editing the glr.ini file directly.
-
Stil the same problem I guess I'll just have to use glr 5000 :(