Go Back   MacRumors Forums > Mac Community > Picture Gallery > UI Customization

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old Feb 1, 2013, 02:41 PM   #101
viciousx23
macrumors newbie
 
Join Date: Feb 2013
First off, gotta give a BIG thanks unsanity77 for making this black dock happen!

However, seeing as I'm a complete noob to this, I don't exactly know to edit the following lines below so that my dock is darker. Could anyone guide me in the right direction here?

----
Patch 0xDC0AD to 0F 57 C0
Patch 0xDC0C8 to 0F 57 C0 90 90 90 90 90
Patch 0xDC0ED to 0F 57 C0 90 90 90 90 90
Patch 0xDC19F to 0F 57 C0 90 90 90 90 90
Patch 0xDC1C7 to 0F 57 C0 90 90 90 90 90
Patch 0xDC26D to 0F 57 C0
Patch 0xDC31D to 0F 57 C0 90 90 90 90 90

Patch 0xAC to 00 (so kernel doesn't attempt to decrypt what's already decrypted)
----
viciousx23 is offline   0
Old Feb 1, 2013, 02:48 PM   #102
unsanity77
Thread Starter
macrumors member
 
Join Date: Nov 2012
Just use the program downloaded from the first post in this thread, it automates the process so you don't have to edit the binary by hand anymore.
unsanity77 is offline   0
Old Feb 1, 2013, 05:56 PM   #103
viciousx23
macrumors newbie
 
Join Date: Feb 2013
Oh ok, gotcha. I mistakenly thought that by editing the above code into the Dock app I could get an even darker "true" black color as opposed to the zip file that you posted in the first post. Thanks for the clarification.

Oh and one more thing. Is there any way I could make the reflections so that it's crisper in detail instead of being half blurred out? If so, which file(s) do I have to edit for that to happen?

Last edited by viciousx23; Feb 2, 2013 at 12:11 PM.
viciousx23 is offline   0
Old Feb 2, 2013, 10:13 PM   #104
fsck-y dingo
macrumors 65816
 
fsck-y dingo's Avatar
 
Join Date: Jun 2009
I like this a lot. Thanks unsanity!
fsck-y dingo is offline   0
Old Feb 6, 2013, 07:56 AM   #105
snickers2k
macrumors newbie
 
Join Date: Feb 2013
thanks a lot for this script! i searched so long for this!

ps. i found this theme:
http://furby8704.deviantart.com/art/...Lion-324410068
and was wondering if this docktheme really works?!

Last edited by snickers2k; Feb 6, 2013 at 08:51 AM.
snickers2k is offline   0
Old Feb 6, 2013, 09:15 AM   #106
TheSacredSoul
macrumors 6502a
 
Join Date: Jul 2010
Doesnt work for me. Still on this fugly dock. The dock restarts after i hit enter on the script but it comes back to this dock. On ML 10.8.2 on a MBA late 2010.

TheSacredSoul is offline   0
Old Feb 6, 2013, 12:12 PM   #107
Teakuno
macrumors newbie
 
Join Date: Jan 2011
Location: Victoria B.C. Canada
 
Quote:
Originally Posted by TheSacredSoul View Post
Doesnt work for me. Still on this fugly dock. The dock restarts after i hit enter on the script but it comes back to this dock. On ML 10.8.2 on a MBA late 2010.

Image
Just guessing but I believe you have to turn off the 2d dock first. Try Mountain Tweaks app: http://tweaksapp.com/app/mountain-tweaks/
__________________
teaksoftware.com
13" Retina MacBook Pro, iPad 3rd Gen, iPhone 4
Teakuno is offline   0
Old Feb 6, 2013, 03:26 PM   #108
unsanity77
Thread Starter
macrumors member
 
Join Date: Nov 2012
Quote:
Originally Posted by TheSacredSoul View Post
Doesnt work for me. Still on this fugly dock. The dock restarts after i hit enter on the script but it comes back to this dock. On ML 10.8.2 on a MBA late 2010.
In Terminal.app, type the following and press <enter>:
Code:
defaults write com.apple.dock no-glass -bool NO
And then:
Code:
killall Dock
unsanity77 is offline   1
Old Feb 6, 2013, 07:38 PM   #109
TheSacredSoul
macrumors 6502a
 
Join Date: Jul 2010
Quote:
Originally Posted by unsanity77 View Post
In Terminal.app, type the following and press <enter>:
Code:
defaults write com.apple.dock no-glass -bool NO
And then:
Code:
killall Dock
Fantastic! That worked! Thank you!

Could you please explain to me what was the problem? Was I using a different dock than the stock dock? Just for reference.
TheSacredSoul is offline   0
Old Feb 6, 2013, 08:43 PM   #110
Teakuno
macrumors newbie
 
Join Date: Jan 2011
Location: Victoria B.C. Canada
 
In the past you used a simaler terminal command or an app similar to Mountain Tweaks to change your dock to the 2d dock that is normally used only when you set the dock to appear on the side of the screen.
Teakuno is offline   0
Old Feb 19, 2013, 06:56 PM   #111
2Turbo
macrumors 6502
 
Join Date: Feb 2011
YAY! I never thought there'd be a black dock in ML! Thanks much!

This is my most hoped for visual tweak. We have black menubar, but I was used to black dock from Lion (CandyBar). Hopefully you keep it updated for continued compatibility.

Is it safe to use? When updating OSX in future, could it break something or would it just revert to old dock?

Last edited by 2Turbo; Feb 19, 2013 at 07:49 PM.
2Turbo is offline   0
Old Feb 20, 2013, 05:50 PM   #112
unsanity77
Thread Starter
macrumors member
 
Join Date: Nov 2012
It would not break anything to update, you would just end up with the default dock.

Also, it is safe.
unsanity77 is offline   0
Old Feb 27, 2013, 06:43 PM   #113
scubus
macrumors member
 
Join Date: May 2001
Location: Orlando, FL
I don't post often, but I wanted to thank you for this nifty little app....
__________________
* Democracy: two wolves and a sheep voting on what's for lunch
* Liberty: a well armed sheep expressing his rights.
* Anarchy: a planet full of well-armed sheep who all claim to be expressing their 'rights'.
scubus is offline   0
Old Mar 2, 2013, 10:13 PM   #114
zambz
macrumors newbie
 
Join Date: Feb 2013
Really awesome app indeed. I'm sorry to ask, but is it possible to incorporate more colours and transparency alterations with this mod?

Keep up the great work!
zambz is offline   0
Old Mar 2, 2013, 10:56 PM   #115
unsanity77
Thread Starter
macrumors member
 
Join Date: Nov 2012
Thank you. I'm sure glad people find it useful.

There might be a way to incorporate more colors and/or transparency. I looked into it a couple of weeks ago, and realized that I probably could, most likely by injecting a framework and overriding the entire functions rather than patching the code in them. It would require a fair bit of work though, but keep an eye out here over the next couple OS X updates and see how it progresses. I intend to get around to it sometime, definitely.
unsanity77 is offline   0
Old Mar 4, 2013, 08:38 AM   #116
viciousx23
macrumors newbie
 
Join Date: Feb 2013
Everything was working perfectly until today, when for some reason I noticed that my dock reflection was misaligned once I killed the dock. Does anyone have a fix to this?



***EDIT***
Never mind, I manually used TransDock X to hide the dock and undo it, and it fixed itself. Strange, but hey, whatever works! ;D


Also while I'm at it, is it possible to make my reflections less blurry by any chance? Thanks in advance.

Last edited by viciousx23; Mar 6, 2013 at 10:10 PM.
viciousx23 is offline   0
Old Mar 14, 2013, 08:41 PM   #117
moutian
macrumors member
 
Join Date: Dec 2004
Location: Detroit
Send a message via MSN to moutian
The beautiful black dock turned white in 10.8.3. Is there an update to hack it?
moutian is offline   0
Old Mar 14, 2013, 08:42 PM   #118
unsanity77
Thread Starter
macrumors member
 
Join Date: Nov 2012
There will be soon! Along with a host of other features that I'm adding.
unsanity77 is offline   0
Old Mar 14, 2013, 08:56 PM   #119
TheAngryPenguin
macrumors member
 
Join Date: Oct 2012
I just ran the GUI version and didn't run into any problems.
TheAngryPenguin is offline   0
Old Mar 14, 2013, 10:24 PM   #120
moutian
macrumors member
 
Join Date: Dec 2004
Location: Detroit
Send a message via MSN to moutian
Originally I used the command line method to apply the mod in 10.8.2. After updating to 10.8.3, I tried the gui method, and I can confirm it works on 10.8.3. Great job!
moutian is offline   0
Old Mar 16, 2013, 03:05 PM   #121
symo
macrumors newbie
 
Join Date: Nov 2008
Location: Italy
I too can confirm the GUI method works like a charm.
Thank you so much!
symo is offline   0
Old Mar 17, 2013, 01:08 PM   #122
jivhg
macrumors newbie
 
Join Date: Jul 2008
Quote:
Originally Posted by unsanity77 View Post
There will be soon! Along with a host of other features that I'm adding.
Will you open source this code ever?
jivhg is offline   0
Old Mar 17, 2013, 11:10 PM   #123
2Turbo
macrumors 6502
 
Join Date: Feb 2011
Quote:
Originally Posted by unsanity77 View Post
There will be soon! Along with a host of other features that I'm adding.
1) Is there a way to reduce the icon reflections, but not remove them?

2) Can I change the dock color to a lighter black (dark gray) color, so that on black backgrounds it isn't so jet black?

3) Would love if you could include the white light indicators from KillaAarons release: http://killaaaron.deviantart.com/art...Lion-326453358

Thanks!
2Turbo is offline   0
Old Mar 18, 2013, 04:21 PM   #124
chaplinb
macrumors newbie
 
Join Date: Mar 2013
You sir, are a pro.

Thanks, this looks really awesome!

I can confirm the GUI Tool works 100% on Mountain Lion 10.8.3, and was precisely what I was looking for .

I can't thank you enough for making this tool free.
chaplinb is offline   0
Old Mar 24, 2013, 11:02 PM   #125
unsanity77
Thread Starter
macrumors member
 
Join Date: Nov 2012
Quote:
Originally Posted by chaplinb View Post
Thanks, this looks really awesome!

I can confirm the GUI Tool works 100% on Mountain Lion 10.8.3, and was precisely what I was looking for .

I can't thank you enough for making this tool free.

Thank you all for your interest in the program. I have actually spent the last few weeks working really hard on adding some much-requested features here. I looked into another way of hooking into the Dock application, and it turned out to work quite nicely, and so I was able to do quite a lot with it. As it stands right now, the current form of the application will allow you to choose any color for your dock (from pink to green to purple -- and yes, black). You pick 5 different colors and it will form a gradient for your Dock. Additionally, you can choose different gradient themes for EACH SPACE in your OS X desktop, and the dock will change colors as you switch spaces.

I am planning on adding the ability to choose image files as well, as that can easily be done. Reflection opacity, icon tint overlays, etc. are all ideas in my head at the moment as well -- it just takes time to implement them. So they will be added to the program some time in the near future.

For now, my plan is to get this out there as quickly as possible, but I want it to be rock-solid stable. The problem with hooking into apps like this is it can cause stability issues and crashes, etc. and in a process like the Dock this will completely cripple your system. Which reflects badly on the developer, since it's my job to make sure it doesn't happen.

In the end, what this means is that I will be releasing a paid version of the app. I will continue to support the dockmod that is on this forum and release updates to it free of charge, but the new features I'm adding will be an entirely separate product for which I will charge a very modest fee. But, you will still be able to change your dock to black for free, forever.

Quote:
Originally Posted by 2Turbo View Post
1) Is there a way to reduce the icon reflections, but not remove them?

2) Can I change the dock color to a lighter black (dark gray) color, so that on black backgrounds it isn't so jet black?

3) Would love if you could include the white light indicators from KillaAarons release: http://killaaaron.deviantart.com/art...Lion-326453358
Good feature requests. Yes, there is a way to reduce the icon reflections and I will look into adding that. I will not include the light indicators, however, as they are already available from killaaron.

Quote:
Originally Posted by jivhg View Post
Will you open source this code ever?
I've thought about this, and I mentioned before that I would if I stopped developing it. But the deal with that is that I'd only really be open-sourcing the method I use to patch, not exactly what I'm patching, and definitely not how I'm patching. It takes an incredible amount of reverse-engineering to come up with hooks such as this, and when they break on a new OS X release (which they are likely to do), it still requires intimate knowledge of how the hooked application works to know what to do and what functions to look at in order to fix it. So, basically, having the source to this app will not help you if you don't know how to go about finding where in the Dock process you need to patch.
unsanity77 is offline   1


Closed Thread
MacRumors Forums > Mac Community > Picture Gallery > UI Customization

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
OS X: Sims complete collection, work with Mountain Lion? michaelshaw2121 Mac and PC Games 2 Feb 8, 2014 03:59 PM
Can I get Mountain Lion's Dock on Snow Leopard? (Candybar customization) LeandrodaFL OS X 1 Oct 11, 2013 06:57 PM
The Dock in Mountain Lion Airnova iMac 1 Dec 31, 2012 05:34 PM
Resolved: Can't Change Dock In Mountain Lion muzikman54 OS X 10.8 Mountain Lion 3 Aug 4, 2012 12:47 PM
How do I change the dock in Mountain Lion? Manic Harmonic OS X 10.8 Mountain Lion 1 Jul 28, 2012 05:12 AM

Forum Jump

All times are GMT -5. The time now is 05:20 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC