Questions about map download speed

Everything about NoX as a game.

Questions about map download speed

Postby panic » Mon Sep 11, 2017 12:35 pm

i think NOX map download speed is too slow.

Starcraft1 can quickly download maps that are over 1Mb.

However, NOX takes a long time to download 480kb

is it possible to make NOX map downloads faster?

An exe file with improved map downloading already exists?
panic
Adept
Posts: 263
Joined: Thu Nov 12, 2015 3:47 pm

Re: Questions about map download speed

Postby kitty » Fri Oct 13, 2017 2:20 am

I have noticed a lot of your maps have unusually large .nxz files, that could be contributing to it. In some cases your .nxz is larger than your .map file.

Another factor is of course your upload speed and I know you are Korean so any NA/EU players are bound to suffer a bit.

Finally, back in 2000 I'm not sure what technologies they used for games. I know to host you only have to open UDP ports and TCP is generally much faster.

It is possible to have XWIS shoot the downloading user a packet that is received by either an external program or perhaps a built-in one to request a download via TCP connection. Would be a decent amount of work though and that's 1 more socket connection you need open.
User avatar
kitty
Initiate
Initiate
Posts: 31
Joined: Thu May 25, 2017 3:02 am

Re: Questions about map download speed

Postby panic » Fri Oct 13, 2017 4:26 am

are you programmer?
what do you think of this issue.
panic
Adept
Posts: 263
Joined: Thu Nov 12, 2015 3:47 pm

Re: Questions about map download speed

Postby kitty » Fri Oct 13, 2017 7:31 pm

panic wrote:are you programmer?
what do you think of this issue.


I think it's fixable, just as anything is, but not really worth the time.

You are as much of a programmer as I am. If the download came from an actual server(not the user) and the transfer protocol was using a newer technology it would take milliseconds to download any map. The bottleneck is clearly not the user's download speed.

If I were to make something, I have no idea how to incorporate it into Nox itself. i.e. GAME.EXE
I would build a utility program ran on host and client then intercept packets to handle requests.
User avatar
kitty
Initiate
Initiate
Posts: 31
Joined: Thu May 25, 2017 3:02 am

Re: Questions about map download speed

Postby Xandros » Wed Dec 06, 2017 2:16 pm

Well, big nxz for old maps is because mappers were using old map editor with bad nxz optimization. Afaik, current editors producing much smaller nxz files.
But protocol is slow, because of the constant small size of the packet (i don't know - maybe few bytes, 1kb as maximum).
Nox Unimod scripter.
My plugins:
Advanced chat plugin.
Antiblock system
User avatar
Xandros
Novice
Posts: 134
Joined: Sun Jul 13, 2014 3:45 pm
Location: Russian Federation. Moscow.

Re: Questions about map download speed

Postby kitty » Sat Dec 09, 2017 3:47 am

Xandros wrote:Well, big nxz for old maps is because mappers were using old map editor with bad nxz optimization. Afaik, current editors producing much smaller nxz files.
But protocol is slow, because of the constant small size of the packet (i don't know - maybe few bytes, 1kb as maximum).


Very good points as well. As far as packet size, sending caps at 64 bytes and receiving caps at 512 bytes.
User avatar
kitty
Initiate
Initiate
Posts: 31
Joined: Thu May 25, 2017 3:02 am

Re: Questions about map download speed

Postby panic » Sat Dec 09, 2017 7:41 am

As a result, the packet size is very small, so the nox does send is slower, right?
if i did modify the packet size on code section, is it can more fast?
(sorry i dont know about socket tcp/ip programming)
panic
Adept
Posts: 263
Joined: Thu Nov 12, 2015 3:47 pm

Re: Questions about map download speed

Postby Xandros » Sat Dec 09, 2017 3:56 pm

panic wrote:As a result, the packet size is very small, so the nox does send is slower, right?
if i did modify the packet size on code section, is it can more fast?
(sorry i dont know about socket tcp/ip programming)


Yes, but you will break the compatibility with all versions of Nox (except yours). Also you may increase the chance of the packet corruption, if you make it extremely big.
Nox Unimod scripter.
My plugins:
Advanced chat plugin.
Antiblock system
User avatar
Xandros
Novice
Posts: 134
Joined: Sun Jul 13, 2014 3:45 pm
Location: Russian Federation. Moscow.


Return to NoX discussion

Who is online

Users browsing this forum: No registered users and 5 guests