valters-tomsons / Spectabis

A modern PCSX2 Frontend.
https://spectabis.github.io/
GNU General Public License v3.0
114 stars 18 forks source link

program crashes after trying to import game. #30

Open daveyb86 opened 5 years ago

daveyb86 commented 5 years ago

I am trying to import games from my folder and every time I select the file, the program just closes.

Does It Have To Do With the File Type? I've Been Using .ISO's

Thank You!

RinMaru commented 5 years ago

is there a specific game it crashes on importing or is it random?

valters-tomsons commented 5 years ago

Hey!

What version of Spectabis are you running? Also, could you open spectabis with -console arguments and upload any exceptions?

Thanks!

ghost commented 5 years ago

hey i am using spectabis 1.08 or 108. idk what you mean by upload any exceptions but here, I made a vid, its not one iso causing the prob. i tired 2 diff isos. https://youtu.be/PpX9wVgH3nQ ps. mute vid if u dont like gae music

ghost commented 5 years ago

restarting my pc fixed the issue. damn. thanks anyway!

valters-tomsons commented 5 years ago

I'm not sure why restarting "fixes" the issue. I'll keep it open, because it's not really fixed.

Michanne commented 5 years ago

Same with me. Here's an even weider thing that happened: Ran with -console and saw an error, window closed before I could capture it but I went to run it again. When I tried, it turns out the entire program got replaced with a 0 KB version of itself! Like how does that even happen? I'll have to check what that code is doing lmao

Anyway here is the result from -console when I tried selecting one of my games:

Opening debug console Current Build: 1.0.6725.4639 1.0.6725.4639 Setting PrimaryColor to bluegrey Discord Rich Presence Initialized. Discord Presence Updated Opening Library... Checking for updates... Fetching latest version... Fetched Version: 1.0.6725.4639

Current version is the latest version! Disabling XInput... 9 files found! 9 new files found! Sanitizing Game Title

Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\\Documents\PCSX2\inis'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator 1.CommonInit() at System.IO.FileSystemEnumerableIterator 1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler 1 resultHandler, Boolean checkHost) at System.IO.Directory.GetFiles(String path) at Spectabis_WPF.Domain.GameProfile.Create(String _img, String _isoDir, String _title) at Spectabis_WPF.Views.GameDiscovery.CreateProfiles() at Spectabis_WPF.Views.GameDiscovery.AddSelected_Click(Object sender, RoutedEventArgs e) 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.UIElement.RaiseEvent(RoutedEventArgs e) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 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.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 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.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(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.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at System.Windows.Application.Run() at Spectabis_WPF.App.Main()

I added the missing directory (doesn't seem to be standard among the PCSX2 download, so why it's complaining?) and it works. So that fixed the issue