xboxscene.org forums

Pages: 1 [2] 3

Author Topic: Actionscript Requests  (Read 379 times)

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Actionscript Requests
« Reply #15 on: November 12, 2003, 12:50:00 PM »

hey BJ,  i hope this is a good place for this...

as i understand it, the _AutoExec in the Internal.xml is executed whenever MXM loads and _AutoExec can be overridden with one's own custom script.  in the next release, could you include an _OnExit internal script that really does nothing, but can be overridden?

here's why i think that would be cool...
an autoexec script could be written that prompts if you want to 'login' so to speak.  when one 'logins', the script could load a 'user profile' that includes things like mxm.xml, menu.xml, etc. and game-saves from a backup location.  when MXM exits, another script could ask if one wants to 'logout' which would entail backing up current saves, etc. and restoring the previous settings and saves.

what do you think?
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Actionscript Requests
« Reply #16 on: November 12, 2003, 01:49:00 PM »

smile.gif  MXM needs this..needs it badly. So it needs to be tweaked to perfection and more people than just you and I need to take a look to see what needs to be done before its final. I dont want to bug BJ for updates cause something was missed or not thought of... see next line.

I hope once it is final, BJ will add it to MXM as a internal script so callfiles arent needed. smile.gif... definitely needs to be the default input script.

Awesome work!
beerchug.gif  beerchug.gif  beerchug.gif  beerchug.gif  beerchug.gif
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Actionscript Requests
« Reply #17 on: November 12, 2003, 02:19:00 PM »

smile.gif

perhaps we could PM each other with modified code until something a little more perfect is obtained to keep from cluttering the net with <arnold voice> inferior versions </arnold voice>...

thanks again for your thoughts, suggestions, appreciation, and encouragement.
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Actionscript Requests
« Reply #18 on: November 12, 2003, 02:39:00 PM »

QUOTE
not sure what you're referring to about rem-ing SET leftstring, but i'm sure the actuall text-processing stuff could be improved...i had mighty and thunderous battles with it


i just changed the

SET leftString ""

at the beginning of the script to

SET leftString "mxmskins" ( left off the "c:\" since those two chars are not supported yet)

to make sure it could handle predefined values... and it can.. just needs a little tweaking.(length, cursor postions etc)

QUOTE
perhaps we could PM each other with modified code until something a little more perfect is obtained to keep from cluttering the net with

Im on irc (#mxm) efnet server almost 24x7 if you want to talk about it there...dcc changes back and forth and such.. if you cant do irc.. I can use msn messenger too, i can pm you my contact info
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Actionscript Requests
« Reply #19 on: November 12, 2003, 04:07:00 PM »

QUOTE (Kthulu @ Nov 12 2003, 04:50 PM)
hey BJ,  i hope this is a good place for this...

as i understand it, the _AutoExec in the Internal.xml is executed whenever MXM loads and _AutoExec can be overridden with one's own custom script.  in the next release, could you include an _OnExit internal script that really does nothing, but can be overridden?

here's why i think that would be cool...
an autoexec script could be written that prompts if you want to 'login' so to speak.  when one 'logins', the script could load a 'user profile' that includes things like mxm.xml, menu.xml, etc. and game-saves from a backup location.  when MXM exits, another script could ask if one wants to 'logout' which would entail backing up current saves, etc. and restoring the previous settings and saves.

what do you think?

I'll be adding a lot of new event driven scripts as I get a chance.... the one planned (might already be in there, though) "OnLaunch"
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Actionscript Requests
« Reply #20 on: November 12, 2003, 04:29:00 PM »

Speaking of "Virtual keyboard" - I'm working on a white paper that will outline the new "input system" - adding several layers to the input system to allow gamepad, keyboard, IR, voice (maybe) and, yes, even mouse input as raw input and adding a native virtual keyboard layer in for Gamepad and IR users. It means all the key assignments will be user configurable (Actually more functionality available than input, so users will be able to really customize their set ups)

Of course, ActionScripters will be able to take advantage of the user-defined input translations, as well, or continue to use the raw input.

I really need to check out the Alphabet Soup script... sounds cool (any screenshots?)
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Actionscript Requests
« Reply #21 on: November 12, 2003, 08:15:00 PM »

you really know how to burst my bubble
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Actionscript Requests
« Reply #22 on: November 12, 2003, 08:54:00 PM »

laugh.gif
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Actionscript Requests
« Reply #23 on: November 12, 2003, 09:52:00 PM »

QUOTE
Speaking of "Virtual keyboard" - I'm working on a white paper that will outline the new "input system" - adding several layers to the input system to allow gamepad, keyboard, IR, voice (maybe) and, yes, even mouse input as raw input and adding a native virtual keyboard layer in for Gamepad and IR users. It means all the key assignments will be user configurable (Actually more functionality available than input, so users will be able to really customize their set ups)

Of course, ActionScripters will be able to take advantage of the user-defined input translations, as well, or continue to use the raw input.


Sounds awesome!


QUOTE
I really need to check out the Alphabet Soup script... sounds cool (any screenshots?)

To hell with alphabet soup... Kthulu's (visual kbd script)  is the shiznit..

Here is a screenshot of Kthulu's (visual kbd script)  Still needs more teaking and stuff.. but he is working on it.

It works great and anyone that every saves a game should know how to use it.


Yes, the keypad alignment is one of the things needing tweaked.

user posted image
Logged

Kthulu

  • Archived User
  • Hero Member
  • *
  • Posts: 787
Actionscript Requests
« Reply #24 on: November 12, 2003, 11:10:00 PM »

sad.gif

...shiznit... cool.gif  i like that  biggrin.gif   thanks  beerchug.gif
Logged

BenJeremy

  • Archived User
  • Hero Member
  • *
  • Posts: 5645
Actionscript Requests
« Reply #25 on: November 13, 2003, 03:42:00 AM »

QUOTE (Kthulu @ Nov 13 2003, 03:10 AM)
hey KF,  i noticed in your screenshot that the chars aren't lined up very well on the right side...did you change the spacing?  they line up WAY better than that on my screen...

if that's the way they lined up for you from my original script, i want to know something about your box...

what's your xboxdash version?

my theory for the differences in alignment would be that mxm is using some system font file somewhere on the HDD and since i have v1.0 box that's never touched Live to get upgraded, your font file (wherever and whatever it may be) is newer and slightly diff than mine.

EDIT:  Or the board messed up the spacing when i posted it...???  let me try to dcc the file to you tomorrow night

if the spacing varies this much from box to box and we can't get fix on whatever font file it's using, we'll have to manually TEXT each char on the keyboard...which sux sad.gif

...shiznit... cool.gif  i like that  biggrin.gif   thanks  beerchug.gif

Perhaps it's a matter of PAL vs. NTSC?

The font is built into the binaries... it's the same regardless.
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Actionscript Requests
« Reply #26 on: November 13, 2003, 03:53:00 AM »

QUOTE (Kthulu @ Nov 13 2003, 09:10 AM)
Or the board messed up the spacing when i posted it...???  let me try to dcc the file to you tomorrow night

yea, the board messed it up.  thats why i kept stressing for people not to pay that much attention to the alignment.
unfortunately i was swapped last night with a billion other things and didnt get much time to talk to you about this or get a chance to ask for a dcc of the actual script.

thought the screenshot was a good idea to let everyone see what you've done so far..  in case they didnt feel like loading up the script.
Logged

theplowking

  • Archived User
  • Newbie
  • *
  • Posts: 42
Actionscript Requests
« Reply #27 on: November 13, 2003, 06:04:00 PM »

what about a script that connects to allxboxskins to check for a new version of a script that you are currently running....or checks for scripts that are new...but not downloaded

This script (if poss) would then download and "install" the new script for you...idealy it would just add it to mxmscripts (or similar) and mxm would recognize the new script

But thats a future release
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Actionscript Requests
« Reply #28 on: November 17, 2003, 05:09:00 AM »

How about a script to make MXM_Entry.xml's?

Use virtualkb to get the input, a sort of "sequential file browser" to look for the app/game folder.
Then make the xml, allowing for changes to the title, description, preview vid (maybe another browser).

Makes me feel like creating a browser script.
Logged

koldfuzion

  • Archived User
  • Hero Member
  • *
  • Posts: 1226
Actionscript Requests
« Reply #29 on: November 17, 2003, 05:41:00 AM »

well i already made a script that will recreate an cache_menu entry but there is one problem..

<item>
<dir>E:APPSAVALAUNCH048</dir>
<exe>E:APPSAVALAUNCH048default.xbe</exe>
<media>E:APPSAVALAUNCH048MXM_SS.WMV</media>
<title>Avalaunch</title>
<thumbnail>E:\UDATA\80299ff\TitleImage.xbx</thumbnail>
<xbeid>134388223</xbeid>
<verified>true</verified>
</item>

I dont think there is any way to find this thumbnail using actionscripts.  Am I wrong?

For local thumb the script works fine though.
Logged
Pages: 1 [2] 3