Windows commandline launch

sorry, I ran a search and didnt see anything. Maybe this is such a dumb question nobody had to ask it:

I cant seem to get games to run via cmd in windows 7. I can get it to work fine with retroarch-pheonix.

from cmd I CD to the Retroarch directory.

I can run “retroarch” and get all the usage switches.

Next I type “retroarch -L libretro-git-snes9x-next-x86_64.dll -c retroarch-rahabib.cfg C:/Users/Ray/Roms/snes/metal_warriors.zip”

It launches the right emulator, but then nothing plays, just a black window and in the cmd windows I get these errors. No ROM file header found and [bad checksum] HiROm, Corrupt, ROM+RAM, NTSC SRAM:Corrupt, ID:______, CRC32:EA5FD050

I assume this due to the config issues or something. Its strange I can launch just fine via pheonix but not via cmd line.

The command line looks correct to me (assuming you didn’t type the whole commandline in one " "). Try adding -v to get verbose logging and paste the output. Adding 2>log.txt to the end should dump the log results to a file.

It could be the case that you’re using slim build of RetroArch. Slim build of retroarch.exe doesn’t support zip extraction. Phoenix does that itself, so it would work even on slim build. Try retroarch --features and see if zlib support is enabled.

Phoenix prints the command line args that it uses if you look in the logs, you might want to try using the exact same one and see if it makes any difference.

retroarch --features:

you are right, it has “.zip extraction: no.” I unzipped the file and pointed to the .smc and it worked.

I do see zlib1.dll in the folder.

How do I go about adding this feature in, as right now all of my files are zipped and I would kinda like to keep it that way if possible. I just used the binary from the main website, I didn’t realize there were multiple versions.