xboxscene.org forums

Author Topic: Evox: @2___ "user Developed Actions"  (Read 31 times)

DBZRacer

  • Archived User
  • Full Member
  • *
  • Posts: 239
Evox: @2___ "user Developed Actions"
« on: July 11, 2003, 03:43:00 PM »

QUOTE
User Developed Actions
Finally, you may see some more items below the menu like [ACTION_10], [ACTION_11] and so on. These are the user actions as defined above in the @ Commands section (@2) – to use them from a menu simply define an ITEM and for the actions number (10, 11, etc) use @2xx (@210, @211, etc). These are sort of like batch files in EvoX (easiest way to think of them).

From: What Are All The Commands From The Evox.ini Thread


I am trying to accomplish this with my EvoX Menu System after selecting Load DVD Game from the menu:

QUOTE

Please insert
XBOX Game Disk
to Launch

Please press A to Launch Game
or
B to Exit Back to Game List



The reason I am doing this is to compile a list of the games I have that are not installed on the HDD. In essence, I will have 2 selections to choose from in my XBOX Games Menu:

1. XBOX Games on HDD
2. XBOX Games on DVD

The XBOX Games on HDD will read my games from the hddloader folder and auto-added

But the XBOX Games on DVD submenu will be all hand coded to list my games and launch one of these @2___ "User Developed Actions" which will prompt me to insert the game disk first before launching the DVD Drive.

Here is what I have so far. Please help me fill in the rest:

CODE

Section "Root"
{
*Some Menu Items here*

          Line "XBOX Games on DVD",2
                 SortStart
                 Item "Game 01",@210
                 Item "Game 02",@210
                 Item "Game 03",@210
                 Item "Game 04",@210
                 Item "Game 05",@210
                 SortEnd
          Line "End DVD Game List",2
*Some more Menu Items Here*
}

[Action_10]
**** I AM STUCK HERE****




Any help would be apprecieated in how to display the text message above as well as having the option to hit A to launch and B to back out
Logged

DBZRacer

  • Archived User
  • Full Member
  • *
  • Posts: 239
Evox: @2___ "user Developed Actions"
« Reply #1 on: July 13, 2003, 11:07:00 PM »

tongue.gif
Logged

feflicker

  • Archived User
  • Hero Member
  • *
  • Posts: 1692
Evox: @2___ "user Developed Actions"
« Reply #2 on: July 14, 2003, 12:08:00 AM »

How about (just a guess):

[Action_10]
Info "EvoX Launch Game"
Warning "Please Insert Xbox Game"
Warning " Disc to Launch."
Warning " "
Warning "Select Yes to Launch Game"
Warning "or No to Exit Back to List"
d:default.xbe

Logged

DBZRacer

  • Archived User
  • Full Member
  • *
  • Posts: 239
Evox: @2___ "user Developed Actions"
« Reply #3 on: July 14, 2003, 10:11:00 AM »

Thanks feflicker... I'll give that a shot when i get back home today.

Does anyone have any working sample User Developed Action commands? or just a thought, can someone post the commands from the slayers disk .ini file? Now that I think of it, I'm sure it would give some good examples of what you can/can not do.

If I get enough of the syntax down, I might be able to figure this out...
Logged

DBZRacer

  • Archived User
  • Full Member
  • *
  • Posts: 239
Evox: @2___ "user Developed Actions"
« Reply #4 on: July 15, 2003, 10:53:00 AM »

Thanks to feflicker and reading the slayers .ini file I was able to get at least the messaging section of this done. Now when I select one of my "DVD" games from my menu above it shows

QUOTE

DVD Game Launch
Please Insert Game Disk to Continue


Continue?
Yes  --  No


I was able to get this done with the action codes:

CODE

[Action_10]

Info "DVD Game Launch"
Warning "Please Insert Game Disk to Continue"

d:\default.xbe


But no matter what I choose, yes or no, it refuses to launch the game/disk in the DVD rom drive. I have tried "d:\default.xbe" as well as various other scenarios but still coming up empty handed.

Does anyone here know what the launch DVD disk command is for EvoX's "User Developed Actions"? Or even the launch an xbe command line?
Logged

DBZRacer

  • Archived User
  • Full Member
  • *
  • Posts: 239
Evox: @2___ "user Developed Actions"
« Reply #5 on: July 16, 2003, 12:21:00 PM »

beerchug.gif
Logged

LinksAwakening

  • Archived User
  • Sr. Member
  • *
  • Posts: 499
Evox: @2___ "user Developed Actions"
« Reply #6 on: July 16, 2003, 02:18:00 PM »

I think @8 is Launch Disc, but I don't really remember anymore...
Logged

feflicker

  • Archived User
  • Hero Member
  • *
  • Posts: 1692
Evox: @2___ "user Developed Actions"
« Reply #7 on: July 16, 2003, 02:39:00 PM »

QUOTE
I think @8 is Launch Disc, but I don't really remember anymore...


Yeah... But what would he put, just "@8"?

We need a way to launch an xbe without an "item" tag. If you use item, it does not launch, right?
Logged

LinksAwakening

  • Archived User
  • Sr. Member
  • *
  • Posts: 499
Evox: @2___ "user Developed Actions"
« Reply #8 on: July 16, 2003, 03:00:00 PM »

What about:

CODE

[Action_10]

Info "DVD Game Launch"
Warning "Please Insert Game Disk to Continue"
@8


or

CODE

[Action_10]

Info "DVD Game Launch"
Warning "Please Insert Game Disk to Continue",@8


But why wouldn't it have worked with just D:Default.xbe ?

Also, I'm not sure if it what I put in above will work 100%, but it is worth a try I guess...

This post has been edited by LinksAwakening: Jul 16 2003, 10:02 PM
Logged

feflicker

  • Archived User
  • Hero Member
  • *
  • Posts: 1692
Evox: @2___ "user Developed Actions"
« Reply #9 on: July 16, 2003, 02:27:00 PM »

QUOTE
[Action_10]

Info "DVD Game Launch"
Warning "Please Insert Game Disk to Continue"
@8


That is what I meant by just putting "@8". I am at work, can't try it myself...   smile.gif
Logged

DBZRacer

  • Archived User
  • Full Member
  • *
  • Posts: 239
Evox: @2___ "user Developed Actions"
« Reply #10 on: July 16, 2003, 04:27:00 PM »

Maybe I did something wrong but I did try:
ID_MS_Dash
ID_Launch_DVD

I did not try @8 though (and yes it is the Launch command)

Maybe my syntax is wrong but the way I saw it was that those commands I listed up there were "Item" Menu commands and dont work for user defined commands. I read the slayers .ini file a million times to see how things were executed but all his commands seam to be like simple DOS commands like "Copy" and "Rename" or Flash, etc...

So my guess would be that these "user defined commands" are DOS/FTP type commands. Thats why it was wierd to me that d:\default.xbe didnt execute. Is there an 'execute' command I can use?

So it would look something like:

CODE

[Action_10]

Info "DVD Game Launch"
Warning "Please Insert Game Disk to Continue"

Execute "d:\default.xbe"


This post has been edited by DBZRacer: Jul 16 2003, 11:29 PM
Logged

Fisben

  • Archived User
  • Newbie
  • *
  • Posts: 30
Evox: @2___ "user Developed Actions"
« Reply #11 on: July 16, 2003, 05:33:00 PM »

Here are some of the commands I have.

ID_Flash_Bios or @1 = Flash the BIOS

ID_MS_Dash aka or @3 = Launch the Original Dashboard if named msxboxdash.xbe

ID_Quick_Reboot or @5 = Reboot Xbox

ID_Settings or @9 = Go to the EvoX Dashboard Settings

ID_Power_Off or @10 = Turn the Power Off

ID_Backup or @11 = Backup the settings to C:Backup on the Xbox

ID_Skins or @13 = Skins

ID_Launch_DVD or @14 = Launch disc in dvdrom tray

@2 = Custom User Actions as in @210 to do action 10

hope this helps have fun and enjoy.
Logged

DBZRacer

  • Archived User
  • Full Member
  • *
  • Posts: 239
Evox: @2___ "user Developed Actions"
« Reply #12 on: July 21, 2003, 12:31:00 PM »

I don't know if anyone else is interested in listing their DVD game list or not but this is how I did it since I couldnt find the execute command for "user developed actions" It ain't as pretty as adding an @210 under line item but it does the job as a patch for now until someone can show me a better app or way to do this.

CODE

Line "XBOX Games (DVD)",2
    SortStart
    Section "Brute Force"
   {
   Line "Game Launch",2
   Item "Please Insert Game Disk",ID_Launch_DVD
   Line " ",2
   Line "'A' = Launch     --     Back = 'B'",2
   }
    Section "Halo"
   {
   Line "Game Launch",2
   Item "Please Insert Game Disk",ID_Launch_DVD
   Line " ",2
   Line "'A' = Launch     --     Back = 'B'",2
   }
    SortEnd



The code aint pretty but now I have a list of my games on DVD from EvoX. And it also reminds me to insert the disk before it launches (of course my autolaunch game is off)

Thanks to everyone here that tried to help  :beer:  
Logged