• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

Compare map files

hellboy

Intermediate OT User
Joined
Apr 6, 2008
Messages
500
Solutions
4
Reaction score
101
Location
player:getTown()
Is there any simple way to compare every sqm in two otbm files an show differences as list of positions? Something like diff for txt files.
 
Solution
You could overlay the old map unto the new map, and look for any specific changes with specific itemids (are you looking for improperly placed MPAs/DSM/SoV/etc?, then that could help, otherwise:), or you could also make an implementation into otbmloader.cpp where it loads both maps and prints the differences found.

WibbenZ

Global Moderator
Staff member
Global Moderator
Joined
Oct 16, 2008
Messages
6,368
Solutions
228
Reaction score
1,493
Location
Sweden
Never heard about something like that, the "best" way would be to do a source edit and add another function to compare them and display them in a list.
 

ScorpionOT

uber n00b
Joined
Mar 28, 2015
Messages
410
Solutions
6
Reaction score
126
Never heard about something like that, the "best" way would be to do a source edit and add another function to compare them and display them in a list.
Ditto that. You could also import the map and look for any differences in the map per relevant itemids. You could either source edit this into RME or the OTS tbh.
 

ScorpionOT

uber n00b
Joined
Mar 28, 2015
Messages
410
Solutions
6
Reaction score
126
You could overlay the old map unto the new map, and look for any specific changes with specific itemids (are you looking for improperly placed MPAs/DSM/SoV/etc?, then that could help, otherwise:), or you could also make an implementation into otbmloader.cpp where it loads both maps and prints the differences found.
 
Solution
Top