Product Chat / Whar format is m.dat?

Author
Message
fhalo
12
Years of Service
User Offline
Joined: 10th Jun 2012
Location:
Posted: 8th Oct 2020 13:07
Hi

What format is m.dat is in?
Is it possible to open m.dat using another tool?
I'm assuming that m.dat is used to store the terrain inofrmation?
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 8th Oct 2020 13:30
I open these files with Notepad++
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
fhalo
12
Years of Service
User Offline
Joined: 10th Jun 2012
Location:
Posted: 8th Oct 2020 14:15
Thanks 3com for yu reply.

I too open to notepad++

But, it is not in a readable format.

Do I need to install a plugin for .dat?

Thanks
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 8th Oct 2020 14:26
It is an internal data structure of the terrain mesh. It is not directly editable. You would have to create a program like BOTR (HM2GG) did to get any info into it that would work in GG.
Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 32GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




fhalo
12
Years of Service
User Offline
Joined: 10th Jun 2012
Location:
Posted: 8th Oct 2020 14:31
Thanks Pirate Myke for your reply

BOTR stop working on HM2GG

I just wonder how easy to create m.dat file outside GG?
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 8th Oct 2020 15:46
it's no secret , here is the structure:

the 1st 4 header values are bytes, the 3rd byte being a value of 0x40, the rest are float values.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++ VS2019, SQL, PL-SQL, JavaScript, HTML, Three.js, others
Hardware: ULTRA FAST Quad Core Gaming PC Tower WIFI & 16GB 1TB HDD & Win 10 (x64), Geforce GTX1060(3GB). Dell Mixed Reality VR headset, Aerodrums 3D
fhalo
12
Years of Service
User Offline
Joined: 10th Jun 2012
Location:
Posted: 8th Oct 2020 16:02
Thanks Bored of the Rings

for you reply
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 8th Oct 2020 16:09
here is the code Lee sent me some way back now, for your reference:

Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++ VS2019, SQL, PL-SQL, JavaScript, HTML, Three.js, others
Hardware: ULTRA FAST Quad Core Gaming PC Tower WIFI & 16GB 1TB HDD & Win 10 (x64), Geforce GTX1060(3GB). Dell Mixed Reality VR headset, Aerodrums 3D
fhalo
12
Years of Service
User Offline
Joined: 10th Jun 2012
Location:
Posted: 8th Oct 2020 17:57
WOW!

Thanks for the code ref.

PM

Login to post a reply

Server time is: 2024-11-23 16:21:23
Your offset time is: 2024-11-23 16:21:23