Skip to main content

Thread: How to Hack Unity 3d


this going small tutorial on how hack away @ unity 3d.
before reading must there many ways skin cat. meaning sure there other ways of doing , being said how it.

things going need
c++
qt creator

c++ /qt / awesome ide using tutorial. can install via sotware center or
code:
sudo apt-get install qtcreator
next going need of unity's , nux's dependency's


code:
sudo apt-get build-dep unity && sudo apt-get build-dep nux
it imorant mention going building out of directory
code:
~/desktop
so
code:
cd ~/desktop
next need source code unity self there couple of ways of doing this. gather apt
make sure still located @ ~/desktop
code:
apt-get source unity
once downloaded should folder this.
code:
unity-6.2.0+bzr2635ubuntu0+762

lets make build dir in terminal
code:
mkdir ~/desktop/unity-6.2.0+bzr2635ubuntu0+762-build
make sure same name if source code of unity

code:
unity-6.2.0+bzr2622ubuntu0+762
make sure

code:
unity-6.2.0+bzr2622ubuntu0+762-build

time open qtcreator

once qtcreator open go

file-->open file or project

open

~/desktop/unity-6.2.0+bzr2635ubuntu0+762/cmakelist.txt






should screen looks






make sure add -build on @ end if not there already. press next

next cmake options sense going building unity-6.2.0+bzr2635ubuntu0+762-build. not have add arguments. press run cmake.
after cmake runs press finish button.






if getting errors make sure ran build-deps above.


right time start hacking away @ unity.
purposes of tutorial going changing icon size @ bottom of dash.(your lens icons)

go dash-->lensbaricon.cpp

lines 33 , 34 might this.
code:
const int focus_overlay_height = 44;  const int focus_overlay_width = 60;
lets make them

code:
const int focus_overlay_height = 64;  const int focus_overlay_width = 64;
then go down line 41 should

code:
 : icontexture(icon_hint, 24)
lets change
code:
 : icontexture(icon_hint, 48)







lets save work. (ctrl+s) or go file->save

next part included unity 6.2 , up.

go thing looks monitor above green arrow set running point

unity-standalone









press run button or press ctrl+r , wait build. once build launch unity-standalone



have previewed changes can go qtcreator , stop running







once whatt got , want replace stock unity have built
remove old unity.
code:
sudo apt-get remove unity
and in qtcreator
go build-->run cmake , time in option's add
code:
-dcmake_install_prefix:path=/usr
and click run cmake. after runs. build unity .
press ctrl+b , build unity.
in terminal go

code:
cd ~/desktop/unity-6.2.0+bzr2635ubuntu0+762-build
then run
code:
sudo make install

reboot , enjoy new unity. hope enjoyed reading this.
attached images attached images

good job! enjoyed reading , attempting in future!


Forum The Ubuntu Forum Community Other Discussion and Support Tutorials How to Hack Unity 3d


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues