| QUOTE (moowear @ Sep 7 2003, 08:55 PM) |
| Awesome BJ, i'm looking forward to this "Disc-it-once-and-for-all" solution to putting MxM onto newer/larger hd's from the go. |
| QUOTE (yourwishismine @ Sep 7 2003, 10:14 PM) |
| How about an option to turn off the internal 'Y' on the joystick that brings up the system menu... This makes me a little leary of allowing my girlfriends 5 year old to play un-supervised... he's push button happy... lol.. but loves to play the games... turning off that menu would be great... |
| QUOTE (geniusalz @ Sep 7 2003, 10:15 PM) |
| Cool. Can't wait for BASIC. P.S. Would skins have the ability to use BASIC scripting too? That would rock. |
| QUOTE (botek13 @ Sep 7 2003, 11:25 PM) |
| BJ, Im sorry to disturb you. Im sure your very busy but, I'm sure you've seen our "Wish List" of features. How are you doing on "high priority" items? Which features do you plan on implementing in the next version soon to be released? Which are scheduled to be released down the road? When can we expect to see these new features in MXM? -Thanks |
| QUOTE (ub312g0d @ Sep 8 2003, 10:24 AM) |
| Did bj just say a 3d clock!?! Is that a little hint that a little more than basic scripting is getting added soon? Please continue making this the best dash out there bj and thanx for the hard work you've already put into it. ALL HAIL BJ! ALL HAIL BJ! |
| QUOTE (Phantasm @ Sep 9 2003, 07:37 AM) |
| Hey BJ, Just a quick question for you...In the next release, Will there be a way for me to back up a game in the DVD tray to the HD right in the UI? Right now I am using BoXPlorer to back up my games, but it would be eaiser if it was an option in the dash itself. I'd also like the ability to name the directory myself if that would be a possibility. Great work as always! |
| QUOTE (BenJeremy @ Sep 18 2003, 04:32 AM) |
| I'll probably also add the ability to launch action scripts from files (ala BATCH files). . |
| QUOTE (Phantasm @ Sep 9 2003, 12:37 PM) |
| Hey BJ, Just a quick question for you...In the next release, Will there be a way for me to back up a game in the DVD tray to the HD right in the UI? Right now I am using BoXPlorer to back up my games, but it would be eaiser if it was an option in the dash itself. I'd also like the ability to name the directory myself if that would be a possibility. Great work as always! |
| CODE |
BeginDraw UseCurrent MessageBox "Press A to Launch DVD Game Title or B to Cancel" EndDraw Input If %_GP_A% == "1" GOTO APRESSED If %_GP_B% == "1" GOTO BPRESSED QUIT :APRESSED If DVDCheckHere == "1" GOTO LaunchOK If DVDCheckHere == "0" GOTO InsertDisk QUIT :BPRESSED MessageBox "Disk Launch Cancelled" QUIT :LaunchOK LaunchDVD QUIT :InsertDisk TrayOpen MessageBox "Please Insert Disk" |
| QUOTE (flattspott @ Sep 18 2003, 03:10 PM) |
| Awesome info BenJeremy. Any chance we'll be seeing this today? |
| QUOTE |
| Well, I will be updating the "WIP" tonight with a few more goodies |
| QUOTE (flattspott @ Sep 18 2003, 03:32 PM) | ||
So does this mean that us common folk won't be able to try this out for a while then? Just you WIP Beta testers? |
| CODE |
SETFUNC DVDTitle XBETITLE D:\default.xbe BeginDraw UseCurrent MessageBox "Checking Disk Status..." EndDraw GOTO DiskCheck :DiskCheck TrayClose IF %TrayState% <> "CLOSED" GOTO DiskCheck IF %DVDType% <> "GAME" GOTO InsertDisk IF %DVDType% == "GAME" GOTO LaunchDisk QUIT :InsertDisk BeginDraw UseCurrent MessageBox "Please Insert Game Disk$eol$Press A To Continue$eol$B To Cancel" EndDraw TrayOpen Input If %_GP_A% == "1" GOTO DiskCheck If %_GP_B% == "1" GOTO LaunchCancel Quit :LaunchCancel MessageBox "Disk Launch Cancelled" QUIT :LaunchDisk MessageBox "%DVDTitle% Now Launching" LaunchDVD QUIT |
| QUOTE (DBZRacer @ Sep 18 2003, 05:06 PM) | ||||
| OK I got a couple more questions. Sorry to ask them now as I'm impatient and trying to play with the scripts at work before I get home to the xbox: 1. Does the GOTO command have the ability to goto <labels> in the code that were stated BEFORE the actual goto command. IE:
2. A second scenario would be here where I want it to restart the section of script if my condition is not meant
|
| QUOTE (DBZRacer @ Sep 18 2003, 05:13 PM) | ||
Here's the scenario placed in the DVDGameLaunch script:
|
| QUOTE (BenJeremy @ Sep 8 2003, 03:47 AM) |
| Yes, 0.9n.5 will be out soon. |
| QUOTE (macel @ Sep 18 2003, 06:26 PM) | ||
That was... 11 days ago. Has anyone ever noticed how much certain groups interpretations of time differ? I mean, when I say to my buddies that I'll meet them at the local pub soon, it means that I'll be there in the next, say, 30 minutes. Now, when my lovely wife is getting ready for a dinner (or something else that requires special attention to ones appearance) and says that she'll be ready soon, I can relax, flip the box on and finish the season in nhl 2k4. Then there are our beloved programmers whose interpretation of the word soon is even more cryptical. 'A new version will be out soon' is probably one of the most feared sentences when it comes from the mouth of a codemonkey, it can mean that he's currently uploading the program to the server or it can mean that the development has been terminated and the monkey is getting wasted as we speak. |
| CODE |
BeginDraw UseCurrent MessageBox "This will backup your eeprom$eol$To continue press A$eol$To cancel press B" EndDraw Input If %_GP_A% == "1" GOTO CONTINUE If %_GP_B% == "1" GOTO CANCEL QUIT :CONTINUE MessageBox "EEPROM Backed Up!" EEPROMBackup QUIT :CANCEL MessageBox "EEPROM Backup canceled by user." QUIT BeginDraw UseCurrent MessageBox "This will restore your eeprom$eol$To continue press A$eol$To cancel press B" EndDraw Input If %_GP_A% == "1" GOTO CONTINUE If %_GP_B% == "1" GOTO CANCEL QUIT :CONTINUE MessageBox "EEPROM Restored!" EEPROMRestore QUIT :CANCEL MessageBox "EEPROM restore canceled by user." QUIT |
| QUOTE (flattspott @ Sep 18 2003, 08:22 PM) | ||
Okay this is what I messed around with;
Works nicely. One problem you may want to look into though. When ever I select the action from my menu the soundtrack pauses until I press on a button. This seems to happen a second or so after the message box is drawn. |
| QUOTE |
| LOL... yes, the music and videos will pause until the script is done. This is unfortunately not going to change soon (I can pump some of this stuff, but there are bad side-effects I need to insure don't happen - plus it greatly increases the difficulty in ActionScript drawing) I do plan on fixing it, but for the moment, it's a minor thing. |
| QUOTE (flattspott @ Sep 18 2003, 08:33 PM) |
| And could you clarify what all the EEPROM stuff pertains to. Is (as it is in the WIP) it for NTSC/PAL video and for Locking the harddrive (if you restored an eeprom that was made by configmagic? Or is the locking the HD something else entirely? If it isn't, maybe you could add it to your things to do list. Something like HDDLock and HDDUnlock Then I can make the ultimate installer/ Recovery disc, seeing how I won't have to rely on any external apps (other then Evox for Flashing BIOS). |
| QUOTE (flattspott @ Sep 18 2003, 10:47 PM) |
| So then why does one need to back up their there eeeprom then. AFAIK the main thing this would be for would be to have to use in another Xbox if that one get banned from Live. Maybe I just retarded here. |
| QUOTE (j0hnnyb0y84 @ Sep 19 2003, 01:32 AM) |
| I don't know if this has been requested or already has plans on being implemented, but adding left and right D-pad functionality would be useful IMO in the menu options. I was working on a Dreamcast menu, but I was limited by this. Keep up the good work BJ! |
| QUOTE (flattspott @ Sep 19 2003, 10:49 AM) |
| I was wondering BJ, is it possiblt to add two buttons to a single script section? For example in my EEPROM test script. Obviously backing up wouldn't really need it. But the restoring part could benefit from it. What I want to do is make it so the user (me I suppose) has to push something like white and black at the same time to be able to restore the EEPROM. The would also be ideal for future versions of Media X Menu when you get BIOS flashing working. |
| QUOTE (flattspott @ Sep 19 2003, 11:12 AM) |
| And another thing, is there a limit that you know of with the ActionScripts. Cause I was dabbling with making a super installer with evox but gave up because it would not reconize any actions over 99. Yes this is a lot of actions but it needed them. I think I was trying to use somewhere around 180 custom actions. Would that be an issue with MXM? In evox the Actions are numbered so I could have tested it out but using just and an [Action_100] to see that it wouldn't work. In MXM though they go into the menu items they're for so they're not numbered, thus making it so I have to actually type out 100 plus actions to see if there's a limit. |
| QUOTE |
| back to the clean install menu to do all the dirty stuff. |
| QUOTE (flattspott @ Sep 19 2003, 11:37 AM) | ||
You completly read my mind, I have been thinking the same thing for a while. You put the disc in a with a new or unmodded HD and you get a completly different menu structure than if the box was already modded. It would be a smart disc. So things like formating could be tucked away from the postmod menu after you use the disc the first time but you could still have a option to go back to the clean install menu to do all the dirty stuff.
And let me get this strait wth the CallScript stuff. Basiccally with these I will be able to use ActionScripts for multiple menu items. Like if I had two Submenus for formating a Retail and an Upgrade HD. I could use one ActionScript to format them both identically (no f partition)even though they're called from 2 seperate menus.? |
| CODE |
CallScript _DisplayMessageBox "The Prompt Message" |
| CODE |
: CallScript _DisplayMessageBox "Do you want to format %1%?$eol$Press "Y" to proceed" IF %_GP_Y% <> 1 goto CancelIt BeginDraw UseCurrent MessageBox "Formatting %1% Drive$eol$Please Wait" EndDraw Format %1% SET _LastError 0 CallScript _DisplayMessageBox "Done Formatting" GOTO Done :CancelIt SET _LastError 1 CallScript _DisplayMessageBox "Operation cancelled" :Done : |
| CODE |
CallScript PromptFormat F: CallScript PromptFormat G: |
| QUOTE (DBZRacer @ Sep 19 2003, 01:55 PM) |
| Great example BJ... I had a hell of a time last night trying to figure out how to use Callscript. This should make things a lot easier. My only request right now when you have time would be full examples like what you just did for all the new script commands. I'm one of those guys who are more visual and reverse engineering code from examples works best for me... |
| QUOTE (flattspott @ Sep 19 2003, 02:56 PM) |
| Okay I am pretty clear about all this ActionScript stuff except for one thing. The part you posted %ArgCount%, %1% and %0%. I'm still not 100 percent sure about this part. Could you explain this to me in simple terms. I have my thoughts of what they do based your post but I'm still a bit confused. |
| QUOTE (flattspott @ Sep 19 2003, 02:56 PM) |
| And could you give an example of how the color names are used. |
| CODE |
: BeginDraw UseCurrent Box 100 100 150 100 DarkRed White EndDraw Input : |
| QUOTE (flattspott @ Sep 19 2003, 02:56 PM) |
| Lastly, about the Internal Scripts portion. This would only be of use if say I made a really cool script then MXM would need to be recompiled with it, right? So for the average joe it isn't something to worry about? |
| QUOTE (flattspott @ Sep 19 2003, 03:17 PM) |
| On the Color stuff, can we not put the size stuff? Like so, BeginDraw UseCurrent Box DarkRed White EndDraw Input Cause how am I spose to know how big the Box needs to be? It seems to me that MXM does a good enough job by itself sizing the boxes to the text. |
| QUOTE (flattspott @ Sep 19 2003, 03:27 PM) |
| Sorry to bug again but I keep getting ideas and whatnot. in the Readme you put Copy <Path/File/Wildcard> <Path/File>---whats the wildcard? I understand either you copy a path or just a file but have know clue about the wildcard. |
| QUOTE (flattspott @ Sep 19 2003, 04:09 PM) |
| Fantastic. At this very moment I am working on an installer script. And I was thinking of having the folders on the disc be in a certain way, like APP_01 through APP_xx and so on for the everything else. Now could I do a FILEEXIST with a wildcard, like IF FILEEXIST D:APP_01*.* ? The purpose would be to copy to contents of the folder only if there's is files in it. Whereas if there's not, it's ignored. This is cause some people will want to install all apps like older ones and whatnot but some people won't. |
| QUOTE (DBZRacer @ Sep 19 2003, 04:17 PM) | ||||
I had a similiar question in regards to the wildcard as well. Actually I have 3. 1. Can you use the copy command to rename the file in its final destination? as in: COPY D:IMAGESMXM.JPG F:MEDIAIMAGESMXM2.JPG |
| QUOTE |
2. Are wildcards only accepted in the COPY command at this time? I think it would be helpful to have wildcards accepted in the Delete command as well: DELETE F:MEDIAVIDEOS*.jpg |
| QUOTE |
3. Is there a way to enable the COPY command to search recursively within a folder to search its subfolders? So for example: COPY F:Media*.JPG F:PICS -S This would copy all jpegs in the media folder and subfolders into a new folder called pics |
| QUOTE (BenJeremy @ Sep 19 2003, 06:38 PM) |
| I'm thinking of one last set of additions: File Access: OPEN <WRITE|READ> <HandleName> <FileName> WRITELINE <HandleName> <Text> READLINE <HandleName> <VarName> STATUS <HandleName> <VarName> CLOSE <HandleName> XML Access: XMLOPEN <HandleName> <FileName> XMLCLOSE <HandleName> XMLCREATE <HandleName> <MainNodeName> XMLSAVE <HandleName> [<FileName>] XMLSETNODE <HandleName> [<Node> [<Index>]] XMLSETELEMENT <HandleName> <Element> <Index> XMLGETELVALUE <HandleName> <VarName> [<Attr>] XMLSETELVALUE <HandleName> <Text> [<Attr>] XMLGETATTRVALUE <HandleName> <VarName> <Attr> XMLSETATTRVALUE <HandleName> <Text> <Attr> |
| QUOTE (flattspott @ Sep 19 2003, 08:26 PM) |
| Okay, I don't know if this is problem or what but it seems like result MessageBoxes can only be one line cause thats what's happening even though I am using the $eol$. Meaning -- If %_GP_A% = "1" GOTO A :A MessageBox "Line One$eol$Line Two" QUIT But this only shows Line one. Another thing is I can't get any text of any sort to change color. |
| QUOTE (flattspott @ Sep 19 2003, 09:53 PM) |
| I just tested it and I suppose it's working. The White Border doesn't look like it's there though. But that's probably my crappy tv. |
| QUOTE (flattspott @ Sep 19 2003, 10:17 PM) |
| How about this. A sort of "Else If" function for all remaining buttons that aren't defined in the script. That way only the button that's denifing to exit the script will exit the script rather then all the remaining buttons. If you get what I mean. |
| QUOTE (DBZRacer @ Sep 19 2003, 10:51 PM) |
| I DL'd the latest WIP and I'm still having problems with the $eol$ commands. Even the initial "This is a WIP Release$eol$Do not distribute" display box only shows line one for me on startup... I'll play with the scripts again tomorrow when I get back... |
| QUOTE (BenJeremy @ Sep 19 2003, 11:00 PM) | ||
Hmmm.... you are correct. I didn't notice that. Strange, but as it's reproducable, I should be able to figure this one out. |
| QUOTE (BenJeremy @ Sep 19 2003, 08:13 PM) | ||||
Doh! Hmmm... that was my fault. I updated the Internal.xml, but I didn't process it with the app that converts it into binary loadable formed CPP and H files. |
| CODE |
SET YY 100 SET XX 100 BLAH: Input If %_GP_D_LF% == "1" GOTO LF If %_GP_D_UP% == "1" GOTO UP If %_GP_D_DN% == "1" GOTO DN If %_GP_D_RT% == "1" GOTO RT If %_GP_A% == "1" GOTO EXIT UP: SUB YY 5 DN: ADD YY 5 LF: SUB XX 5 RT: ADD XX 5 BEGINDRAW BOX XX YY 10 10 0xFF0000FF 0xFFFFFFFF ENDDRAW GOTO BLAH EXIT: QUIT |
| QUOTE (geniusalz @ Sep 22 2003, 03:59 AM) | ||
Up down left right to move, A to exit
Question is: Will this work? Especially the BOX XX YY part (if the BOX command accepts variable names as arguments) (cant test it myself coz my xbox is with my bro) |
| CODE |
SET YY 100 SET XX 100 :BLAH Input If %_GP_D_LF% == "1" GOTO LF If %_GP_D_UP% == "1" GOTO UP If %_GP_D_DN% == "1" GOTO DN If %_GP_D_RT% == "1" GOTO RT If %_GP_A% == "1" GOTO EXIT :UP SUB YY 5 GOTO DRAWIT :DN ADD YY 5 GOTO DRAWIT :LF SUB XX 5 GOTO DRAWIT :RT ADD XX 5 :DRAWIT BEGINDRAW BOX XX YY 10 10 0xFF0000FF 0xFFFFFFFF ENDDRAW GOTO BLAH EXIT: QUIT |