Coder Social home page Coder Social logo

pvrtextool_wrapper's Introduction

PVRTexTool wrapper for Unity3D

What

Slow PVRTexTool performance on high compression quality settings was always a bane of Unity development. This small utility is supposed to replace PVRTexTool binary and change quality settings when PVRTexTool is run.

This is not recompiled or some hacked PVRTexTool, this is just the smallest possible wrapper that launches original PVRTexTool with some commandline parameters changed. Before copying this over your original, you should copy original PVRTexTool.exe to PVRTexTool_orig.exe - the last one would be called from wrapper.

Why

We building all our projects on build server. We don't want our developers to suffer abysmally long time when someone pushes new texture or when they change project type. That why all our developers use this wrapper to improve speed of texture compression.

Buildserver use original Unity3D instalation and always processs texture as intended, so we end up with fast development and slow production builds (sometimes).

For whom

Use this wisely. Using this utility whould result in your compressions setting to work as Fast (or even faster - unity use 1 level above worst for Fast quality setting) with texture quality suffer accordingly.

The only time you should need this if you have a buildserver that would build your builds with original PVRTexTool, when going to production.

How

For MacOS just run macos_install.sh

else:

Find your Unity3D installation's Tools dirrectory:

Mac: /Applications/Unity/Unity.app/Contents/Tools

Windows: C:\Program Files (x86)\Unity\Editor\Data\Tools\

There your should find PVRTexTool (on Mac) or PVRTexTool.exe (on Windows). You should rename it to PVRTexTool_orig (on Mac) or to PVRTexTool_orig.exe (on Windows).

Then you should copy PVRTexTool (or PVRTexTool.exe for Windows) from this repository to Tools directory - over your old PVRTexTool binary.

Uninstall

On MacOS you can run macos_uninstall.sh.

On Windows: Just rename PVRTexTool_orig to PVRTexTool

Building

No building is nescessary for Mac, because it's a simple shell script.

For windows there is already a binary compiled with Mono. It's vainila .NET without any dependencies and can be build in VS without problems

Notice on Unity3D update

You should perform installation after every Unity3D update, because after every update unity would just replace PVRTexTool with it's own.

pvrtextool_wrapper's People

Contributors

fxgames 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.