RenolY2 / SuperBMD

A library to import and export various 3D model formats into the Binary Model (BMD) format. (Nintendo GC/Wii)
37 stars 10 forks source link

SM64DS BMD: Model was not a BMD or BDL! (J3D2 magic not found) #51

Closed axel7083 closed 1 year ago

axel7083 commented 1 year ago

Extracting the main_castle_all.bmd in the SM64DS rom, and using the tool on it. Here the logs:

Preparing to convert main_castle_all from .BMD to .DAE

Exception non gérée : System.Exception: Model was not a BMD or BDL! (J3D2 magic not found)
   à SuperBMDLib.Model..ctor(EndianBinaryReader reader, Arguments args)
   à SuperBMDLib.Model.Load(Arguments args, List`1 mat_presets, String additionalTexPath)
   à SuperBMDLib.Program.Main(String[] args)

How to get the model

RenolY2 commented 1 year ago

SM64DS BMD files are entirely different from the BMD files supported by SuperBMD. SuperBMD only supports BMD files found on some GameCube games like Super Mario Sunshine and Mario Kart Double Dash.

For BMD files found in DS games you want to look for DS-specific tools, e.g. https://github.com/scurest/apicula

axel7083 commented 1 year ago

Oh, wonderful, thanks nintendo for calling them the same ! Closing as not linked to the repository