Jump to content

tripleap74

Member
  • Posts

    0
  • Joined

  • Last visited

About tripleap74

tripleap74's Achievements

  1. So, I am trying to use .bat files to simulate rounds of a tournament. Here is a sample of the kind of code I am currently using: set rounds=1 set p1=Example1 set p2=Example2 set st=kfm.def "mugen.exe" -rounds %rounds% -p1 "%p1%" -p2 "%p2%" -s %st% -p1.color 1 -p2.color 2 -p1.ai 8 -p2.ai 8 set rounds=1 set p1=Example3 set p2=Example4 set st=kfm.def "mugen.exe" -rounds %rounds% -p1 "%p1%" -p2 "%p2%" -s %st% -p1.color 1 -p2.color 2 -p1.ai 8 -p2.ai 8 The way I am currently doing this, I would have to manually change every name in the .bat file to then run another tournament. I was curious how to go about automating the process with something along the lines of reading a character list and looping down the character list. I’m sure there are other, better ways of doing this that I am not thinking of so any suggestions would be greatly appreciated.
×
×
  • Create New...