Results 1 to 30 of 45

Thread: -mod switch in BI

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Stuie's Avatar
    Join Date
    Aug 2001
    Location
    Upper Gwynedd, PA
    Posts
    406

    Default Re: -mod switch in BI

    Quote Originally Posted by JeromeGrasdyke
    That means that when you're making a mod this way, you're always starting from the Rome dataset, rather than the BI one. If you wanted to make a BI mod which leaves the original BI untouched you could write a little installer which made a copy of the BI directory, renamed it to 'minimod', then installed your extra changed files into it and added a program shortcut to the base directory called "Minimod" which starts rometw-bi.exe with '-mod:minimod' on the command line.
    Problem is, that's not working. I made an exact copy of the bi folder and changed nothing, created a new shortcut with -mod:bicopy on the command line, and I get an error:

    "Script Error in bicopy/data/descr_items.txt, at line 15, column 9.
    include file not found in data/descr_items/:'di_spot_items.txt'"

    Considering I changed absolutely nothing, just made a straight copy, that seems a bit problematic.
    Last edited by Stuie; 10-06-2005 at 17:59.

  2. #2
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: -mod switch in BI

    maybe you've missed descr_items.db ? I think that filetype is invisible if you have system files turned invisible, so you might have missed it if you copied all visible files and not the entire folder.
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  3. #3
    Member Member Stuie's Avatar
    Join Date
    Aug 2001
    Location
    Upper Gwynedd, PA
    Posts
    406

    Default Re: -mod switch in BI

    Quote Originally Posted by [cF]Adherbal
    maybe you've missed descr_items.db ? I think that filetype is invisible if you have system files turned invisible, so you might have missed it if you copied all visible files and not the entire folder.
    Nope - it's in there. Are you saying you tried this and it works for you?

  4. #4
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: -mod switch in BI

    no, just making sure. I just got BI today
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  5. #5
    CA CA JeromeGrasdyke's Avatar
    Join Date
    Dec 2002
    Location
    At a new top-secret (non-CA) location, surrounded by lots of steel and glass, high atriums, hordes of lovely marketing ladies, and with a new and spacious desk with plenty of room for body-moving.
    Posts
    257

    Default Re: -mod switch in BI

    Quote Originally Posted by Stuie
    Nope - it's in there. Are you saying you tried this and it works for you?
    It worked for me when I tried it a minute ago... so if it doesn't on a retail build for you guys post it here and I will get someone to look at it.

    Quote Originally Posted by player1
    Any chance of making "double fallback switch" for next patch. Would be great.
    The problem is that loading speed in such a system will take a pretty severe hit. But it is something that we may look into.

    Quote Originally Posted by lt1956
    Besides that Custom Battles will not work with the -mod: switch You can copy info and make a small mod that will load but using all the data from the vanilla the custom battles dont work just like in rtw 1.2
    Chances are quite good that we will end up doing a 1.3.1/1.4.1 set of patches to fix various issues like the savegame compatbility problem. Hopefully we will be able to look at this as well.
    "All our words are but crumbs that fall down from the feast of the mind."
    -- from 'The Prophet' by Kahlil Gibran

  6. #6
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: -mod switch in BI

    if you make a copy of the whole BI folder and run that custom battles work fine. I tried to work from there adding my mod's export_descr_units file etc but ended up with just the same problem: custom battles won't launch :(
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  7. #7
    Senior Member Senior Member Jambo's Avatar
    Join Date
    Jul 2002
    Location
    Athens of the North, Scotland
    Posts
    712

    Default Re: -mod switch in BI

    Can I just ask why custom battles are so important? Battle testing purposes?
    =MizuDoc Otomo=

  8. #8
    Bug Hunter Senior Member player1's Avatar
    Join Date
    Feb 2005
    Location
    Belgrade, Serbia
    Posts
    1,405

    Default Re: -mod switch in BI

    Quote Originally Posted by JeromeGrasdyke
    The problem is that loading speed in such a system will take a pretty severe hit. But it is something that we may look into.
    Then please do.
    Or you could add special switch for that purpose so that unmoded game doesn't suffer.


    Anyway -mod switch really needs to work well, to be accepted in mod community as default way of making mods.

    I mean backing up originals and replaing them for every mod gets tiresome after the while (and not user friendy).
    BUG-FIXER, an unofficial patch for both Rome: Total War and its expansion pack

  9. #9
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: -mod switch in BI

    Can I just ask why custom battles are so important? Battle testing purposes?
    well for a start it's very hard to start a mod if you can't even test whether your units work. The first step of porting a mod to BI would be getting the new units to work. But that fails so there's not much point in porting over anything else...

    and the campaign options seem to act weird too (clicking the option often gives a "select an option" dialog), but again there's not much point trying to figure that out if the custom battles won't start.
    Last edited by Lord Adherbal; 10-07-2005 at 16:23.
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  10. #10
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: -mod switch in BI

    I've tried the -mod switch with the RomeTW.exe and that seems to work fine (custom battles work). So it must be that the BI.exe needs a certain file in the BI folder, because it's syntax is slightly different from the RTW folder's equivalent. Or atleast that's my best guess.

    If only it would return some kind of error message... I wonder if Jerome could figure out why the custom battles fail ? It's really easy to repeat the problem:
    -create a new folder called "test" in the RTW root folder
    -create a data folder in this new folder
    -copy paste RTW's export_descr_units.txt file in this data folder
    -run the BI exe with "-mod:test" parameter
    -try starting a custom battle and notice how it won't start
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  11. #11
    Pertapa Member Anarchon's Avatar
    Join Date
    Dec 2007
    Location
    Jakarta, Indonesia
    Posts
    9

    Default Re: -mod switch in BI

    I would like to second this plea from Player 1. And make a suggestion and a request.
    "Or you could add special switch for that purpose so that unmoded game doesn't suffer.
    Anyway -mod switch really needs to work well, to be accepted in mod community as default way of making mods.
    I mean backing up originals and replaing them for every mod gets tiresome after the while (and not user friendy)."

    Suggestion:
    In "Campaign" folders (RTW/Data/World/Maps/Campaign/Players_Mod_Name/) Please make it possible to create a duplicate of the directory tree for the core game. This could be any part of the tree however small or big. And you should only need to have files here which are different from the core game, so no need for 600 odd MB of files. And no need to load things like Myrrdal's 4 turns a year every time you load. Every Mod could then be launched as a Provincial Campaign. You wouldn't need to paste files back and forth every time you wanted to play a different mod or base game. Slitherine were able to implement this system for Spartan Mods very easily. It would make a huge difference in being able to have lots of other folks mods easily accessible and not crucifying your HD capacity. And making minor mods where one only wants a few changes.

    Request: Can someone point me to where there are instructions on using the -mod switch. I have searched the forums and can find lots of stuff on it except what it is and how to use it.

  12. #12
    Spends his time on TWC Member Simetrical's Avatar
    Join Date
    Dec 2004
    Location
    New York City
    Posts
    1,358

    Default Re: -mod switch in BI

    Quote Originally Posted by JeromeGrasdyke
    The problem is that loading speed in such a system will take a pretty severe hit. But it is something that we may look into.
    Why not just allow multiple specifications in the -mod switch? So -mod:rtr:bi would check the rtr folder first, then the bi folder, then the base folder, and -mod:custom:rtr:bi would check custom, then rtr, then bi, then base, but -mod:rtr would just check rtr and then base.

    I don't see why a quick scan of which folders are present followed by a quick scan of which files exist in the folders that are present should take much time, though, unless your hard drive is really slow.
    TWC Administrator

    MediaWiki Developer

  13. #13
    Bug Hunter Senior Member player1's Avatar
    Join Date
    Feb 2005
    Location
    Belgrade, Serbia
    Posts
    1,405

    Default Re: -mod switch in BI

    The old Civ3 already does it with expansions.
    Although it does have much less txt files (but there are unit animatiobs, graphics, etc...).

    P.S.
    I would definetly make bug-fixer this way (-mod), if all issues get resolved (double fallback, plus custom battles working). And I guess all moders would switch too, if it starts working in full glory.
    Last edited by player1; 10-14-2005 at 09:37.
    BUG-FIXER, an unofficial patch for both Rome: Total War and its expansion pack

  14. #14
    Seii Taishōgun 征夷大将軍 Member PROMETHEUS's Avatar
    Join Date
    Jul 2004
    Location
    La Città Eterna
    Posts
    2,857

    Default Re: -mod switch in BI

    It is working fine to me , what are the problems u are seeing?

    Creator of Ran no Jidai mod
    Creator of Res Gestae
    Original Creator of severall add ons on RTW from grass to textures and Roman Legions
    Oblivion Modder- DUNE creator
    Fallout 3 Modder
    Best modder , skinner , modeler awards winner.


    VIS ET HONOR

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