Results 1 to 25 of 25

Thread: Using Develpoment/Benchmark Mode

  1. #1
    Tournaments Won: 11

    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    32,701
    vCash
    400000

    Using Develpoment/Benchmark Mode

    I have the databases from the Tactic Challenges somewhere so I'll post a screenshot of the line you need to edit in bench.bat to change the number of instances.

    Install Tapani 2.19 or 2.20 patch and check the Development/Benchmark Mode checkbox

    Add eval.bat and bench.bat to the Championship Manager 01-02 folder (found here)

    Create a new save game (minimum database works best)

    Open bench.bat in notepad

    Change the line 'set nof_threads=%NUMBER_OF_PROCESSORS%' to the number of instances you want to run concurrently.

    start /b cm0102.exe -load 000.sav to name of the save game. In the case below it is 001_Dermo.sav




    When it's up and running the above should produce this:



    (even though the instances will stack on top of each other, not spread out like the image)
    Last edited by Dermotron; 11-05-15 at 08:35 PM.

  2. The Following User Says Thank You to Dermotron For This Useful Post:


  3. #2
    Tournaments Won: 11

    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    32,701
    vCash
    400000
    Open bench.bat in notepad

    Pretty sure you change the 'set nof_threads=2' to change the amount of instances

    change the 001.sav to the name of the save game you are using for the testing


  4. The Following User Says Thank You to Dermotron For This Useful Post:


  5. #3

    Join Date
    13-04-15
    Posts
    43
    vCash
    500
    That pretty much looks greek to me but i'll give it a whirl

  6. #4

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Dermotron View Post
    Open bench.bat in notepad

    Pretty sure you change the 'set nof_threads=2' to change the amount of instances

    change the 001.sav to the name of the save game you are using for the testing

    Where can I find bench.bat? Is that all you need to run multiple test seasons?

  7. #5
    Tournaments Won: 11

    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    32,701
    vCash
    400000
    Install any 2.19 or 2.20 Tapani patch and check the Development/Benchmark Mode checkbox and it will be in your Championship Manager folder after the patch has been installed
    Last edited by Dermotron; 11-05-15 at 11:13 AM.

  8. The Following 2 Users Say Thank You to Dermotron For This Useful Post:


  9. #6

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Dermotron View Post
    Install any 2.19 or 2.20 Tapani patch and check the Development/Benchmark Mode checkbox and it will be in your data folder after the patch has been installed
    That did not work. Nothing there. I am sure I downloaded the file from the site a while back, though.

  10. #7
    Tournaments Won: 11

    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    32,701
    vCash
    400000
    Indeed, have a read of the OP for the 2.19 thread, there are 2 files that need downloading - http://www.champman0102.co.uk/showthread.php?t=1434

  11. The Following 2 Users Say Thank You to Dermotron For This Useful Post:


  12. #8

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Dermotron View Post
    Indeed, have a read of the OP for the 2.19 thread, there are 2 files that need downloading - http://www.champman0102.co.uk/showthread.php?t=1434
    I downloaded the two files. Benchmark start one instance of cm0102 after another and never seems to stop opening new ones
    There's an error message that the command SLEEP is not recognised with each new instance.
    In the end I restarted my computer because it got into an endless loop.

  13. #9

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Jesus View Post
    For what it is worth I'd love to get involved with this.
    Have you been able to successfully use bench.bat?

  14. #10
    Tournaments Won: 1

    Join Date
    04-03-12
    Posts
    3,492
    vCash
    681
    I have in the past using the database which Tapani put together (think it was in the Greek league and had a load of stuff stripped back so it was lightening quick)

  15. #11
    Tournaments Won: 1

    Join Date
    04-03-12
    Posts
    3,492
    vCash
    681
    Quote Originally Posted by Jesus View Post
    I have in the past using the database which Tapani put together (think it was in the Greek league and had a load of stuff stripped back so it was lightening quick)
    To add to this, I've used the bench.bat to run instances outside of that save game/database that Tapani put together. I tactic tested a few of my own creations using it.

  16. #12

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Jesus View Post
    I have in the past using the database which Tapani put together (think it was in the Greek league and had a load of stuff stripped back so it was lightening quick)
    I can test one season at a time very quickly using cmpatcher-2.20.1 and setting it at maximum speed provided the save-file has been created with a minimal database and some other options disabled.

    I can not test multiple seasons as bench.bat puts my computer in a loop and gives error messages as well.

    I don't mind helping out testing NWW tactics, though, even if it's a season at a time.

  17. The Following User Says Thank You to samsami For This Useful Post:


  18. #13

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Easy Rider View Post
    Nice to see that you also have the drive to pull this off
    Already downloaded the two .bat files and i'm testing them as we speak. I hope I don't get pulled into that loop.
    Keep me posted. I triŽd the bench.bat several times and it loads endlessly, saying "SLEEP is not recognised as an internal or external command...." and than keeps trying and loading. Even CTR-ALT-DEL won't work!

    This is the text of the batch file:

    @echo off
    set nof_threads=2
    for /L %%i in (0,1,%nof_threads%) do mkdir dup%%i
    set CM3_PREFS=%CD%
    set i=0
    :run_next
    set CM3_TEMP=%CD%\dup%i%
    start /b cm0102.exe -load feyenoord.sav
    sleep 3
    set /a 1+=1
    if %i% LSS %nof_threads% goto run_next

    But I forget that you can't read this because your computer is in a loop now of course

  19. #14

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Jesus View Post
    To add to this, I've used the bench.bat to run instances outside of that save game/database that Tapani put together. I tactic tested a few of my own creations using it.
    See my comment about the batch file, above.

  20. #15
    Tournaments Won: 11

    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    32,701
    vCash
    400000
    Did you add eval.bat to the CM folder too?

    I've updated the OP to have a sort of guide in it (even though it's just what Tapani describes in the 2.19 thread)

  21. The Following User Says Thank You to Dermotron For This Useful Post:


  22. #16

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Easy Rider View Post
    The more the merrier



    That would be great my Lord
    And you already know how to "walk on these waters", for all I can see



    Nice to see that you also have the drive to pull this off
    Already downloaded the two .bat files and i'm testing them as we speak. I hope I don't get pulled into that loop.
    Any luck?

  23. #17

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Easy Rider View Post
    Already downloaded the two .bat files and i'm testing them as we speak. I hope I don't get pulled into that loop.
    Any luck?

    This is what bench.bat looks like as I use it and as it puts my computer in an endless loop.
    It also gives an error saying that SLEEP is not recognised as internal or external command with each loop.
    Is there something wrong here?

    @echo off
    set nof_threads=2
    for /L %%i in (0,1,%nof_threads%) do mkdir dup%%i
    set CM3_PREFS=%CD%
    set i=0
    :run_next
    set CM3_TEMP=%CD%\dup%i%
    start /b cm0102.exe -load feyenoord.sav
    sleep 3
    set /a 1+=1
    if %i% LSS %nof_threads% goto run_next
    Last edited by samsami; 12-05-15 at 02:23 PM.

  24. #18

    Join Date
    01-04-12
    Posts
    10
    vCash
    500
    I have downloaded the eval.bat and bench.bat and put it in my cm3 directory.
    I have not installed any tapani patches, I only have 3.68 with the april2015 dataupdate.

    When I launch eval.bat, it starts up cm, but only 1 instance. The default setting is 8 instances.
    The seven others says: cm3 is already running on this machine.

    My computer is running Win7 Home Premium.

    What is limiting the number of cm3-instances I can run?

  25. #19
    Tournaments Won: 11

    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    32,701
    vCash
    400000
    As far as I know you need to have the Tapani patch installed as there is Development/Benchmark Mode check box on the installation page of the patch. If you don't want to play the game with it applied, just uninstall it when you are finished testing.

  26. #20

    Join Date
    13-04-15
    Posts
    43
    vCash
    500
    Quote Originally Posted by samsami View Post
    Any luck?
    All good mate



    Changed bench.bat to 5 instances and runs ok.
    Altough I did had to make a copy of the game's folder into the desktop and run it from there to make it work. Had some denied accesses before.

  27. #21

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Which line do you mean to make it 5 instances?
    And what does sleep 3 mean?

    @echo off
    set nof_threads=2
    for /L %%i in (0,1,%nof_threads%) do mkdir dup%%i
    set CM3_PREFS=%CD%
    set i=0
    :run_next
    set CM3_TEMP=%CD%\dup%i%
    start /b cm0102.exe -load feyenoord.sav
    sleep 3
    set /a 1+=1
    if %i% LSS %nof_threads% goto run_next

  28. #22
    Tournaments Won: 11

    Join Date
    15-12-11
    Location
    Your Mother
    Posts
    32,701
    vCash
    400000
    Moved the posts in here so the NWW thread doesn't get derailed.


    Read the first post in here regarding the number of instances. Sleep refers to the delay between when each instance starts

  29. The Following User Says Thank You to Dermotron For This Useful Post:


  30. #23

    Join Date
    27-10-14
    Location
    The Netherlands
    Posts
    7,123
    vCash
    0
    Quote Originally Posted by Dermotron View Post
    Moved the posts in here so the NWW thread doesn't get derailed.
    Read the first post in here regarding the number of instances. Sleep refers to the delay between when each instance starts
    Thanks! And yes, it's crystal clear now and it seems to work as long as I copy the cm0102 folder with everything in it to my desktop and work from there, same as Easy Rider said he had to do.

    So I'm all set now

  31. The Following User Says Thank You to samsami For This Useful Post:


  32. #24

    Join Date
    15-12-13
    Location
    Sheffield, usually.
    Posts
    183
    vCash
    500
    I get a disk space error and benchmarking won't load the save at all. There is no disk space problem though?

    When I close it to desktop it says I need Direct X and for my graphics to support 16-bit colour??

  33. #25

    Join Date
    15-12-13
    Location
    Sheffield, usually.
    Posts
    183
    vCash
    500
    Further to my above post, I've screenied the errors that I am getting...





    When it quits to desktop I have this message:



    I should add that the game runs fine when not in bench mode.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •