It is on Windows and the latest release works fine, how come it does not check for existing files in our hak-folder? the server forces a full download of it all it seems even though some people got the relevent haks.
Will that be possible in the future ?
btw, i think we all appreciate all the hard work niv
Moving the NWN folder to an SSD solved the problem, I now get the same speed I had before 8186, so be aware that using a HDD is very penalizing, that's maybe worth a note in the documentation. If you wonder why I was still using a HDD, it's just being conservative. Working on NWN involves reading/writing a very large number of files frequently and I don't trust SSDs on the long term.
Thanks, Japualtah. Yeah, SSDs help a lot. Unfortunately, if you have multiple GB of data, indexing them (even with the help of sqlite primary keys) takes a bit.
I'll look into improving this (it's already on the list and there's definitely room to make it go faster on spinning rust) but we're limited here by the storage format and simply the amount of data that gets lumped up over time.
Edit: Re the HAK question @Azanix. Yes, that will also be possible to do. Not too sure when and if there's a real benefit by then, but I'll give it some thought. It's definitely also on The List.
I have a question regarding "Standard" or "Common" resources like CEP or CTP. If I want to play on 2 or 7 servers that utilize CEP, am I going to have to download their resources (around 6gb) each time, or will NWSync recognize/associate that data? That might end up being a truckload of storage to enable me to login to multiple servers. Not to mention, it takes me an hour to download on my crappy connection
You will only download each asset (model, texture, etc) once - whether they are part of a 'standard' resource like CEP/CTP or if the server repackaged them. So there is no duplication of data at all.
Kind of - Until all servers you play on have moved to nwsync, you will still need to have the .hak files. So you might end up with CEP in nwsync and CEP in hak/. Once all the CEP servers switch to nwsync, you can delete the haks.
Hello everyone. I've ran into an issue trying to play NWN PW that use NwSync. Everytime I try to get into one of these servers, I get a message saying that NwSync Failed to connect.
I've checked the error log and found that I'm missing an .sql.
Here's the error:
"nwsync: sqlite3 error [14]: os_win.c:45373: (3) winOpen(C:\Users\myuser\Documents\Neverwinter Nights\nwsync\nwsyncmeta.sqlite3) - The system can not find the path specified 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."
What do? I don't have this "nwsyncmeta.sqlite3" file neither in my NWN user data folder in Documents, nor in the install folder.
I own the Steam version, using the latest stable branch. I've already verified the integrity of the installation and everything was ok.
My game is installed in my HDD but my user data is stored in my SSD. I don't think that's the problem because I've never had this kind of issue with any other game before.
I dont mean to possibly necro this thread. But i'm running into a issue with the windows build of nwsync. Getting out of memory errors when i clearly have 16 GB of memory available This is just CEP Haks. Is there a way around this?
I think I recall reading in the NWSYnc documentation that NWSync struggles with large files, you should probably reconsider your files size, just saying.
@niv Any updates on the project mate? You had so much in the pipe, I wonder what you're up to atm ;-)
Hi there, i couldn't find a way to allow NwSync to use webspace with https when starting the server. It says https is not supported or disabled in libcurl. Is it possible to fix this? Or is there any know free filehosting webspace that doesn't use https?
Does anyone know if this is still the definitive NWSync or is there something newer and more up to date? What is disconcerting is that I had to use google just to find it because I'll be damned if Beamdog has it posted anywhere on this forum.
Does anyone know if this is still the definitive NWSync or is there something newer and more up to date? What is disconcerting is that I had to use google just to find it because I'll be damned if Beamdog has it posted anywhere on this forum.
Hi there, i couldn't find a way to allow NwSync to use webspace with https when starting the server. It says https is not supported or disabled in libcurl. Is it possible to fix this? Or is there any know free filehosting webspace that doesn't use https?
@NineHells Hello! Yes, it's not supported at this time. The team might think about it in the future. That said, NWSync doesn't depend on it for security and consistency.
Thanks, Jules, for the confirmation. Unfortunately I'm still too dense to understand the ins and outs of setting up an https server through caddyserver.com. I'm kind of stuck once I run the caddy.exe. Not sure what I need to do after that. That part is not addressed in the User Manual (and they say as much in the manual), but I don't seem follow what transitional steps need to be taken in order to set up the public https site.
@Grizzled_Dwarflord the caddy server is just a stand in (a surrogate if you will) for whatever web service you opt to use (as I understand it). We (World of Amon) didn't use caddy at all. We just uploaded our files to our webserver, where we had other outward facing issues. But the guide, necessarily, begins to get fuzzy after NWSync generates your files (no way BD could help everyone interface with their individual web hosting decisions).
Are "y'all" planning on hosting your own website on your own machine? Or are you using a professional/dedicated web hosting service? If you're running your own, it's worth digging into caddy more, I suppose. If not, then it's worth getting on a chat with your individual web hosting company for help if necessary (this is what we had to do).
I used Apache no problem ,was supplied with by my Linux distribution. Had to edit one config and make sure the directory was rwx by all. If you're familiar with web server software it shouldn't be too hard.
Forgive my ignorance, but why can't Beamdog put up a server where server owners can upload their files and the players can get them from there? Just like Steam Workshop. Just as an option for those who aren't on Steam. This should be integrated in NWN.
Forgive my ignorance, but why can't Beamdog put up a server where server owners can upload their files and the players can get them from there? Just like Steam Workshop. Just as an option for those who aren't on Steam. This should be integrated in NWN.
Agree, this is what preventing me from playing on the Beamdog client over steam, the hassle of the PU mess.
Old NWN players have a bad taste in our mouths about putting our "intellectual property" on a company's server. When Atari/Bioware ceased supporting NWN, we had a very short time to move the "Neverwinter Vault" from a company platform to a private platform. In fact, much of it was lost and can't be recovered. A server owner is much better served having his files managed locally than having them stored by a corporation (regardless of their marvelous intentions).
As it stands, a single server malfunctioning will never prevent a whole community from playing. It's inconvenient for the owner on the face, but I see decentralization as an asset.
What exactly can be served to players with NWNSynch at this time? Can it mess with overrides, provide GUI updates and selectively replace game resources such as dialog.tlk? Or is it basically limited to what could be done with a hakpak?
Old NWN players have a bad taste in our mouths about putting our "intellectual property" on a company's server. When Atari/Bioware ceased supporting NWN, we had a very short time to move the "Neverwinter Vault" from a company platform to a private platform. In fact, much of it was lost and can't be recovered. A server owner is much better served having his files managed locally than having them stored by a corporation (regardless of their marvelous intentions).
As it stands, a single server malfunctioning will never prevent a whole community from playing. It's inconvenient for the owner on the face, but I see decentralization as an asset.
I don't get this. By your own reasoning, redundancy is good. If Beamdog wants to contribute server space to that effort, that's a net positive. You would still be free to host and mirror your files wherever you want.
To the best of my knowledge it's only the assets that the module requires to operate. So stuff in your .hak and custom .tlk files. I don't think it's advisable to have people Override their dialog.tlk file as it will change for the entire game, not just a particular module.
My point wasn't to be contentious, only to explain the community's hesitance writ large to rely on a singular source for data dispersal that's not controlled by members of the community. Most contributors have put their content on a community managed site called Neverwinter Vault. It's where everything from the old bioware page moved to after the shutdown. If it's just a singular host you're looking for, that's what has been used for the past few years. I thought the question was "why doesn't Beamdog host all the NWSync files" though. Perhaps I should have lead with the information about the Vault. Sorry to confuse.
Niv obviously has access to the game's source code, so I suppose the possibilities here are greater than what could be done with just haks and custom tlk files. Custom music has been mentioned, if the engine can be reworked. If I've understood the concept behind the tool correctly, this could potentially lead to hassle-free total conversions such as the Star Wars project or Modern D20.
On the point of file hosts, I agree that vendor lock-in would be a bad thing. But the vault, as a community-driven project, is in some ways even more vulnerable than a company server. For maximum redundancy, I'd upload my stuff to as many places as I feasibly could. I've seen way too much great content fade away from the Internet over the years, including when IGN pulled the plug on the old NWVault. Nothing is forever, as they say.
I am getting a 503 time out error for my server, 'Town of Luce'. *update, it only seems to do it on some computers. It might be an error on the http server side as well.
nwsync compresses with zlib by default on the server side repo and zstd in clients. both on the server side repo and in-client. Some hak content compresses really well, and some does not. A very average compression ratio would be about half size.
If you are talking about removing stale clientside data from previous transfers on the same server, then yes - that's already done and just waiting for the next patch to ship.
If not, please elaborate what kind of inefficiency you are looking at!
Any specific reason why you're using zlib instead of LZMA? LZMA is public domain now, and is the difference of over 200mb in archived hak size for me. But I dont know the drawbacks of it when it comes to integrating it.
The client is actually using zstd exclusively. The web-server side tooling currently generates zlib compressed payloads, mostly because that was simpler at the time, but the game can ingest either variant transparently. lzma was a poor pick because we actually recompress content for maximum device-local efficiency as it arrives from external sources and it has to be fast and cpu-efficient (you may not care on a desktop cpu, but a mobile phone certainly will).
In addition to compression, nwsync deduplicates content based on the (decompressed) hash, even across remote repositories/downloads.
So if I'm understanding right, the nwsync web server currently compresses stuff using the old zlib compression but the client can use both zlib and zstd, and I can simply put the files compressed with zstd on the nwsync server and it will still serve them properly?
And that's understandable with lzma. It's actually what I assumed when I asked. But on the other hand, can't I use up just as much cpu time (if not more) with higher compression rates on zlib and zstd files?
If it uses zstd, I have no room to complain though. That more than does the job. Should put things within a few percentage points of lzma.
Comments
Will that be possible in the future ?
btw, i think we all appreciate all the hard work niv
If you wonder why I was still using a HDD, it's just being conservative. Working on NWN involves reading/writing a very large number of files frequently and I don't trust SSDs on the long term.
I'll look into improving this (it's already on the list and there's definitely room to make it go faster on spinning rust) but we're limited here by the storage format and simply the amount of data that gets lumped up over time.
Edit: Re the HAK question @Azanix. Yes, that will also be possible to do. Not too sure when and if there's a real benefit by then, but I'll give it some thought. It's definitely also on The List.
Kind of - Until all servers you play on have moved to nwsync, you will still need to have the .hak files. So you might end up with CEP in nwsync and CEP in hak/. Once all the CEP servers switch to nwsync, you can delete the haks.
I've checked the error log and found that I'm missing an .sql.
Here's the error:
"nwsync: sqlite3 error [14]: os_win.c:45373: (3) winOpen(C:\Users\myuser\Documents\Neverwinter Nights\nwsync\nwsyncmeta.sqlite3) - The system can not find the path specified
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."
What do? I don't have this "nwsyncmeta.sqlite3" file neither in my NWN user data folder in Documents, nor in the install folder.
I own the Steam version, using the latest stable branch. I've already verified the integrity of the installation and everything was ok.
My game is installed in my HDD but my user data is stored in my SSD. I don't think that's the problem because I've never had this kind of issue with any other game before.
Thanks for your time.
NWsync: ?
Cannot download, we only support http:// for now. This is likely a server-side repository issue. Please contact them for help.
Current transfer:
Receiving: ?
Link to my original post for more details: https://forums.beamdog.com/discussion/74429/cep-and-nwsync-from-other-servers#latest
Yes, this is the latest documentation.
@NineHells Hello! Yes, it's not supported at this time. The team might think about it in the future. That said, NWSync doesn't depend on it for security and consistency.
Are "y'all" planning on hosting your own website on your own machine? Or are you using a professional/dedicated web hosting service? If you're running your own, it's worth digging into caddy more, I suppose. If not, then it's worth getting on a chat with your individual web hosting company for help if necessary (this is what we had to do).
Sknymick
Agree, this is what preventing me from playing on the Beamdog client over steam, the hassle of the PU mess.
As it stands, a single server malfunctioning will never prevent a whole community from playing. It's inconvenient for the owner on the face, but I see decentralization as an asset.
I don't get this. By your own reasoning, redundancy is good. If Beamdog wants to contribute server space to that effort, that's a net positive. You would still be free to host and mirror your files wherever you want.
My point wasn't to be contentious, only to explain the community's hesitance writ large to rely on a singular source for data dispersal that's not controlled by members of the community. Most contributors have put their content on a community managed site called Neverwinter Vault. It's where everything from the old bioware page moved to after the shutdown. If it's just a singular host you're looking for, that's what has been used for the past few years. I thought the question was "why doesn't Beamdog host all the NWSync files" though. Perhaps I should have lead with the information about the Vault. Sorry to confuse.
On the point of file hosts, I agree that vendor lock-in would be a bad thing. But the vault, as a community-driven project, is in some ways even more vulnerable than a company server. For maximum redundancy, I'd upload my stuff to as many places as I feasibly could. I've seen way too much great content fade away from the Internet over the years, including when IGN pulled the plug on the old NWVault. Nothing is forever, as they say.
I am getting a 503 time out error for my server, 'Town of Luce'. *update, it only seems to do it on some computers. It might be an error on the http server side as well.
https://support.baldursgate.com/issues/40550
nwsync compresses with zlib by default on the server side repo and zstd in clients. both on the server side repo and in-client. Some hak content compresses really well, and some does not. A very average compression ratio would be about half size.
If you are talking about removing stale clientside data from previous transfers on the same server, then yes - that's already done and just waiting for the next patch to ship.
If not, please elaborate what kind of inefficiency you are looking at!
The client is actually using zstd exclusively. The web-server side tooling currently generates zlib compressed payloads, mostly because that was simpler at the time, but the game can ingest either variant transparently. lzma was a poor pick because we actually recompress content for maximum device-local efficiency as it arrives from external sources and it has to be fast and cpu-efficient (you may not care on a desktop cpu, but a mobile phone certainly will).
In addition to compression, nwsync deduplicates content based on the (decompressed) hash, even across remote repositories/downloads.
And that's understandable with lzma. It's actually what I assumed when I asked. But on the other hand, can't I use up just as much cpu time (if not more) with higher compression rates on zlib and zstd files?
If it uses zstd, I have no room to complain though. That more than does the job. Should put things within a few percentage points of lzma.