Results 1 to 9 of 9

Thread: .bat file issue.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member Senior Member Carl's Avatar
    Join Date
    Dec 2006
    Posts
    1,461

    Default .bat file issue.

    I've got a .bat file set up so that it creates a new .cfg file for my mod when the mod is installed, but everytime I try to run the damm file i get a "windows cannot find the specified file" message and it dosen't run.

    Here's the code:

    Code:
    @echo off
    cls
    copy PFP Heading.txt+medieval2.preference.cfg ProblemFixerPure.cfg
    A very simila peice of code for a diffnt mod of mine works fine without a hitch. Code:

    Code:
    @echo off
    cls
    copy PF-headercfg.txt+medieval2.preference.cfg ProblemFixer.cfg
    Any ideas what the hell is wrong with this thing as it's been driving me nuts.
    Find my ProblemFixer Purehere.

    This ProblemFixer fixes the following: 2-Hander bug, Pike Bug, Shield Bug, Chasing Routers, Cav not Charging, Formation Keeping Improved, Trait Bugs, and Ancillary Bugs.

    BETA Testers needed for the current version of RebuildProblemFixer. Thread here

  2. #2
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: .bat file issue.

    Should be "PFP Heading" (with quotation marks)

  3. #3
    blaaaaaaaaaarg! Senior Member Lusted's Avatar
    Join Date
    Feb 2005
    Posts
    1,773

    Default Re: .bat file issue.

    See i just use this in LTC:

    @echo off
    cls
    copy headercfg.txt+medieval2.preference.cfg landstoconquer.cfg

  4. #4
    Senior Member Senior Member Carl's Avatar
    Join Date
    Dec 2006
    Posts
    1,461

    Default Re: .bat file issue.

    Managed to solve it, on my own. I just took the space out of PFP Heading and it worked fine, but thanks for the help.

    I have another issue though.

    Everytime i start a campaign i get an unspecified error. Yet removing the Traits file seems to cure it.

    the problem is their aren't any clues as t the problem in the error log.

    Any ideas guys?
    Find my ProblemFixer Purehere.

    This ProblemFixer fixes the following: 2-Hander bug, Pike Bug, Shield Bug, Chasing Routers, Cav not Charging, Formation Keeping Improved, Trait Bugs, and Ancillary Bugs.

    BETA Testers needed for the current version of RebuildProblemFixer. Thread here

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: .bat file issue.

    Try enabling error tracing and see which trigger fired last.
    I only know that stuff from scripting where you have to be careful you don't trigger on stuff that is not yet in the game, but that can hardly be the case in the trait file because you have to trigger on a character export.

  6. #6
    Senior Member Senior Member Carl's Avatar
    Join Date
    Dec 2006
    Posts
    1,461

    Default Re: .bat file issue.

    How do you enable error tracing?

    Sorry for the dumb question.

    The annoying thing is that the exact same file works without a hitch in my Rebuild ProblemFixer. It's actually the same file with a couple of traits and their respective triggers commented out.
    Find my ProblemFixer Purehere.

    This ProblemFixer fixes the following: 2-Hander bug, Pike Bug, Shield Bug, Chasing Routers, Cav not Charging, Formation Keeping Improved, Trait Bugs, and Ancillary Bugs.

    BETA Testers needed for the current version of RebuildProblemFixer. Thread here

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO