Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2
You last visited: Today at 05:36

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Need help with dmap files

Discussion on Need help with dmap files within the Conquer Online 2 forum part of the MMORPGs category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2005
Posts: 664
Received Thanks: 13
Ok I am going to quote the post off of the Qonquer forums by the admin. I have no clue how to do this, and not sure anyone else does. So I figured it'll get done faster here.

Quote:
Originally posted by "Admin"
I REALLY need to decode the .DMap files. I have made some progress on this but still not cracked it fully. The data I have atm is rather messy so I'm going to try to arrange it into something suitable for posting here.

Ok here we go
Each DMap file seems to contain much information, not all of the info in it is needed by the server, just the cell levels (height) and accesssibility. I.e. a map cell can either be inaccessible or have a height value. Hex editing the files I've come up with what I think the basic structure is.

Bytes 268 to 271 = map x limit in cells (low endian 32 bit)
Bytes 272 to 275 = map y limit in cells (low endian 32 bit)

from that point on, each cell appears to be defined by 6 bytes. The problem I am having is the arrangement of these bytes. They don't seem to simply start from 0,0 and work down, it looks like they start mid way somewhere, plus the height value of each cell is proving difficult to narrow down.

I picked a relatively simple map, arena.DMap, to run a few tests on. In this test output a 0 represents a cell in which all 6 bytes are 0. If any of the 6 bytes are not 0, then the cell is represented by a 1.
Code:
111111111111111111111111111111111111111100000000000000000000000000000000011111111111111111111111
111111111111111111111111111111111111111111000000000000000000000000000000000111111111111111111111
111111111111111111111111111111111111111111100000000000000000000000000000000011111111111111111111
111111111111111111111111111111111111111111111000000000000000000000000000000011111111111111111111
111111111111111111111111111111111111111111111100000000000000000000000000000011111111111111111111
111111111111111111111111111111111111111111111111000000000000000000000000000011111111111111111111
111111111111111111111111111111111111111111111111100000000000000000000000100011111111111111111111
111111111111111111111111111111111111111111111111111000000000000000000000111011111111111111111111
111111111111111111111111111111111111111111111111111100000000000000000000111111111111111111111111
111111111111111111111111111111111111111111111111111111000000000000000000111111111111111111111111
111111111111111111111111111111111111111111111111111111100000000000000000111111111111111111111111
111111111111111111111111111111111111111111111111111111111000000000000000111111111111111111111111
111111111111111111111111111111111111111111111111111111111100000000000000111111111111111111111111
111111111111111111111111111111111111111111111111111111111111000000000000111111111111111111111111
111111111111111111111111111111111111111111111111111111111111100000000000111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111100000000111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111000000111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111100000111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111000111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111100111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111100111111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111100001111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111100000111111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111100000001111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111100000000111111111111111111111111111111111111111111111111111111111
111111111111111111111111111111100000000011111111111111111111111111111111111111111111111111111111
111111111111111111111111111111100000000001111111111111111111111111111111111111111111111111111111
111111111111111111111111111111100000000000111111111111111111111111111111111111111111111111111111
111111111111111111111111111111100000000000001111111111111111111111111111111111111111111111111111
111111111111111111111111111111100000000000000111111111111111111111111111111111111111111111111111
111111111111111111111111111111100000000000000001111111111111111111111111111111111111111111111111
111111111111111111111111111111100000000000000000001111111111111111111111111111111111111111111111
111111111111111111111111111111100000000000000000000111111111111111111111111111111111111111111111
111111111111111111111111111111100000000000000000000001111111111111111111111111111111111111111111
111111111111111111111111111111100000000000000000000000111111111111111111111111111111111111111111
111111111111111111111111111111100000000000000000000000011111111111111111111111111111111111111111
111111111111111111111111111111110000000000000000000000001111111111111111111111111111111111111111
111111111111111111111111111111110000000000000000000000000101111111111111111111111111111111111111
111111111111111111111111111111110000000000000000000000000000111111111111111111111111111111111111
111111111111111111111111111111110000000000000000000000000000001111111111111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000111111111111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000001111111111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000001111111111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000000111111111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000001111111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000000111111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000000111111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000000111111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000000111111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111100000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111110000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111111000000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111111110000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111111111000000000000000000000000000000000001111111111111111111111111
111111111111111111111111111111111111110000000000000000000000000000000001111111111111111111111111
As you can see, the 0's seem to represent accessible areas of the map, whereas the 1's are inaccessible. This suggests that a cell that has all 0's in its 6 bytes is a ground level accessible cell. Seeing as there is only 1 level, the ground level, on Arena.DMap , this seems to make sense. There also appears to be a hell of a lot of "space" around the edges of a map, I suspect that a great deal of the map file is unused white space, probably something to do with the angled nature of the cells.

You can take a look at the arena map in game by typing
@mm 1005 50 50 (WARNING: Don't go through the warp portal in there)
MrTeenie is offline  
Old 10/07/2005, 07:53   #2
 
elite*gold: 0
Join Date: Mar 2005
Posts: 413
Received Thanks: 2
So what exactly you want us to do? Crack it? Btw, if we switch the 1 to 0s on client side, i suppose it would read invalid coords and dc u.
DeathWalker is offline  
Old 10/07/2005, 18:55   #3
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
I can help. Waiting for account activation on qonquer forums.
unknownone is offline  
Old 10/07/2005, 19:47   #4
 
elite*gold: 0
Join Date: Oct 2005
Posts: 295
Received Thanks: 342
Quote:
Originally posted by DeathWalker@Oct 7 2005, 07:53
So what exactly you want us to do? Crack it? Btw, if we switch the 1 to 0s on client side, i suppose it would read invalid coords and dc u.
The 1's and 0's in that post is a debug test output generated by the PServer software so I had some way of posting a visible representation of the data it is analizing., it doesn't have anything to do with the client. But yea, I do need to try to crack exactly how the files are arranged.
Qonquer is offline  
Old 10/08/2005, 06:01   #5
 
elite*gold: 0
Join Date: Aug 2005
Posts: 507
Received Thanks: 1
dumb bastards, i told you exactly how to do map work and you blocked me off your **** site. hopefully, you dumn ***** will realize how idiotic you've really been...coulda saved months of work

-einhornchen
einhornchen is offline  
Old 10/08/2005, 06:08   #6
 
elite*gold: 0
Join Date: Oct 2005
Posts: 295
Received Thanks: 342
This topic can be closed now, we've done it.
Qonquer is offline  
Old 10/08/2005, 06:09   #7
 
elite*gold: 0
Join Date: Jul 2005
Posts: 664
Received Thanks: 13
you were blocked because we are reverse engineering the client, not building a new one. Only way we could had done your way was if we were making new. We have to figure out how TQ did it.
MrTeenie is offline  
Closed Thread


Similar Threads Similar Threads
[Request]Dis.dmap
04/07/2010 - CO2 Private Server - 2 Replies
Well I have a problem with dis since where ever I jump I get sent to were I started, I'm assuming this is because there's no dmap for dis so has anyone got one.
Dmap viewer
03/10/2010 - CO2 Programming - 10 Replies
So i quickly whipped this up and was curious to see what else dmaps contained that could be of use, got bored and ClassicCO got the better half of me. This is somewhat useless but i'm sure someone will find it useful in a way. Note: this might take awhile for your maps to load, as it's not hardware accelerated or multithreaded. Takes 2-3 seconds on my computer, most likely more on yours. http://i47.tinypic.com/11bmcg7.png http://i50.tinypic.com/1z4gyae.png The colored picture was...
CO2 .DMAP....
02/04/2008 - Conquer Online 2 - 4 Replies
Does anyone have any idea how to edit/open the files in the map folder? (theyre .dmap) I searched google and windows live and found nothing.
.DMap
06/29/2006 - Conquer Online 2 - 10 Replies
Hello, It is my first post here I usually just read topics and learn from them ect.. Thank you elitepvpers for all these weeks of help but now i need something not found.. I want to make costum little map the ones at the top right of your screen i wanted to make an edited one with lets say a star where the ganaderma spawns but i dont know how to open or save as .DMap can someone help m with this? are there any specifications when doing this? filesize ect..
DMAP
04/09/2006 - Conquer Online 2 - 5 Replies
Ok i checked on forum i couldn't find anything base on this so i'm want to know if there any program open dmap files so i can edit the maps if so could you let me know I appreciate it.



All times are GMT +1. The time now is 05:36.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.