I finished the app, it correctly parses the DMap files and renders them to the screen (from what i could tell on the ones i tried, its slow because its using PSet plus its in vb, but at this point, i dont care about efficiency, i'll worry about that later, the fact is it works.
Refer to: [Only registered and activated users can see links. Click Here To Register...] for the COBot Project which this is part of.
I took this from my reply i made on my new bot i'm developing, i decided to make it it's own topic to possibly stir some interest in it and get some help on it? anyways, here is what i have, and i think this is right so far.
First 8 bytes appear to be a file identifier of sorts, i haven't exactly figured this part out yet.
the next 260 bytes, bytes 9 through 269, is the puzzle file, i guess they have it buffered this large just incase they need multiple puzzle files?
the next 4 bytes, bytes 270 through 274 is the number of x coordinates i believe.
the next 4 bytes, bytes 275 through 279 is the number of y coordinates i believe.
every 6 bytes after this, such as 280 through 286, 287 through 293, 294 through 300 and so on hold information on the coordinate
the first 2 bytes of it is the access i believe, the next 2 is the surface type, and then the last is the height.
after you have gone through all of the coordinates then i believe the portal data is there.
it looks like it has 3 parts of information, each one 4 bytes long, the first 2 being the x and the y location, but for some reason, it seems as though it only uses the first 2 bytes of it, so its wasting 2 bytes? i guess for neatness or incase for future plans? iunno, just pointing out what i observed. and the last one is the portal type. if anyone who knows for sure about this stuff can elaborate on it for me and tell me if i'm going in the right direction? then that would be great.
Refer to: [Only registered and activated users can see links. Click Here To Register...] for the COBot Project which this is part of.
I took this from my reply i made on my new bot i'm developing, i decided to make it it's own topic to possibly stir some interest in it and get some help on it? anyways, here is what i have, and i think this is right so far.
First 8 bytes appear to be a file identifier of sorts, i haven't exactly figured this part out yet.
the next 260 bytes, bytes 9 through 269, is the puzzle file, i guess they have it buffered this large just incase they need multiple puzzle files?
the next 4 bytes, bytes 270 through 274 is the number of x coordinates i believe.
the next 4 bytes, bytes 275 through 279 is the number of y coordinates i believe.
every 6 bytes after this, such as 280 through 286, 287 through 293, 294 through 300 and so on hold information on the coordinate
the first 2 bytes of it is the access i believe, the next 2 is the surface type, and then the last is the height.
after you have gone through all of the coordinates then i believe the portal data is there.
it looks like it has 3 parts of information, each one 4 bytes long, the first 2 being the x and the y location, but for some reason, it seems as though it only uses the first 2 bytes of it, so its wasting 2 bytes? i guess for neatness or incase for future plans? iunno, just pointing out what i observed. and the last one is the portal type. if anyone who knows for sure about this stuff can elaborate on it for me and tell me if i'm going in the right direction? then that would be great.