dmap viewer?

08/31/2005 01:09 XtremeX-CO#1
My question is, can a DMAP viewer be made to view ingame maps? Maybe we could transform the DMAPS to jpeg or other types of pictures and use them for a standalone bot that we may create in the future. So the standalone bot could actually show the maps as pictures.

Maybe we can do it by finding similarities by the pixels and the data in the DMAPS, therefore making a decrypter which could turn the DMAPS in other viewable pictures.

This is just a theory, so please don't flame, just state your opinion.
08/31/2005 01:14 BadBoY_AC#2
a friend gave me once a viewer never tested it, i will check if i can find the link...
08/31/2005 01:32 XtremeX-CO#3
thanks, waiting to see.
08/31/2005 16:33 BadBoY_AC#4
okay forget it... .dmap its just a fake by TQ... they changed the name so we can't edit it or use a viewer...

like the .c3-files...


i found some things .dmap but its a completely different .dmap.. :/
08/31/2005 18:14 XtremeX-CO#5
No it isn't fake, its their own files made to correspond with the game, there are a lot of files that have the same extension but are different, such as c3, the original c3 is from Creatures 3 (the game). But my question is if anyone like chocoman4k could make a viewer like that.
08/31/2005 18:21 Hojo#6
Its very hard to build a program to view a picture when there is no known way of "Unloading" the pictures.

Maybe after CO is reverse coded and we get the source you could make one. However It could be just a file mask eg.

Text.txt could actually be a picture if you changed the file extention to .png or something

No these coulds be the same as a .jpg but just a different file extension. ".dmap"

Although, ive tried many picture extentions I havent found one yet. they may not even be pictures, but lines of data which the CO client uses to compile the images

In english:

Instead of asd.jpg have a file called asd.dmap which contains the location and color of every pixel

when CO loads the file to memory it "Builds" the image. this in turn makes sudo picture files which are tiny compared to others.

Of corse, I could be wrong (most likely :D ) and its just another type of picture :P
08/31/2005 20:22 BadBoY_AC#7
yea yea i know, i just think .dmap is not the correct extention.. they just use a complete new one to make it quiet impossible for us, to find a viewer....

@ hojo well... could be possible, but maybe its even not a pic... who knows... :/
09/01/2005 07:00 Kyran#8
Its not a pic. There is a height map in the file as well.
09/01/2005 07:41 Bukshi#9
there is .dmap viewer i forgot where i saved it at.. just search for it someone posted it.
09/01/2005 09:11 No_messiah#10
I am woundering, how fsjaing did it for bjx? Any one tried asking him, I know the dude dont speak that much english but some at least :)
09/01/2005 10:30 chocoman4k#11
.dmap files seem to be bitmap files (not as in .bmp) indicating the tile at every coordinate. It might also be that they're indicating the height/accessibility of every tile and another file is responsible for the tile image.

The bjx client is using a simple map, where every tile is either unaccessible or accessible.
I don't know if this is being sent by the server or if he's using files containing that data.

Edit: Of course it's possible to make a viewer for that file format, but I doubt it would be worth the time. All you could do with it would be changing the tiles so that the map looks different, and changing the accessibility of the tiles, jumping on an unaccessible tile would still get you disconnected because of server checks.
09/01/2005 21:26 username1#12
if you look through the folders there are a few filled with map parts. for example a bridge, tree, or wall. i think the dmap files are code that tell the client which piece of land goes where, and so it isnt a real picture, but multiple pictures pieced together. so its not as simple as just loading an image.
07/01/2009 08:21 Dmitrios#13
Quote:
Originally Posted by username1 View Post
if you look through the folders there are a few filled with map parts. for example a bridge, tree, or wall. i think the dmap files are code that tell the client which piece of land goes where, and so it isnt a real picture, but multiple pictures pieced together. so its not as simple as just loading an image.
That is one most realiable version of all what i have read here
07/01/2009 08:24 kinshi88#14
Don't bump SUPER old threads!
This is your first and only warning!

#Closed