PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks

Notices



Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-28-2010, 03:42 PM
creedo's Avatar
PPCGeeks Regular
Offline
Pocket PC: htc touch pro 2
Carrier: sprint
 
Join Date: Jul 2010
Posts: 164
Reputation: 245
creedo is keeping up the good workcreedo is keeping up the good workcreedo is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
[Tutorial] How to scale, rotate, and 3D your quicklinks

So I finally figured out how to do this.

If you're lazy and want a simple mod to slightly enlarge your quicklink icons, just download the attachment to this post, rename it by getting rid of the .apk extension, and then copy the manila file to your windows folder on the phone.

To do this you need:

-WM 6.5 (maybe works on 6.1?) running Sense 2.5.x

- Cookie's home tab: > Download
(go to the very bottom of the post. You want version 1.8.5, 2nd to last link)

- CHT source code: > Download
(same thread, next post)

- Cookie's luatool: > Download
(at the end of the thread. You don't need the source)

Optional but recommended:
- CHTEditor: > Download

Setting up:
====================================
1. Install CHT on your phone.
2. Install CHTEditor if you got it.
3. Extract the source code to its own folder on your PC.
4. Extract the luatool to its own separate folder on your PC.

Editing your links:
====================================
1. Copy the file "homeshortcutlistview.lua" from the source code
folder to the luatool folder.

2. Open it in notepad or some other text editor. Open the one in the luatool folder. You wanna leave the originals in the other folder alone.

3. Scroll through it until you find this line:
-- ### layout ###
You can just copy the above line, go to notepad, ctrl+F, paste.
Below it are two lines that control the height and width of your quicklinks.
locPageIcon.Size.width = IconSize
locPageIcon.Size.height = IconSize

To alter them, simply add +[any number] at the end of each line like this:
locPageIcon.Size.width = IconSize + 8
locPageIcon.Size.height = IconSize + 11

I think +15 is a nice improvement on the default size of the 4x4 quicklinks.

You can also rotate these on the X, Y, and Z axis. Use Z for a traditional
2D rotation. X and Y give funky 3D rotations.

The 3D rotations are rotating around some invisible point in space (maybe the top or left edge of the screen), so the icons don't all look rotated the same way. I'm sure it's possible to get them all rotated identically.

To rotate them, add these lines just below and try different numbers.
You can do negative numbers also.

locPageIcon.Rotation.x = 0
locPageIcon.Rotation.y = 0
locPageIcon.Rotation.z = 0

Play around in this file. Look up some info on lua scripts. There's probably
more to be done here.

4. Open a command prompt. Start -> type CMD in the search box (windows 7) or in older windows click run, then type CMD and click enter.

At the prompt, change to your luatool directory.
In my case I'd type cd C:\downloads\luatools
After pressing enter, copy the line below, then go back to your command
prompt and do right click --> paste (ctrl+V won't work):
luatool /compile -o 6c219600_manila homeshortcutlistview.lua

This compiles your adjusted lua script and the result is a manila file.

5. Copy the new manila file to your phone. Then, using total commander
or some other file manager, move it into your phone's /Windows directory.
It'll ask if you want to overwrite, say yes.

6. Restart sense. I recommend you add a new quicklink and browse to the
miscellaneous category for the "Restart sense" button. Makes it easy. Otherwise, just go to settings, personalize, and change anything in your home tabs. That forces sense to restart.

Enjoy~

Attached Files
File Type: apk 6c219600_manila.apk (59.2 KB, 2 views) Click for barcode!

Last edited by creedo; 08-28-2010 at 03:48 PM.
This post has been thanked 1 times.
  #2 (permalink)  
Old 09-24-2010, 02:25 AM
thewahlrus's Avatar
I think I tore my sack.
Offline
Pocket PC: Droid X, Root, Deodexed, Tranquility 3.0
Carrier: VZW
Location: the walrus: It's like a vampire, but awesome
 
Join Date: Jun 2009
Posts: 337
Reputation: 2655
thewahlrus is a VIPthewahlrus is a VIPthewahlrus is a VIPthewahlrus is a VIPthewahlrus is a VIPthewahlrus is a VIPthewahlrus is a VIPthewahlrus is a VIPthewahlrus is a VIPthewahlrus is a VIPthewahlrus is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Tutorial] How to scale, rotate, and 3D your quicklinks

What? This looks pretty cool.
__________________

  #3 (permalink)  
Old 09-24-2010, 12:25 PM
GirlGoneGeek's Avatar
Chillin' with my Geeks!
Offline
Pocket PC: Epic 4G & Iphone is my toy :)
Carrier: Sprint/PPCGeeks
Location: North Carolina
 
Join Date: Jul 2006
Posts: 6,930
Reputation: 4302
GirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributionsGirlGoneGeek should be added to the payroll for their contributions
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Re: [Tutorial] How to scale, rotate, and 3D your quicklinks

omg this is awesome! i think I'll share it on a news article if you don't mind creedo??
__________________
DID YOU SEE A TUTORIAL ONLINE OR MAKE ONE YOURSELF? IF SO, SHARE IT HERE AT PPCGEEKS!



If you wanna make the world a better place take a look at yourself and then make a change ~Michael Jackson
Closed Thread

  PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks

Tags
increase, quicklinks, rotate, scale, size

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 11:57 PM.


Powered by vBulletin® ©2000 - 2019, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com