mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 115 forks source link

Extra foward slash in ROMFILENAME & ROMPATH - easy fix #665

Open Firefoxian opened 3 years ago

Firefoxian commented 3 years ago

*** Running: E:\Arc of Wonders\attract-v2.6.1-win64...\emulators\RetroArch.\retroarch.exe -L ....\emulators\RetroArch\cores\flycast_libretro.dll "E:\Arc of Wonders\attract-v2.6.1-win64...\roms\dreamcast/\Toy Commander v1.022 (1999)(Sega)(NTSC)(US)(M4)[!][12S 51020]\Toy Commander v1.022 (1999)(Sega)(NTSC)(US)(M4)[!][12S 51020].GDI" --appendconfig "....\emulators\RetroArch\config\sega dreamcast.cfg"

While the above actually works, check out "/\" before "toy commander". It seems your compiled code is adding this forward slash to both magic tokens because it's there even if i don't include that in my config. I'm asking that you remove that. I keep trying to get around it for the below example but have failed so far. There is no reason to add things and users should have full control of the command line due to things like this;

Retroarch does not accept below command until i removed your forward slash. Maybe it's due to m3u or rearmed, but either way if I run this by command line with extra slash it works perfect. *** Running: E:\Arc of Wonders\attract-v2.6.1-win64...\emulators\RetroArch\retroarch.exe -L ....\emulators\RetroArch\cores\pcsx_rearmed_libretro.dll "E:\Arc of Wonders\attract-v2.6.1-win64...\roms\playstation/\Armored Core - Master of Arena\Armored Core - Master of Arena.m3u" --appendconfig "....\emulators\RetroArch\config\sony playstation.cfg"

I'm using both your stable and daily.

Firefoxian commented 3 years ago

this was bad: 'args -L ....\emulators\RetroArch\cores\pcsx_rearmed_libretro.dll "[rompath][name][name].m3u" --appendconfig "....\emulators\RetroArch\config\sony playstation.cfg"

this got around the issue: 'args -L ....\emulators\RetroArch\cores\pcsx_rearmed_libretro.dll "....\roms\playstation[name][name].m3u" --appendconfig "....\emulators\RetroArch\config\sony playstation.cfg"

Firefoxian commented 3 years ago

wow i hope you can see this right; the above git hub comments are not displaying right: if you see: ..... you should see . . \ . . (without spaces)