ToEEZ.ProtoEd

Discussion in 'General Modification' started by anatoliy, Jun 23, 2019.

Remove all ads!
  1. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    200
    Just wanted to share app ToEEZ.ProtoEd I've been working on for two last weeks.

    [​IMG]

    Still work in progress...
     
  2. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    200
    Illustair likes this.
  3. Illustair

    Illustair First Order Wizard

    Joined:
    Jan 14, 2011
    Messages:
    78
    Likes Received:
    11
    Hi. Thanks for the mod. But it prompts an "unhandled exception" as it "could not find a part of the path 'E:\Games\GOG\Temple of Elemental Evil\data\rules\protos" even when I chose the correct TOEE root folder. Any idea? And what should I put in the "Additional Protos Dir"?

    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 'E:\Games\GOG\Temple of Elemental Evil\data\rules\protos'.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileSystemEnumerableIterator`1.CommonInit()
    at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
    at System.IO.Directory.GetFiles(String path, String searchPattern)
    at ToEEZ.ProtoEd.ProtoFileBindingList.RefreshList()
    at ToEEZ.ProtoEd.ProtoFilesManager.Refresh()
    at ToEEZ.ProtoEd.MainForm.barButtonItem1_ItemClick(Object sender, ItemClickEventArgs e)
    at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
    at DevExpress.XtraBars.BarButtonItem.OnClick(BarItemLink link)
    at DevExpress.XtraBars.BarItemLink.OnLinkClick()
    at DevExpress.XtraBars.BarButtonItemLink.OnLinkClick()
    at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
    at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
    at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
    at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
    at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPressItem(DXMouseEventArgs e, RibbonHitInfo hitInfo)
    at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPress(DXMouseEventArgs e, RibbonHitInfo hitInfo)
    at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnUnPress(DXMouseEventArgs e, RibbonHitInfo hitInfo)
    at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnMouseUp(DXMouseEventArgs e)
    at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnMouseUp(DXMouseEventArgs e)
    at DevExpress.XtraBars.Ribbon.RibbonControl.OnMouseUp(MouseEventArgs e)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
    at DevExpress.XtraBars.Ribbon.RibbonControl.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    ToEEZ.ProtoEd
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Admin/AppData/Local/Apps/2.0/4WR15WVT.JTR/JM2DVOCZ.E2R/toee..tion_24d9d40ffcabd80d_0001.0004_4ae17c4e1b4bafd7/ToEEZ.ProtoEd.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9075.0 built by: NET481REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    DevExpress.BonusSkins.v17.2
    Assembly Version: 17.2.7.0
    Win32 Version: 17.2.7.0
    CodeBase: file:///C:/Users/Admin/AppData/Local/Apps/2.0/4WR15WVT.JTR/JM2DVOCZ.E2R/toee..tion_24d9d40ffcabd80d_0001.0004_4ae17c4e1b4bafd7/DevExpress.BonusSkins.v17.2.DLL
    ----------------------------------------
    DevExpress.Utils.v17.2
    Assembly Version: 17.2.7.0
    Win32 Version: 17.2.7.0
    CodeBase: file:///C:/Users/Admin/AppData/Local/Apps/2.0/4WR15WVT.JTR/JM2DVOCZ.E2R/toee..tion_24d9d40ffcabd80d_0001.0004_4ae17c4e1b4bafd7/DevExpress.Utils.v17.2.DLL
    ----------------------------------------
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    DevExpress.XtraBars.v17.2
    Assembly Version: 17.2.7.0
    Win32 Version: 17.2.7.0
    CodeBase: file:///C:/Users/Admin/AppData/Local/Apps/2.0/4WR15WVT.JTR/JM2DVOCZ.E2R/toee..tion_24d9d40ffcabd80d_0001.0004_4ae17c4e1b4bafd7/DevExpress.XtraBars.v17.2.DLL
    ----------------------------------------
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    DevExpress.XtraEditors.v17.2
    Assembly Version: 17.2.7.0
    Win32 Version: 17.2.7.0
    CodeBase: file:///C:/Users/Admin/AppData/Local/Apps/2.0/4WR15WVT.JTR/JM2DVOCZ.E2R/toee..tion_24d9d40ffcabd80d_0001.0004_4ae17c4e1b4bafd7/DevExpress.XtraEditors.v17.2.DLL
    ----------------------------------------
    DevExpress.Data.v17.2
    Assembly Version: 17.2.7.0
    Win32 Version: 17.2.7.0
    CodeBase: file:///C:/Users/Admin/AppData/Local/Apps/2.0/4WR15WVT.JTR/JM2DVOCZ.E2R/toee..tion_24d9d40ffcabd80d_0001.0004_4ae17c4e1b4bafd7/DevExpress.Data.v17.2.DLL
    ----------------------------------------
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0 built by: NET481REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    System.ComponentModel.DataAnnotations
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
    ----------------------------------------
    System.Data.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9032.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Linq.dll
    ----------------------------------------
    ToEE.Infrastructure
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Admin/AppData/Local/Apps/2.0/4WR15WVT.JTR/JM2DVOCZ.E2R/toee..tion_24d9d40ffcabd80d_0001.0004_4ae17c4e1b4bafd7/ToEE.Infrastructure.DLL
    ----------------------------------------
    DevExpress.XtraLayout.v17.2
    Assembly Version: 17.2.7.0
    Win32 Version: 17.2.7.0
    CodeBase: file:///C:/Users/Admin/AppData/Local/Apps/2.0/4WR15WVT.JTR/JM2DVOCZ.E2R/toee..tion_24d9d40ffcabd80d_0001.0004_4ae17c4e1b4bafd7/DevExpress.XtraLayout.v17.2.DLL
    ----------------------------------------
    Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
    ----------------------------------------
    UIAutomationClient
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClient.dll
    ----------------------------------------
    UIAutomationTypes
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.9139.0 built by: NET481REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (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:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     
    anatoliy likes this.
  4. Illustair

    Illustair First Order Wizard

    Joined:
    Jan 14, 2011
    Messages:
    78
    Likes Received:
    11
    Created a "protos" folder then copied the protos.tab file into it, and it now works I think. Why is it structured that way though?
     
  5. anatoliy

    anatoliy Established Member

    Joined:
    Feb 18, 2017
    Messages:
    635
    Likes Received:
    200
    I cannot fix the bug that you mentioned post above, as I lost latest sources years ago.

    But, the release is quite stable, and I personally used very often now and then when I was developing modules. It's actually very good modding tool.

    You do not have to copy protos.tab to \rules\protos folder, having it in \rules would suffice. But the app requires folder \rules\protos to exist, that's why it crashes.

    Now the idea of usage was that modder would extract some proto from protos.tab into \rules\protos file separately per one proto. For example here. It's easier to spot what exactly was changed between commits during mod development.

    Additional dir is used for custom modules, which reside in \modules\<custom_module_name>_core\rules\protos folder. So I would add such folder path there and develop new protos like that.
     
    Illustair and August like this.
  6. August

    August Established Member

    Joined:
    Jun 28, 2006
    Messages:
    119
    Likes Received:
    83
    It's pretty cool.
     
    Illustair likes this.
  7. Illustair

    Illustair First Order Wizard

    Joined:
    Jan 14, 2011
    Messages:
    78
    Likes Received:
    11
    Thank you anatoliy for the cool mod and for the help! I was thinking of making my own NPCs for roleplaying reasons. I could do that with just this tool, right? This and just a spawn obj script.
     
    Last edited: Apr 20, 2023
  8. Buffed Rabbit

    Buffed Rabbit Established Member

    Joined:
    Jun 11, 2021
    Messages:
    108
    Likes Received:
    28
    Very very interesting, thank you for sharing
     
    Illustair likes this.
Our Host!