Page 1 of 2 12 LastLast
Results 1 to 30 of 60

Thread: Dragon MTW Editor

  1. #1

    Arrow Dragon MTW Editor

    Hi all,

    I wrote my own MTW editing tool: Dragon MTW Editor. If anyone would like to give it a try it can be found here:

    Dragon MTW Editor – RAR file
    or
    Dragon MTW Editor – ZIP file

    Current version of Dragon MTW Editor is: (Beta) v 1.0.1663.18722


    It is beta version so not everything is finished and polished yet. I have few more ideas which wait for implementation, but as far as I can tell completed part works fine.

    Features
    • Configurable interface
    • Unit definition file editing
    • Building definition file editing
    • Projectile definition file editing
    • Description file editing
    • Names file editing
    • Background editing of DEADPAGE COORDS.TXT file
    • Easy way of switching models for given unit
    • Fast links between unit records and description/names records
    • Easy way of creating new units based on existing ones
    • Function to check DEADPAGE COORDS.TXT file for errors
    • Function to fix DEADPAGE COORDS.TXT file automatically
    • Viewing graphics files (BIF, LBM, TGA and more)
    • Converting graphics files



    There is document attached to this pack where you can find more info, or if you prefer reading it online here is link:

    Dragon MTW Editor description

    If anyone would like to give me some feedback (bug reports, development ideas) you can send me e-mail at:

    Maul011@wp.pl



    Have fun



    Known bugs/issues



    v 1.0.1654.25009

    * Because native .NET platform character coding (internal coding not default coding of text files) is UNICODE some characters from Descriptions.txt and Names.txt won’t display properly in Dragon MTW Editor. This applies to characters with codes from 128 to 160.


    v 1.0.1653.40247

    * Extended ASCII characters are converted to UTF-8 encoding counterparts in Descriptions.txt and Names.txt (Fixed in v 1.0.1654.25009)


    v 1.0.1651.33397

    * Slow menus – sometimes, especially with multi-level menus, when final menu item (providing some function) is clicked menu closes without launching action associated with selected menu item.


    v 1.0.1632.13633

    * Program throws exception when you try save file/files before loading anything. (Fixed in v 1.0.1635.30143)


    v 1.0.1629.22356

    * Program throws exception when navigating beyond last record in Names or Details browsers (Fixed in v 1.0.1630.19918)

    * Program may reformat header of UNIT_PROD file slightly. Even though modified file is perfectly readable for both MTW game and Editor itself. (Fixed in 1.0.1632.13633)

    * Empy strings in The body type column may cause program to throw exception (Fixed in 1.0.1632.13633)


    v 1.0.1628.15527

    * Program may fail to load moded startpos files (Fixed in v 1.0.1629.22356)


    v 1.0.1627.13217

    * Problems editing files with broken headers. File loads properly but program may throw out exception when traversing data. (Fixed in 1.0.1628.15527 - Now the program will not throw exception when traversing data but description in Info window can be irrational if header is broken.)

    * Program throws exception when trying to load file if MTW Installation Path is not set correctly. (Fixed in 1.0.1628.15527)

    * Right after program start Detail windows shows all available interfaces. (Fixed in 1.0.1628.15527)


    v 1.0.1626

    * Save errors - null string reports. (Fixed in 1.0.1627.12850)



    New features:



    v 1.0.1663.18722

    * Improved BIF support


    v 1.0.1657.29830

    * Few more options for manipulating multi-frame BIFs added.


    v 1.0.1653.40247

    * Support for saving LBM graphic files


    v 1.0.1651.33397

    * Picture viewer – by default it displays graphics associated with currently selected unit/building. Control over picture viewer (i.e. switching between different graphics) can by accessed through popup menu (right-click). Picture viewer can be used independently also (use right-click popup menu). In this case loading/saving is served by functions in File menu


    v 1.0.1643.26720

    * Interface smoothing and polishing

    * Option automatically fixing DEADPAGE COORDS.TXT file. This function moves entries present in DEADPAGE COORDS.TXT but absent in UNIT_PROD file to the end of DEADPAGE COORDS.TXT file. It also adds entries missing in DEADPAGE COORDS.TXT file whenever it can find proper template for missing entry.


    v 1.0.1639.29340

    * Interface smoothing and polishing


    v 1.0.1635.30143

    * Function checking DEADPAGE COORDS.TXT file for error. It can be accessed through Edit / Data Set operations menu. At this stage this function checks DEADPAGE COORDS.TXT in conjunction with currently loaded UNIT_PROD file only. Function reports entries missing in DEADPAGE COORDS.TXT file and those which do not have their counterparts in UNIT_PROD file.

    * Detail window behaviors have been upgraded. Now buttons Prev and Next can be pressed only in case when selected cell holds more than one list of values.


    v 1.0.1632.13633

    * Two new edit options for Building browser:
    - Fast link to corresponding entry in DESCRIPTIONS.TXT file
    - Fast link to corresponding entries in NAMES.TXT file

    * Proper indexing added for Names/Descriptions files

    * Insert/Delete line options added for Names/Descriptions files


    v 1.0.1628.20311

    * New set of functions which enable loading/saving rather separate files than whole sets of files have been added. Use them with caution when using together with standard load/save functions since it is easy to accidentally and unwillingly overwrite original files.




    Cheers
    Maul




  2. #2
    Master of Few Words Senior Member KukriKhan's Avatar
    Join Date
    Jun 2001
    Posts
    10,415

    Default

    Welcome to the .Org Maul. You sure know how to make an entrance

    Many thanks for your contribution. I'm sure the Mod-mob will be deeply interested.
    Be well. Do good. Keep in touch.

  3. #3

    Default

    Thank you Maul


    Moderators

    Could this go to the Alchemist Lab

    CZoF




  4. #4
    Dyslexic agnostic insomniac Senior Member Goofball's Avatar
    Join Date
    Jan 2004
    Location
    Victoria, British Columbia
    Posts
    4,211

    Default

    Hello all. I'm mod-challenged myself. Can someone tell me if this new tool will do things that the Gnome editor can't?
    "What, have Canadians run out of guns to steal from other Canadians and now need to piss all over our glee?"

    - TSM

  5. #5
    Destroyer of Gauls Member bighairyman's Avatar
    Join Date
    Jul 2003
    Location
    What's that behind YOU!!!!!!
    Posts
    643

    Default

    Quote Originally Posted by [b
    Quote[/b] ]I wrote my own MTW editing tool. If anyone would like to give it a try it can be found here:

    Dragon MTW Editor
    All i see was chinese words in it.
    No poor bastard ever won a war by dying for his country. He won it by making other bastards dying for their country.

    The draft is white people sending black people to fight yellow people to protect the country they stole from red people.

    why would anybody want to touch a girl's butt? Bart Sim

  6. #6

    Default

    Dragon MTW Editor requires Microsoft .NET 1.1 environment. You can get it here:

    http://search.microsoft.com/search....qu=.net

    CZoF

  7. #7
    Member Member Kaatar's Avatar
    Join Date
    Jan 2004
    Location
    Dublin, Ireland
    Posts
    251

    Default

    I couldn't get it to work either. Is this what I have to download to make it work?

    Microsoft .NET Framework Redistributable
    http://www.majorgeeks.com/downloa....b6c7eb3

    Currently downloading it and wondering if I'm wasting my time.

    The tool sounds great
    May your first child be a masculine child.

  8. #8
    The Abominable Senior Member Hexxagon Champion Monk's Avatar
    Join Date
    Jan 2003
    Location
    YU-ESS-AY
    Posts
    6,667

    Default

    Welcome to the Org Maul

    I can't comment on the tool as i'm downloading now, but i will be sure to tell you what i think once i try it out.

    Thanks




  9. #9
    warning- plot loss in progress Senior Member barocca's Avatar
    Join Date
    Dec 2000
    Location
    (*disclaimer* - reality may or may not exist, in some societies reality is a crime, punishable by life)
    Posts
    5,341

    Default

    the rar file does indeed display in IE as gibberish text,

    right click and save as,
    put it in its own folder

    THEN open the folder,
    select tools/folder options/view
    then unclick hide file extensions
    then rename the file to
    DragonMTWEditor.rar

    then you can open it with any rar capable extractor.


    REMEMBER this is a beta - it may not function 100% just yet,
    we are asked to bug report and make suggestions,
    email the author and dont be mean,

    if it does not work as you expect outline clearly what went wrong and what error message you receieved.

    B.



    The winds that blows -
    ask them, which leaf on the tree
    will be next to go.

  10. #10

    Default

    There are reports concerning problems with RAR downloads so I added ZIP version. Here it is:

    dragonmtweditor.zip

    I hope it helps.

    BTW Is there any way I can edit my own posts? It would be more convenient to update initial post on top of the thread than add new.

  11. #11

    Default

    I've installed the DragonEditor and I have .net 1.1, but I get an error when I try to load a file. Here's the error report:
    -----------------------

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.IO.DirectoryNotFoundException: Could not find a part of the path I:\Program Files\Total War\Napoleonic - Total War\campmap\startpos.
    at System.IO.b77a5c561934e089/system.windows.forms.dll
    ----------------------------------------
    System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0b03f5f7f11d50a3a/system.drawing.dll
    ----------------------------------------
    System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0b77a5c561934e089/system.###.dll
    ----------------------------------------
    WeifenLuo.WinFormsUI
    Assembly Version: 0.9.2.3
    Win32 Version: 0.9.2.3
    CodeBase: file:///C:/Program%20Files/Total%20War/NTW%20extras/Supplementary%20Stuff/DragonEditor/WeifenLuo.WinFormsUI.DLL
    ----------------------------------------
    MagicLibrary
    Assembly Version: 1.7.4.0
    Win32 Version: 1.7.4.0
    CodeBase: file:///C:/Program%20Files/Total%20War/NTW%20extras/Supplementary%20Stuff/DragonEditor/MagicLibrary.DLL
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just in time (JIT) debugging, the config file for this
    application or machine (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:





    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the machine
    rather than being handled by this dialog.

  12. #12
    warning- plot loss in progress Senior Member barocca's Avatar
    Join Date
    Dec 2000
    Location
    (*disclaimer* - reality may or may not exist, in some societies reality is a crime, punishable by life)
    Posts
    5,341

    Exclamation

    ntw15
    you have accidently used the following as the default pathCode Sample :\Program Files\Total War\Napoleonic - Total War\campmap\startpos[/QUOTE]

    you need to run the editor,
    click File (top left corner)
    then Set MTW Install Path
    and browse ONLY AS FAR AS
    Code Sample :\Program Files\Total War\Napoleonic - Total War[/QUOTE]

    then all will be fine

    B.



    The winds that blows -
    ask them, which leaf on the tree
    will be next to go.

  13. #13
    Master of Few Words Senior Member KukriKhan's Avatar
    Join Date
    Jun 2001
    Posts
    10,415

    Default

    Quote Originally Posted by [b
    Quote[/b] (Maul @ June 15 2004,11:36)]BTW Is there any way I can edit my own posts? It would be more convenient to update initial post on top of the thread than add new.
    That involves issues of national security and requires vetting from no less than 3 independent sources.

    However: in your case, since you come bearing gifts, do this:

    Place your left hand on your copy of Medieval TotalWar, raise your right hand and swear

    a) that you are not a Greek bearing a wooden horse
    b) that you've read the forum rules, and shall abide, and
    c) you don't mind saying that Kukri is a fine fellow.

    We'll get you editing rights and move this topic to the Dungeon, where it best belongs.

    p.s. you can skip the c) bit, just my silly idea of fun.
    Be well. Do good. Keep in touch.

  14. #14

    Default

    In Poland we say: “Don’t pretend to be Greek” when someone is trying to fool you especially when someone obviously guilty plays innocent.

    So
    Quote Originally Posted by [b
    Quote[/b] ]Place your left hand on your copy of Medieval TotalWar
    done

    Quote Originally Posted by [b
    Quote[/b] ]raise your right hand and swear
    impossible, since I’m merely human being and I enjoy only two hands I can not rise my right hand while typing this text, with my left hand you know where.

    Quote Originally Posted by [b
    Quote[/b] ]a) that you are not a Greek bearing a wooden horse
    If you mean Dragon MTW Editor saying “wooden horse” then I must announce I never heard of such thing. Any attempt to connect me to previous post concerning this topic is just mare mystification and hostile setup.
    But any way I would like to be able to edit my posts so I can keep up to date initial post in this very thread

    Quote Originally Posted by [b
    Quote[/b] ]b) that you've read the forum rules, and shall abide
    Yes I did and, yes I will.

    Quote Originally Posted by [b
    Quote[/b] ]c) you don't mind saying that Kukri is a fine fellow.
    So much time and effort put into running this sit and this board (I mean TotalWar.Org)… I’m pretty sure you are fine fellow Kukri.

    Cheers
    Maul

  15. #15
    Member Member Hetman's Avatar
    Join Date
    Mar 2004
    Location
    Poland
    Posts
    244

    Default

    Good to see You Maul. Welcome to the ORG

    Check 'XVI-XVII mod' in Eng. Guild You might be interested in joining to the team.

    I'll dawnload Your editor, very usefull. Congratulations

    Regards Cegorach/Hetman

  16. #16

    Default

    New version deployed: (Beta) 1.0.1628.20311

    Same links as before, just updated packs:

    DragonMTWEditor.rar

    dragonmtweditor.zip

    Changes/bugfixes

    v 1.0.1627.13217

    Problems editing files with broken headers. File loads properly but program may throw out exception when traversing data. (Fixed in 1.0.1628.15527 - Now the program will not throw exception when traversing data but description in Info window can be irrational if header is broken.)

    Program throws exception when trying to load file if MTW Installation Path is not set correctly. (Fixed in 1.0.1628.15527)

    Right after program start Detail windows shows all available interfaces. (Fixed in 1.0.1628.15527)



    v 1.0.1626

    Save errors - null string reports. (Fixed in 1.0.1627.12850)

    Cheers
    Maul

  17. #17

    Default

    Thanks maul

    It's [Fex] time.

  18. #18
    Ceasar Member octavian's Avatar
    Join Date
    Feb 2004
    Location
    Burlington ON
    Posts
    1,575

    Default

    hey Greg (or Kukri) i think this is worth a promotion eh?? *nudge*
    60+ new units – including the mighty Indian War Elephants, Persian immortals and Indian naked female archers.

  19. #19

    Default

    There is new option for loading and saving files in v 1.0.1628.20311. It enables loading/saving rather separate files than whole sets of files. I added this feature more for testing and debugging purpose than for any other reason so you should treat those functions as unsupported. They work smoothly when used standalone but may generate unexpected result when used together with standard Load Config Files / Save Config Files functions. (You may very easily accidentally replace some files and edit functions working on whole sets may produce wired results.) So be careful.

    Cheers
    Maul

  20. #20

    Default

    New version deployed: (Beta) 1.0.1629.22356

    Same links as before, just updated packs:

    DragonMTWEditor.rar

    dragonmtweditor.zip

    Known bugs/issues

    v 1.0.1628.15527

    *Program may fail to load moded startpos files (Fixed in v 1.0.1629.22356)

    Cheers
    Maul

  21. #21
    Master of Few Words Senior Member KukriKhan's Avatar
    Join Date
    Jun 2001
    Posts
    10,415

    Default

    Quote Originally Posted by [b
    Quote[/b] (octavian @ June 16 2004,20:14)]hey Greg (or Kukri) i think this is worth a promotion eh?? *nudge*
    working on it, mate, should happen soon.
    Be well. Do good. Keep in touch.

  22. #22
    Member Member ah_dut's Avatar
    Join Date
    May 2004
    Location
    London England
    Posts
    2,292

    Default

    Quote Originally Posted by [b
    Quote[/b] (octavian @ June 17 2004,06:14)]hey Greg (or Kukri) i think this is worth a promotion eh?? *nudge*
    so do i

  23. #23
    Scruffy Looking Nerf Herder Member Steppe Merc's Avatar
    Join Date
    Mar 2004
    Location
    New Jersey, USA
    Posts
    7,907

    Default

    Right, tried to get this thingy to work on my Fall of Rome mod, clicked on load config, clicked on an era, but got:
    An unhandeled execption has occured in your application. If you Continue, the application will ignore this error and attempt to continue, If you click Wuit, this application will shut down immediately. Object referene not set to an instance of an object.
    If I click continue, I don't get anything about units. Trying it on another mod now....
    Same thing happened with BKB's mod and HTW.




    "But if you should fall you fall alone,
    If you should stand then who's to guide you?
    If I knew the way I would take you home."
    Grateful Dead, "Ripple"

  24. #24

    Default

    Thanks Steppe Merc for your report

    I would appreciate if you could mail me copy of UNIT_PROD file which fail to load. It will let me look into this issue. Copy of info reported by program when throwing exception would be helpful also (text which shows up when you click Detail button).

    BTW
    I have HTW installed myself and I do not experience difficulties loading its files.

    Cheers
    Maul

  25. #25
    Scruffy Looking Nerf Herder Member Steppe Merc's Avatar
    Join Date
    Mar 2004
    Location
    New Jersey, USA
    Posts
    7,907

    Default

    Check your mail, Maul. Just gimme an email if I didn't do the right thing.

    "But if you should fall you fall alone,
    If you should stand then who's to guide you?
    If I knew the way I would take you home."
    Grateful Dead, "Ripple"

  26. #26

    Default

    When I try to open the editor it gives me a message saying:

    DragonTWEditor.exe-Aplication Error

    The aplication failed to initialize properly(0xc0000135). Click OK to terminate the application.

    Can someone help please.

  27. #27

    Default

    Never min I figured it out. Great job Maul.

  28. #28
    King of Macedon Member themonkey's Avatar
    Join Date
    May 2004
    Location
    I'm in jail, they said I need a ugly bloke to bail me,how long will you be?
    Posts
    145

    Default

    Yeh Maul this should help a lot with ireland Mod
    Changing Name Soon

    Macedon: Total War
    A modification for Rome : Total War


    Macedon total War needs your help!,send me a PM if you want to help in any way!

    Campiagn Map makers especially!

  29. #29

    Question

    PLease can u help me i have no idea wht so ever on who to get this editor to work this message keeps popping up. The aplication failed to initialize properly(0xc0000135). Click OK to terminate the application. Please tell me how u get it to work thnxs

  30. #30
    Unfrequent Visitor Member tombom's Avatar
    Join Date
    Dec 2003
    Location
    England
    Posts
    257

    Default

    I think the application failed to initalise bugs are when .NET 1.1 doesn't install properly as that happened with me.

    Also, Super Early units file from BkB's super high mod doesn't work.

    Welcome to the forum, Vincenzo Morello (can't ... remember.. name)



    caesar44 is having a system failure Claudius. He no longer has a head, on the count of it exploding. - Wonderland in this thread

Page 1 of 2 12 LastLast

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