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>