Skip to content

Posts from Generating and modifying terrain.bin.

No ratings yet — be the first to rate!
User Avatar
3 years ago
Auto-translated
Basically, the story is as follows. About a year ago, I already tried to explore the possibility of modifying the map generator here, but then it all fizzled out. I stopped at writing a small script for myself that modified the .xdb file of an already generated IRMG map in the way I wanted, and then I lost interest for a long time, as I didn't have time for Heroes.

Now I decided to try to get back to it and, in my free time, put together my own map generation algorithm. In general, the entire map structure is clear: it's an archive with .xdb tables that store the location of objects on the map and global rules, as well as ground_terrain.bin, which stores the geometry and structure of the terrain itself.
The main question is related to the latter. It is clear that this is a binary file, it is clear that it somehow encodes the geometry, there is even a small cheat sheet from a person who has already delved into this, however, the questions of generation, modification, and most of the encoding rules still remain largely unanswered. I myself have only just started working on this task, so I haven't even started digging yet; I decided to first study all the available information.

In general, share your knowledge, experienced modders: has anyone had experience modifying this format before, or not? Maybe there are some useful tips?
User Avatar
3 years ago
Auto-translated
Unfortunately, I'm a beginner in the map editor. I won't be able to offer any advice. But I want to say that you're taking on a worthwhile task, and I wish you success! We'll be here, by your side, to offer moral support and likes 🤗.

Statistics

Welcome our newest member: recijeb