Jump to content


Photo

Remote-control Input And Disk Freespace


  • Please log in to reply
8 replies to this topic

#1 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 09 November 2003 - 02:19 AM

MXM is the best! this actionscript stuff is this coolest thing since video games were invented! smile.gif Thanks BenJ!!!

i've seen this
CODE
If %_GP_A% == "1" GOTO APRESSED
and would like to know how to get input from the remote. also, is it possible to distiguish between gamepad1, gamepad2, etc. if more than one is plugged in?

i've also seen
CODE
SETFUNC DVDSIZE FILESIZE D:DEFAULT.xbe
and would also like to know if this will work to get a directory size as well. also, is there a function that returns disk freespace?

thanks again!
-------------------------

forum organization suggestion:
create pinned topics for the various aspects of scripting/programming. examples...
::Variables and Data structures
::Looping and Control structures
::Functions (starting with a table of the available functions)

maybe that's too much, but at least the table of functions.


#2 geniusalz

geniusalz

    Team MXM

  • Head Moderator
  • PipPipPipPipPip
  • 1,827 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 09 November 2003 - 02:27 AM

$DriveFFree$
Not sure what the formatting is in this, you might have to remove commas

You can replace "DriveFFree" with any variable used in skinning. (look in the skinningOverview.doc in the "Text" section)

#3 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 09 November 2003 - 02:47 AM

thanks geniusalz, but if there is a SETFUNC function, i'd rather use that as $DriveFFree$ returns a string "F: 29,000,000,000 bytes free". I want to compare the size of D: with the freespace on F: i really don't want to get into alot of string processing, but if i must, i must...

Edited by Kthulu, 09 November 2003 - 02:49 AM.


#4 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 09 November 2003 - 03:49 AM

ok, i used search before but didn't hit anything good. it got bumped and i saw this thread:

EDIT: http://forums.xbox-s...T&f=58&t=123064

it answers my questions. i'm normally pretty good at searches, but on these forums, i'm a cluts...sorry.

Edited by Kthulu, 09 November 2003 - 04:21 AM.


#5 BenJeremy

BenJeremy

    X-S Elysian

  • Head Moderator
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,690 posts
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 09 November 2003 - 03:52 AM

Input from the remote, for ActionScripting, is not supported.... YET.

Perhaps on the next release.

#6 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 09 November 2003 - 04:11 AM

hey, since you're here smile.gif and we're talking about that Remote support...

i just noticed that the passcode screen accepts up/down input from the remote, but doesn't accept <select> as <A> or <back> as <B>...maybe you would knock that out at the same time?

#7 geniusalz

geniusalz

    Team MXM

  • Head Moderator
  • PipPipPipPipPip
  • 1,827 posts
  • Xbox Version:v1.1
  • 360 version:unknown

Posted 09 November 2003 - 04:12 AM

And since you are still here, check the pinned ActionScript Reference topic

Just an updated version of the one you linked.

Put it together right now.

Edited by geniusalz, 09 November 2003 - 04:14 AM.


#8 Kthulu

Kthulu

    X-S Freak

  • XS-BANNED
  • PipPipPipPipPip
  • 1,287 posts
  • Xbox Version:v1.0
  • 360 version:unknown

Posted 09 November 2003 - 04:20 AM

hehehe, thanks dude smile.gif

#9 BenJeremy

BenJeremy

    X-S Elysian

  • Head Moderator
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,690 posts
  • Xbox Version:v1.1
  • 360 version:v1 (xenon)

Posted 09 November 2003 - 01:06 PM

QUOTE (Kthulu @ Nov 9 2003, 12:11 AM)
hey, since you're here smile.gif and we're talking about that Remote support...

i just noticed that the passcode screen accepts up/down input from the remote, but doesn't accept <select> as <A> or <back> as <B>...maybe you would knock that out at the same time?

I'll look into that, as well, but the input for the ActionScripting is handled in a different spot than the passcode main screen input handling.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users