Database Error (1 Viewer)

jimmyo

MP Donator
  • Premium Supporter
  • October 1, 2006
    89
    19
    Home Country
    Sweden Sweden
    Hi

    Switching from MyProgramsAlt to MyEmulators, configured some emulators without no problems, everything looking good in MP.

    Configured some more, but when starting MP, going to Emulator plugin nothing shows up in interface. Tried starting the config program again and getting this error:




    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.
    Parameter name: startIndex
    at System.String.Remove(Int32 startIndex)
    at myEmulators.Game..ctor(String path)
    at myEmulators.DB.getGame(String path, Emulator parentEmulator)
    at myEmulators.DB.getGames(String path, Emulator emulator, SearchOption recursive, Boolean showHidden)
    at myEmulators.DB.getSomeGames(String sqlTail)
    at myEmulators.DB.getPCGames()
    at myEmulators.Conf_PCGames..ctor()
    at myEmulators.Configuration.Configuration_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.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)


    Would be great to get some help with the error.

    /Jimmy
     

    jimmyo

    MP Donator
  • Premium Supporter
  • October 1, 2006
    89
    19
    Home Country
    Sweden Sweden
    I solved the problem

    Removed one platform at a time from the sql database, until I found which platform was causing the problem.
    The problem is that MyEmulators can not handle gamefiles without file name extension.
    Renamed the files without extensions and it worked

    /Jimmy
     

    Users who are viewing this thread

    Top Bottom