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
next going need of unity's , nux's dependency'scode:sudo apt-get install qtcreator
it imorant mention going building out of directorycode:sudo apt-get build-dep unity && sudo apt-get build-dep nux
socode:~/desktop
next need source code unity self there couple of ways of doing this. gather aptcode:cd ~/desktop
make sure still located @ ~/desktop
once downloaded should folder this.code:apt-get source unity
code:unity-6.2.0+bzr2635ubuntu0+762
lets make build dir in terminal
make sure same name if source code of unitycode:mkdir ~/desktop/unity-6.2.0+bzr2635ubuntu0+762-build
make surecode:unity-6.2.0+bzr2622ubuntu0+762
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.
lets make themcode:const int focus_overlay_height = 44; const int focus_overlay_width = 60;
then go down line 41 shouldcode:const int focus_overlay_height = 64; const int focus_overlay_width = 64;
lets changecode:: icontexture(icon_hint, 24)
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.
and in qtcreatorcode:sudo apt-get remove unity
go build-->run cmake , time in option's add
and click run cmake. after runs. build unity .code:-dcmake_install_prefix:path=/usr
press ctrl+b , build unity.
in terminal go
then runcode:cd ~/desktop/unity-6.2.0+bzr2635ubuntu0+762-build
code:sudo make install
reboot , enjoy new unity. hope enjoyed reading this.
good job! enjoyed reading , attempting in future!
Forum The Ubuntu Forum Community Other Discussion and Support Tutorials How to Hack Unity 3d
Ubuntu
Comments
Post a Comment