xboxscene.org forums

Pages: 1 ... 4 5 [6] 7

Author Topic: Add Games Not On Your Hdd With Vids  (Read 490 times)

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Add Games Not On Your Hdd With Vids
« Reply #75 on: April 09, 2004, 10:27:00 AM »

laugh.gif

One other thought i had:
Not sure if you have used any collectorz.com applications, but you enter the names of the games you own and they download info on the game for you, they download:
Mini-Review which is 5-10 lines.
Rating
Players
Age Rating,
What sort of controllers it supports
Ah fuck it, hang on I will up a screenie.

Mod edit: huge pic, consider resizing next time smile.gif
http://homepage.ntlw...47/database.jpg

So possibly if you press the white button, instead of game help it could display it in a format like that pic above on the right hand side.
Also maybe the collectorz.com tool could be used to fill in info on game players, Online support etc?
Just my two pence worth  beerchug.gif
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Add Games Not On Your Hdd With Vids
« Reply #76 on: April 09, 2004, 04:33:00 PM »

QUOTE
is there going to be a manual way of adding them on your pc?


Edit:  yes,  for the database admins there will be.  Im not sure about for everyone to use though,   there has to be some kind of data integrity.


Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Add Games Not On Your Hdd With Vids
« Reply #77 on: April 09, 2004, 05:28:00 PM »

Yeah, that worked fine.

I'm wondering how I handle the location change with a new filename though... I might need to give it a bit more thought. Currently, WebFileFetch uses the name fed to it... in your example, the file was a RAR file. I could extract the filename portion out easily enough, if it changes from the original URI "filename", I suppose, and force the new name when relocating - but then how do I communicate that to the user? I'll have to change the way web fetches work in MXM's ActionScripting (WebFileFetchEx, maybe?)
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Add Games Not On Your Hdd With Vids
« Reply #78 on: April 09, 2004, 06:18:00 PM »

QUOTE (BenJeremy @ Apr 9 2004, 09:28 PM)
Yeah, that worked fine.

I'm wondering how I handle the location change with a new filename though... I might need to give it a bit more thought. Currently, WebFileFetch uses the name fed to it... in your example, the file was a RAR file. I could extract the filename portion out easily enough, if it changes from the original URI "filename", I suppose, and force the new name when relocating - but then how do I communicate that to the user? I'll have to change the way web fetches work in MXM's ActionScripting (WebFileFetchEx, maybe?)

Can't you already specify 'save as' filename in webfilefetch?  

WEBFILEFETCH c:\temp.rar http://axs.com/somevid.rar

In which case, what you said doesn't make sense to me.
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Add Games Not On Your Hdd With Vids
« Reply #79 on: April 09, 2004, 06:50:00 PM »

QUOTE
I'm wondering how I handle the location change with a new filename though


location change meaning?  webserver side or the actual save to the xbox like geniusalz is suggesting?

im kinda lost with what you are saying too,  but was good news to hear it worked, i think.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Add Games Not On Your Hdd With Vids
« Reply #80 on: April 09, 2004, 06:56:00 PM »

Yes.... and ....no.

The problem, is that you may specify a file, but a LOCATION value in a 302 return code HTTP header means the server is lurching you to another reference piont, possibly a new file altogether.

His test file is a RAR file. I don't know what it might be in advance, so there should be a mechanism for allowing me to change the filename of the destination to match it.


I'm working something up right now. It won't break the existing command, just enhance it - if you specify it to allow filename changes, it will place the new name in a var you specify as an argument (third argument). I'll also allow the ability to read result codes. Broken downloads should not result in program errors.

I was going to get a release out tonight, but it's too late and I want to wrap up the HTTP stuff. Tomorrow afternoon for sure for a new WIP.

I need to decode the %20s and other hex codes in the new location URI to PROPERLY set the new filename up, as  well as include a decent strategy to give the actionscripter greater control over how to handle the download (allowing location to change the filename, for example).

Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Add Games Not On Your Hdd With Vids
« Reply #81 on: April 09, 2004, 07:30:00 PM »

everything was better the first time you tested it right?

I can leave it the way it was, i dont think that will be a big problem on the web side.

if the problem is the .rar file,   that was my bad, i didnt add the checks to see if its a wmv yet.
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Add Games Not On Your Hdd With Vids
« Reply #82 on: April 09, 2004, 07:36:00 PM »

QUOTE
so there should be a mechanism for allowing me to change the filename of the destination to match it.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Add Games Not On Your Hdd With Vids
« Reply #83 on: April 09, 2004, 08:44:00 PM »

QUOTE (koldfuzion @ Apr 9 2004, 11:30 PM)
everything was better the first time you tested it right?

I can leave it the way it was, i dont think that will be a big problem on the web side.

if the problem is the .rar file,   that was my bad, i didnt add the checks to see if its a wmv yet.

Naw, the RAR is fine.

I'm adding it this way:

WebFileFetch <DestPath> <URL> [FilenameVar] [ResultCodeVar]


If you include the FilenameVar parameter, it will allow MXM to change the destination filename (keeping it in the path specified, however), if it gets a relocate from the source URL (as in the case with a lot of download php scripts). If it's blank (last two args left off or "" in that position), or a dot ".", MXM will not change the given destination name, no matter what happens. ResultCodeVar will likely hold 200 if the file was successfully downloaded. I may try and get it to retain a 302 if it was relocated, but still downloaded.

The HTTP stuff may be expanded for a "p" release, but I'm not going to hold things up to mess with it for the next public release.

Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Add Games Not On Your Hdd With Vids
« Reply #84 on: April 10, 2004, 01:18:00 AM »

laugh.gif  was going to resize but thought better not to so you could see the total layout.
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Add Games Not On Your Hdd With Vids
« Reply #85 on: April 10, 2004, 08:51:00 AM »

QUOTE (chilin_dude @ Apr 10 2004, 10:18 AM)
Sorry about the massive pic  laugh.gif  was going to resize but thought better not to so you could see the total layout.

np. i actually enjoyed looking at it, thinking how cool that would look in MXM with the small cover.


Updated the Database.

Video=#     0=no video, 1=wmv, 2=xmv, 3=rar, 4=zip
VidID=#     null if no video assigned, # if video assigned.

This should allow the dashboards to check if video exists for game,   and if so, how to handle it.
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Add Games Not On Your Hdd With Vids
« Reply #86 on: April 10, 2004, 12:00:00 PM »

wink.gif ).
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Add Games Not On Your Hdd With Vids
« Reply #87 on: April 10, 2004, 01:47:00 PM »

CODE

WebFileFetch Z:\%theFile% http://ww.somesite.com/file.rar "" theFile
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Add Games Not On Your Hdd With Vids
« Reply #88 on: April 10, 2004, 01:47:00 PM »

i've got one more mod to do, split out the videos and compression in the xml.  then i will get to work on filling the database and adding a few videos.

im almost [--this close---] to having it all ready to move to xbox-skin.net
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Add Games Not On Your Hdd With Vids
« Reply #89 on: April 10, 2004, 02:25:00 PM »

QUOTE (flattspott @ Apr 10 2004, 05:47 PM)
Cool, how about some examples though, specifically the [<SavedFileVar>|""|.] [<ResultCodeVar>]. I am unsure how I'd use this. If I had an eaxmple...


Like this,
CODE

WebFileFetch Z:\%theFile% http://ww.somesite.com/file.rar "" theFile

An example:

WebFileFetch Z:\temp.rar http://www.axs.com/g...n.php?id=123431 "" result

This will download the file to Z:\temp.rar, and put the result code in the variable 'result' (200 if download successful, something else if something else, etc)

WebFileFetch Z:\temp.rar http://www.axs.com/g...n.php?id=123431 newFileName result

This will get the filename from the server, and put the name into the specified variable.  So it will save as Z:\Scarface.rar or whatever.
Logged
Pages: 1 ... 4 5 [6] 7