(Example: +interarchy +wands) Advanced Search & Tips
GUI Goodies
Clocks iTunes Skins
Desktop Pictures Makeovers & Skins
GUI Software Explorer Skins
Icons Propaganda Tiles
Interarchy Interfaces Themes
Throbbers
Home Page
Splash Screens
ATM Replacements
Application Splashes
Explorer Splashes
MacOS Startups (MOSS)
Netscape Splashes
MacOS X
MacOS X Mods
Login Panels
Boot Panels
Dock Poofs
Darwin
ResEdit
Classic ResEdit Mods
Getting Started
Download ResEdit
Resource/Template Archive
Helpful Sections
User Forum
About Us!
Icon Help
Site Map
Submission Policy
Suggestions/Email us
In Addition...
REALbasic
Snapshots
Advertising
Linux Icebox
Applescript/Scripting
Links Page
Download Stats
Stocking Stuffers from Kensington and Smalldog.com!
Stocking Stuffers from Kensington and Smalldog.com!



 

Add a new city the Map and Date & Time control panels.

Let's pretend for a moment that you're President Bill Clinton. You have to fly to Little Rock, Arkansas to meet with your lawyers, and you're trusty Powerbook is coming along on Air Force One for the ride.

Imagine your surprise when you discover that the Map and Date & Time control panels don't have entries for Little Rock! Too bad you didn't read ResExcellence and learn how to add new locations...

To perform this edit, you may need HexConvert.



First, you need to find the Latitiude and Longitude for Little Rock.

Stop by Etak and use their great service to get your coordinates.

These numbers are in decimal format, but the Map control panel wants them in degrees and minutes. To convert the decimal fraction, multiple by 60 and round off as shown below:

.74652 x 60 = 44
.28895 x 60 = 17



After doing the math, we can enter the values for Little Rock into the Map control panel. (Aren't you glad you paid attention in algebra!)

To find your time zone difference from Greenwich, head to the US Navy's World Time Zone Map.

From there I learned Little Rock is 6 hours earlier than Great Britian. Because it's earlier, the check box is left empty.

Little Rock is in the North West hemisphere of the world, so check the North box, but leave East empty. As a further example, if you are located in Australia, the South East section of the world, you would not check North (because you're south) and check East.

Once all the entries are correct, Set it and Add City. You can now close the control panel.



Using ResEdit, open the Map control panel
and find the cty# resources.

Open them with a double-click.


Open the only ID, number -4064 with a double-click.





Scroll all the way to the bottom and you'll see the entry for Little Rock.

It starts right after the last letter of Switzerland.

Select the new entry as shown on the left and copy it to the clipboard.

You can close the Map in ResEdit.



Open the Date & Time control panel, and from the lower left corner, select the Set Time Zone button.

We're looking for where Little Rock falls alphabetically in the list - right between Lisbon and London.

Click cancel and close the control panel.




Open a copy of the Date & Time control panel in ResEdit and find the cty# resources.

Open them with a double-click.






Open the only ID with a double-click.




Here comes a tricky part. All of this data likes to have an even number of bytes. For example, the data on the clipboard from the Map contains 40 bytes of data - 20 parts of two as shown on the right.

Notice Portugal. The last letter,
L
= 6C hex. That would have left an unpaired byte in that column, so right after 6C is 00 to fill the column. Got it! The columns must fill evenly.

Place the insertion cursor right after the box on Portugal and paste in the new location from the clipboard. Notice how it evenly fills the columns.

For some reason unknown to me, there are many extra cities listed in the Date & Time resources that do not appear in the program's dialog window list. Don't worry about them, paste your new entry into its alphabetical position after a city that does appear in the list.



Unfortuantely, the data isn't exactly compatible between the Map and Date & Time, so we have to fiddle some bits!

For starters, highlight the word "unknown" and replace it with your country's name - in this example U.S.A.

That's six characters, counting the periods. Highlight the character right before the country's name and enter its length in hex.

When you're finished, it should look similar to the graphic above - the length of the country in hex followed the country name.

Notice the last period of U.S.A. doesn't fully fill a pair of bytes in a column. That's bad



If your country name is a character short in evenly filling a column, you need to add a 00 hex right after it.


Notice the 00 after 2E in the highlighted section on the left.

Compare it to the graphic above to see how adding 00 filled the column.





Almost done.

Two bytes before the start of the city name, change the byte from 00 hex to 01 hex, as shown in the graphic on the left.





Way back at the top if the ID list, the second byte is the total number of records. Since we added Little Rock, we need to up the counter by one to E2.

After you have done that, you're finished! Save your work and quit ResEdit.





There is no need to restart the computer, just open the Date & Time control panel to select the new city from the list.


 Register to Win an iPod at Smalldog.com
Register to Win an iPod at Smalldog.com

GUI Goodies
Clocks iTunes Skins
Desktop Pictures Makeovers & Skins
GUI Software Explorer Skins
Icons Propaganda Tiles
Interarchy Interfaces Themes
Throbbers
Home Page
Splash Screens
ATM Replacements
Application Splashes
Explorer Splashes
MacOS Startups (MOSS)
Netscape Splashes
MacOS X
MacOS X Mods
Login Panels
Boot Panels
Dock Poofs
Darwin
ResEdit
Classic ResEdit Mods
Getting Started
Download ResEdit
Resource/Template Archive
Helpful Sections
User Forum
About Us!
Icon Help
Site Map
Submission Policy
Suggestions/Email us
In Addition...
REALbasic
Snapshots
Advertising
Linux Icebox
Applescript/Scripting
Links Page
Download Stats

Maintained by the Staff of ResExcellence. This entire site ©1997-2001 ResExcellence L.L.C.
Privacy Statement? Sure we gotta Privacy Statement.
5862