5E Product Walkthrough Playlist
Page 5 of 9 First ... 34567 ... Last
  1. #41
    Updated but did not have time for detailed testing. Hopefully works now. Thanks

  2. #42
    Thank you, valeros for supporting the tool after two years!

  3. #43
    Getting an error when I either download as module or into a folder:

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

    ************** Exception Text **************
    System.ArgumentNullException: Value cannot be null.
    Parameter name: path
    at System.IO.Path.GetFullPathInternal(String path)
    at System.IO.Path.GetFullPath(String path)
    at MinisGalleryTokens.MiniImageReader.DownloadMiniatu reToTokenFolder(String id, Boolean isGMFolder, Int32 pixelSize, Boolean roundedCorners, Boolean includeSetPath)
    at MinisGalleryTokens.MainViewPresenter.DownloadMiniT oTokenFolder(String id, Boolean includeSetPath)
    at MinisGalleryTokens.MainViewPresenter.DownloadMinis ToTokenFolder(List`1 minisSelected)
    at MinisGalleryTokens.MainViewPresenter.DownloadSelec tedToTokenFolder(Object sender, EventArgs e)
    at MinisGalleryTokens.Form1.DownloadSelectedButton_Cl ick(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(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.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    MinisGalleryTokens
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Users/Jon/Downloads/fantasygrounds/tokens/Minis%20Gallery%20Tokens.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4121.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    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.4121.0 built by: NET48REL1LAST_C
    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.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.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.

  4. #44
    Based on that exception it has something to do with reading the Registry. The program reads the registry so it can put the tokens or the token module in the correct Fantasy Grounds directory. But it is odd because I have code to just drop it in the directory the program is run from if reading from the Registry fails. I would check that you have all the permissions needed to read the registry or get the full path from which the program is run.
    -----
    JonnyG, new version posted has an extra check for the error you got above but I cannot guarantee it will work for you.
    Last edited by valeros; March 31st, 2020 at 01:46.

  5. #45
    Uploaded new version built on .NET Core 3.1 to keep up with current frameworks.

    Also should not be tagged as a virus as much now. Only 4 of 72 virus engines now think this is a virus instead of 26. (Based on VirusTotal.com)

  6. #46
    That fixed my issue, thanks so much.

  7. #47
    Okay, I lied. It worked for downloading to folders, but when I tried to download to a module, I got the following:

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

    ************** Exception Text **************
    System.ArgumentNullException: Value cannot be null. (Parameter 'path1')
    at System.IO.Path.Combine(String path1, String path2, String path3)
    at MinisGalleryReader.TokenModule.Exists(String moduleName)
    at MinisGalleryReader.MainViewPresenter.DownloadAsMod ule(Object sender, EventArgs e)
    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139 _0(Object state)

  8. #48
    JonnyG, ok, hopefully I fixed this time. I assume it is going to drop the tokens or module in the directory you are running the program from since it clearly has an issue with the Registry. You will probably have to manually move the token module to your FG modules directory. (And please remember to not put too many tokens in a single module, it seems to cause problems for FG.)

  9. #49
    How many would you recommend as a max for a module. I was going to create a module for each class, but in checking cleric there are 62.

  10. #50

    Join Date
    Mar 2020
    Location
    Sammamish, WA, USA
    Posts
    36
    This is super cool, but in case anyone else runs into the same problem I did, be sure you download the *correct* version of .net. It tells you that you need to download .net, but it doesn't specify that to run this, you need the x86 version, not the 64 bit version. You also need the Desktop App version, not the Core version. I think I managed to do all the wrong combinations before I figured out the problem. Sigh. But now that it's running it's great!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  
DICE PACKS BUNDLE

Log in

Log in