BOUND Converter

For conversion of BBND to BND or BND to BBND

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 15 years 10 months
Location: Canada
Been thanked: 1 time

BOUND Converter

Postby aaro4130 » Mon Jan 21, 2013 2:24 am

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
Last edited by aaro4130 on Thu Mar 06, 2014 3:29 pm, edited 1 time in total.
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15758
Registered for: 16 years 10 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Mon Jan 21, 2013 3:34 am

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.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 15 years 10 months
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Mon Jan 21, 2013 2:03 pm

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
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15758
Registered for: 16 years 10 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Mon Jan 21, 2013 11:59 pm

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.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 15 years 10 months
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Tue Jan 22, 2013 12:49 am

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.
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]