-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with working directory running NanoBoyAdvance through command-line #343
Comments
That command line should work normally, probably something broke. |
I'm using NanoBoyAdvance v1.7.1 x64 under Windows 10. If I open a CMD window inside the emulator directory (where NanoBoyAdvance.exe is) and I run this command, it will not work:
Or these two commands which does the same:
The program tries to load (I can see it for a moment in the task manager) but the user-interface is not shown, and the program closes instantly. There is no error message about a handled or unhandled exception, nothing happens, the program just fails to start up so it kills itself. This is the log from Windows Event Viewer and translated to English (Google Translator):
I discovered that in order to avoid the strange issue, I must specify the full path to the NanoBoyAdvance.exe executable, even if the CMD working directory is the same directory of the NanoBoyAdvance.exe file, so this command now will work as expected:
Using relative path for the current working directory (".\") will also work:
But this will NOT work as I said before:
|
I think there is no documentation to know which command-line argument I need to use in order to just load a rom. Under windows (CMD).
For example:
NanoBoyAdvance.exe "C:\rom.gba"
That will not work. The emulator GUI will not open.
The text was updated successfully, but these errors were encountered: