gooby Posted April 1, 2020 Posted April 1, 2020 Was wondering where map data was stored? Answer:  \Server\resources\gamedata.db  And how can I structure a text file to be able to import map data to the db?
0 Cheshire Posted April 1, 2020 Posted April 1, 2020 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.
0 Cheshire Posted April 1, 2020 Posted April 1, 2020 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.
0 gooby Posted April 1, 2020 Author Posted April 1, 2020 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?
Question
gooby
Was wondering where map data was stored?
Answer:Â Â \Server\resources\gamedata.db
Â
And how can I structure a text file to be able to import map data to the db?
3 answers to this question
Recommended Posts