Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TheAngryPenguin

macrumors member
Oct 1, 2012
39
0
Many Thanks!

I just want to thank everyone in this thread for offering all the guidance. I now have an acceptable Dock in Mountain Lion:

ML-Dock.png


Credits:

It's only been a few moments since getting it all sorted, and I already believe that I like it better than how it looked in Lion / Snow Leopard / Leopard! It's almost as if the blue indicators are "reflecting" the black glass bezel of my MBP! Thanks again!
 

lynxdeb

macrumors member
Mar 29, 2009
87
9
I just want to thank everyone in this thread for offering all the guidance. I now have an acceptable Dock in Mountain Lion:

Image

Credits:

It's only been a few moments since getting it all sorted, and I already believe that I like it better than how it looked in Lion / Snow Leopard / Leopard! It's almost as if the blue indicators are "reflecting" the black glass bezel of my MBP! Thanks again!

sorry.. but i've to replace the entry Dock of ML 10.8.2 to change this damn dock background? :(
 

El Em

macrumors newbie
Jul 2, 2011
13
0
Sweden
I just want to thank everyone in this thread for offering all the guidance. I now have an acceptable Dock in Mountain Lion:

Image

Credits:

It's only been a few moments since getting it all sorted, and I already believe that I like it better than how it looked in Lion / Snow Leopard / Leopard! It's almost as if the blue indicators are "reflecting" the black glass bezel of my MBP! Thanks again!

I want it.

Share it, please?
 

TheAngryPenguin

macrumors member
Oct 1, 2012
39
0
I want it.

Share it, please?
You need to build it yourself from the links.

  1. Back up your current Dock.app
  2. Install the DP4 Test Dock form the first link
  3. Copy over the scurve and indicator assets from the second link
  4. Reboot or do a killall Dock.
 

El Em

macrumors newbie
Jul 2, 2011
13
0
Sweden
You need to build it yourself from the links.

  1. Back up your current Dock.app
  2. Install the DP4 Test Dock form the first link
  3. Copy over the scurve and indicator assets from the second link
  4. Reboot or do a killall Dock.
Sorry. Missed that.
Now, my dock is also nice to the eyes.

Thanks a lot!
 

unsanity77

macrumors member
Nov 22, 2012
67
0
Hacked the Dock binary, changed a couple float values, and resigned... now I have something that I quite like!
 

Attachments

  • Screen Shot 2012-11-23 at 1.25.21 AM.png
    Screen Shot 2012-11-23 at 1.25.21 AM.png
    762.1 KB · Views: 355

unsanity77

macrumors member
Nov 22, 2012
67
0
Here's a few different things I found that I can do with it. (see attachments)

In the meantime, I'm writing up a short guide so that others can see how I accomplished this and I'll post it here shortly!
 

Attachments

  • Screen Shot 2012-11-23 at 2.25.21 PM.png
    Screen Shot 2012-11-23 at 2.25.21 PM.png
    1 MB · Views: 325
  • Screen Shot 2012-11-23 at 2.31.34 PM.png
    Screen Shot 2012-11-23 at 2.31.34 PM.png
    1 MB · Views: 262
  • Screen Shot 2012-11-23 at 2.32.24 PM.png
    Screen Shot 2012-11-23 at 2.32.24 PM.png
    902 KB · Views: 245

unsanity77

macrumors member
Nov 22, 2012
67
0
Well, it was pretty hard to make this as simple as possible, and I'm not quite sure I got there. But here's the guide on how to hack the dock. If you make a mistake and don't know how to restore your backed up Dock, you could mess your computer up. Don't hold me responsible for that.

ONLY TRY THIS ON OS X 10.8.2.... You've been warned!

https://forums.macrumors.com/threads/1495519/
 
Last edited:

symo

macrumors newbie
Nov 7, 2008
10
0
Italy
Well, it was pretty hard to make this as simple as possible, and I'm not quite sure I got there. But here's the guide on how to hack the dock. If you make a mistake and don't know how to restore your backed up Dock, you could mess your computer up. Don't hold me responsible for that.

ONLY TRY THIS ON OS X 10.8.2.... You've been warned!

Thanks for the guide. :)
May I ask a question?
After vmmap command, my __TEXT line is the following:
Code:
00000001091e1000-0000000109420000 [ 2300K] r-x/rwx SM=COW  ...s/MacOS/Dock
As you can see the size is not 2412K but 2300K: do you think this difference can cause any issue?
 

unsanity77

macrumors member
Nov 22, 2012
67
0
Yeah, the difference in size will cause a problem. Are you on 10.8.2? Try this command in Terminal:

md5 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock

This should be before you made any modifications to the binary. Your md5 should be: f0ac7d2380e2489013d9288983fd608d

If it's not, the only thing I can think of is that we are on different OS X versions.
 

symo

macrumors newbie
Nov 7, 2008
10
0
Italy
Thank you for your answer.
Yes, I'm on 10.8.2.
This is the md5:
Code:
d78941145fd3c8e090190a4719a7476f
Some days ago I tried to modify my dock as showed in this post https://forums.macrumors.com/posts/16100107/, than I changed it back to the default, or so I thought.
I've restored the original Dock.app from the installation disk and now the size seems to be right:
Code:
__TEXT                 00000001011ca000-0000000101425000 [ 2412K] r-x/rwx SM=COW  ...p/Contents/MacOS/Dock
but the md5 is still different:
Code:
b611fb46f32b561ee8e5a52b4044627f
 

unsanity77

macrumors member
Nov 22, 2012
67
0
If you pulled it from the ML installation disk, then it's the Dock.app from 10.8.0. You'll have to download the 10.8.2 combo update and get your dock back to where it's supposed to be ;)
 

3282868

macrumors 603
Jan 8, 2009
5,281
0
Thanks for this info!

I got as far as Step Three, but have no idea how to edit the modified Dock.exec in order to use the recommended settings. I searched for the offsets listed in Hex spotlight in 0xED, but have no idea what I need to do or if this is correct.

Any help would be greatly appreciated. Thanks again! :)
 

unsanity77

macrumors member
Nov 22, 2012
67
0
In 0xED, there's a textfield in the upper-right that says "Go To Offset" underneath it. You'll type the offset in there and press "enter". Once you do that, the cursor will be positioned at that offset (you can double-check that you're at the correct offset by looking at the value for offset in the lower-right corner of the window). Make sure that your write mode is set to overwrite, and then you just type in the patch values and it will overwrite the values at that offset.

So, for example, if you were changing the frontline color, you would type "DC664" (don't type in the 0x) in the "Go to offset" field and press enter. (You *may* have to click on the byte that the selection indicator moved to in the hex view to transfer keyboard focus there). Then after checking you were at the correct offset, you would just begin typing in the patch values "57C0" and you'll watch those values overwrite the old ones at that offset.
 

3282868

macrumors 603
Jan 8, 2009
5,281
0
In 0xED, there's a textfield in the upper-right that says "Go To Offset" underneath it. You'll type the offset in there and press "enter". Once you do that, the cursor will be positioned at that offset (you can double-check that you're at the correct offset by looking at the value for offset in the lower-right corner of the window). Make sure that your write mode is set to overwrite, and then you just type in the patch values and it will overwrite the values at that offset.

So, for example, if you were changing the frontline color, you would type "DC664" (don't type in the 0x) in the "Go to offset" field and press enter. Then after checking you were at the correct offset, you would just begin typing in the patch values "57C0" and you'll watch those values overwrite the old ones at that offset.

Wow, that's so simple! Thank you so much! It's people such as yourself that make MacRumors so helpful. :)
 

unsanity77

macrumors member
Nov 22, 2012
67
0
Also, for the frontline color offset at 0xDC664, I believe the original bytes there were 28 C1 or something like that. So, you'd be changing 28 C1 to 57 C0. Understand?

----------

Also, I've created a separate thread for people to talk about this particular way as it seems more appropriate. If you're having issues, please ask your questions there. Thank you!

https://forums.macrumors.com/threads/1495519/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.