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