Different Config Files for WOW

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
Fuergrissa
GamingTools Subscriber
Posts: 31
Joined: Fri Jul 16, 2004 2:46 am

Different Config Files for WOW

Post by Fuergrissa » Wed Dec 21, 2005 5:14 am

Lax,
I think WOW keeps its current user settings in config.wtf, is there a way i can get IS to use a different one for the 2 accounts i use, I use quite complicated login names and i know im sad but i cant remember them easily, it would be nice to choose either account when i load wow through IS.

I did a search for config.wtf and looked throught the posts but see nothing.

Sorry if its been asked before..

Mark

Jackalo
Non-Subscriber
Posts: 23
Joined: Wed Jun 22, 2005 6:07 pm

Post by Jackalo » Wed Dec 21, 2005 12:46 pm

I have a modified AutoLogin.iss script that takes a login and password as two parameters when calling the script, and I have two profiles set up for WoW, each one calling AutoLogin with a different username and password.

If you'd like, I can post it on ISMods and help you set it up, or you can wait on Lax. ; )

Fuergrissa
GamingTools Subscriber
Posts: 31
Joined: Fri Jul 16, 2004 2:46 am

Post by Fuergrissa » Wed Dec 21, 2005 1:31 pm

Thank you Jackalo that would be great.

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Wed Dec 21, 2005 4:30 pm

If you want, you can use file redirection in pre-startup to change config.wtf to any file of your choice, and it will use that instead. An example used for EQ1 is in DefaultPreStartup.iss

Code: Select all

    FileRedirect eqlsPlayerData.ini "eqlsPlayerData-${Profile}.ini"
    FileRedirect eqclient.ini "eqclient-${Profile}.ini"
    INIRedirect eqclient.ini * * "eqclient-${Profile}.ini" * *
EQ1 uses eqlsplayerdata.ini and eqclient.ini for settings. You'll note the INIRedirect command doing basically the same thing as the second FileRedirect -- this is because EQ1 uses eqclient.ini both as an INI file, and as a normal data file through the Win32 API. You only need to worry about FileRedirect for config.wtf.

Anyway, you can try this in your WoW game pre-startup:

Code: Select all

    FileRedirect config.wtf "config-${Profile}.wtf"

Jackalo
Non-Subscriber
Posts: 23
Joined: Wed Jun 22, 2005 6:07 pm

Post by Jackalo » Wed Dec 21, 2005 6:24 pm


Fuergrissa
GamingTools Subscriber
Posts: 31
Joined: Fri Jul 16, 2004 2:46 am

Post by Fuergrissa » Thu Dec 22, 2005 2:08 pm

ok i posted this

Code: Select all

  switch "${Game.Name}"
  {
  case EverQuest
    FileRedirect eqlsPlayerData.ini "eqlsPlayerData-${Profile}.ini"
    FileRedirect eqclient.ini "eqclient-${Profile}.ini"
    INIRedirect eqclient.ini * * "eqclient-${Profile}.ini" * *
    call EQSession
    break
  case Guild Wars
    noparse alias fullscreen "WindowSize -rescale -fullscreen;WindowPosition -stealth -viewable ${Display.DesktopX},${Display.DesktopY};fullscreenmouse"
    break
   [color=Red]case World of Warcraft
    FileRedirect config.wtf "config-${Profile}.wtf"
    break[/color]
into
PreInit.iss

is that right ?

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Fri Dec 23, 2005 2:22 am

PreInit.iss is no longer used. DefaultPreInit.iss is, but only because the default startup sequence uses it. You should just put it in the pre-startup sequence for WoW instead. Configuration -> Games -> WoW -> Pre-Startup, Add, name it, and use that as the command to execute, hit Apply

Fuergrissa
GamingTools Subscriber
Posts: 31
Joined: Fri Jul 16, 2004 2:46 am

Post by Fuergrissa » Fri Dec 23, 2005 2:27 pm

I tried it but it did not work.

I seached my HD for all files config*.wtf and only found one in the wtf folder of wow.

Post Reply