Skip to content

Crash at launch #2

@Lyverbe

Description

@Lyverbe

I've been using VRPE for the last 2 weeks (since the death of FFA) and "Sideloader Launcher.exe" never worked for me. I created a shortcut to "AndroidSideloader v2.16.exe" on my desktop and went on with my life.

Now, 2.17 has been released and, no surprise, the shortcut no longer works. Tried Launcher again, still no go. According to Event Log:
Application: Sideloader Launcher.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IndexOutOfRangeException at Sideloader_Launcher.Program.Main(System.String[])

So I went and looked at the code. My setup is for WPF and not WinForm so I couldn't directly debug the repo but code was small enough for me to try it out in a separate app. It works fine.

Got to admit that I didn't install in "Documents" (it just doesn't belong there) so I created a folder in the root of my C Drive called "Program Files (WA)" (WA being for Write Access). Still, I changed the code for string[] files = System.IO.Directory.GetFiles(@"C:\Program Files (WA)\VRPE\Rookie\"); and it worked.

Bottom of it all is that I can't help you more other than suggesting something: instead of your while{} loop, why don't you just string filename = Path.GetFileName(file); ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions