test content
What is the Arc Client?
Install Arc

CommandAliases.txt

Archived PostArchived Post Posts: 1,156,071 Arc User
edited July 2011 in Controls and Interface
Hello all,

I hope that someone here can help. I have been trying to set up some aliases using CommandAliases.txt, and I can not get it to work. The aliases work if I copy and paste each Alias command into the game, but CO doesn't seem to be picking up the txt file.

The path to my game exe is:

"C:\Users\Public\Games\Cryptic Studios\Champions Online.exe"

I have put CommandAliases.txt in:

C:\Users\Public\Games\Cryptic Studios\Champions Online\Live\Localdata\CommandAliases.txt

And it just don't work. Does anyone have any suggestions?

Thanks a million,
SB
Post edited by Archived Post on

Comments

  • Archived PostArchived Post Posts: 1,156,071 Arc User
    edited July 2011
    Could you attach your CommandAliases.txt so we could take a look at it? One thing to keep in mind is that unlike a bind file, where you leave out the word bind, you actually need to have "alias " at the start of each line.
  • Archived PostArchived Post Posts: 1,156,071 Arc User
    edited July 2011
    Try this instead:
    C:\Users\Public\Games\Cryptic Studios\Champions Online\Live\CommandAliases.txt
  • Archived PostArchived Post Posts: 1,156,071 Arc User
    edited July 2011
    Could you attach your CommandAliases.txt so we could take a look at it? One thing to keep in mind is that unlike a bind file, where you leave out the word bind, you actually need to have "alias " at the start of each line.

    I'm just doing the multicolor thing from that stickied thread...in that place...with the things. Anyway, here it is:

    alias hue360 "powerhue 0 360$$alias hue hue75"
    alias hue75 "powerhue 0 75$$alias hue hue150"
    alias hue150 "powerhue 0 150$$alias hue hue225"
    alias hue225 "powerhue 0 225$$alias hue hue300"
    alias hue300 "powerhue 0 300$$alias hue hue15"
    alias hue15 "powerhue 0 15$$alias hue hue90"
    alias hue90 "powerhue 0 90$$alias hue hue165"
    alias hue165 "powerhue 0 165$$alias hue hue240"
    alias hue240 "powerhue 0 240$$alias hue hue315"
    alias hue315 "powerhue 0 315$$alias hue hue30"
    alias hue30 "powerhue 0 30$$alias hue hue105"
    alias hue105 "powerhue 0 105$$alias hue hue180"
    alias hue180 "powerhue 0 180$$alias hue hue255"
    alias hue255 "powerhue 0 255$$alias hue hue330"
    alias hue330 "powerhue 0 330$$alias hue hue45"
    alias hue45 "powerhue 0 45$$alias hue hue120"
    alias hue120 "powerhue 0 120$$alias hue hue195"
    alias hue195 "powerhue 0 195$$alias hue hue270"
    alias hue270 "powerhue 0 270$$alias hue hue345"
    alias hue345 "powerhue 0 345$$alias hue hue60"
    alias hue60 "powerhue 0 60$$alias hue hue135"
    alias hue135 "powerhue 0 135$$alias hue hue210"
    alias hue210 "powerhue 0 210$$alias hue hue285"
    alias hue285 "powerhue 0 285$$alias hue hue360"
    alias hue "hue360"

    I just copied-and-pasted into Notepad, so nothing exotic.
  • Archived PostArchived Post Posts: 1,156,071 Arc User
    edited July 2011
    oddTodd wrote:
    Try this instead:
    C:\Users\Public\Games\Cryptic Studios\Champions Online\Live\CommandAliases.txt

    I'll try that when I get home from work. Thanks for the help, oddTodd and descriptivist!
  • Archived PostArchived Post Posts: 1,156,071 Arc User
    edited July 2011
    SusieBot wrote:
    I'll try that when I get home from work. Thanks for the help, oddTodd and descriptivist!

    Hmm, my suggestion may not help. It's the bind files that go in there, not the text files. Two other things to check:

    1. Are you running off Steam? If so, the folder is in a different place.
    2. Do you have "Hide known file extensions" checked in Windows? You may accidentally be naming the file CommandAliases.txt.txt!
  • Archived PostArchived Post Posts: 1,156,071 Arc User
    edited July 2011
    oddTodd wrote:
    Hmm, my suggestion may not help. It's the bind files that go in there, not the text files. Two other things to check:

    1. Are you running off Steam? If so, the folder is in a different place.
    2. Do you have "Hide known file extensions" checked in Windows? You may accidentally be naming the file CommandAliases.txt.txt!

    1.) Nope.
    2.) Nope -- I double-checked the properties page for that file, and it's definitely CommandAliases.txt.

    I'm wondering if the game is maybe looking in a hard-coded path (somewhere under Program Files, maybe?). I may try putting just the CommandAliases.txt file in that location.

    And come to think of it, I can't get bind_load_file to work either, even passing the full path. Maybe it's a permissions issue?

    Edit: Neither of those things worked. I think I am out of ideas.
  • Archived PostArchived Post Posts: 1,156,071 Arc User
    edited July 2011
    SusieBot wrote:
    1.) Nope.
    2.) Nope -- I double-checked the properties page for that file, and it's definitely CommandAliases.txt.

    I'm wondering if the game is maybe looking in a hard-coded path (somewhere under Program Files, maybe?). I may try putting just the CommandAliases.txt file in that location.

    And come to think of it, I can't get bind_load_file to work either, even passing the full path. Maybe it's a permissions issue?

    Edit: Neither of those things worked. I think I am out of ideas.

    Try a bind_save_file with a distinct file name, then see where it ends up on your drive. Maybe it's something non-obvious, though I don't know why that would be.

    P.S. If it turns out you are testing on the PTS but putting the files in the Live directory, I'm going to reach through my monitor and slap you.
  • Archived PostArchived Post Posts: 1,156,071 Arc User
    edited July 2011
    oddTodd wrote:
    Try a bind_save_file with a distinct file name, then see where it ends up on your drive. Maybe it's something non-obvious, though I don't know why that would be.

    Great idea! Unfortunately, it showed up right where you'd expect it:

    C:\Users\Public\Games\Cryptic Studios\Champions Online\Live\foofoofoo.txt
    oddTodd wrote:
    P.S. If it turns out you are testing on the PTS but putting the files in the Live directory, I'm going to reach through my monitor and slap you.

    Oh, uh...huh. Oops.

    No, just kidding -- I don't even have the test version set up.

    Edit: SUCCESS!

    I re-downloaded the files from the posting, and it magically worked. I must have jacked something up with the filenames, or introduced a typo at some point.

    Thanks for your help; I should have thought to try that ages ago.
Sign In or Register to comment.