Map size

12/08/2017 23:07 Limoo#1
Hello elitepvpers,
I need to know how big the maps are.

There is a way to extract data from .NOS files or there is a list somewhere?

Thanks :)
12/09/2017 00:51 Bejine#2
NStcData, 2 bytes width (x), 2 bytes height (y)
12/09/2017 23:10 lika85#3
Arent those bytes changed? I mean width = secondbyte<<8+firstbyte? In my code i have this:


Code:
width = r.read()  | (r.read() << 8);
r.seek(2);
height  = r.read() | (r.read() << 8);
12/10/2017 00:22 Bejine#4
Quote:
Originally Posted by lika85 View Post
Arent those bytes changed? I mean width = secondbyte<<8+firstbyte? In my code i have this:


Code:
width = r.read()  | (r.read() << 8);
r.seek(2);
height  = r.read() | (r.read() << 8);
that's the same.
first 2 bytes are little-endian short-int (width), so are 2 next ones (height).