Decoding GameMap.dat

04/07/2010 13:43 Arcо#1
Well I was working on a project tonite, it was decoding Gamemap.dat.
Thanks to the help of haydz I finally got this and it works!
First you must create a text file in C:/ drive or wherever you want, just don't forget to change the streamwriter location.
Then make sure the pathway to your gamemap.dat is correct.
Debug and bam!
The maps are listed in this form.

MapID
Path
PuzzleSize

#edit
I don't know if this is the right section for this.
Probably goes in programming?
04/07/2010 15:05 Korvacs#2
Moved.

Little tip for you:

Code:
TextWriter Writer = new StreamWriter(new FileStream("YourPathHere", FileMode.Create));
04/07/2010 15:43 SaM.ThE.MaN#3
C++? is it?
04/07/2010 15:49 Korvacs#4
Quote:
Originally Posted by SaM.ThE.MaN View Post
C++? is it?
C#
04/07/2010 19:25 SaM.ThE.MaN#5
korvacs i know it is off post,
could ya tell me what is used to program for C# , and the download link to it :D
04/07/2010 20:59 MasterFletch#6
Quote:
Originally Posted by SaM.ThE.MaN View Post
korvacs i know it is off post,
could ya tell me what is used to program for C# , and the download link to it :D
Do this.

[Only registered and activated users can see links. Click Here To Register...]
04/08/2010 04:13 Arcо#7
Quote:
Originally Posted by Korvacs View Post
Moved.

Little tip for you:

Code:
TextWriter Writer = new StreamWriter(new FileStream("YourPathHere", FileMode.Create));
Ah so that's how you do it, I kept trying different ways and kept getting noob errors.
Thanks.
04/08/2010 10:35 Korvacs#8
No worries, now it'll create the text file or overwrite it.
09/20/2010 00:03 †he Knight#9
Oh my god , You are a genius!
09/20/2010 00:27 Fish*#10
Quote:
Originally Posted by JuiceDCodeR View Post
Oh my god , You are a genius!
not genius, but knowing what his talking about.
Big different.
09/20/2010 05:05 gabrola#11
Quote:
Originally Posted by JuiceDCodeR View Post
Oh my god , You are a genius!
Not really something special...
And don't bump old threads.
09/20/2010 18:56 †he Knight#12
Can you make a relase to convert it back to gamemap.dat?
09/20/2010 20:39 pro4never#13
Quote:
Originally Posted by JuiceDCodeR View Post
Can you make a relase to convert it back to gamemap.dat?
Read the text file and then use a binary writer to write the values back to gamemap.dat.


hell... isn't there a released gamemap.dat editor that will decrypt/encrypt?
09/20/2010 20:56 gabrola#14
Gamemap.dat isn't even encrypted, just needs to be parsed. Basically the whole file goes like this
Int32 MapID
Int32 Length
char* MapPath[Length]
09/20/2010 21:08 Kiyono#15
Quote:
Originally Posted by JuiceDCodeR View Post
Can you make a relase to convert it back to gamemap.dat?
See my signature.