Blockland Forums > Modification Help
[Blender Plugin] Blockland Save Importer (for 2.8)
Ahead:
BLS Importer for Blender 2.8
This plugin was originally written by siba for older versions of Blender (original topic), I updated it to work on 2.8 and have released it on GitHub with some minor fixes. Contributions are welcome!
Get it here!
Instructions
* Download the add-on from GitHub and install it in Edit > Preferences > Add-Ons
* Set your Blockland directory in the add-on drop-down config
* Copy the BLS_Bricks folder from the .zip into the root of your Blockland folder you specified in the config
* Find your save file in the open dialog, and open
* ???
* Profit
Issues
* cannot read byte 0xb0 (or whatever): Your save file is encoded with CR1252 (Windows-1252), the importer has problems reading brick files with special characters if the encoding isn't UTF-8. (ex. bricks with a degree symbol) Make a copy of your save with UTF-8 encoding and try again.
* Importer takes too long: The importer has problems reading saves with a lot of bricks, please either try the Join Brick Meshes option or cut your builds down to small sizes or into separate files.
* cannot find blb: You're most likely missing a brick file that is referenced in the save file (& your Blockland directory in the config). Unfortunately since Blockland saves store bricks with their UI name, it is a hassle to track down the appropriate brick and rename it accordingly (ESPECIALLY with non-default bricks, but they will work in the importer), so you're going to have to rename a bunch of bricks if you're willing to go that route. (to do: make a script that creates a set of brick files with their internal and UI names)
* cannot find something like brickTOP.png: Make sure you have set up the config for your Blockland directory in the add-on drop-down. Otherwise the importer won't work!
* Brick textures are stretched or look wrong: This is because I forgot to set up the texture nodes properly with a coordinates node. Will be added in a later update.
KayKayKo:
Awesome sauce
jes00:
Doesn't appear in the import-export list in preferences after I install it.
QuadStorm:
Wonder if you could get it to use the Principled BSDF material instead of the diffuse material. I've been using this older BLS2OBJ to import into blender since it can handle larger files better (still slow but better than my experience with this importer), but that importer can't import certain bricks properly (crests and arches have missing faces). My goal is to be able to cycles render blockland builds of pretty much any size as simply as possible.
Ahead:
--- Quote from: jes00 on August 30, 2019, 03:16:44 PM ---Doesn't appear in the import-export list in preferences after I install it.
--- End quote ---
Post logs found in the scripting section, it imports fine when I get it from the GitHub repo
edit: you could also try removing the bls_bricks folder in the zip? maybe that will help
--- Quote from: QuadStorm on August 30, 2019, 03:32:06 PM ---Wonder if you could get it to use the Principled BSDF material instead of the diffuse material. I've been using this older BLS2OBJ to import into blender since it can handle larger files better (still slow but better than my experience with this importer), but that importer can't import certain bricks properly (crests and arches have missing faces). My goal is to be able to cycles render blockland builds of pretty much any size as simply as possible.
--- End quote ---
Initially the plugin was using principled BSDF but I switched to using a mix shader with an image texture for the fac and two diffuse BSDF shaders (one for the color of the brick, the other for the texture) to include transparency but I may try going back
Navigation
[0] Message Index
[#] Next page
Go to full version