xboxscene.org forums

Pages: [1] 2

Author Topic: Chilin Dude Response  (Read 588 times)

LarryX

  • Archived User
  • Newbie
  • *
  • Posts: 26
Chilin Dude Response
« on: March 20, 2004, 07:46:00 AM »

The thread you posted in is just for Action Script Postings...


It looks to me that the xas can't find pwscreen.xas...  

In line 12 - $actualpath$ tells you where MXM is run from... So if you launch MXM as a dashboard from c:\ then $actualpath$ = c:\ ...   Just make sure that the callfile line points to pwscreen.xas.... there are several others in the xas.

I use my own variables to define paths...  Load the following code in MXM.xml Autoexec... Edit the paths to your situation....

line 12: callfile %_scriptpath%pwscreen.xas

CODE
;#
;#Set MXM Scripting Enviroment Path Variables
;#auto load in AutoExec in MXM.xml
;#


SET _scriptpath "c:\\mxm\\mxmscripts\\"
SET _gamepath "f:\\games\\"
;SET _appspatch "f:\\apps\\"
;SET _skinpath "c:\\mxm\\mxmskins\\"
;SET _mediapath "e:\\mxmmedia\\"
;SET _thumbspath "e:\\mxmmedia\\"
;SET _coverartpath "e:\\mxmmedia\\"
 
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Chilin Dude Response
« Reply #1 on: March 20, 2004, 08:03:00 AM »

Thanks for the reply, so say if i'm runnning from E:\Scripts\pw.xas
Then i have to change $actualpath$\scripts\pwscreen.xas to E:\Scripts\pw.xas and do that all the way through?
edit: nope thats wrong, i have to add that stuff quoted into the mxm.xml!

This post has been edited by chilin_dude: Mar 20 2004, 04:05 PM
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Chilin Dude Response
« Reply #2 on: March 20, 2004, 08:14:00 AM »

Still can't figure it out, I get this screen:
(IMG:http://homepage.ntlworld.com/angela.taylor47/SCRCAP_0004.JPG)
And this is how I have changed the MXM.XML to try to do what  you said

QUOTE

;#
;#Set MXM Scripting Enviroment Path Variables
;#auto load in AutoExec in MXM.xml
;#


SET _scriptpath "e:\\scripts\\"
SET _gamepath "E:\\games\\"
;SET _appspatch "E:\\apps\\"
;SET _skinpath "c:\\skins\\"
;SET _mediapath "e:\\mxmmedia\\"
;SET _thumbspath "e:\\mxmmedia\\"
;SET _coverartpath "e:\\mxmmedia\\"
<Config>
<Main>
<DiscTitle>Rich Xbox</DiscTitle>
<DiscSubtitle>Rich Xbox </DiscSubtitle>
<AllowAutoConfig>No</AllowAutoConfig>
<SkinsPath>C:\Skins</SkinsPath>
</Main>
</Config>
Logged

flattspott

  • Archived User
  • Hero Member
  • *
  • Posts: 1220
Chilin Dude Response
« Reply #3 on: March 20, 2004, 08:26:00 AM »

Firs off if you plan on doing it the LarryX way, it would be like this.

%_ScriptPath%pw.xas

Second, it looks to me like you didn't do the autoexec part correctly. Should be..

CODE



SET _ScriptPath E:\scripts\
SET _GamePath E:\games\
SET _AppPath E:\apps\
SET _SkinPath C:\skins\
SET _MediaPath E:\mxmmedia\
SET _ThumbPath E:\mxmmedia\
SET _CoverPath E:\mxmmedia\




And qoutes are ONLY needed when the path has spaces in it.

This post has been edited by flattspott: Mar 20 2004, 04:32 PM
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Chilin Dude Response
« Reply #4 on: March 20, 2004, 10:29:00 AM »

Ok I removed that from my MXM.XML and have added it to my menu.xml shown below
QUOTE

<Title>Fan Speed</Title>
<Description>Change Fan Speed</Description>
<Action>Callfile E:\Scripts\FanSpeed.xas</Action>
<Media>E:\MXM Videos\scripts.wmv</Media>
</Item>
<Item>
<Title>AutoExec</Title>
<Description>AutoExec</Description>
<Action>Callfile E:\Scripts\_AutoExec.xas</Action>
<Media>E:\MXM Videos\scripts.wmv</Media>
</Item>
</Submenu>
</menu>


So i ran AutoExec then went back and tried to launch a game I had passcoded and this time I got the screen where you got to put in the pascode
and the black screen with 5 boxes to put in my pasword comes up. However it then freezes before I press anything and says 'error line 81' and I have to turn off xbox then back on.
And to get to even be able to get to the password bit were it crashes I have to run AutoExec AGAIN!
Please help meeee
Logged

tayior7

  • Archived User
  • Full Member
  • *
  • Posts: 195
Chilin Dude Response
« Reply #5 on: March 20, 2004, 10:37:00 AM »

just now saw this post, so i modified the script so now you wont have to worry about the problem you guys are getting
CODE

Game1

 SET DIGIT1a A
 SET DIGIT2a B
 SET DIGIT3a X
 SET DIGIT4a Y
 SET DIGIT5a A
 SET PWSCRIPTPATH "E:\\scripts"
 SET PATHNAME "C:\\folder\\anotherfolder"
 SET FILENAME "default.xbe"
 Callfile %PWSCRIPTPATH%\pw.xas



that is how the new script works, so now the script can be run from anywhere.  hopefully the new version (1.1) will be on AXS soon

get it here
http://forums.xbox-scene.com/index.php?act...=0#entry1165411

This post has been edited by tayior7: Mar 20 2004, 06:50 PM
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Chilin Dude Response
« Reply #6 on: March 20, 2004, 10:44:00 AM »

Well I have got it working sort of, but i have to run Autoexec to get it to work!!!
Please can you just post the two scripts up here so i can create it in Notepad?
And btw do you plan on implementing a background image for it? As i think a 'Please enter password' windows style background would be good!
Logged

tayior7

  • Archived User
  • Full Member
  • *
  • Posts: 195
Chilin Dude Response
« Reply #7 on: March 20, 2004, 10:49:00 AM »

i didnt think u could add a bg image with the current public version?
anyways, heres a link to the scripts:
http://forums.xbox-scene.com/index.php?act...=0#entry1165411
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Chilin Dude Response
« Reply #8 on: March 20, 2004, 10:51:00 AM »

Hmm i have changed to the newer version that i dld off your ftp, however now it has gone back to the line 12 error!
edit: still got this on line 12
Callfile $actualpath$\scripts\pwscreen.xas
could this be the cause?

This post has been edited by chilin_dude: Mar 20 2004, 06:54 PM
Logged

tayior7

  • Archived User
  • Full Member
  • *
  • Posts: 195
Chilin Dude Response
« Reply #9 on: March 20, 2004, 10:52:00 AM »

where did u find
CODE
Callfile $actualpath$\scripts\pwscreen.xas

that isnt supposed to be there anymore  ohmy.gif


edit: my bad- i saved the wrong file DOH
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
Chilin Dude Response
« Reply #10 on: March 20, 2004, 10:59:00 AM »

Insert this above the problematic line:

CODE
Begindraw
messagebox $actualpath$\scripts\pwscreen.xas
enddraw

DELAY 5

Callfile $actualpath$\scripts\pwscreen.xas


Then run it, and see what exact path/filename its looking for, and verify it exists.  Remember to check for missing or double slashes and whatnot.
Logged

tayior7

  • Archived User
  • Full Member
  • *
  • Posts: 195
Chilin Dude Response
« Reply #11 on: March 20, 2004, 10:59:00 AM »

ok new (and hopefully fixed  biggrin.gif ) version is now up
http://forums.xbox-s...=0#entry1165411
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Chilin Dude Response
« Reply #12 on: March 20, 2004, 11:06:00 AM »

QUOTE (tayior7 @ Mar 20 2004, 08:59 PM)
ok new (and hopefully fixed  biggrin.gif ) version is now up
http://forums.xbox-s...=0#entry1165411

Yeah!!!!
Thats the one!
Works beautifully now!!
Is it possible to use this to password a folder?
Also would anyone have any idea how to add a background image?
Logged

tayior7

  • Archived User
  • Full Member
  • *
  • Posts: 195
Chilin Dude Response
« Reply #13 on: March 20, 2004, 11:29:00 AM »

hmm never really thought about doing it for a folder.. ill have to think about that one.  and about the image i think you migt be able to do it in the next release, but not positive
Logged

tayior7

  • Archived User
  • Full Member
  • *
  • Posts: 195
Chilin Dude Response
« Reply #14 on: March 20, 2004, 11:32:00 AM »

it might be possible to replace the built in password feature in internal.xml with mine, ill look into it later
Logged
Pages: [1] 2