Help - Search - Members - Calendar
Full Version: Downloadable Content
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official MediaXMenu (MXM) Forum > MXM WIP Beta forum
Pages: 1, 2
koldfuzion
thanks for the heads up smile.gif

i just reposted the script again.. its good NOW, damn typos smile.gif

I kept messing with it cause the ESRB wasnt coming down. but it wasnt the code. I sent Blazed a message a little while back askin him to rename the ESRB icons so they have the filename the same as the number they represet in the xml.. but i think he missed it in the barrage of msgs i sent.

gonna have to pm him. the script will work once the filenames on the server are changed.

BenJeremy
Well, the problem is in the new interpreter code. I'm working out some of it now, perhaps an update tomorrow (tonight will be too busy).

Basically, I switched halfway over to a new system for parsing through the scripts, and it broke some things (doh!), so now I must finish switching over. Some of the stuff is rather convoluted now, though.... particularly with the addition of all the UI event handling stuff. blink.gif
flattspott
I knew it was the new interperater stuff. Hopefully after you get done with the second half of it, every thing will work as it should.
BLazeD
QUOTE (koldfuzion @ May 8 2004, 10:42 AM)
I sent Blazed a message a little while back askin him to rename the ESRB icons so they have the filename the same as the number they represet in the xml.. but i think he missed it in the barrage of msgs i sent.

Yeah missed that sorry

Have renamed them now 0 -6.jpg

There is just one left over - ka13.jpg
koldfuzion
np, yea, we never thought of the KA-13...but i saw it on the ESRB.org site and downloaded the icon.

should probably put that in the scripts, just name it 7 and i will add it in.


When i was grabbing covers it hit me that europe and other nations may have adopted a different style than the ESRB that we are using. Cant think of a solution without asking which style in the dialogs prior to download.

would need to find the other ratings and thier meanings though.
koldfuzion
script updated with some enhancements from flattspott, and beter logic/error handling.

chillin_dude, you can use opera again once Blazed updates the page on the site.

edit: updated script to use png for the thumbs (slight oversight) to support transparency. Will update the web code soon.

koldfuzion
Script updated to support hombrew testing. You need to delete the content.xml out of the mxm dir on E\Udata if you plan on trying it out.

Used some of flattspotts beautiful code to put the homebrew titles in a listbox and enabled it to bypass the hexid check. so the box version of the code is ready to go (although it needs major cleanup).

Currently reads a homebrew.xml file on AXS. The file is actually game titles and no videos are available, but you can still download the cover and esrb.

i just tried it and now have an All Star Baseball Cover in my Boxplorer dir smile.gif

Will update the webserver db and php to set up a flag for sorting when writing out the xmls.
flattspott
QUOTE
Used some of flattspotts beautiful code to put the homebrew titles in a listbox


And what code might that be? The newschanger one I did?
koldfuzion
yes smile.gif
flattspott
Cool, however lets not forget where the original code came from... BenJeremy and his internal.xml. Cause thats what a used in NewsChanger.
koldfuzion
damn, you mean we have to give props to BJ for providing us samples to use as well as props for MXM itself?

beerchug.gif


and thanks smile.gif
koldfuzion
Homebrew update is up on xbox-skins.net, so i updated the url in the script (first post).

will get it populated soon, i only put a couple apps in there to begin with.

Will also be updateding the web page version for those that like to browse.
It will make finding the homebrew a lot easier.
koldfuzion
should a checkbox be added so that covers downloaded are duped to default.tbn for XBMC? just wondering, its nice to see them when you run that app instead of the normal ones.
flattspott
That sounds good to me. Although I rarely look at my games and applications while in XBMC. Other people however could use this feature.
BLazeD
Yeah, I dont use it either. But I imagine there would be some people who do
Kthulu
I agree, it wouldn't hurt as an option, but hopefully those Gueax.net guys will write a python script for XBMC that connects to the DB too...

koldfuzion
i thought about the python script for it today, downloaded the small ?tutorial? someone wrote on it. doesnt look too bad, but my question is... "Will XBMC provide the python script a hexid#?"

Just added a lot of XPort stuff tonight to the db.. including some custom mini-dvd covers that took all night to make. dry.gif . I needed to get other stuff done

Still ahve more homebrew to add, doomx, quakex, duck hunt etc.
Yuyu
Can't wait till BJ adds the progress bar stuff so this script will be great...

wink.gif

*hint* *hint*
flattspott
I know what you mean, I'd use them for everything. IE, when a game loads it resources, etc.
koldfuzion
well i just added a progressbar gosub to the script. Draws the box based on var that is set at each step. Its cude and not accurate right now because i just set the progress all the way down the script, but it might be worth using (?).

The progressbar would have to be dressed up and drawn outside the dialog too.

script on first page updated if anyone wants to see what i mean.
flattspott
Why do you have SET _contentprogress 200 at the top, then soon after that you set it to 0? You don't have any GoSubs for it when it's at 200.
flattspott
Also, I'm sitting here rewritting the entire script one line at time, trying to fine-tune it to perfection and I noticed this interesting thing I like to call WTF:

QUOTE
MSGBOX " Yea, You REALLY need HELP!"


All this professsionalism and then we have that. HAHA I like it.
koldfuzion
QUOTE (flattspott @ May 13 2004, 12:10 AM)
Why do you have SET _contentprogress 200 at the top, then soon after that you set it to 0? You don't have any GoSubs for it when it's at 200.

it was a rush job, i wanted to see results before i had to go out for a little bit so my idle time could be spent thinking. Did a lot of copy/pasting and didnt realize i left that at the top, should have been 0

QUOTE
All this professsionalism and then we have that. HAHA I like it.


I kept meaning to add the help... but always forget to take it out.


The question is do we use the ghetto progress bar, or wait till be has it built in? could always switch later i guess.
BenJeremy
Pssssssst..... Ahem.......


1205 is now up. Let me know if this clears up some issues.

(Oh, has flattspott's internal.xml contribution, too)
koldfuzion
lol exactly the reason they teach us to read top -> down and yet i still read the forums bottom -> up.


Edit: flattspott, if you intend to keep the progress bar in there during the re-write, use a range of 0-200 and the following progressbar layout, looks nicer and gives use a greater range to use for more frequent updates and better "movement"

replace all the "successful" messages with the progress gosub, wont slow the script and provides visual info.

QUOTE

:PROGRESS
BeginDraw UseCurrent
Box 218 328 202 33 BLACK WHITE
Box 220 330 %_contentprogress% 30 RED BLACK
EndDraw
RETURN


user posted image
Yuyu
QUOTE (koldfuzion @ May 12 2004, 08:48 PM)
The question is do we use the ghetto progress bar, or wait till be has it built in? could always switch later i guess.

Please wait till the progress bar stuff is built into MXM, ghettto stuff can work sometimes but, after all your hard work do you really want to use a ghetto one... Just saying you've come this far, no need to muck things up with gheeto code... wink.gif

BJ progress bar update ?? (Know its not top priority, but it would be very useful in alot of the in-built modules and scripts you would like others to begin working on soon...)
koldfuzion
true on using the ghetto stuff. but i would just assume go with ghetto till after the this version is released. Let BJ finish the PNP and other stuff he has panned, fix the bugs we find and still provide some kind of user info at the same time.

Everyone knows ppl are anxious for the next release and we know BJ can only do so much alone in so little time. which is why i say that.

just my 2 cents though.
BenJeremy
Yeah, yeah.... progress bar will be slick enough, I just want to get the PnP out of the way FIRST. The longer that stuff sits, the more my brain hurts and I worry I might miss something important.
Yuyu
Sorry.... ph34r.gif Just wanted an update , I knew it was on the back-burner of all the ideas (couple hundred or so..??) floating through your head at any given moment...

Thanks for the update though... beerchug.gif
Yuyu
Wow no posts in 24 bours from anyone.... Must be spring/summer fever... I myself played baseball and basketball today, having beautiful weather around here today and yesterday.... Been a great weekend... Hope everyone else had the same... tongue.gif

( I know I know, useless post, but it has been a beautiful weekend )
flattspott
I know, I was wondering the same thing.

chilin_dude
similar to me yuyu!!!
it was too nice weather so I had a footie match saturday and cricket on sunday, now todays task is to totally remake my menu.xml... It's going to take some time sad.gif
But then it will be PERFECT for me beerchug.gif
flattspott
I just realized, I think I completly missed the last half of page 5 of this this topic. Silly me.

As for the Context issue though. This is a problem. SetState Blank when used form a Context script will work only the Context menu will still be on top.
BLazeD
Theres seems to have been a fair amount of new games added to the DB in the last few days. (Thanks to KF and flattspott I am guessing)

Most of the videos for these new games have been linked as well.

DB is looking much more "complete" these days smile.gif
unleashx
I just noticed that the link to download vids have changed.

QUOTE
in the actionscripts, you send the video request using http://www.xbox-skins.net/games/sendvid.php?sid=135


Now, it's http://www.xbox-skins.net/games/index.php?sid=135

Other than that, everything seems to be in place.

Kudos to you guys, especially for BLazeD and koldfuzion for making all of these possible.
chilin_dude
QUOTE (unleashx @ May 20 2004, 11:15 AM)
I just noticed that the link to download vids have changed.



Now, it's http://www.xbox-skins.net/games/index.php?sid=135

Other than that, everything seems to be in place.

Kudos to you guys, especially for BLazeD and koldfuzion for making all of these possible.

wink.gif Both of those links work for me, possibly you can get them either way?
BLazeD
Yeah, both ways working for me too.

And its more kudos to KoldFuzion than me smile.gif
koldfuzion
yes, both should work fine, however, when requesting a vid using the dash, then sendvid.php should be used. (but doesnt have to be)

Flattspott put together the large majority of the data, some was done using mxm scripts. some by requesting from inside the dash. Not as many titles need to have the videos linked as before, but there are still some left to do.

There is still a lot of titles missing but they cannot be added without the hexid.

UnleashX, are you adding the ability to request content from the dash, if a video does not exist in the database, or if the title itself does not exist?


I give kudos to everyone, BJ, Unleash, flattspott, Blazed and all users who will eventually benefit from this.
flattspott
Ok yeah meant to say a while ago in regards to something like this never being done before...

It has been like this kinda, in the rom scene with their dat files. Only difference is that they are aren't tied together with a website. The closet on is some GBA dat front end that'll go and download the cover art based on the missing XXXX rom number. Images are named like so 0001.png. If you only had the 0001.png, and the dat went up to 0010.png then it would download the other nine.

koldfuzion
QUOTE (unleashx @ May 20 2004, 11:15 AM)
I just noticed that the link to download vids have changed.


Now, it's http://www.xbox-skins.net/games/index.php?sid=135

Other than that, everything seems to be in place.

Kudos to you guys, especially for BLazeD and koldfuzion for making all of these possible.

Im kind of confused where the info came from that made you think the link changed.

QUOTE
WEBFILEFETCH %_GameDir%\MXM_SS.wmv "http://www.xbox-skins.net/games/sendvid.php?sid=%nVidID%"


is used in the first post, thought maybe i messed up and used index.php instead.

Not that it matters, just wondering.


missing title/video on site....
QUOTE
WEBFILEFETCH z:\request.xml "http://www.xbox-skins.net/games/request.php?t=%nTitle%&h=%HexID%&f=wmv&s=%nsize%"

(will post the title info to the site in a seperate db, it can then be either added to the main db or removed)
unleashx
QUOTE (koldfuzion @ May 20 2004, 08:18 PM)
UnleashX, are you adding the ability to request content from the dash, if a video does not exist in the database, or if the title itself does not exist?

Is the last quote supposed to be the way to request video for specific title? If not, then is it posted in this thread. If it is, that's should be the easiest thing.

I thought it gave me a 404 yesterday when I was testing so I went over to the site. Thats when I found out that index.php?sid=??? will send the video too. I'll use the old link back then.
koldfuzion
QUOTE
Is the last quote supposed to be the way to request video for specific title? If not, then is it posted in this thread. If it is, that's should be the easiest thing.


Yes, last quote is the format
hexid
title
f= media requested, Not predefined, so you can send anything db related (video, xmv, wmv, thumb, cover etc.)
size=xbe size (raw size, no formatting).

in MXM i still do a file fetch, and save as xml file. The request.php is set to create results in XML format, i posted it either here or sent you a PM on it. i cant remember the exacts, but it will provide a response that can be used to display to the user. (uses two different nodes(?) so that the reponse can be displayed in two lines.)


QUOTE
I thought it gave me a 404 yesterday when I was testing so I went over to the site. Thats when I found out that index.php?sid=??? will send the video too. I'll use the old link back then.


hrm, shouldnt have gotten a 404 for either file, both urls work because if the sid is present, the index.php pulls the sendvid.php page instead. It just allows the web user to stay on the same page without having to go to a seperate one for actual downloading.
unleashx
sendvid.php is working. Sorry for the confusion, must be my fast internet connection yesterday, heh.

I just tried request.php using the following URL:
QUOTE
http://www.xbox-skins.net/games/request.php?t=boXplorer&h=ffff051f&f=thumb

and I got the following response:
QUOTE
<GDBASE><XBR RESULT1="This Title is NOT Supported" RESULT2="You will have to get the files manually" /></GDBASE>


What did this do? create a request on the server db? I take it that I should display that result to the user?
flattspott
QUOTE
I take it that I should display that result to the user?

Nope. That's why the script saves the z:\request.xml file. It gets the values from it automatically and displays a MsgBox to the user.

That is if your talking about the MXM script.

Otherwise if your talking about UnleashX then yes.
koldfuzion
QUOTE
<GDBASE><XBR RESULT1="This Title is NOT Supported" RESULT2="You will have to get the files manually" /></GDBASE>


We are actually supporting these homebrew titles, using homebrew.xml

But its up to the dashboard to check the hex and if its 00000000 or ffff051f and to pull the games/homebrew.xml instead of the xml/#hexid#.xml

but you have to create a list for the user to select, or auto-select from the xml using the title. Auto-selecting using the title might not be very reliable if the user edits the xbe to change the title.. or if our list is "off" enough to not produce a match. We can always fix the db to match titles perfectly though.

QUOTE
What did this do? create a request on the server db? I take it that I should display that result to the user?


You dont have to display it to the user if you dont want to, its all how you want to handle invalid requests and/or homebrew.
unleashx
Got that covered and I remember the discussion about homebrew apps with ID's of 00000000 or ffff051f. I was more after the question of whether that's the only thing I needed to do to post a request. Whether that requested link will automatically create it.

Edit: sorry guys if I'm acting like a newb here asking those silly questions instead of reading the entire thread. smile.gif Tell me if it's all here and I'll read every page again.
koldfuzion
yes, thats all you have to do to post a request.

You dont have to check for anything serverside, or client side if your code handles successes/failures itself.

You dont have to re-read the entire threads either. Ill reply with any questions you have. smile.gif or PM you if you like.

smile.gif
unleashx
heheh, thanks KF. I got all the downloading stuff covered and I didn't saw any discussion about submitting a request until you mentioned it (Well, I missed it at least). So I thought it would be good to add it in. The way I had it is that when a request fail, it automatically sends a request back to the server. These should make collecting all those IDs a cinch. smile.gif . Thanks guys.
geniusalz
I feel so stupid for missing the script just about completely...
Checking it out now...
Edit: Had a few problems with comments messing up things, but fixed those.

e.g. If blah GOTO somelabel;this is to go there

The comment became part of the label, and a space had to be added like so:
If blah GOTO somelabel ;this is to go there

Unforunately, my network doesn't want to share dialup, so I can't test out the downloading capabilities.
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.