Results 1 to 30 of 34

Thread: Custom Battle Roster? (Includes instructions for multiplayer battles)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Thaatu's Avatar
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    1,117

    Default Re: Custom Battle Roster?

    I get this after replacing the export_descr_unit.txt with either of the mp versions:

    "Script error in EB/data/export_descr_unit.txt, at line 1349, column 23.
    Could not find soldier battle model for unit type 'Arabian infantry redsea axemen'."

    ...and a ctd. This only happens with my brother's computer, and comes when loading the menu. With mine it works like a charm (except for the closing error message).

    Also what's the difference between the _custommp.txt and _mpcustom.txt?

  2. #2
    Member Member hoom's Avatar
    Join Date
    Oct 2002
    Location
    The country that replaced Zelix
    Posts
    1,937

    Default Re: Custom Battle Roster? (Includes instructions for multiplayer battles)

    Edit 5: I've made a .bat that swaps the EDUs as needed and can start the game automatically.

    It currently lets you choose between 6 options:
    configure EB for campaign
    configure EB for campaign and start EB
    configure EB for custom battles or multiplayer
    configure EB for custom battles or multiplayer and start EB
    exit and start EB
    exit without starting EB

    Some caveats:
    • EB 0.81a hotfix changes the "\EB\Data\export_descr_unit.txt" file but does not update the custommp or backup EDUs so don't use this with 0.81a until they are updated
    • It requires to be put in the "installpath\EB\" directory.
    • Because DOS doesn't like spaces in directory names (and/or I just don't know how to make a .bat to bypass the issue):
      You must rename the folders "\mp custom game edu\" and "\sp game edu backup\"
      to "\mp_custom_game_edu\" and "\sp_game_edu_backup\"
    • There are 2 custom/mp text files in the relevant directory, I'm not sure which is supposed to be used?:
      export_descr_unit_custommp.txt 362kb
      export_descr_unit_mpcustom.txt 361kb
      This code uses the export_descr_unit_custommp.txt but its an easy fix if it should be the other.
    • If someone could provide example files, I could alter it to change the menus so you can't accidentally load your campaign & break it because you used the custom battle/mp EDU...

    You can change your icon to point to the .bat instead of the RomeTW.exe if you don't want to browse to the folder all the time.

    So to the code:
    Code:
    @echo off
    rem -EDU swapper MK1.6 by Hoom 4/3/07
    rem -intended for use on Windows XP, not sure if it works on other windows versions
    rem -feel free to use and alter as needed, its a very basic .bat file...
    rem -Note: this file presumes it is placed in the \EB directory!
    
    rem -menu
    :menu
    
    rem -options
    echo.
    echo =================EDU swapper=================
    echo 1 to configure EB for campaign
    echo 2 to configure EB for campaign and start EB
    echo 3 to configure EB for custom battles or multiplayer
    echo 4 to configure EB for custom battles or multiplayer and start EB
    echo 5 to exit and start EB
    echo 6 to exit without starting EB
    echo.
    
    rem -the choice code
    set choice=
    set /p choice=choose an option:
    rem if not '%choice%'=='' set choice=%choice:~0,1%
    if '%choice%'=='1' goto campaign
    if '%choice%'=='2' goto campaignstart
    if '%choice%'=='3' goto custommp
    if '%choice%'=='4' goto custommpstart
    if '%choice%'=='5' goto endstart
    if '%choice%'=='6' goto end
    echo '%choice%' is not valid, please try again
    echo choose a number 1 to 6:
    goto menu
    
    rem -set for campaign EDU
    :campaign
    cls
    echo.
    echo You chose to configure EB for campaign
    echo.
    @echo on
    copy .\sp_game_edu_backup\export_descr_unit.txt .\Data\export_descr_unit.txt
    
    
    @echo off
    echo.
    echo EB is now configured for campaign
    goto menu
    
    rem -set for campaign EDU & start EB
    :campaignstart
    cls
    echo You chose to configure EB for campaign then start EB
    echo.
    @echo on
    copy .\sp_game_edu_backup\export_descr_unit.txt .\Data\export_descr_unit.txt
    
    
    @echo off
    goto endstart
    
    rem -set for custommp EDU
    :custommp
    cls
    echo.
    echo You chose to configure EB for custom battles or multiplayer
    echo.
    @echo on
    copy .\mp_custom_game_edu\export_descr_unit_custommp.txt .\Data\export_descr_unit.txt
    
    
    @echo off
    echo.
    echo EB is now configured for custom battle and multiplayer
    goto menu
    
    rem -set for custommp EDU & start EB
    :custommpstart
    cls
    echo You chose to configure EB for campaign then start EB
    echo.
    @echo on
    copy .\mp_custom_game_edu\export_descr_unit_custommp.txt .\Data\export_descr_unit.txt
    
    
    @echo off
    goto endstart
    
    rem -endstart
    :endstart
    cls
    echo.
    echo Now starting EB
    rem -start EB
    cd..
    start .\RomeTW.exe -mod:eb -nm -show_err
    exit
    
    rem -end without starting EB
    :end
    cls
    echo.
    echo You chose to exit without starting EB
    pause
    exit
    Last edited by hoom; 03-05-2007 at 21:40.
    maybe those guys should be doing something more useful...

  3. #3
    Speaker of Truth Senior Member Moros's Avatar
    Join Date
    Jan 2005
    Location
    Belgium
    Posts
    13,469

    Default Re: Custom Battle Roster?

    Quote Originally Posted by Thaatu
    I get this after replacing the export_descr_unit.txt with either of the mp versions:

    "Script error in EB/data/export_descr_unit.txt, at line 1349, column 23.
    Could not find soldier battle model for unit type 'Arabian infantry redsea axemen'."

    ...and a ctd. This only happens with my brother's computer, and comes when loading the menu. With mine it works like a charm (except for the closing error message).

    Also what's the difference between the _custommp.txt and _mpcustom.txt?
    one of the two computers has a bad install, I guess.

  4. #4
    Member Member Thaatu's Avatar
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    1,117

    Default Re: Custom Battle Roster?

    Quote Originally Posted by Moros
    one of the two computers has a bad install, I guess.
    Yeah, the other one had it bad. But still can't get the game data to match... Could it have something to do with preferences?

  5. #5
    Speaker of Truth Senior Member Moros's Avatar
    Join Date
    Jan 2005
    Location
    Belgium
    Posts
    13,469

    Default Re: Custom Battle Roster?

    try exchanging a map.rwm from the EB/data/world/maps/base folder. It normally should work then. Next patch should include a map.rwm and the problem should be solved.

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