Code Monkey home page Code Monkey logo

buildstripper's Introduction

Website Stephen Allen Games

Donate

BuildStripper

Build Stripper gets the build pipeline to totally ignore select folders, and reverts back after.


Version 1.1 Credits:
JesusLuvsYooh StephenAllenGames.co.uk
#WaterCooler gang for letting me Rubber Duck to them.

1: This file must be in an "Editor" folder (Unity/Assets/Editor) for example.

2: Edit the "folderPaths" list, making sure it only includes items that server build does not need, such as Audio and Textures.

3: If "Server Build" is ticked in Unitys build window, automatically strip folders listed during build process.

This script should drastically lower your build size, and optimise your game;
Build size differences in an example project:
Regular server build: 1 GB
An un-named Asset store plugin: 200 MB
This BuildStripper: 60mb

Image preview of build process.
BuildStripperImage1

A: Optional Unity Menu buttons, for manually calling, just un-comment them in the script.
B: Be smart with which folders you list, ones like Scenes or Scripts etc will of course stop server/game from working. ;)
C: Set autoDetectServerBuild to false to disable auto "Server Build" detection.
D: Please be aware this is version 1, an Alpha/Beta, code needs to be optimised and tidied up.

Enjoy! ^_^

buildstripper's People

Contributors

jesusluvsyooh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.