Page 1 of 1

BOUND Converter

Posted: Mon Jan 21, 2013 2:24 am
by aaro4130
BOUND Converter Release : https://aaro4130.weebly.com/other.html
Instructions :
Drag a BBND file onto BoundTools.exe to get a corresponding BND file
Drag a BND file onto BoundTools.exe to get a corresponding BBND file

Created by aaro4130
Thanks to Franch88 for suggesting conversion to BBND

Posted: Mon Jan 21, 2013 3:34 am
by Franch88
That's a great and genial work, thank you a lot. :) Now the BBND to BND conversion tutorial becomes kinda no more useful because of to this tool, not a bad thing, though.
Nice website for your programming stuff, put more of your previously made tools.

Posted: Mon Jan 21, 2013 2:03 pm
by aaro4130
There is a new version of the converter on my site now . The old one only did one material and had a possible bug with bbnd -1 ID materials . New version fixed this and also does multiple materials. Now we have a complete bound converter

Posted: Mon Jan 21, 2013 11:59 pm
by Franch88
Good have fixed the multiple materials with the new version, but there's something more to fix. The BND to BBND conversion doesn't work well, it's like the tool doesn't consider the decimal number, or the comma. No problems instead with the BBND to BND and then back again to BBND conversions.
Try to convert one of the game .bbnd files with the tool and you'll see that's not like its .bnd version (some bounds in the MM2 buildings are in both the formats). Use the File Browser tool of MM2 City Toolkit program to properly check these file types and see what's wrong with the conversion done by your tool.

Posted: Tue Jan 22, 2013 12:49 am
by aaro4130
Good have fixed the multiple materials with the new version, but there's something more to fix. The BND to BBND conversion doesn't work well, it's like the tool doesn't consider the decimal number, or the comma. No problems instead with the BBND to BND and then back again to BBND conversions.
Try to convert one of the game .bbnd files with the tool and you'll see that's not like its .bnd version (some bounds in the MM2 buildings are in both the formats). Use the File Browser tool of MM2 City Toolkit program to properly check these file types and see what's wrong with the conversion done by your tool.
EDIT : It strips off extra decimals, it will change 1.0000 to 1, Game is fine with this change as far as i've seen

This is impossible to fix as it is an internal conversion done with ReadInt32 in the .NET Framework

The worst it will do is remove .0000003 of a decimal, a non-noticable strip.