HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 8,416 | Guests: 1194 | Members: 0 


   Current Location: Forums New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Old Xbox boot but wont load games or MS Dashboard   |   New google drive   |   Which modchip is this?   |   Anyone here capable or interested in restarting XBConnect?   |   Error code 05   |   original xbox with 0 memory   |   Why cell damage is low with ratings   |   Xbox-Hq.Com VIP Member Testimonials   |   XBHD: A Full-Featured Original Xbox Adapter from EON Gaming,   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Get Xbox Game Pass Ultimate
Xbox-Hq.Com :: View topic - String variables in UX config.xml?
Xbox-Hq.Com Forum Index -> XboxMediaCenter (XBMC) / Player Discussions (XBMP)
Post new topic Reply to topic    
 String variables in UX config.xml? View previous topic :: View next topic  
 
 
 
 
Scourge
Xbox-HQ Freak


Joined: Nov 08, 2004
Posts: 571
Location: Georgia, USA

Post Posted: Fri Dec 10, 2004 4:05 am   
Post subject: String variables in UX config.xml?
Reply with quote
 
Does anyone know if it is possible to use string variables in the UX config.xml file?
Heres what I want to do...
I have some passwords in the config file, all the same.
I want the password to be defined by a string variable, and the string variable to be defined int the beginning of the document.
This would allow the end-user (or me) to easily change the passwords without having to hunt through the whole document. Especially painful if using the virtual keyboard.

Something like:
pwd1$="xbox"
<List Text="System" Sort="Off" Auto="On" Password=pwd1$>

anyone know if this is kosher? am I missing anything? like the"<>"s

Also. can you put an expression along with a numerical variable in a skin's config file like you can with programming?

for instance taking the variable used in the place where free space of F: is displayed. Would it be ok to make the variable /1000 so that it shows only GB instead of a stupid long string of numbers? This would help clean up screen clutter and make it look better.

is this kosher?
<Text Left="35" Top="140" Align="Left" Color="0xFFFFFFFF" Source="F_FreeMB/1000"></Text>

of cource I would need to change the "MB" tag to "GB" later on in the file, right now Im just concerned with the number.

Thanks again!

_________________
-Scourge "Rx = +/_\"
a.k.a. President Skroob
The electronic ninja.

Xbox v1.6
Xenium Ice XOS v2.3
Xtender: Stock HDD+300G+300G
BIOS: Evox M8_16+
Dash: UX


View user's profile Send private message Send e-mail Visit poster's website
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
|
 All times are GMT | Page 1 of 1
Jump to:  
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
 


Get Xbox Game Pass Ultimate