rem Batch file for starting the Virtual AGC LM simulation.
c:
cd \mingw\bin
if f==f%XPPRO% goto notxppro
  start /min "LMyaAGC" yaAGC --core=Luminary131.bin --port=19797 %2
  start "LMsimulator" LM_Simulator "--cfg=lm_simulator.ini" 
  SimStop LMyaAGC LMsimulator
  goto done
:notxppro
  start /min yaAGC --core=Luminary131.bin --port=19797 %2
  start LM_Simulator "--cfg=lm_simulator.ini" 
:done

