AmatCoder / mednaffe

A front-end (GUI) for mednafen emulator
GNU General Public License v3.0
429 stars 35 forks source link

Error: No command-line arguments specified. #88

Closed throwaway-acc453 closed 3 years ago

throwaway-acc453 commented 6 years ago

mednaffe 0.8.8 Mednafen 1.21.1 x64 Windows 7 64-bit

Starting Mednafen 1.21.1
 Build information:
   Compiled with gcc 4.9.4
   Running with MinGW-W64 Runtime 5.0 (alpha - rev. 0) 0000-00-00
   Compiled against zlib 1.2.8, running with zlib 1.2.8(flags=0x00000065)
   Compiled against libiconv 15.1, running with libiconv 15.1
   Compiled against SDL 2.0.8(hg-11835:f622a4457a25), running with SDL 2.0.8(hg-
11835:f622a4457a25)
   Running with libsndfile-1.0.28
 Base directory: C:\\Users\Myuser.mednafen
 Emulation modules: nes snes gb gba pce lynx md pcfx ngp psx ss ssfplay vb wswan
 sms gg snes_faust pce_fast demo cdplay
 Opening lockfile...
 Loading settings from "C:\Users\Myusermednafen\mednafen.cfg"...
  Loaded 7396 valid settings and 0 unknown settings.
No command-line arguments specified.

Usage: C:\UsersMyuserDesktopmadnaffe64mednafen.exe [OPTION]... [FILE]
      Please refer to the documentation for option parameters and usage.

followed by an "Error: No mednafen configuration file found." error popup. The directory containing mednafen and mednaffe is on the desktop. The C:\Users\Myuser.mednafenmednafen.cfg configuration file exists; if I delete .mednafen, it will be created automatically on the next run, but the error persists. The same problem occurs with Mednafen 1.21.3.

If I delete .mednafen and run the 32-bit version Mednafen 1.21.1+mednaffe0.8.8 it shows a different message instead and won't recreate the directory automatically:


Starting Mednafen 1.21.1
 Build information:
   Compiled with gcc 4.9.4
   Running with MinGW-W64 Runtime 5.0 (alpha - rev. 0) 0000-00-00
   Compiled against zlib 1.2.8, running with zlib 1.2.8(flags=0x00000055)
   Compiled against libiconv 15.1, running with libiconv 15.1
   Compiled against SDL 2.0.8(hg-11835:f622a4457a25), running with SDL 2.0.8(hg-
11835:f622a4457a25)
   Running with libsndfile-1.0.28
 Base directory: C:\Users\Myuser\.mednafen
 Emulation modules: nes snes gb gba pce lynx md pcfx ngp psx ssfplay vb wswan sm
s gg snes_faust pce_fast demo cdplay
 Opening lockfile...
  Error: Error opening file "C:\UsersMyuser\.mednafen\mednafen.lck": No such file
or directory
Error opening file "C:\UsersMyuser\.mednafen\mednafen.lck": No such file or direct
ory

again followed by an "Error: No mednafen configuration file found." error popup.

YoZeLLLE710 commented 5 years ago

were you able to find a solution, cause im having the exact same problem

reisaraujo-miguel commented 4 years ago

I'm having the same problem too.

AmatCoder commented 3 years ago

Test with 0.9.0 version. Reopen if it is not fixed.

pokemonfan6498 commented 2 years ago

im having this shit on v 1.29.0