WarmWaffles84 Posted August 21, 2016 Posted August 21, 2016 I've been using PKHeX perfectly fine for about three days now. All of the sudden, it decides not to open. No error message was displayed or anything. When I take my SD card out of my computer, it opens just fine. However, when I open it then put my SD card and then hit "open" in the app, an error appears. I couldn't attach a screenshot of this error. It says, "Unhanded exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue. If you click quit, the application will close immediately. Illegal characters in path" When I click learn more, this comes up: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentException: Illegal characters in path. at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional) at System.IO.Path.InternalCombine(String path1, String path2) at System.IO.FileSystemEnumerableIterator`1.CreateSearchResult(SearchData localSearchData, WIN32_FIND_DATA findData) at System.IO.FileSystemEnumerableIterator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) at PKHeX.SaveUtil.getSavesFromFolder(String folderPath, Boolean deep) at PKHeX.SaveUtil.detectSaveFile() at PKHeX.Main.mainMenuOpen(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.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.6.1080.0 built by: NETFXREL3STAGE CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- PKHeX Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/owner/Desktop/PKHeX.exe ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.6.1038.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.6.1081.0 built by: NETFXREL3STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.6.1038.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.6.1038.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.6.1038.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Deployment Assembly Version: 4.0.0.0 Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.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. Now, there are two options at the bottom of the dialogue box, they are "Continue" and "Quit" When I hit continue, nothing happens. (It still won't load my main file) when I click quit, the application closes. Please help me with this!!!
evandixon Posted August 21, 2016 Posted August 21, 2016 Looks like there's a save file on your SD that has an invalid filename. Try looking around in the following folders to see if there's any saves with abnormal filenames (anything with any characters besides letters, numbers, periods, and spaces): SD:/saveDataBackup/ SD:/filer/UserSaveData/ SD:/JKSV/Saves/ SD:/TWLSaveTool SD:/fbi/save/ Since it only started happening recently, look for files that have been created in the past few days.
WarmWaffles84 Posted August 21, 2016 Author Posted August 21, 2016 Looks like there's a save file on your SD that has an invalid filename. Try looking around in the following folders to see if there's any saves with abnormal filenames (anything with any characters besides letters, numbers, periods, and spaces):SD:/saveDataBackup/ SD:/filer/UserSaveData/ SD:/JKSV/Saves/ SD:/TWLSaveTool SD:/fbi/save/ Since it only started happening recently, look for files that have been created in the past few days. I found it! It's a file called "USB[]@y0." It's located in the same folder as my main save. What should I do with it? Thanks for the quick reply, by the way.
evandixon Posted August 21, 2016 Posted August 21, 2016 I found it! It's a file called "USB[]@y0." It's located in the same folder as my main save. What should I do with it? Thanks for the quick reply, by the way. Looks like your SD has been corrupted a little. Try running an error check. To run one, right click the SD in This PC/My Computer -> Properties -> Tools -> Error Checking -> Check.
WarmWaffles84 Posted August 21, 2016 Author Posted August 21, 2016 Looks like your SD has been corrupted a little. Try running an error check.To run one, right click the SD in This PC/My Computer -> Properties -> Tools -> Error Checking -> Check. I did it! Thanks so much for helping me. Sadly though half my box 13 (which I used for genning) and everything after that (Box 14 and 15) were deleted. ): There wasn't anything of value in the boxes, but hey, that's what genning is for, right?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now