Giter Club home page Giter Club logo

unity-dark-skin's Introduction

Dark Skin for Unity

Build Status Latest release Downloads

Download latest release

How to use

Just place the executable on the same folder where your unity installations are and run dark-skin enable from the command line, the tool will search for executables and patch them. Close all the editor instances before running this tool.

The tool will automatically backup and restore the .exe if any errors occur during the patch process. The backuped .exe will be kept at the editor folder if you need to restore it manually later on.

How to find hex sequence

  • cvdump.exe -headers -p UNITY_FOLDER\Editor\Unity.exe > dump.txt
  • Open dump.txt and search for GetSkinIdx
  • S_PUB32: [0001:00ABD9C0], Flags: 00000002, ?GetSkinIdx@EditorResources@@QEBAHXZ
  • Function address is virtual addr + section raw pointer
  • Ex: 0x00ABD9C0 + 0x400

OR

  • dark-skin findHex UNITY_FOLDER\Editor\Unity.exe

Then

Assembly - Unity 2019.2.0a9

b3: 90                      nop
b4: 84 db                   test   bl,bl
b6: 75 04                   jne    0xbc
b8: 33 c0                   xor    eax,eax
ba: eb 02                   jmp    0xbe
bc: 8b 07                   mov    eax,DWORD PTR [rdi]
be: 4c 8d 5c 24 70          lea    r11,[rsp+0x70]
c3: 49 8b 5b 10             mov    rbx,QWORD PTR [r11+0x10]
c7: 49 8b 6b 18             mov    rbp,QWORD PTR [r11+0x18]
cb: 49 8b 73 20             mov    rsi,QWORD PTR [r11+0x20]
cf: 49 8b e3                mov    rsp,r11
d2: 5f                      pop    rdi
d3: c3                      ret

Assembly - Unity 2019.2.0a11

42: 80 3d bf d3 8c 06 00    cmp    BYTE PTR [rip+0x68cd3bf],0x0        # 0x68cd408
49: 75 15                   jne    0x60
4b: 33 c0                   xor    eax,eax
4d: eb 13                   jmp    0x62
4f: 90                      nop
50: 49 ff c0                inc    r8
53: 42 80 3c 03 00          cmp    BYTE PTR [rbx+r8*1],0x0
58: 0f 84 84 00 00 00       je     0xe2
5e: eb f0                   jmp    0x50
60: 8b 07                   mov    eax,DWORD PTR [rdi]
62: 4c 8d 5c 24 70          lea    r11,[rsp+0x70]
67: 49 8b 5b 10             mov    rbx,QWORD PTR [r11+0x10]
6b: 49 8b 6b 18             mov    rbp,QWORD PTR [r11+0x18]
6f: 49 8b 73 20             mov    rsi,QWORD PTR [r11+0x20]
73: 49 8b e3                mov    rsp,r11
76: 5f                      pop    rdi
77: c3                      ret

unity-dark-skin's People

Contributors

mukaschultze avatar

Stargazers

Bruno Silva avatar Felipe_Barcelos avatar John RaM avatar LoneDev avatar Scrapywar  avatar Motonari Tsuzuki avatar  avatar

Watchers

James Cloos avatar Andreas Oehlke avatar  avatar Caio Domingues avatar John RaM avatar  avatar

Forkers

gerndal cybersys

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.