Problems with automated HAK download.

Moderators: Active Admins, Forum Moderators, Active DMs, Contributors, Area Developers, Artist/Animator

Post Reply
Yellena
Posts: 576
Joined: Mon Sep 08, 2014 2:59 am

Problems with automated HAK download.

Post by Yellena »

Hello.

I'm having problems to enter the servers. It returns the following error, found on the log file generated:
nwsync: sqlite3 error [14]: os_win.c:45373: (3) winOpen(C:\Users\Usu�rio\Documents\Neverwinter Nights\nwsync\nwsyncmeta.sqlite3) - O sistema não pode encontrar o caminho especificado. [The system can't find the specified path]
nwsync: sqlite3 error [14]: cannot open file at line 45374 of [fb90e7189a]
nwsync: Failed to set up sqlite.
Failed to configure NWSync in your user directory.
Error: 40964
Error: 40964
Error: 40964
GOG: Error: GalaxyRuntimeError, Failed to get current game language
Game is using local port: 56581
GOG: Authentication failed: 0
Any help is very appreciated.

It COULD be that the script don't recognize special PT characters in file paths? In this case: Usu[á]rios.


Thank you very much in advance! :D
Wrips
Posts: 274
Joined: Sun Apr 29, 2018 5:06 am

Re: Problems with automated HAK download.

Post by Wrips »

My sistem is also set on PT language and I never had this problem.
Morderon
Technical Lead
Technical Lead
Posts: 1271
Joined: Mon Sep 08, 2014 2:24 am

Re: Problems with automated HAK download.

Post by Morderon »

Veryify the integrity of your install?

Try using a shortcut with -userDirectory \Path\to\the\alt\my\documents.

here the new directory doesn't have any special characters?
Yellena
Posts: 576
Joined: Mon Sep 08, 2014 2:59 am

Re: Problems with automated HAK download.

Post by Yellena »

Morderon wrote: Mon Aug 12, 2019 1:35 pm Veryify the integrity of your install?

Try using a shortcut with -userDirectory \Path\to\the\alt\my\documents.

here the new directory doesn't have any special characters?
Where do I put that extension (-userDirectory \Path\to\the\alt\my\documents)? On the NWN direct connect?
I tried making a new shortcut (right click on desktop, new shortcut) with it and it failed to find the destiny.

I also reinstalled NWN, to no avail. :(
Morderon
Technical Lead
Technical Lead
Posts: 1271
Joined: Mon Sep 08, 2014 2:24 am

Re: Problems with automated HAK download.

Post by Morderon »

Right click on nwmain.exe, click create shortcut. Open the properties of that shortcut. Make sure the shortcut tab is up. in the target box append -userDirectory \Path\to\directory. Remember if the directory includes spaces it has to be enclosed in "".

Edit: If you launch through steam, open the games properties through the steam library and click on set launch options.
Yellena
Posts: 576
Joined: Mon Sep 08, 2014 2:59 am

Re: Problems with automated HAK download.

Post by Yellena »

It now returned this on log file:

nwsync: sqlite3 error [14]: os_win.c:45373: (3) winOpen(C:\Users\Usu�rio\Documents\Neverwinter Nights\nwsync\nwsyncmeta.sqlite3) - O sistema não pode encontrar o caminho especificado.
nwsync: sqlite3 error [14]: cannot open file at line 45374 of [fb90e7189a]
nwsync: Failed to set up sqlite.
Failed to configure NWSync in your user directory.
Error: 40964
Error: 40964
Error: 40964
GOG: Error: GalaxyRuntimeError, Failed to get current game language
Game is using local port: 64746
GOG: Authentication failed: 0
Yellena
Posts: 576
Joined: Mon Sep 08, 2014 2:59 am

Re: Problems with automated HAK download.

Post by Yellena »

As a note, the nwnsync folder is empty.
Morderon
Technical Lead
Technical Lead
Posts: 1271
Joined: Mon Sep 08, 2014 2:24 am

Re: Problems with automated HAK download.

Post by Morderon »

Try a different path that doesn't contain Usu[á]rios? now if you did.. that kinda ends the troubleshooting i'm able to do. and it's time to ask Beamdog.
Yellena
Posts: 576
Joined: Mon Sep 08, 2014 2:59 am

Re: Problems with automated HAK download.

Post by Yellena »

The folder "usuário" is a Windows given name. It's a system folder. :(
User avatar
DM Atropos
Posts: 719
Joined: Sat Jan 20, 2018 7:48 pm

Re: Problems with automated HAK download.

Post by DM Atropos »

It's the same as User on an English install
What is woven will be.
Mergandevin
Posts: 7
Joined: Sun Jul 01, 2018 5:10 pm

Re: Problems with automated HAK download.

Post by Mergandevin »

I had a similar issue. What solved it for me was, in the \Documents\Neverwinter Nights\nwn.ini giving a different path (one without special characters) at the "NWSYNC=..." line.

Hope this helps.
Morderon
Technical Lead
Technical Lead
Posts: 1271
Joined: Mon Sep 08, 2014 2:24 am

Re: Problems with automated HAK download.

Post by Morderon »

DM Atropos wrote: Mon Aug 12, 2019 5:20 pm It's the same as User on an English install
Doesn't mean they can't change it on my windows install for example my documents isn't under users. The above post has another way to chang nwsync path, which I can't believe I forgot of.
Yellena
Posts: 576
Joined: Mon Sep 08, 2014 2:59 am

Re: Problems with automated HAK download.

Post by Yellena »

Mergandevin wrote: Mon Aug 12, 2019 6:45 pm I had a similar issue. What solved it for me was, in the \Documents\Neverwinter Nights\nwn.ini giving a different path (one without special characters) at the "NWSYNC=..." line.

Hope this helps.
That solved the issue! Thank you so very much!
I wasn't aware that we could change the game's base directories. :D
Post Reply