xboxscene.org forums

Pages: 1 [2] 3

Author Topic: Preview Video Auto Downloader  (Read 277 times)

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Preview Video Auto Downloader
« Reply #15 on: April 03, 2004, 10:09:00 AM »

That's what I was thinking originally. But it seems like a waste to use cache menus, cause it has all the other redundent (sp?) stuff like paths, media, etc. After all we're only after the IDs.  Someone would still have to go through the cache menus, and get the IDs.
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Preview Video Auto Downloader
« Reply #16 on: April 03, 2004, 10:37:00 AM »

QUOTE (flattspott @ Apr 3 2004, 08:09 PM)
That's what I was thinking originally. But it seems like a waste to use cache menus, cause it has all the other redundent (sp?) stuff like paths, media, etc. After all we're only after the IDs.  Someone would still have to go through the cache menus, and get the IDs.

Koldfuzion says
QUOTE
let it parse the xml into a single database/xml with the xbeid and game name?

So i think he means it will auto delete all the unneeded stuff!!!
Great stuff guys!!! Will be good for my hard drive dvd games  laugh.gif
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Preview Video Auto Downloader
« Reply #17 on: April 03, 2004, 10:42:00 AM »

Yeah I saw that afterwards. If thats the case then Im all for it.

It'll also need some sort of duplicate checking though
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Preview Video Auto Downloader
« Reply #18 on: April 03, 2004, 12:42:00 PM »

let me know if you run into any errors.. especially with those using nested menus.  I didnt take the time to create one for testing, but it should still be fine.


Apps or games with a gameid of zero (0) or null will not be added.  

If the game already exists in the DB, it too will not be added.

If you recieve an error durring upload.. its quite possible a xml was being parsed at the time and you need to wait a second or two.

You can see the current Apps and Games DB here

And you can submit your own cache_menu.xml  HERE

Errors?... please let me know.. and provide a screenshot if you can.


EDIT:  the LiveEnabled will null for non-live enabled games and a 1 for live enabled games.  Hoping to prevent xbox live conenctions for those using anything other than the x2 4891 bios.  I think this was discussed a long time ago.. so i thought i would throw it in.  I might change this to actually produce a zero or one and not leave a null tag. (for easier actionscripting comparison)
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Preview Video Auto Downloader
« Reply #19 on: April 03, 2004, 01:16:00 PM »

BLazeD, i will be installing the forum on my local PC soon so i can see how it is structured.

Once I get that done, writing the code to "add" to your existing site should be very simple.  I just need to see what data I need,  and where to execute the updates to the xml at.

I will PM you to send you the code and any directions you may need to implement.  Or just help you through it.
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Preview Video Auto Downloader
« Reply #20 on: April 03, 2004, 01:46:00 PM »

You have Halo listed as a LiveEnabled game
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Preview Video Auto Downloader
« Reply #21 on: April 03, 2004, 02:06:00 PM »

QUOTE (flattspott @ Apr 3 2004, 11:46 PM)
You have Halo listed as a LiveEnabled game

yea i know.. im playing around with an admin form to change those values.  Since they cant be pulled from the menu_cache.. it will have to be done manually.


It will be fixed though.
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Preview Video Auto Downloader
« Reply #22 on: April 03, 2004, 04:09:00 PM »

Well I just did a script that will get the internal name and IDs in a directory.

Capcom vs SNK 2 EO = 1128464392
True Crime: Streets of LA = 1096155150
Blinx: The Time Sweeper = 1297285139
Buffy: The Vampire Slayer = 1161887762
Halo: Combat Evolved = 1297285124
Hitman 2: Silent Assassin = 1163067401
Soul Calibur 2 = 1313669123
Metal Gear Solid 2: Substance = 1263403015
Mortal Kombat: Deadly Alliance = 1297547276
Oddworld: Munch's Oddysee = 1297285121
Project Gotham Racing 2 = 1297285195
Silent Hill 2: Restless Dreams = 1263403012
Tony Hawk's Pro Skater 4 = 1096155159
Tao Feng: Fist of the Lotus = 1297285140
Indiana Jones and the Emperor's Tomb = 1279328263
Vexx = 1094909957
007: Nightfire = 1161887782
Medal Of Honor: Frontline = 1161887770
Dino Crisis 3 = 1128464387
MLB Slugfest 2004 = 1297547273
Red Faction 2 = 1414594565
X2: Wolverine's Revenge = 1096155144
NINJA GAIDEN = 1413677059
Brute Force = 1297285150
Midnight Club 2 = 1414791176
Need For Speed: Hot Pursuit 2 = 1161887784
Wreckless: The Yakuza Missions = 1096155146
Evil Dead: A Fistful Of Boomstick = 1414594571
Dead or Alive Xtreme Beach VolleyBall = 1413677063
Soldier of Fortune II = 1096155163
Max Payne = 1414791171
The Suffering = 1297547285
Quantum Redshift = 1297285141
Teenage Mutant Ninja Turtles = 1263403035
Spawn: Armageddon = 1313669132
Grand Theft Auto III = 1414791182
Need for Speed:Underground = 1161887815
Prince of Persia: The Sands of Time = 1431502877
I-Ninja = 1313669135
Ghost Recon: Island Thunder = 1431502855
Hunter: The Reckoning = 1448411143
Burnout 2: Point of Impact = 1094909977
XIII = 1431502857
Max Payne 2 = 1414791180

But I could change it to put it in the xml form you have
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Preview Video Auto Downloader
« Reply #23 on: April 03, 2004, 04:23:00 PM »

im just parsing the cache_menu.xml    I figured that would be the easiest,   even a non-techie could help contribute that way.

I think im going to work on a DVD script to put DVD game info in the same format as the cache_menu.xml (but named DVD.XML) and run it as a context script so all the games I have on DVD can easily be added too.

EDIT:  By the way,  I named the xml elements that way to prevent confusion with existing elements. So eventually, if this thing gets used,  it shouldnt caue too many conflicts with whats already in place.
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Preview Video Auto Downloader
« Reply #24 on: April 03, 2004, 05:55:00 PM »

Nice work.

But I see a little problem there.  "Fan Speed 20%" was a menu item in my xml, and it's appearing on the DB:

- <item>
 <gametitle>Fan speed 20%</gametitle>
 <gameid>262994624</gameid>
 <liveenabled>0</liveenabled>
 </item>


From my xml:

<item>
<title>Fan speed 20%</title>
<action>
               SetFanSpeed Manual 10
            </action>
<dir>C:\</dir>
</item>

Edit: that ID (262994624) is actually dvd2xbox
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Preview Video Auto Downloader
« Reply #25 on: April 03, 2004, 07:07:00 PM »

can you get on irc and send me your cache_menu.xml... i'd like to see whats causeing this.

Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Preview Video Auto Downloader
« Reply #26 on: April 03, 2004, 08:07:00 PM »

QUOTE

<dir>C:\</dir>


Maybe this has something to do with it?
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Preview Video Auto Downloader
« Reply #27 on: April 03, 2004, 11:33:00 PM »

smile.gif   and i backed it up in case geniusalz corrupts it with his hacked menu  dry.gif .

Edit: I just went through the Database Thread (can we please clean that up now?) and added all the missing ones up to 198 games.

I still have more to do myself and will get them added tommorrow.
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Preview Video Auto Downloader
« Reply #28 on: April 04, 2004, 12:28:00 AM »

unsure.gif

YGPM

Edit: Got all (hopefully) useful id's from the thread:

http://mxm.brokensit.../fromthread.txt

If you want them in some other format, just tell me.
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Preview Video Auto Downloader
« Reply #29 on: April 04, 2004, 01:08:00 AM »

smile.gif

I think the safest bet is to disable the upload form anyway and rely on them to either be emailed, or posted in forums.   blink.gif

EDIT:  8 hours later.. and im ready for bed  blink.gif

posted in the other thread.. but in case you didnt read that one:


If needed,  I can post the scripts i used.

did a single dvd one and a cpx-menux one.   both saved me a tremendous amount of time....and for that, I thank BJ and all those that nudge him along to make  actionscripts even better.

The DB is HUGE now,  but there are always holes to file.   Now comes the burdoning task of "How do we keep it updated?"  

383 id's.. we still need more! Send out the scouts and the assassins.. kill anyone who doesnt give you thier numbers!  hehehe
Logged
Pages: 1 [2] 3