xboxscene.org forums

Author Topic: Need Some Help With Uxa Importing  (Read 113 times)

Lehrin

  • Archived User
  • Newbie
  • *
  • Posts: 6
Need Some Help With Uxa Importing
« on: January 12, 2005, 01:50:00 PM »

I'm just getting into skinning, I've made one or two of my own and want to import UnleashX Blue so I can do some customizing and I keep getting an error. I'm hoping someone can point out where it is the error is coming up... i don't see any <Length> argument. Or is it that one is missing? I don't know where it would go, though.
Thanks in advance for any help.
-Lehrin

Here's the error:

************** Exception Text **************
System.ArgumentException: Argument 'Length' must be greater or equal to zero.
   at MS.VisualBasic.Strings.Left(String str, Int32 Length)
   at UXArchitect.Module1.xprFontName(String nFont)
   at UXArchitect.Module2.readUXxml(String nfile)
   at UXArchitect.frmMain.MenuItem15_Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItemData.Execute()
   at System.Windows.Forms.Command.Invoke()
   at System.Windows.Forms.Control.WmCommand(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolBar.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This is the skin.xml:
<Skin name="UnleashX Blue">
   <Information>
     <Author>Athloni</Author>
   <Version>1</Version>
   <Copyright>2004</Copyright>
   </Information>
   <Main Globe="True" Orb="True" Fog="True">
     <Background>fog.png</Background>
     <Orb>orb_und.png</Orb>
     <Cellwall>Cell.png</Cellwall>
     <Image>bgms.png</Image>
     <Image Source="GameIcon" />
     <Image Left="130" Top="118" Width="110" Height="110" Source="GamePreview" />
     <Image Left="90" Top="83" Width="233" Height="233" Opacity="100">orb_up.png</Image>
     <Menu Smooth="False" Align="Left" ShowArrows="True" Rotate="False" ShowIcon="False" Scroll="True">
      <font>Crystal_clear_14.xpr</font>
      <Position Left="365" Top="75" Width="250" Height="254" Fixed="False" FixAt="1" MaxItem="8">
      </Position>
      </Menu>
      <Text Left="375" Top="27" Align="Left" Color="0xFF034D7C" Source="$Time$"></Text>
      <Text Left="510" top="27" Align="Left" color="0xFF034D7C" source="$Date$"></Text>
      <Text Left="500" Top="340" Align="Left" Color="0xFF034D7C" Source="CPUTemp"></Text>
      <Text Left="500" Top="358" Align="Left" Color="0xFF034D7C" Source="MBTemp"></Text>
      <Text Left="345" Top="344" Align="Left" Color="0xFF034D7C" Source="Tray"></Text>
      <Text Left="30" Top="370" Align="Left" Width="320" Color="0xFF034D7C" Source="SongName" Scroll="1"></Text>
      <Text Left="30" Top="10" Align="Left" Color="0xFF034D7C" Source="E_FreeMB"></Text>
      <Text Left="30" Top="35" Align="Left" Color="0xFF034D7C" Source="F_FreeMB"></Text>
      <Text Left="460" Top="450" Align="Right" Color="0xFF034D7C" Source="IP"></Text>
      <Text Left="570" Top="450" Align="Right" Color="0xFF034D7C" Source="NumClient"></Text>
   </Main>
   <LoadingScreen>
   <Background>loading.png</Background>
   </LoadingScreen>
   <ColorScheme >
      <AMBIENT_FOGCOLOR>0xFF010931</AMBIENT_FOGCOLOR>
      <AMBIENT_SKYCOLOR>0x00000000</AMBIENT_SKYCOLOR>
      <AMBIENT_CELLCOLOR>0xFFFFFFFF</AMBIENT_CELLCOLOR>

         <CAPTION_TEXTCOLOR>0xFFFFFFC0</CAPTION_TEXTCOLOR>
         <CAPTION_BACKCOLOR>0xFF000000</CAPTION_BACKCOLOR>
         <DIALOG_BORDERCOLOR>0xFFFFFFFF</DIALOG_BORDERCOLOR>
         <DIALOG_BACKCOLOR>0xCD1E34F2</DIALOG_BACKCOLOR>
         <DIALOG_INNER_BORDERCOLOR>0xFFFFE2B4</DIALOG_INNER_BORDERCOLOR>
         <DIALOG_INNER_BACKCOLOR>0xE1003399</DIALOG_INNER_BACKCOLOR>
         <DIALOG_TEXTCOLOR>0xFFFFFFFF</DIALOG_TEXTCOLOR>
         <DIALOG_DISABLEDTEXT>0x7F0000C0</DIALOG_DISABLEDTEXT>
         <OPTION_TEXTCOLOR>0xFFFFFFFF</OPTION_TEXTCOLOR>
         <OPTION_ACTIVETEXTCOLOR>0xFF40FFFF</OPTION_ACTIVETEXTCOLOR>
         <OPTION_ACTIVEBACKCOLOR>0xFF000080</OPTION_ACTIVEBACKCOLOR>
         <BUTTON_BORDERCOLOR>0xFFFFE2B4</BUTTON_BORDERCOLOR>
         <BUTTON_TEXTCOLOR>0xFF993300</BUTTON_TEXTCOLOR>
         <BUTTON_BACKCOLOR>0xCD1E34F2</BUTTON_BACKCOLOR>
         <BUTTON_ACTIVETEXTCOLOR>0xFFFFFFFF</BUTTON_ACTIVETEXTCOLOR>
         <BUTTON_ACTIVEBACKCOLOR>0xE1003399</BUTTON_ACTIVEBACKCOLOR>
         <KB_KEYBG_HIGHLIGHT>0xcc0000C0</KB_KEYBG_HIGHLIGHT>
         <KB_KEYBG_DISABLED>0xffc0c0c0</KB_KEYBG_DISABLED>
         <KB_KEY_PRESSED>0xff808080</KB_KEY_PRESSED>
         <KB_KEY_NORMAL>0xff000000</KB_KEY_NORMAL>
         <KB_KEY_DISABLED>0xff808080</KB_KEY_DISABLED>
         <KB_KEY_ACTIVEBORDER>0xff0000FF</KB_KEY_ACTIVEBORDER>
         <KB_KEY_TEXTCOLOR>0xff000000</KB_KEY_TEXTCOLOR>
         <KB_KEY_TEXTBACKCOLOR>0xffFFFFFF</KB_KEY_TEXTBACKCOLOR>
         <KB_KEY_TEXTBORDERCOLOR>0xff0000FF</KB_KEY_TEXTBORDERCOLOR>
         
      <MENU_TEXTCOLOR>0xFF3170CE</MENU_TEXTCOLOR>
      <MENU_ACTIVETEXTCOLOR>0xFF72BCFF</MENU_ACTIVETEXTCOLOR>
      <MENU_ACTIVEBACKCOLOR>0x00000000</MENU_ACTIVEBACKCOLOR>
      <MENU_ACTIVEBORDERCOLOR>0x00000000</MENU_ACTIVEBORDERCOLOR>
      <MENU_BORDERCOLOR>0x00000000</MENU_BORDERCOLOR>
      <MENU_BACKCOLOR>0x00000000</MENU_BACKCOLOR>
   </ColorScheme>
</Skin>
Logged

jonathan2007

  • Archived User
  • Hero Member
  • *
  • Posts: 575
Need Some Help With Uxa Importing
« Reply #1 on: January 13, 2005, 07:50:00 PM »

wink.gif   beerchug.gif
Logged

Lehrin

  • Archived User
  • Newbie
  • *
  • Posts: 6
Need Some Help With Uxa Importing
« Reply #2 on: January 13, 2005, 09:21:00 PM »

QUOTE(jonathan2007 @ Jan 13 2005, 07:21 PM)
Yeah see it doesn't say it was made using UX Architect so you cannot open it correctly. HectoBleezy only promised that UXA could 100 percent open UXA created skins and Unleash Blue was not created with UXA. And I wouldn't have expected Hecto to have made it so that every frickin' skin ever made could be opened using that because so many skins use bogus tags and other crap that it would just be an endless task. So to answer your question you cannot open this skin using UXA because it was not originally made using UXA. It is not UXA's fault.  wink.gif   beerchug.gif


I'm sorry, but I don't think you're right. While I acknowledge that UXA can't take into account every possible tag in the world, I have a hard time believing that it wouldn't import a skin that wasn't made with UXA. First of all, if that were true, it wouldn't be called "importing." Second of all, all that UXA puts into the skin.xml files about itself is this: <Skinner Name="UX Architect" Version="1.0x" /> (where x changes) and putting that into the skin.xml that I'm trying to import doesn't stop it from crashing.
At this point, it doesn't really matter because I've given up on trying to import it and I'm just going to rebuild it by hand, but I'm sure that there is something in that .xml file that is making it crash, and it's not the lack of the <Skinner> tag.
Logged

jonathan2007

  • Archived User
  • Hero Member
  • *
  • Posts: 575
Need Some Help With Uxa Importing
« Reply #3 on: January 15, 2005, 07:19:00 AM »

wink.gif
Logged