|
||||
[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~ Last edited by creedo; 08-28-2010 at 03:48 PM. |
This post has been thanked 1 times. |
|
||||
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 |
|
Tags |
increase, quicklinks, rotate, scale, size |
|
|