guillaumechereau / goxel

Goxel: Free and Open Source 3D Voxel Editor
GNU General Public License v3.0
2.84k stars 226 forks source link

Feature request: Support Qubicle project files .qbcl #271

Open tostc opened 2 years ago

tostc commented 2 years ago

Hey,

this is less of a feature request and more of a note. I reverse engineered Qubicle's .qbcl format. The documentation can be found here.

mgerhardy commented 2 years ago

Based on that information I did an implementation for vengi already - might serve as inspiration, too ;) https://github.com/mgerhardy/vengi/blob/master/src/modules/voxelformat/QBCLFormat.cpp

guillaumechereau commented 2 years ago

Yes would be nice to have. Do you have some example files I could try?

tostc commented 2 years ago

Hey,

I used the demo files from the Qubicle demo on Steam. https://store.steampowered.com/app/454550/Qubicle_Voxel_Editor/

guillaumechereau commented 2 years ago

Thanks for the info. By the way, I didn't know about Vengi but it looks very impressive! I haven't tried it yet, but from the screenshots it looks much more advanced than goxel.

guillaumechereau commented 2 years ago

I just pushed a file that adds basic support for the format. Thanks for the work doing the reverse engineering!

tostc commented 2 years ago

No problem. Reverse engineering the file format was a lot of fun.

PhilT commented 2 years ago

Hey there, I'm trying to use this feature but when I browse to the directory of qbcl files I don't see them to be able to import. I'm on Linux. Any ideas? Thanks.

guillaumechereau commented 2 years ago

Hello @PhilT, are you building the app yourself?

PhilT commented 2 years ago

I wasn't no. Would you suggest I do so?

I managed to get MagicaVoxel working under Wine so that might be a solution but I might be back if it's not. If I can get Goxel to work though that would at least mean I don't need to convert the existing projects I have but I guess it'd only be a one time thing.