@smurf said in Daphne command line not working:

I have lots of space on my sd card so I have a couple versions of each game.

You don't even need the .m2v file in each folder for different rom versions of the same game. Just point the path in the [gamename].txt file to the folder where the .m2v resides. For example, my lair.m2v resides in daphne/lair.daphne, but I also have dle21 in its own directory daphne/dle21.daphne.

My lair.txt in daphne/lair.daphne/:

. 151 lair.m2v

My dle.txt in daphne/dle21.daphne/:

../lair.daphne/ 151 lair.m2v

Mind the first line. In lair.txt, it points to "this directory" (.), but in dle.txt it points to lair.daphne "one level above this directory" (..), both paths seen relatively from the location of the respective .txt file. Since both rom versions use the same video file, this saves a lot of space.

Alternatively, you could create a symbolic link to the file in the other directory:

ln -s /home/pi//RetroPie/roms/daphne/lair.daphne/lair.m2v /home/pi//RetroPie/roms/daphne/dle.daphne/lair.m2v

The first method has the advantage that it still works even if the daphne directory is moved to another location, as long as lair.daphne and dle21.daphne remain at the same relative positions to each other.

Yeah I know, you said that you have lots of space, but maybe that will change in the future with an ever growing games collection, or others here will find this useful. :)