Jump to content


Photo

Wol/sol Shutdown Blade Mod For Mc360 V1.0


  • Please log in to reply
10 replies to this topic

#1 timdog82001

timdog82001

    X-S Genius

  • Members
  • PipPipPipPip
  • 877 posts
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 19 February 2007 - 05:30 AM

This is a mod I did which integrates the WOL (wake on lan) and SOL (shutdown on lan) scripts into the shutdown blade. WOL and SOL, if it isn't obvious, allow you to remotely start or shutdown your computer from the xbox, without ever going near the computer. It's a GREAT feature to have if you stream a lot of content of your computer, or play on xlink kai a lot, and you can start the computer, or shut it down, without ever leaving the comfort of your chair. I have tried to make this as clean and complete as possible, with confirmation windows, and a setting to disable the button. The button even disappears when the xbox isn't hooked up to the network.

To install, configure the scripts, configure the sol.exe, and enable Wake On Lan in your computers bios. There is an EXTREMELY in depth guide to doing this below, so absolutely anybody should be able to figure it out. It's fairly simple anyway, but I don't want to leave anybody less computer literate behind. Read that guide if you have any questions. Also, feel free to post any comments, criticism, suggestions, or questions on here as well.smile.gif

I have included these two scripts in the rar posted below. It uses the "Tweaked WOL" and the "ShutdownPConLAN" scripts found on www.xbmcscripts.com. If you decided to download these separately, or if you already use them, make sure they're located in the root of your Q:/scripts folder, and that you do not change the name of the folders or .py files included. If you would like to change the location of the scripts (maybe if you organize or categorize your scripts into subfolders) you will have to edit some xml in the DialogButtonMenu.xml included, in about 9 places, if you decide to change the locations for both the SOL script and the WOL. Just open the file in notpad, hit control + F and you search for "Q:\scripts\" and you should be able to find all of them that way...

Here are some screenshots...

IPB Image

Just press left or right to toggle between Starting up or Shutting down the computer...

IPB Image

I added a new Settings window called "Skin Mods Settings" seen here. You have to go to this window to enable the new WOL and SOL buttons. By default, it's set to disabled, so you won't see it when you first transfer everything over. Right now, there is only one option in this window, but I have some more mods planned, so its usefulness will grow.

IPB Image

As you can see here, it works with any combination of using profiles or master lock, or both, which is the case in this photo.
IPB Image

Here's a picture of what the blade looks like that pops up when you select "Start PC."
IPB Image

The confirmation dialog that pops up when you select "Shutdown PC"
IPB Image

HOW TO SET UP SCRIPTS:



Note: This may look like a lot of words, and may seem complicated because of that, but this is only because I made sure to write down every detail of every step so there would be absolutely NO ONE wondering how to get this working on their computer/xbox. It is actually very easy and very self expanatory, and most should be able to figure it out WITHOUT this guide, but it's here for anyone who doesn't have a lot of experience with this sort of thing. There are only a fewthings I can think of that aren't completely obvious:

1. Make sure not to run the SETUP.EXE or SETUP1.EXE files to try to install the sol.exe for the shutdown on lan. It isn't necessary, and they don't work.

2. You have to manually edit the settings.ini and sol.py to make sure they match eachother, as well as the settings of your computer.

3. You have to enable Wake On Lan in your computers BIOS. Look in your computer's or motherboard's manual for more info.


All this an much more is covered in more depth below


IDIOT'S GUIDE TO CONFIGURING SCRIPTS:


Shutdown On Lan (SOL/SDOL):

For this script, you will have to run a tiny program in the background on your computer to listen for your xbox telling it to shutdown. You can easily add it to the Startup folder, so it will start with your computer. Open up the folder "ShutdownPConLAN" and right click on the file "ShutdownOnLAN.rar" and choose "Extract to ShutdownOnLan\." Navigate into the newly created folder and right click on "sol.CAB" and click on "Extract to sol\." Now, in this newly created folder, open settings.ini with a text editor, like notepad. Now, navigate to the root of your ShutdownPConLan folder and open the sol.py file with a text editor. (don't bother with the sol.py file found next to the settings.ini file, because the xbox won't know to look there). Now, just make sure the serverPorts match and change the IP address in sol.py to match that of your computer. To figure out the IP Address of your computer, go Start -> Run and type CMD and press enter. A black window will appear, in which you should type "ipconfig" and press enter. A few numbers should pop up, one of which will say "IP Address" next to it. Simply replace the "ServerHostName" number in the sol.py file with the the IP Address of your computer. Now, close both files, making sure to save.

Now, transfer the whole ShutdownPConLan folder into the root of your scripts folder in XBMC on your xbox, and double click on the sol.exe file found in the folder where you edited the settings.ini file. A small icon of a door should appear in your taskbar (bottom right corner of your computer screen). You should now be able to shutdown your computer by running this script on your xbox.

NOTE: You may have to open a port in your firewall(s) before this will work.
NOTE: Also, don't try running the SETUP.exe or SETUP1.exe. They just don't work.

If you would like this program to run everytime you start up the computer, rightclick on sol.exe, and select "Create Shortcut." Now, just movie this file into your startup folder. This can easily be accessed by going Start -> All Programs, and right click on "Startup" and choose "open." Simply move the shortcut here (make sure not to move the actual sol.exe, or it will not work).


Wake On Lan (WOL):

To configure the Wake on Lan to work, you need to first, make sure your computer has this capability (most newer ones do, I believe) and you need to enable it, by going into your computer BIOS and enabling an option that is frequently labeled OnBoard LAN or Boot from LAN. It may be found in the ‘OnBoard Device Configuration’, ‘Boot’, or ‘PowerSave’ menu, but it all depends on the BIOS. In case of doubt, consult the documentation for your motherboard. To access your computer BIOS, this is normally done by hitting delete or F4 or ESC or something similar repeatedly while the computer is first starting up. If you look in your user manual for your motherboard, or for your computer if its a dell or something like that, you should be able to figure it out. Google or the manufacturers website might be useful for figuring this out if you can't find it in the manual. Once you have it properly enable, I believe the lights on your network port should stay lit when plugged in.

Now that you've enabled it in the BIOS of your computer, all you should have to do is configure it on your xbox. On your computer, go Start -> Run and type "cmd" and press enter. A black window should pop up, and here type "getmac" and press enter. Your active network ports should all pop up here, with the mac address listed on the left (should be in a format similar to "00-17-31-8B-2E-1C." If there's more than one, figure out which one is connected to the network your xbox is on. Now, on the xbox, start the script, and go to "Change Settings." Here, you can add up to 5 different computers, and name each one. Go to Computer 1, change the name if you'd like, and change the mac address to the one you found on your computer. Now, when you shutdown your computer, if everything is configured correctly, you should be able to start your computer with a couple easy clicks of a button on your xbox.

NOTE: There is an "autoupdate.py" included with this script. Don't run it, it will only break the script and make it nonfunctional.



HOW TO INSTALL:

Simply copy this MC360 folder over the top of the one already on your xbox. It may prompt you, saying there is already a file by this name, and so on. Go ahead and say yes and copy over them. Also, make sure the scripts are in the root of your scripts folder.


I have included a READ ME.txt with the mod as well, so all this is there as well.


DOWNLOAD!

Edited by timdog82001, 19 February 2007 - 05:36 AM.


#2 edwinmcdunlap

edwinmcdunlap

    X-S Freak

  • Members
  • PipPipPipPipPip
  • 1,796 posts
  • Location:In front of my computer
  • Xbox Version:v1.6
  • 360 version:v4.0 (jasper)

Posted 19 February 2007 - 06:49 PM

Nice smile.gif

I had a little trouble figuring out which MAC address was the one I wanted to use (5 different ones came up on my computer tongue.gif ), so I used the command "ipconfig /all", which listed my MAC addresses as well as the network adapter they are for. Just a little easier...

#3 timdog82001

timdog82001

    X-S Genius

  • Members
  • PipPipPipPip
  • 877 posts
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 19 February 2007 - 10:29 PM

Thanks for the suggestion. smile.gif I'd edit my post, if i still could. I guess i didn't think about how hard it would be for most people to figure it out that way, cause I have all but one of my ports disabled.

#4 timdog82001

timdog82001

    X-S Genius

  • Members
  • PipPipPipPip
  • 877 posts
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 20 February 2007 - 10:19 AM

I realized my translate.xml wasn't completely up to date with the most recent SVN, so it causes a strange typo in the scripts options menu. You can download an update here, or if you'd rather just edit it yourself, open up the virgin, unaltered Translate.xml found in the PAL folder when you first download a new MC360 using a simple text editor, like Notepad. At the very bottom, right above the very last "</include>" add the following code. Make sure it's indented like the stuff above it.
CODE
<include name="25000">
        <label>Skin Mods Settings</label>
    </include>
        <include name="25006">
        <label>Press A to remotely start your personal computer to stream media or play online.</label>
    </include>
    <include name="25007">
        <label>Press A to remotely shutdown your personal computer.</label>
    </include>
    <include name="25008">
        <label>Start PC</label>
    </include>
    <include name="25009">
        <label>Shutdown PC</label>
    </include>
    <include name="25010">
        <label>Enable WOL/SOL Button</label>
    </include>
    <include name="25011">
        <label>This will shutdown your personal computer.  All open programs will be closed and any unsaved changes may be lost.  Are you sure you want to continue?</label>
    </include>


Since this skin only modifies two xml files aside from the Translate.xml, and the rest are new windows, it should be very rare that these files need updating. Translate.xml will be the only one hard to keep up with, and you can easily update yourself, by simply adding this code into the new translate.xml's.

After this point, I'll probably only post new downloads if something changes other than the Translate.xml

Anyway, here is the most recent:

http://rapidshare.co...uter_Button.rar

#5 timdog82001

timdog82001

    X-S Genius

  • Members
  • PipPipPipPip
  • 877 posts
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 21 February 2007 - 06:29 AM

It ocurred to me that I didn't add widescreen support for this....I'll probably do that in the next couple of days when I have time.

#6 Bigfoot87

Bigfoot87

    X-S Enthusiast

  • Members
  • 25 posts
  • Location:Scherpenzeel, The Netherlands
  • Interests:Xbox Media Center, Casemodding
  • Xbox Version:v1.6
  • 360 version:none

Posted 23 February 2007 - 05:29 PM

man I love this! biggrin.gif

It works perfectly over here biggrin.gif
Thanks a lot!

#7 timdog82001

timdog82001

    X-S Genius

  • Members
  • PipPipPipPip
  • 877 posts
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 24 February 2007 - 11:29 AM

QUOTE(Bigfoot87 @ Feb 23 2007, 08:36 AM) View Post

man I love this! biggrin.gif

It works perfectly over here biggrin.gif
Thanks a lot!


I'm glad to hear you like it smile.gif

I'm currently working on another, much larger, and I think, very cool mod.wink.gif Stay tuned for that...

Should be ready in a couple days to a week, I think

#8 timdog82001

timdog82001

    X-S Genius

  • Members
  • PipPipPipPip
  • 877 posts
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 21 March 2007 - 04:34 AM

I've just released and update of this as part of my monster mod. Not much has changed with this part of the mod, except you no longer have to edit the translate.xml. Just copy the files over and you're done smile.gif

you can find it here...

http://forums.xbox-s...p;#entry3934053

Edited by timdog82001, 21 March 2007 - 04:34 AM.


#9 Geeba

Geeba

    X-S Member

  • Members
  • Pip
  • 126 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 01 June 2007 - 01:27 PM

Is the download for the SOL/WOL still working? It says the file is no longer available?

Also do you think you will write this for PMIII? really need SOL and cant get the one that is written in German working?

Thanks
G.

#10 timdog82001

timdog82001

    X-S Genius

  • Members
  • PipPipPipPip
  • 877 posts
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 01 June 2007 - 11:50 PM

i didn't modify the sol script, i just added a button that allows you to start up or shutdown your computer from the MC360 Shutdown Blade. However, if you want a detailed walkthrough, download my MC360 Monster Mod found here:

http://forums.xbox-s...howtopic=593354

#11 eel_dahc

eel_dahc

    X-S Enthusiast

  • Members
  • 1 posts

Posted 08 April 2013 - 09:38 PM

QUOTE(timdog82001 @ Feb 18 2007, 10:30 PM) View Post

This is a mod I did which integrates the WOL (wake on lan) and SOL (shutdown on lan) scripts into the shutdown blade.



Can this still be found?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users