Help - Search - Members - Calendar
Full Version: Anyone Wanna Update Some Scripts
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official MediaXMenu (MXM) Forum > MXM ActionScripting Forum
Jezz_X
Does anybody want to update the Xbox NameChange and the IP Change scripts to the latest wips using the virtual keyboard.

The entry maker script has got me spoilt on it now wink.gif
geniusalz
Xbox name change should become a three/four line script now
Same with IP changer laugh.gif
flattspott
Well I considered making and Xbox Name (Nickname) switcher. But, even with the WIP's the only pratical way to do this would be to have a folder or something with several alternate XBN files to copy around. So you'd still have to to hex edit the XBN file on your PC (several times) depending on the number of avaible Nicknames you want
Yuyu
All you need to do for the name changer script is edit the preferences node, where the nickname tag is, in the mxm.xml... SHould not be that hard I think... Then they can just edit there nick with the Keyboard...
flattspott
I'm talking about the NICKNAME.XBN file found in E:\UData. The one for system link gaming.
Yuyu
YEah whenever you change your nick in the MXM preferences that is your Xbox's nick for System Link... MXM edits that file for you when you set your nick...

Thats why all you need to do is edit the .xml
flattspott
Really? I didn't know that.
Jezz_X
Well I ended up doing the name change one myself if your interested
OH and you need a WIP of MXM cause it uses the new virtual keyboard
Hope the forum dosn't screw up the layout

CODE

;##################################################
;#  Name: Name Changer
;#  Author:koldfuzion updated by Jezz
;#  Date: 15-2-2004
;#  File Name:NameChanger2.xas
;#  Version: 1.0
;#  Purpose: Allow user to change the xbox name.
;##########################################################

;--------  check for MXM.XML  -----------
SETFUNC XMLOK FileExists MXM.XML
IF# %XMLOK% == 1 GOTO XMLGOOD
IF# %XMLOK% == 0 GOTO XMLBAD
GOTO QUIT

:XMLGOOD
XMLOPEN TestXML $actualpath$\mxm.xml
XMLGetNodePtr TestXML XMLPtr
XMLGetValue TestXML Nickname !.Preferences.Nickname
IF "%Nickname%" != "" GOTO CONTINUENAME
IF "%Nickname%" == "" GOTO CREATENODE

:CREATENODE
XMLCreateNode TestXML NickName
XMLSetValue TestXML !.Preferences.Nickname "$Name$"

:CONTINUENAME
XMLSetNodePtr TestXML !.Preferences.Nickname
XMLGetNodePtr TestXML XMLPtr
XMLGetValue TestXML Nickname !.Preferences.Nickname



SET _kbInput "%Nickname%"
StringInput _kbInput SINGLE "Your Current XBox NickName is %Nickname%$eol$ Enter a new title or leave the same to exit"
IF "%_kbInput%" == "%Nickname%" GOTO QUIT


:ACCEPTED
 XMLSetValue TestXML !.Preferences.Nickname "%_kbInput%"
 XMLSAVE TestXML $actualpath$\mxm.xml
 XMLCLOSE TestXML
 BeginDraw UseCurrent
   MessageBox "Your new xbox name is %_kbInput%$eol$$eol$The Name Change will take effect$eol$when MXM is restarted$eol$$eol$Press X to Reboot Now$eol$Press ANY OTHER Button to Reboot Later"
 EndDraw
 Input
   If %_GP_X% == "1" GOTO REBOOT
QUIT


:REBOOT
reboot
quit

:QUIT
QUIT

:XMLBAD
QUIT
flattspott
I'm no scripting expert but the XMLBAD part would be better if it were

:XMLBAD
MsgBox "No MXM.xml found$eol$unable to proceed"
Quit

This way they don't think the script isn't working.
Jezz_X
Probably but thats how the original was I just ripped out the old VirtKeybored stuff and added in the inbuilt keybord of the wips
Jezz_X
Well I got around to changeing the IP Changer one as well now so heres updated versions of both the should work fine I did test them

You need a mxm version with the virtual keyboard

IP CHANGER

XBOX NAME CHANGER
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.