Jump to content


Photo

.....help From Tha Coding Gods!


  • Please log in to reply
3 replies to this topic

#1 motofo

motofo

    X-S Member

  • Members
  • Pip
  • 86 posts

Posted 18 April 2005 - 01:33 AM

Was wondering if it is possible to edit an .ini file in the root of the E partition from a config panel?
Heres my idea, just dont know where to start or if possible. uhh.gif
Make a seperate config panel that would edit the x2config.ini on the root of the E drive. We would then have customizable bios from within the dash biggrin.gif

#2 JbOnE

JbOnE

    X-S Expert

  • Head Moderators
  • PipPipPip
  • 526 posts
  • Gender:Male
  • Xbox Version:v1.4
  • 360 version:unknown

Posted 18 April 2005 - 05:42 AM

var X2Ini = new Settings;
X2Ini.file = "e:\\x2config.ini";
X2Ini.SetValue( "flubberAnimationNumber", "2" );

that'll allow you to write a setting to the ini no problem. i wouldn't sweat it though - it's already in the works as i'm working with team xecuter to make the ani even more configurable as well as let you use custom .x meshes smile.gif

JbOnE

#3 motofo

motofo

    X-S Member

  • Members
  • Pip
  • 86 posts

Posted 18 April 2005 - 07:08 AM

Sweet, you ROCK Jbone, Keep up the great work! Lookin forward to the next version beerchug.gif

Edited by motofo, 18 April 2005 - 07:09 AM.


#4 motofo

motofo

    X-S Member

  • Members
  • Pip
  • 86 posts

Posted 18 April 2005 - 12:45 PM

After reading Jbones reply it dawned on me.......make the x2 config skin specific!
So in default.xip/skin.xap
look for function DoAction()
and paste this function under it
CODE
function ConfigX2()
{
   if(theHardDrive.FileExists( "A:\\skins\\" + SkinMenuList[skinSelect] + "\\x2config.ini" ) == true)
   {
       theHardDrive.DeleteThisFile( "e:\\x2config.ini" );
       theHardDrive.CopyThisFile( "A:\\skins\\" + SkinMenuList[skinSelect] + "\\x2config.ini", "e:\\x2config.ini" );
   }
}

then scroll down to function OnADown()
and make it look like this
CODE
function OnADown()
       {
                       ConfigX2();
                       DoAction();
       }

Then just setup a x2config.ini to match your skin and put it in that skins folder!
When you choose a skin that has a x2config.ini it will change it! biggrin.gif
NOW my ani matches my skin beerchug.gif

Ohhhh yeah....for tha noobs...YOU MUST BE USING Xecuter2 5022 bios





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users