Jump to content
  • Portrait Mod

    This mod lets you customize the Pokémon portraits. Additionally, it will copy the default emotion to empty slots, for use with the Starter Mod.

    Before continuing, please make sure you've reached the "Making Mods" section of the Sky Editor guide to ROM editing.

    Instructions

    1. On the New Project window, choose "Portrait Mod" in the dropdown, and fill in the name with something that makes sense. Then click OK.
      image.png
    2. Wait for the loading to complete. This may take a while depending on your computer.
    3. Portraits should be under (Solution Directory)/(Project Directory)/Pokemon/Portraits. Sky Editor has no UI for this, so you will need to use another program.

    Remarks

    Portraits can only have 15 colors.

    Edited by evandixon



    User Feedback

    Recommended Comments

    I wonder if it's okay to ask a question here, 

    I have successfully built and packed the mod without errors and used indexed portraits with max 15 colours. However my game always freezes or crashes when my custom portrait is supposed to show up, here is the screenshot. It's just black. 

    I was wondering if I missed something important? 

    Thank you a lot! 

    Screenshot_20181128-002559.jpg

    Share this comment


    Link to comment
    Share on other sites
    26 minutes ago, Kyiwtie said:

    However my game always freezes or crashes when my custom portrait is supposed to show up,

    Could you upload your portraits please?

    Share this comment


    Link to comment
    Share on other sites
    23 hours ago, Kyiwtie said:

    I hope this works! sorry for the delay

    1031_starly-female.rar

    I just pushed an update that should fix it. It also drops the requirement to use indexed PNG's, so now any kind of PNG that .Net can read should work. Here's the download link for Sky Editor, and here's a modpack that uses your portraits. I don't know what player you want, so I left the player selection alone. 

    image.png

    Nice work on the portraits btw. Starly's face shows how I felt after finally getting it working.

    Share this comment


    Link to comment
    Share on other sites
    7 hours ago, evandixon said:

    I just pushed an update that should fix it. It also drops the requirement to use indexed PNG's, so now any kind of PNG that .Net can read should work. Here's the download link for Sky Editor, and here's a modpack that uses your portraits. I don't know what player you want, so I left the player selection alone. 

    image.png

    Nice work on the portraits btw. Starly's face shows how I felt after finally getting it working.

     

    You're the bomb! Thank you so much I can't wait to try it out! I owe you big time :D <3

    Share this comment


    Link to comment
    Share on other sites
    On 11/28/2018 at 12:56 AM, evandixon said:

    Could you upload your portraits please?

     

    EDIT: I found and fixed the issue, for some pachirisu images I had less than 15 colours. My bad! It works perfectly now, thank you!

     

    I hate to be that gal but I tried packing one myself since I added pachirisu portraits but the program keeps crashing or the packing doesn't end. Here is my last error report:

    I have them all indexed as well.

     

     

    System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.BadImageFormatException: Too many colors in the image.
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetPalette(Bitmap image, Int32 paletteSize) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 130
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetKaoPalette(Bitmap image) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 145
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Kaomado._Closure$__18-0.VB$StateMachine___Lambda$__0.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Kaomado.vb:line 166
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass44_1.<<RunFor>b__0>d.MoveNext()
      --- End of inner exception stack trace ---
      --- End of inner exception stack trace ---
      at SkyEditor.Core.Utilities.AsyncFor.<RunFor>d__44.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Kaomado.VB$StateMachine_18_GetBytes.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Kaomado.vb:line 161
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Kaomado.VB$StateMachine_19_Save.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Kaomado.vb:line 222
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Projects.KaomadoProject.VB$StateMachine_4_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Projects\KaomadoProject.vb:line 66
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__38.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.DSModSolution.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\DSModSolution.vb:line 60
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.ApplicationViewModel.TaskProgressReporterWrapper.<Start>d__32.MoveNext()
    ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.BadImageFormatException: Too many colors in the image.
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetPalette(Bitmap image, Int32 paletteSize) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 130
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetKaoPalette(Bitmap image) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 145
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Kaomado._Closure$__18-0.VB$StateMachine___Lambda$__0.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Kaomado.vb:line 166
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass44_1.<<RunFor>b__0>d.MoveNext()
      --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.BadImageFormatException: Too many colors in the image.
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetPalette(Bitmap image, Int32 paletteSize) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 130
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetKaoPalette(Bitmap image) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 145
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Kaomado._Closure$__18-0.VB$StateMachine___Lambda$__0.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Kaomado.vb:line 166
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass44_1.<<RunFor>b__0>d.MoveNext()<---
    <---

    ---> (Inner Exception #1) System.AggregateException: One or more errors occurred. ---> System.BadImageFormatException: Too many colors in the image.
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetPalette(Bitmap image, Int32 paletteSize) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 130
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetKaoPalette(Bitmap image) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 145
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Kaomado._Closure$__18-0.VB$StateMachine___Lambda$__0.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Kaomado.vb:line 166
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass44_1.<<RunFor>b__0>d.MoveNext()
      --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.BadImageFormatException: Too many colors in the image.
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetPalette(Bitmap image, Int32 paletteSize) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 130
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetKaoPalette(Bitmap image) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 145
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Kaomado._Closure$__18-0.VB$StateMachine___Lambda$__0.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Kaomado.vb:line 166
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass44_1.<<RunFor>b__0>d.MoveNext()<---
    <---

    ---> (Inner Exception #2) System.AggregateException: One or more errors occurred. ---> System.BadImageFormatException: Too many colors in the image.
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetPalette(Bitmap image, Int32 paletteSize) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 130
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetKaoPalette(Bitmap image) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 145
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Kaomado._Closure$__18-0.VB$StateMachine___Lambda$__0.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Kaomado.vb:line 166
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass44_1.<<RunFor>b__0>d.MoveNext()
      --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.BadImageFormatException: Too many colors in the image.
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetPalette(Bitmap image, Int32 paletteSize) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 130
      at SkyEditor.ROMEditor.Utilities.GraphicsHelpers.GetKaoPalette(Bitmap image) in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Utilities\GraphicsHelpers.vb:line 145
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Kaomado._Closure$__18-0.VB$StateMachine___Lambda$__0.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Kaomado.vb:line 166
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass44_1.<<RunFor>b__0>d.MoveNext()<---
    <---

    0456_pachirisu.rar

    Edited by Kyiwtie
    found issue

    Share this comment


    Link to comment
    Share on other sites
    On 11/30/2018 at 11:27 AM, Zekrom997 said:

    Is it possible to port SMD potrait with this mod?

    It is, but only if you take care of resizing the portraits and reducing the number of colors yourself. They need to be 40x40 and have no more than 15 colors. (Maybe 16; it's been a while since I looked.)

    Share this comment


    Link to comment
    Share on other sites

    Hi There! I'm getting this error after I attempt to build my portrait and starter mod. System.BadImageFormatException: Too many colors in the image. I know the portraits can't have more than 15 colors, but horsea (the poke i'm modding for) has about 18 colors in its standard portrait. Is that the actual limit, or is horsea somehow an exception? Also attached are the portraits for horsea I have made. 

     

    Horsea.zip

    Share this comment


    Link to comment
    Share on other sites
    On 1/30/2019 at 5:49 PM, Wanya said:

    Hi There! I'm getting this error after I attempt to build my portrait and starter mod. System.BadImageFormatException: Too many colors in the image. I know the portraits can't have more than 15 colors, but horsea (the poke i'm modding for) has about 18 colors in its standard portrait. Is that the actual limit, or is horsea somehow an exception? Also attached are the portraits for horsea I have made. 

     

    Horsea.zip

    I'm only seeing 15 colors in the standard one you uploaded.

    image.png

    Having repacked the portraits a lot without error, I'd be very surprised if any of the existing portraits had more than 15 colors. The image format can only physically store 16, and one of those is for transparency. (I don't remember if Sky Editor supports transparency.)

    Share this comment


    Link to comment
    Share on other sites
    7 hours ago, evandixon said:

    I'm only seeing 15 colors in the standard one you uploaded.

    image.png

    Having repacked the portraits a lot without error, I'd be very surprised if any of the existing portraits had more than 15 colors. The image format can only physically store 16, and one of those is for transparency. (I don't remember if Sky Editor supports transparency.)

    Can transparency affect the colour count? Since I don't have a program to count the colours (I'm using affinity photo and I this is the first time I've done pixel art), I counted the colours manually. There's 4 colours in the eyes, 4 different blues for the body, 3 different yellows in the belly, 3 for the grey outlining and 4 for the background, making a total of 18, unless the grey outlining don't count for colours? Also, almost all of my portraits are getting errors when I unpack them individually. the only ones not giving me errors are grin, shouting, dizzy, and sign (all with the lowest colour count). I don't know what i'm doing wrong...

    Share this comment


    Link to comment
    Share on other sites
    On 2/2/2019 at 5:32 PM, Wanya said:

    Can transparency affect the colour count?

    Transparency counts as a single color, but I'm not aware of any portraits that have any.

    On 2/2/2019 at 5:32 PM, Wanya said:

    Since I don't have a program to count the colours (I'm using affinity photo and I this is the first time I've done pixel art), I counted the colours manually.

    Since some of the colors can be very close to each other, manual counting will not only prove difficult but also unreliable.

    I didn't check all of them, but Pained has one too many colors:

    image.png

    To get here in GIMP, use Colors -> Info -> Colorcube Analysis

    Grin works because it only has 13. The maximum is 15.

    Share this comment


    Link to comment
    Share on other sites

    Hello! I have tried to build the modpack, but the portrait mod seems to be stuck on "packing", even after an hour or so. Is this normal?

    Share this comment


    Link to comment
    Share on other sites
    Just now, Slimy Sliggoo said:

    Hello! I have tried to build the modpack, but the portrait mod seems to be stuck on "packing", even after an hour or so. Is this normal?

    Are there any errors in the errors dialog? It's pretty bad about putting stuff in there without telling you.

    Share this comment


    Link to comment
    Share on other sites

    I did check the errors tab, but nothing is written in there. I have also checked, and all the portraits (at least the ones I made) had 15 colors or less.

    Edited by Slimy Sliggoo

    Share this comment


    Link to comment
    Share on other sites

    So after a few hours of packing, it finally finished, but it ended with an error.

    System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The directory is not empty.

      at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
      at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
      at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
      at DS_ROM_Patcher.Utilities.xdelta.Dispose(Boolean disposing)
      at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass42_1`1.<<RunForEach>b__0>d.MoveNext()
      --- End of inner exception stack trace ---
      --- End of inner exception stack trace ---
      at SkyEditor.Core.Utilities.AsyncFor.<RunForEach>d__42`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at DS_ROM_Patcher.ModBuilder.VB$StateMachine_77_BuildMod.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.Projects.GenericModProject.VB$StateMachine_41_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Projects\GenericModProject.vb:line 281
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Projects.SkyStarterModProject.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Projects\SkyStarterModProject.vb:line 119
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__38.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.DSModSolution.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\DSModSolution.vb:line 60
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.ApplicationViewModel.TaskProgressReporterWrapper.<Start>d__32.MoveNext()
    ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: The directory is not empty.

      at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
      at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
      at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
      at DS_ROM_Patcher.Utilities.xdelta.Dispose(Boolean disposing)
      at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass42_1`1.<<RunForEach>b__0>d.MoveNext()
      --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.IO.IOException: The directory is not empty.

      at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
      at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
      at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
      at DS_ROM_Patcher.Utilities.xdelta.Dispose(Boolean disposing)
      at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Utilities.AsyncFor.<>c__DisplayClass42_1`1.<<RunForEach>b__0>d.MoveNext()<---
    <---

    Share this comment


    Link to comment
    Share on other sites

    I think I may have the same issue

    Exception Details:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Xceed.Wpf.AvalonDock.Controls.LayoutAnchorableTabItem.OnMouseEnter(MouseEventArgs e)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction)
       at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction)
       at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction)
       at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction)
       at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction)
       at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction)
       at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction)
       at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction)
       at System.Windows.ReverseInheritProperty.FirePropertyChangeInAncestry(DependencyObject element, Boolean oldValue, DeferredElementTreeState treeState, Action`2 originChangedAction)
       at System.Windows.ReverseInheritProperty.OnOriginValueChanged(DependencyObject oldOrigin, DependencyObject newOrigin, IList`1 otherOrigins, DeferredElementTreeState& oldTreeState, Action`2 originChangedAction)
       at System.Windows.Input.MouseDevice.ChangeMouseOver(IInputElement mouseOver, Int32 timestamp)
       at System.Windows.Input.MouseDevice.PreNotifyInput(Object sender, NotifyInputEventArgs e)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.MouseDevice.Synchronize()
       at System.Windows.Input.InputManager.HitTestInvalidatedAsyncCallback(Object arg)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
       at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
       at System.Windows.Window.ShowHelper(Object booleanBox)
       at System.Windows.Window.ShowDialog()
       at SkyEditor.UI.WPF.StartupHelpers.VB$StateMachine_4_ShowMainWindow.MoveNext()

    Loaded Assemblies:
    --------------------
    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll

    SkyEditor.ROMEditor.UI.WPF, Version=4.2.1.0, Culture=neutral, PublicKeyToken=null
    C:\Users\Doryn\Desktop\Games\Sky Editor\SkyEditor.ROMEditor.UI.WPF.exe

    PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll

    WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll

    System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll

    PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll

    System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll

    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll

    System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll

    SkyEditor.UI.WPF, Version=0.0.0.158, Culture=neutral, PublicKeyToken=null
    C:\Users\Doryn\Desktop\Games\Sky Editor\SkyEditor.UI.WPF.dll

    SkyEditor.Core, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null
    C:\Users\Doryn\Desktop\Games\Sky Editor\SkyEditor.Core.dll

    Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll

    System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

    System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

    Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
    C:\Users\Doryn\Desktop\Games\Sky Editor\Newtonsoft.Json.dll

    System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll

    System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll

    System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll

    SkyEditor.ROMEditor.Windows, Version=4.2.1.0, Culture=neutral, PublicKeyToken=null
    C:\Users\Doryn\Desktop\Games\Sky Editor\SkyEditor.ROMEditor.Windows.dll

    SkyEditor.CodeEditor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
    C:\Users\Doryn\Desktop\Games\Sky Editor\SkyEditor.CodeEditor.dll

    SkyEditor.CodeEditor.UI.WPF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
    C:\Users\Doryn\Desktop\Games\Sky Editor\SkyEditor.CodeEditor.UI.WPF.exe

    SkyEditor.ROMEditor, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null
    C:\Users\Doryn\Desktop\Games\Sky Editor\SkyEditor.ROMEditor.dll

    DSPatcher, Version=1.0.0.4, Culture=neutral, PublicKeyToken=null
    C:\Users\Doryn\Desktop\Games\Sky Editor\DSPatcher.exe

    DotNet3dsToolkit, Version=0.0.0.86, Culture=neutral, PublicKeyToken=null
    C:\Users\Doryn\Desktop\Games\Sky Editor\DotNet3dsToolkit.dll

    ICSharpCode.AvalonEdit, Version=5.0.3.0, Culture=neutral, PublicKeyToken=9cc39be672370310
    C:\Users\Doryn\Desktop\Games\Sky Editor\ICSharpCode.AvalonEdit.dll

    Xceed.Wpf.AvalonDock, Version=3.4.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4
    C:\Users\Doryn\Desktop\Games\Sky Editor\Xceed.Wpf.AvalonDock.dll

    PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll

    PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll

    PresentationFramework-SystemData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemData\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemData.dll

    UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll

    System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Deployment\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll

    Microsoft.GeneratedCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
    An error occurred while listing the Loaded Assemblies:
    System.NotSupportedException: The invoked member is not supported in a dynamic assembly.
       at System.Reflection.Emit.InternalAssemblyBuilder.get_Location()
       at SkyEditor.UI.WPF.ErrorWindow.UpdateExceptionDetailsMessage()

    Share this comment


    Link to comment
    Share on other sites


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...