Help - Search - Members - Calendar
Full Version: Shutdown Timer & Cache Clear All In Shutdown Blade
Scenyx Entertainment Community > Xbox1 Forums > Software Forums > XBMC for Xbox Forums > XBMC Skinning > Official Team Blackbolt Skins Forum > Skin Mods
Gibn
here is a mod i made for the people that want shutdown timer and cache clear all in the shutdown menu. all u have to do it overwrite the file in the MC360/PAL folder with the one u download. you will still need to download the scripts and put them in your XBMC script folder.

Download Here:
Download DialogButtonMenu.rar

Here is a screenshot from the person i did it for jonboy666:
IPB Image
Paperstack.1
Nice work. Definately could use this smile.gif
jonboy666
Hey Blackbolt, Could This Please Possibly Be Implemented Into The Next Version Of MC360? It Would Add Two Very Usefull Options.
Thanks for Your Att., jonboy666 muhaha.gif
Hyperiority
What duz log off do. ( I donot use profiles)
Gibn
the log off button will only appear if your logged on to a profile other then that its not there. the log off button just logs you off that profile.


oh and by the way, u know how u were saying the buttons dont have the seperator on the no kai mod. i fixed that so if u want the fix i can give it to you
Hyperiority
I can't get the focus to a new control(button), What do I do?
Gibn
do u mean u can't select it?
Hyperiority
Yes.
Fused0ne
Is there any way to add more things instead of replacing things already there? I already replaced one of the restarts with the shut down timer. Would it be hard to add maybe what 3 more options on the blade? I think 3 more would fit?
Gibn
Hyperiority: the reason u can select or highlight ur button is because ur onup or ondown code is set wrong. u have to look at the ID of the button u can't highlight and make sure the onup code for the button below it goes to the id of the button ur having problems with

say this is the id from the button u can't highlight:
CODE
<id>3108</id>


And say this is the onup code from the button below it:
CODE
<onup>3113</onup>

the onup should be changed to this:
CODE
<onup>3108</onup>


-the onup code needs to match the id of the button above for you to be able to select the button above.
-also the undown for the button u made needs to match the id for the button below it.

Fusedone, there is a way to add more buttons without removed other buttons. i only removed one and i added 2 buttons. the clear cache replaced restart xbox and i added shutdown timer myself, as well i made it so the logoff and lock buttons were moved up.
Fused0ne
I am no good at this type of code, could u tell me where I should edit so that I can add new bttns that appear under the Master Lock and Log Off bttns that I have on my b;ade, and above the dashboard bttn?

I made a mock up of what I mean.

This is my current blade.

IPB Image

This is what I mean. In the mock up it shows 4bttns added but thats just the way it fit, doesnt need to be 4, 3 would be good. I know where they would be added but I wouldnt know about the id's and onup numbers and such.

IPB Image

Why would I want this? Well it be usefull to me to add certain shortcuts to it, like cuts to scripts I use often instead of having to go through like 3 clicks, browse and more clicks to get to them.

Anyways thanks for taking a look at the post.
warius
I'm sorry if I'm going a bit offtopic here, but what does the "Clear cache" function do?
Fused0ne
Its like clearing your stored preloaded images and such.
MantaADSL
Can anyone tell me where I can download the clear cache script as I have checked xbmcscripts.com and I can't find it. Love this mod by the way.

D
dre74
try here:

http://forums.xbox-scene.com/index.php?showtopic=535124
jonboy666
Here a direct link to the clear cache script:
http://www.bestsharing.com/files/ms0019033...0Cache.rar.html
Enjoy muhaha.gif
warius
QUOTE(Fused0ne @ Jul 31 2006, 03:41 PM) *

Its like clearing your stored preloaded images and such.

Ok, I kinda figured that. When is this necessary?And with what effect? Does it clear userdata/*/thumbnails?
Gibn101
What clear cache does is clear out your X,Y,Z files, this is good to do after...lets say modding a game , updating applications , installing new applications and stuff like that, just have a less chance of having errors when running programs.
No this will not touch any of your userdata or thumbnails. only the stuff in X,Y,Z or cleared.
warlion
there is a way to clean the ram , when a made a mod and have to change the include i always have to restart xbmc
any idea?
JeffyLube0
i can't get fileanchor to work... it won't dl the files.. help?
mbezik
same here every link ive tried always downloads the same 0kb file that wont do anything
reyes19
QUOTE(jonboy666 @ Aug 1 2006, 03:19 PM) *

Here a direct link to the clear cache script:
http://www.bestsharing.com/files/ms0019033...0Cache.rar.html
Enjoy muhaha.gif


ur link is broken, dude
timdog82001
maybe cause that post is 8 months old
rapalot
Here is a link to a Clear Cache Script: http://www.speedshare.org/r8PeJOXReH
rocky5
Here is my version of the script just removes all the crap not needed.

CODE
###################################################################
#
#   my_wipecache v0.0.0
#   by AMaNO
#   A simple cache file and drive clearing system
#
###################################################################

import os, xbmcgui, xbmc, time
from os.path import join

#time2wait=20

dialog = xbmcgui.DialogProgress()

for root, dirs, files in os.walk("E:\\Cache\\", topdown=False):
    for name in files:
        os.remove(join(root, name))
    for name in dirs:
        os.rmdir(join(root, name))
for root, dirs, files in os.walk("X:\\", topdown=False):
    for name in files:
        os.remove(join(root, name))
    for name in dirs:
        os.rmdir(join(root, name))
for root, dirs, files in os.walk("Y:\\", topdown=False):
    for name in files:
        os.remove(join(root, name))
    for name in dirs:
        os.rmdir(join(root, name))
for root, dirs, files in os.walk("Z:\\", topdown=False):
    for name in files:
        os.remove(join(root, name))
    for name in dirs:
        os.rmdir(join(root, name))

# All Cache areas cleaned
dialog = xbmcgui.Dialog()
dialog.ok("Wipe Cache","All Cache areas wiped.")
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.