gdkchan / SPICA

Experimental H3D tool
The Unlicense
93 stars 47 forks source link

3DS Kirby games .bch unsupported #63

Open Mimimax opened 5 years ago

Mimimax commented 5 years ago

They're not supported yet. Also it would be great if once it's supported, the models' textures and colors can be displayed properly in the viewer, some of them were buggy in ohana3ds rebirth.

legoj15 commented 5 years ago

You need to decompress the bch files before opening them in SPICA. All 3DS Kirby game models look fine in SPICA

Mimimax commented 5 years ago

I can't seem to decompress the files with a few decompressors I tried using. Do you know any? Do I have to remove the .cmp from the file name? If you can just let me know that's good enough.

legoj15 commented 5 years ago

EveryFileExplorer has the proper decompressor, but if that doesn't work (or you simply can't find it since it disappeared off the internet), look up "LXZ DeComp", it's a set of command-line executables that can decompress files with the .cmp extension. (lzx.exe is the one that works 100% of the time with Kirby games for me) you use it like this: lzx.exe -d "C:\this is a folder with a file\kirby.bch.cmp" or like this (if the folder is ALL .bch.cmp files) lzx.exe -d "C:\this is a folder with a lot of cmp files\*.cmp"

If you want, I could give you my compiled build of EveryFileExplorer since it has a GUI and that might be easier

hope this helps, I've been doing this for a while

P.S: the latest commit of SPICA has some issues with rendering, such that reflective textures don't move when you move the camera, and that sometimes lighting is borked, but it still looks better than Ohana3DS

P.P.S: I would've linked a version of SPICA without the broken lighting and specular textures, but AppVeyor deleted it already since it's over a year old >:V

Mimimax commented 5 years ago

I managed to get Every file Explorer and it worked! the model is displayed pretty much (or almost) perfectly. Thanks!

legoj15 commented 5 years ago

You're welcome!

Mimimax commented 5 years ago

So i guess this can be closed?

legoj15 commented 5 years ago

No, I wouldn't close this yet, since decompression is a feature Ohana3DS has and SPICA doesn't, so this should stay open until .cmp files can be loaded directly

Mimimax commented 5 years ago

Oh ok

Noel3454565FNF commented 6 months ago

but how can i compress it now?

TROguz commented 5 months ago

Anyone has cmp tool?