Closed darksgan closed 1 year ago
Beats me, I've always been loading LHAs via CLI just like that. I'd also rather use absolute paths for content.
The core gets the exact same path from CLI as it does when launching via the menu. Without logs hard to say more what could be the problem.
Oh... my... god................... I typed the relative path wrong... I'm blind.
What I typed: "Games\Amiga500\Game-ROM.7z"
What I should have typed: ".\Games\Amiga500\Game-ROM.7z"
You know " .\ " means "the current directory/path"... f*ck :_(
Finally it is:
.\RetroArch-Win64\retroarch.exe -f -L RetroArch-Win64\cores\%LibretroCore%.dll .\Juegos\%Plataforma%\%Juego-ROM%.%File-Extension%
Obviously, I set the variables "Plataforma", "Juego-ROM", "Juego-Extension" previsouly in another place for making a generic "launch command" for all the games/files and platforms/systems which are gonna be emulated.
Thanks a lot, if you wouldn't have said anything about absolute path, I wouldn't have seen that I had typed the relative path wrong.
Ok, great, let's close this then.
Ok, great, let's close this then.
Fine... thanks a lot :)
I'm posting this question here because I can't find any clue on the internet, and I don't know where exactly to ask it here.
Ok, I'm making some scripts / batch files to load games directly calling them from another software... but I don't want to change disks in the Retroarch menu... so I'm trying to use some .lha files.
Here is the problem, I can load games directly in full screen with no problems from command line.
This is a part of the script, for example:
.\RetroArch-Win64\retroarch.exe -f -L RetroArch-Win64\cores\puae_libretro.dll Games\Amiga500\Game-ROM.7z
Being "Game-Rom", for example, Rod-Land_Amiga500.7z (a one floppy disk game, changing disks is not needed)
It works perfectly, but, if I try the same using a ".lha" file, it doesn't:
.\RetroArch-Win64\retroarch.exe -f -L RetroArch-Win64\cores\puae_libretro.dll Games\AmigaWHDL\PushOver_v1.23_1267.lha
It doesn't load the game because Retroarch try to load it as a floppy disk
If I load it through the Retroarch menus, it loads perfectly:
Is there any way to tell Retroarch that the file to load is not a floopy but an HDD using command line?
Or is it some kind of issue?
Thanks and regards.