Author Topic: Build Optimizer service  (Read 3659 times)

Ive had this script for a while - so now its time to let everyone else use it.

Its simple to use:
1) goto the website on my pc  http://yans.dyndns.org:7777/seaside/blockland
2) upload your spammy brick save
3) click "Optmize"
4) download the result

what does it do exactly?
It looks for bricks of the same kind and color and combines them into larger bricks.
so for example,  2 1x1 bricks nexto each other (of the same color), will be combined into a single 1x2 brick.
Or a line of spam:  16 1x1 bricks in a line will be combined into a single 1x16 brick


Kudos to DrenDran for getting me off my bum and making it into a website.

Bricks with events are ignored (not optimized).
If you have custom bricks in your build, they wont be optimized. 

Update
Added an "options..." button.
There is support for 1 brickpack right now: "BlackDragonIV's Brick Pack"  which you can find on RTB.
You can choose to "deconstruct" your build into smaller bricks to get a better result on the optimize.  Please read the warnings if you pick this.

Support for an "ignore all bricks with this color" feature is in progress.

If you get an error page when trying to do something - click 'Debug' .  and STOP.  'Debug' opens a debugger window on my PC.  i'll see it when i get back, and try to fix the problem.

And some pics of the results
« Last Edit: May 10, 2011, 04:08:45 AM by Red_Guy »

You might want to add ''before and after'' pictures.

You might want to add ''before and after'' pictures.
There aren't any pictures - this works directly with your save file -- completely outside of blockland.

There aren't any pictures - this works directly with your save file -- completely outside of blockland.

We want some before and after pictures of the save you fool.  :cookieMonster:


I dont trust this.
What's it going to do? Turn your build into a snake?


Guys

The script takes your build, adds hidden print bricks saying "Red_Guy", changes the description to "made by Red_Guy" then automatically uploads it to the Gallery. Dirty.

Guys

The script takes your build, adds hidden print bricks saying "Red_Guy", changes the description to "made by Red_Guy" then automatically uploads it to the Gallery. Dirty.
Funny.

well if you see your builds showing up in the gallery, you'll know Sheath is telling the truth.
but if nothing shows up in the gallery, you'll know he is lying.

but if nothing shows up in the gallery, you'll know he is lying.

It's not going to happen now that he brought it up and you've been caught in the red, Red_Guy!

It's not going to happen now that he brought it up and you've been caught in the red, Red_Guy!

Exactly, he cleared re-routed the upload to a secret server.

Name   Golden Gate Bridge.bls
Bricks    44465

Name   Golden Gate Bridge-Optimized.bls
Bricks    44251

Lol tails.
I attempted to "optimize" Peggling City.

Name   The City of Pegglington.bls
Bricks   69433

Name   The City of Pegglington-Optimized.bls
Bricks   67150
« Last Edit: April 27, 2011, 05:37:48 AM by Sheath »

Good to see its working for you guys.

Let me know if your optimized version has any problems.  I fixed one bug late last nite where bricks with 'glow' applied to them did not merge right.

More precisely how does this work and what does it do? As I see it removes bricks, but what bricks?