Cossacks 3 (unofficial) Mod Editor 1.3.1

Discussion in 'Modding' started by Lieutenant-Général, Mar 30, 2017.

  1. Lieutenant-Général

    Lieutenant-Général Active Member

    Hello!

    I'm happy to show you my Mod Editor! (version 1.3.1)
    Download it here (34Mb) and unpack where you want.
    (it is the same archive than cossacks3 upgrades editor)
    sources
    [​IMG]

    What can do it?
    Isn't a very complex tools.
    First, press "New Mod" and choose name of your mod. Next, click on "Add text file" and choose a file in data/script. When the file is load (this can take few seconds for huge files), you can modify file in left panel. In right panel, you see every time base file.
    To modify an other file, load it with "add text file" button and click on it name.
    When you finish your modifications, click and save and the Mod Editor will write all modify files in cossacks3/mods/[your mod name] folder with hierarchy.
    To open and modify a mod, just press "open mod" and select cossacks3/mods/[mod directory]

    This tool don't modify in any way games files.

    Warning : for the moment, editor no support non-text file.
    Warning : if cossacks isn't installed in "C:\Program Files (x86)\Steam\steamapps\common\Cossacks 3", please set the correct emplacement in config menu.

    C3ME is available in English, Ukrainian, Russian and French, you can change language in config menu.

    Please tell me any bugs occurred!

    Wip Version 1.7.0
    > Add a button to c3ue

    Wip Version 1.6.0
    > Add a search function

    Wip Version 1.5.0
    > Add syntax highlighting

    Wip Version 1.4.0
    > Remove "[*]=;" of *.inc files in editor view

    Version 1.3.1
    >Fix an option save error

    Version 1.3.0
    >Fix path error of original file.
    >Now you can't write in text layout without open a file.
    >Modified lines are colored:
    >>Green in modded layout.
    >>Red in original layout.

    Version 1.2.1
    >Add Ukrainian and Russian translations (thanks to Mark Kandaurov)

    Version 1.2.0
    >Add a button "option"
    >Add a menu option with
    >> choice of cossacks3 directory
    >>choice of C3ME appearance
    >>choice of language.

    Version 1.1.0
    >Add a button "New File" to add new text files to your mod.
    >Add files full path above text layout.
    >Fix error occurred when user try to open mod that contain images.
    >Fix error occurred when user try to open mod that contain non-original games files.
    >Fix error occurred in certain case when user load a mod.
    >Fix minor error.

    Version 1.0.1
    >Fix and error occurred when user change default path.
    >Fix a display error occurred when user delete an item.

    Version 1.0.0
    >Initial realease

    Topic en français : http://www.cossacks3.com/forum/index.php?threads/cossacks-3-unofficial-mod-editor.29504/
     
    Last edited: May 3, 2017
    Mark Kandaurov and Foeurdr like this.
  2. A. Soldier

    A. Soldier Active Member

    Good, well done.
     
    Lieutenant-Général likes this.
  3. Mark Kandaurov

    Mark Kandaurov Well-Known Member

    Looks cool :)
     
    Lieutenant-Général likes this.
  4. General WVPM

    General WVPM Member

    So, it's like Winmerge and mod manager at once?
    Bravo!
     
    Lieutenant-Général likes this.
  5. Lieutenant-Général

    Lieutenant-Général Active Member

    Not now, for future maybe, it is hard to code!
    At the moment you can only see original file, without any highlight.

    I hope one day i release a program without stupid error....
     
    General WVPM likes this.
  6. Mark Kandaurov

    Mark Kandaurov Well-Known Member

    Can't open my mod..
    upload_2017-3-31_0-5-41.png
    I just chose the folder of my mod in the '\Cossacks 3\mods\' folder
    And my Steam folder is on D:\ disk
    V.1.0.1
     
    Last edited: Mar 30, 2017
  7. Lieutenant-Général

    Lieutenant-Général Active Member

    First, you have to change
    " cossacks3path = C:\Program Files (x86)\Steam\steamapps\common\Cossacks 3"
    by
    " cossacks3path = D:\Program Files (x86)\Steam\steamapps\common\Cossacks 3"
    in "settings.ini"

    I will fix this error for v1.1, program read your "mod.ini" and think it is a modified file, so it search original "mod.ini" file in cossacks3 directory. But obviously it don't find it...
     
  8. Mark Kandaurov

    Mark Kandaurov Well-Known Member

    Still cant open it. What exactly I am doing wrong?
     

    Attached Files:

  9. Lieutenant-Général

    Lieutenant-Général Active Member

    Is not your fault, i will fix this error tomorrow.
     
  10. Mark Kandaurov

    Mark Kandaurov Well-Known Member

    Ok, I will wait
     
  11. Lieutenant-Général

    Lieutenant-Général Active Member

     
  12. Lieutenant-Général

    Lieutenant-Général Active Member

    If anyone want translate my tool, tell me it!
     
  13. Mark Kandaurov

    Mark Kandaurov Well-Known Member

    I can translate to Russian and Ukrainian
     
  14. Lieutenant-Général

    Lieutenant-Général Active Member

    Please open "lang.ini", select all text from "[EN]" to "[FR]" excluded and paste at the end of the file. Then, replace "[EN]" by "[UK]" and for each
    line "varname = text" translate only right part "text" in Ukrainian
    Repeat for Russian translation. (with of course "[RU]" in place of "[UK]").

    Then, send me the modified "lang.ini".
    Thank ;)
     
  15. Mark Kandaurov

    Mark Kandaurov Well-Known Member

  16. Mark Kandaurov

    Mark Kandaurov Well-Known Member

    Can you add a feature to open both files in Araxis Merge / WinMerge by clicking one button?
    It will be very useful
     
    Last edited: Mar 31, 2017
  17. Lieutenant-Général

    Lieutenant-Général Active Member

    I work on implementation of a winmerge-like syntax inside c3me.
     
    Mark Kandaurov likes this.
  18. Lieutenant-Général

    Lieutenant-Général Active Member

    But you can select all text inside a layout using "ctrl+A"
     
  19. Lieutenant-Général

    Lieutenant-Général Active Member

    [​IMG]

    Highlighting difference between files ok, i will add Pascal syntax highlight and it will be ok for 1.3.0.
     
    General WVPM likes this.
  20. Mark Kandaurov

    Mark Kandaurov Well-Known Member

    If you finish all the features - there will be an excellent program for modders.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice