Giter Site home page Giter Site logo

guidcorrector's Introduction

GUIDcorrector

Why?

Because when you decompile a unity game things like TMPro also get decompiled and decompilations aren't perfect at all but you can get TMPro in the package manager so you don't have to modify the decompiled package's code, shaders or whatever in order to make it work you can just use this GUID corrector which changes the GUIDs from the decompiled package to the one you got from the package manager or whatever you got it.

wtf is a "guid"?

a (G)lobally (U)nique (ID)entifier is a 128-bit text string that represents an identification (ID) unity uses this in their *.meta files so that they know what is what

how it works

if we change this let's say we have this guid (gb375d2c421da9a141a06fc1e9774eae5) in a *.meta file called "textmeshpro" from a decompiled package and (446635c639a68754da00264d9ac02476) also in a *.meta file called "textmeshpro.cs" from TMPro which we got from package manager and the whole project uses (gb375d2c421da9a141a06fc1e9774eae5) instead of the actual (446635c639a68754da00264d9ac02476) right? what this guid corrector does is it goes through the decompiled package gets the guids in this case (gb375d2c421da9a141a06fc1e9774eae5) and finds another *.meta file with the same name in the "actual package" folder and retrieves (446635c639a68754da00264d9ac02476) next it finds all the places where "gb375d2c421da9a141a06fc1e9774eae5" occures and replaces it with (446635c639a68754da00264d9ac02476)

Instructions

DecompiledPackagePath: The path for a decompiled package which is usually in "\Assets\Scripts".

ActualPackagePath: The path where the actual package is that usually being "\Library\PackageCache".

UnityProjectPath: Path of the unity project's "Assets" folder "\Assets".

just download & run the program run it input the paths press enter and wait after it finishes you're done.

guidcorrector's People

Contributors

oldsportsgit avatar doggies-galore avatar

Stargazers

 avatar  avatar  avatar  avatar FARES avatar Esteban Huezo avatar  avatar  avatar Bayu Satiyo ✨ avatar  avatar  avatar Rimuru avatar Jeff avatar verganas avatar Alan avatar  avatar underdogg avatar  avatar Shocoo avatar  avatar 黑客不黑 avatar

Watchers

 avatar  avatar  avatar

guidcorrector's Issues

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.