Very basic stuff, right now only has 2 videos hosted (Prince of Persia and Project Gotham Racing 2)
Context menu item that automatically downloads a preview video for a game.
Not extensively tested.
Something I noticed is that you can still navigate the menu while the script is running. Meaning, when you click 'download', and it starts downloading, the 'focus' stays in the context menu. So while it downloads, you can go out of the system menu.
An ugly situation, and MXM seems to hang up, but it really doesn't. Give it a while to finish downloading, then it should work fine.
Benjeremy, can you look into this focus issue, and fix it?
To use the script, put this in your menu.xml
| CODE |
Msgbox "Press a button to start download" WEBFILEFETCH c:\vids.xml http://mxm.brokensite.org/vids.xml XMLOPEN vidsXML c:\vids.xml XMLGetValue vidsXML vidURL !.game?ID=%_GameXBEID%.file IF %vidURL% != "" THEN WEBFILEFETCH %_GameDir%\MXM_SS.wmv %vidURL% ResetMenuCache MsgBox "Video downloaded and cache reset. Reboot to see changes" ELSE MsgBox "Preview video not found" ENDIF
|
This post has been edited by geniusalz: Apr 3 2004, 02:56 AM