Jump to content
  • 0

Where is map data stored?


gooby

Question

3 answers to this question

Recommended Posts

  • 0

If you knew how to create said binary files.. yes?

But that would again require you to look at how the map data is saved in the server.

 

I feel like the ''easiest'' way to do this would be to write an import module for the editor that reads data, transposes it to an Intersect map and saves it.

Link to comment
Share on other sites

  • 0
1 minute ago, gooby said:

 

And how can I structure a text file to be able to import map data to the db?

 

I'm afraid that's no simple matter, as the data for maps is stored in a data blob..

Which essentially means your map data looks like this:

Quote

c0c8a80100ff33030027496e74657273
6563742e47616d654f626a656374732e
4d6170732e54696c6541727261795b5d
0602022a1a00a29e8adf1d287140a5df
061cc7e06ddd0000041400ffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
7e0154550e01001f041400ffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
7e0f5455ffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffffffffffffffffffffffffff
ffffffffe4500000000004

 

I would suggest you look at the source and how it saves the map data, then make an import procedure based on the database code provided if you REALLY want to import stuff. 

It's likely not going to be easy though.

Link to comment
Share on other sites

  • 0
2 minutes ago, Joyce said:

 

I'm afraid that's no simple matter, as the data for maps is stored in a data blob..

Which essentially means your map data looks like this:

 

I would suggest you look at the source and how it saves the map data, then make an import procedure based on the database code provided if you REALLY want to import stuff. 

It's likely not going to be easy though.

would it be easier with a binary file?

Link to comment
Share on other sites

×
×
  • Create New...