Problem run ROMS with comma character
-
@gleam2003 I have no problem with ROMs having
,
in their names, either running or showing in Emulationstation. Can you try an update for all packages (from binary) from the RetroPie-Setup and then restart Emulationstation ? -
Update, same issue
I test with change the roms name to find when the problem occurs.
A space after "(" is the problem. My error is to suppose that the problem is the ","
Can you verify?
-
@mediamogul @mitu
This is the command pass to system() command in runSystemCommand function in platform.cpp/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS mastersystem /home/pi/RetroPie/roms/mastersystem/Alex\ Kidd\ in\ Miracle\ World\ (USA,\ Europe).7z
My EmulationStation is the development version and I think the problem is in StringUtil.cpp that substitute the strreplace function
-
This post is deleted! -
@gleam2003 Don't know what going wrong here I just renamed one mastersystem ROM to Alex Kidd in Miracle World (USA, Europe).sms and it worked without any flaws.
Does your 7zip file contain more than one ROM? -
@cyperghost
Probably problem is only in development version of emulationstation
Wait i'm going to recompile the stable branch to watch if is ok -
I can confirm, the problem is with development tree
with stable:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS mastersystem /home/pi/RetroPie/roms/mastersystem/Alex\ Kidd\ in\ Miracle\ World\ \(USA,\ Europe\).7zwith development:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS mastersystem /home/pi/RetroPie/roms/mastersystem/Alex\ Kidd\ in\ Miracle\ World\ (USA,\ Europe).7zIn stable ther's escapePath function, missing completely in development
-
I fix this later today when I'm not at work.
There is still an escapePath function, it's just moved to a different location in the source.
Looking at the output, it seems it didn't escape the last ')' properly.
-
@tomaz
Thank you
Not only last ) but also ( and I think any other charachter escape in stable branch with escapePath() functionEdit: there's a space before (
-
@gleam2003
I see now that both ( and ) fails, but the new escapePath function definitely runs since it has escaped all the spaces, will know more when I'm back home later today. -
@gleam2003
Fixed and submitted, just need to wait for it to be accepted and merged. -
@tomaz
Thank you, compiled and tested. -
@gleam2003
Did the fix work for you? It should be merged in the dev branch now. -
@tomaz
Yes sorry I think you understand from my previous post -
Hi,
There are free utilities that can search an entire folder and remove that one character from all file names. Pretty sure it’s called Bulk Rename Utility. I used it to tidy up all my file namesDwarfboysim
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.