Jump to content


Looks Like Beginsearch Etc Could Use Some Tuning

  • Please log in to reply
2 replies to this topic

#1 flattspott


    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 04 April 2004 - 10:30 PM

I'm working on a set of script's that will scan through every folder on your xbox.
For now all it does is show MsgBox's.

Anywho, the problem is that some folders are searched fine, including subfolders. Other cause it (MXM) to hang. As an example, "F:\Dashboards\MXM-WIP" is scanned fine, and this has subfolders in it, (\Scripts\ScriptName\Script.xas). Then when I try to scan "F:\Dashboards\Avalaunch" It gets to "F:\Dashboards\Avalaunch\Media\Skins" and freezes.

And my scripts should allow me to scan 10 folders deep.

The way I doing thing is like this, when the first script finds a dir it passes the s_name variable to another script. This script then starts a new search from that and if this second script finds a dir then it sends it to a 3rd script, and so on. With 10 scripts to allow me to search 10 folders deep.

Like I said it does work on some dirs just not all.

Edited by flattspott, 04 April 2004 - 10:31 PM.

#2 geniusalz


    Team MXM

  • Head Moderators
  • PipPipPipPipPip
  • 1,827 posts
  • Gender:Male
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 05 April 2004 - 02:22 AM

I had a recursive search that worked just fine. Search for the menu builder, that has an example of recursion. The xml part of it was crappy, but the search worked fine.

#3 koldfuzion


    X-S Freak

  • Members
  • PipPipPipPipPip
  • 1,480 posts

Posted 05 April 2004 - 02:40 AM

hehehe i remember that nightmare sad.gif

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users