KirinRaikage Posted February 14, 2017 Posted February 14, 2017 Hi everyone ! Thank you so much for the effort you've done for turning PKHeX to that awesome tool it is now ! I want to report a bug (But it's most likely my fault though). I've tried to remove the ribbons of my Zapdog/Latios, it seemed to have worked succesfully, but when I imported the save back the save was corrupted. And I can't edit it with PKHeX either. (I use the latest version). From what I know from programming course, it seems like it can't open the file for whatever reason. I've tried to move the file to another folder than the SD Card, no help, same error. I haven't thought of making any backup since a long time (The edit thing was a success a lot of times to edit stats/moves so I didn't care anymore), but I've activated the backup feature of PKHeX so maybe if my save is forever screwed I can move to that. Thanks in advance if you can help me out ! Here's the following error : Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: startIndex at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.BitConverter.ToUInt16(Byte[] value, Int32 startIndex) at PKHeX.Main.openFile(Byte[] input, String path, String ext) at PKHeX.Main.openQuick(String path, Boolean force) Loaded Assemblies: -------------------- mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll PKHeX, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\Faïd\AppData\Local\Temp\Temp2_PKHeX (161231).zip\PKHeX.exe 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 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 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 System.Windows.Forms.resources, Version=4.0.0.0, Culture=fr, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_fr_b77a5c561934e089\System.Windows.Forms.resources.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 System.Deployment.resources, Version=4.0.0.0, Culture=fr, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Deployment.resources\v4.0_4.0.0.0_fr_b03f5f7f11d50a3a\System.Deployment.resources.dll mscorlib.resources, Version=4.0.0.0, Culture=fr, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_fr_b77a5c561934e089\mscorlib.resources.dll -------------------- User Message: Unable to load file. Path: G:\JKSV\Saves\Pokémon_Moon\Lune\main
Kaphotics Posted February 15, 2017 Posted February 15, 2017 Resolved via private message; file was empty (0 bytes). New check added for too-small sizes. https://github.com/kwsch/PKHeX/commit/f860bd31c7b564be3445ef3f7fcbbe8b7f64ae28
Recommended Posts