Share Scripts For Others, Post new scripts and changes here |
|
|
|
  |
Replies
| BenJeremy |
Oct 3 2003, 01:33 PM
|

X-S Elysian
            
Group: Head Moderator
Posts: 9688
Joined: 19-July 02
Member No.: 1853
Xbox Version: v1.1
360 version: v1 (xenon)

|
| QUOTE (sandman2869 @ Oct 3 2003, 10:17 AM) | I have been playing with these scripts for the past couple of days, trying to understand the logic behind it all. This is what I have so far:
You can add an actionscript to your menu.xml as an item in the menu and then run it from there. | Well, there are a couple other ways to execute them as well...
| QUOTE | This is what I need help understanding:
What are the .xas files for and how do I use them?
|
.xas files are text files with ActionScripts in them... think of them like DOS BATCH files. They are executed using "CallFile xxxx.xas"
You could use these so you would not need to update your MXM.xml file to modify an existing script, for example. If the calling menu item used a CallFile to load a script from an .xas file, it can be easily replaced/modified.
| QUOTE | What is context and why would I want to use an actionscript in context mode?
|
Context means you can define custom menu items in "Game Options" - and when you execute a script in a context menu item, it gets specific information about the item selected in the menu. This means you can add, for example, a "Delete Game" option, that already knows what game you've selected, and even that it's on the hard drive, not on the DVD.
| QUOTE | Is there a way to do looping? Like if I want to rename all of the PxGame* directories to the xbetitle, is there a way for me to do into f: hddloader and check to see how many directories there are, thus renaming the directories as I go?
|
Sure, using IF# (which does a numerical evaluation fo the variables) and labels:
| CODE |
SET Index 0 :TOPOFLOOP ADD Index 1 IF# %Index% < 10 GOTO TOPOFLOOP
|
| QUOTE | I have read the readme txt file as well as all of the clinic and am not getting it. I know I'm not the brightest apple in the bunch here, but I can't be that retarded, can I?
Please help.
|
Sorry if it's a little obtuse. ActionScripting shoudl be familiar to those who have created old MS-DOS Batch files, but since that's an art that's probably not been practiced regularly in 8 years, it's understandable that some might not understand too well.
| QUOTE | PS. I have added the current scripts from this thread as menu items in my menu.xml and am loving them, and am currently working on a couple (very very simple) of my own, but would like to expand more on these capabilities.
Thanks in advance
|
|
|
|
|
| |
Posts in this topic
vexx22 Share Scripts For Others Sep 28 2003, 11:08 PM vexx22 Here is my best script i call it "Copy Singl... Sep 28 2003, 11:12 PM vexx22 Here is a simple XBOX Disc Lauch script with check... Sep 28 2003, 11:16 PM vexx22 This is a script to control a little box on the sc... Sep 28 2003, 11:18 PM vexx22 This is a short Script to control your intern Xbox... Sep 28 2003, 11:21 PM vexx22 Please post importent changes, like adding someth... Sep 28 2003, 11:22 PM flattspott Why did you put the Fanspeed functions down two ti... Sep 29 2003, 02:10 AM vexx22 to flatspot. They are put two times because if i m... Sep 29 2003, 11:43 AM BenJeremy I think there's some wierdness in the fanspeed... Sep 29 2003, 11:47 AM vexx22 Is nobody interested in sharing his scripts with o... Sep 29 2003, 07:47 PM X30n I wish I had some scripts to share. What are some... Sep 29 2003, 07:59 PM vexx22 try programming any kind of a script, it just for ... Sep 29 2003, 08:11 PM Habs69M Oh well this is not done but here is my FormatPati... Sep 29 2003, 08:11 PM vexx22 Cool Big thanks to HABS69M for his first script. H... Sep 29 2003, 08:14 PM Habs69M Loll my first script was a remake of your MXMcopy,... Sep 29 2003, 08:21 PM vexx22 I thank you for posting your script, and i hope th... Sep 29 2003, 08:25 PM geniusalz
You need to QUIT after every format "block... Sep 29 2003, 08:26 PM vexx22 You are right geniusalz thats exactliy what i told... Sep 29 2003, 08:28 PM Habs69M geniusalz do i still need a QUIT after a FORMAT co... Sep 29 2003, 08:39 PM BenJeremy
Working on that flash code yet....
The nice thi... Sep 29 2003, 08:51 PM geniusalz
Well, let's just say u type faster than me :... Sep 29 2003, 09:01 PM geniusalz
Well, you need to keep the QUIT after the inputs... Sep 29 2003, 09:05 PM Habs69M Hehe i wanted to test it but got this message:
AT... Sep 29 2003, 09:06 PM geniusalz It's a security feature in case kids dont form... Sep 29 2003, 09:11 PM Habs69M Hmm cool thks bud, you helped alot :) will test ... Sep 29 2003, 09:14 PM Habs69M Ok the script in my previous post works but i am w... Sep 29 2003, 09:40 PM myffonline Maybe someone should make a dedicated webpage wher... Sep 29 2003, 09:50 PM vexx22 To Habs69M you need to set the Quit because if not... Sep 29 2003, 10:03 PM camora umm... the "Copy Single Game DVD" script... Sep 29 2003, 10:04 PM BenJeremy
Well, I've got the basic "Install disc... Sep 29 2003, 10:06 PM Habs69M
Well i figured that after every FORMAT instance ... Sep 29 2003, 10:09 PM BenJeremy You guys do know about the internal.xml, right?
... Sep 29 2003, 10:15 PM Habs69M
Damn as soon as i learn something new BJ makes s... Sep 29 2003, 10:22 PM vexx22 To camora. is this a game you try to copy? the scr... Sep 29 2003, 10:23 PM vexx22 How to integrate an internal script override in my... Sep 29 2003, 10:26 PM camora Yes, as i said. It's a game. I tried Gun Valky... Sep 29 2003, 10:37 PM BenJeremy
Strange.... MXM is seeing the game disc (an orig... Sep 29 2003, 10:44 PM BenJeremy
In the MXM.xml file, in the <scripts> nod... Sep 29 2003, 10:48 PM vexx22 I tested my original script with my halo Disc (ori... Sep 29 2003, 11:01 PM camora The games i've tried are all original. I dont ... Sep 29 2003, 11:17 PM vexx22 i tested i earlier, with 007 : Nightfire in the sp... Sep 29 2003, 11:20 PM BenJeremy
I tested an original, not on the script, but wit... Sep 29 2003, 11:21 PM BenJeremy
Maybe I could add a function to convert a string... Sep 29 2003, 11:25 PM camora Thomson
No, when i try to access D:\ i see t... Sep 29 2003, 11:28 PM vexx22 do it please
i have a samsung and use Evox D... Sep 29 2003, 11:29 PM Habs69M camora i have a Thomson, but with my version of t... Sep 29 2003, 11:34 PM camora @Habs69M
Can you see your game disc contents over ... Sep 29 2003, 11:40 PM Habs69M
Once its finished coping? yeah sure i can or do ... Sep 29 2003, 11:44 PM camora Yes, i mean when you just put a game dvd in the bo... Sep 29 2003, 11:49 PM BenJeremy
Yeah, there's something odd with 4978.03, bu... Sep 30 2003, 12:01 AM camora
I tried it with the MXM FTP Server and with EvoX,... Sep 30 2003, 12:10 AM camora Yes! I changed my BIOS and now the script work... Sep 30 2003, 12:37 AM DBZRacer NewsfeedSwitch Action Script
Purpose: This action... Sep 30 2003, 06:31 AM irajames1176 Would it be possible to customize the DVD Copy scr... Sep 30 2003, 08:32 AM vexx22 i donīt think that it can added know, but nobody k... Sep 30 2003, 12:13 PM Madgame I am in the same boat with the copy script not wor... Sep 30 2003, 01:12 PM BenJeremy
What BIOS are you using? Sep 30 2003, 01:28 PM vexx22 I tried it now with several games originaal and ba... Sep 30 2003, 01:42 PM Madgame My bios is X2 4976.02.
I was trying it with TWPGA... Sep 30 2003, 01:47 PM vexx22 I mean i have EvolutionX D6 bios it to long that i... Sep 30 2003, 02:02 PM BenJeremy
How was MXM launched?
This is an odd problem. I... Sep 30 2003, 02:09 PM Habs69M
Huh? :blink:
My bios is Evox 2.6 V1 blue , and... Sep 30 2003, 02:33 PM vexx22 oh sorry i mean something other i think :D Sep 30 2003, 02:34 PM Madgame Yes MXM was launched. I put a link to the script ... Sep 30 2003, 02:49 PM chilin_dude Well i can't share a script as i don't kno... Sep 30 2003, 06:26 PM DBZRacer
Good idea... I'll see if I have some time la... Sep 30 2003, 06:58 PM chilin_dude
Good idea... I'll see if I have some time lat... Oct 1 2003, 01:52 PM onthereal
This might work, but I think MXM halts all music ... Oct 1 2003, 02:34 PM BenJeremy
This might work, but I think MXM halts all music ... Oct 1 2003, 02:48 PM chilin_dude
This might work, but I think MXM halts all music ... Oct 1 2003, 02:53 PM DBZRacer
Good idea... I'll see if I have some time lat... Oct 1 2003, 08:20 PM DBZRacer Action Script Name: PxHDDLoader Folder Renamer
Pu... Oct 1 2003, 09:37 PM vexx22 Cool Script DBZRacer, i have a question because yo... Oct 1 2003, 10:32 PM DBZRacer
I was using yesterdays WIP binaries. It shouldnt... Oct 1 2003, 10:38 PM vexx22 Can somebody explain me this string? "IF#... Oct 1 2003, 11:24 PM BenJeremy
IF# is for numeric comparisons...
IF# %arg1% ... Oct 1 2003, 11:35 PM sandman2869 I have been playing with these scripts for the pas... Oct 3 2003, 01:17 PM sandman2869 BJ,
Plain and simple, you rock! Thank you sir... Oct 3 2003, 01:49 PM BenJeremy
so if I understand you correctly, I would need so... Oct 3 2003, 02:01 PM sandman2869 Awesome!
Haha, thanks much :)
I finally get i... Oct 3 2003, 02:55 PM DBZRacer
If you want to do true looping, I would wait til... Oct 3 2003, 06:52 PM DeVante Here is a slight rewrite of vexx22's "Lau... Oct 3 2003, 10:58 PM BenJeremy IF must be in a specific form at the moment. It... Oct 3 2003, 11:08 PM DBZRacer The problem I see right off the bat with your scri... Oct 3 2003, 11:21 PM vexx22 If any ideas please send them to me because the or... Oct 3 2003, 11:23 PM vexx22 For launching a simple DVD it is ok i think. Probl... Oct 3 2003, 11:26 PM DeVante Alright, I moved the first SETVAR to be under the ... Oct 4 2003, 12:24 AM DBZRacer
Are you sure the original script is yours dude? ... Oct 4 2003, 12:26 AM DeVante So DBZRacer, does that Launch Disc script you wrot... Oct 4 2003, 12:49 AM DBZRacer
I just got too busy and didnt have time to test/... Oct 4 2003, 03:22 PM Mordenkainen Probably has something to do with the comment BJ m... Oct 20 2003, 02:39 PM koldfuzion that was only the case with the first implementati... Oct 20 2003, 02:51 PM BenJeremy Yes, I should have an "RC" tonight, perh... Oct 20 2003, 03:45 PM DBZRacer
The errors and bugs were fixed in both the actio... Oct 20 2003, 05:55 PM Taiger Hi vexx22,
Fantastic this thing about scripts, I ... Oct 23 2003, 04:11 PM BenJeremy Actually, the range is 10-50. There is no translat... Oct 23 2003, 05:06 PM Taiger From 10 to 50 ok I assumed that it was from 20% to... Oct 23 2003, 05:23 PM BenJeremy It looks like when it exceeds 50, you end up setti... Oct 23 2003, 05:32 PM Taiger
gadgetstring ??, do you have any examples on that... Oct 23 2003, 06:07 PM
2 Pages 1 2 >
|