Sigma
Still Fresh
I hope someone can point me into the right direction, I've got the following issue
for a Emu frontend I would like start a program from a PND file (through commandline, well that's working
with the pnd_run.sh script and with the pnd_run.sh script you can send some argument (-a "arguments")
so for starting snes9x and load a rom I can use this command:
pnd_run.sh -p /media/SDHC/sigma/snes/snes9x4p_20101111.pnd -e snes9x -a "/media/SDHC/roms/snes/ActRaiser.smc"
that working great but now my problem occurs, when I use a rom with a space in the name like for example: ActRaiser 2.smc
I use this command:
pnd_run.sh -p /media/SDHC/sigma/snes/snes9x4p_20101111.pnd -e snes9x -a "/media/SDHC/roms/snes/ActRaiser\ 2.smc"
but that's not working and when I look at the pnd output I've noticed that from the -a "/media/SDHC/roms/snes/ActRaiser\ 2.smc"
only this: "2.smc" is forwarded that's why my rom isn't loaded in the emulator
error log:
none on /mnt/utmp/snes9x4p_20101111 type aufs (rw,si=6c1d2157,noplink)
[------------------------------]{ App start }[-------------------------------$
Snes9X: Memory allocation failure - not enough RAM/virtual memory available.
S9xExiting...
Rate: 32000, Buffer size: 512, 16-bit: yes, Stereo: yes, Encoded: no
Error opening: 2.smc
[-------------------------------]{ App end }[--------------------------------$
cleanup done
I have tried many things like:
-a '/media/SDHC/roms/snes/ActRaiser\ 2.smc'
'-a "/media/SDHC/roms/snes/ActRaiser\ 2.smc"'
when I run pnd_run.sh I get the message:
#Usage: pnd_run.sh -p your.pnd -e executeable [-a "(arguments)"] [ -s "cd to folder inside pnd"] [-b UID (name of mountpoint/pandora/appdata)] [-x close x before launching(script needs to be started with nohup for this to work]
# -s startdir
# arguments can be inside -e, -a is optional
saying -a is optional and that argument can be inside -e , but that's not working tried:
snes9x4p_20101111.pnd -e snes9x "/media/SDHC/roms/snes/ActRaiser\ 2.smc"
snes9x4p_20101111.pnd -e snes9x "/media/SDHC/roms/snes/ActRaiser\ 2.smc"
snes9x4p_20101111.pnd -e "snes9x /media/SDHC/roms/snes/ActRaiser\ 2.smc"
maybe someone knows a other way of sending names with spaces in it throught command line other than between quotes like this "name space"
for a Emu frontend I would like start a program from a PND file (through commandline, well that's working
with the pnd_run.sh script and with the pnd_run.sh script you can send some argument (-a "arguments")
so for starting snes9x and load a rom I can use this command:
pnd_run.sh -p /media/SDHC/sigma/snes/snes9x4p_20101111.pnd -e snes9x -a "/media/SDHC/roms/snes/ActRaiser.smc"
that working great but now my problem occurs, when I use a rom with a space in the name like for example: ActRaiser 2.smc
I use this command:
pnd_run.sh -p /media/SDHC/sigma/snes/snes9x4p_20101111.pnd -e snes9x -a "/media/SDHC/roms/snes/ActRaiser\ 2.smc"
but that's not working and when I look at the pnd output I've noticed that from the -a "/media/SDHC/roms/snes/ActRaiser\ 2.smc"
only this: "2.smc" is forwarded that's why my rom isn't loaded in the emulator
error log:
none on /mnt/utmp/snes9x4p_20101111 type aufs (rw,si=6c1d2157,noplink)
[------------------------------]{ App start }[-------------------------------$
Snes9X: Memory allocation failure - not enough RAM/virtual memory available.
S9xExiting...
Rate: 32000, Buffer size: 512, 16-bit: yes, Stereo: yes, Encoded: no
Error opening: 2.smc
[-------------------------------]{ App end }[--------------------------------$
cleanup done
I have tried many things like:
-a '/media/SDHC/roms/snes/ActRaiser\ 2.smc'
'-a "/media/SDHC/roms/snes/ActRaiser\ 2.smc"'
when I run pnd_run.sh I get the message:
#Usage: pnd_run.sh -p your.pnd -e executeable [-a "(arguments)"] [ -s "cd to folder inside pnd"] [-b UID (name of mountpoint/pandora/appdata)] [-x close x before launching(script needs to be started with nohup for this to work]
# -s startdir
# arguments can be inside -e, -a is optional
saying -a is optional and that argument can be inside -e , but that's not working tried:
snes9x4p_20101111.pnd -e snes9x "/media/SDHC/roms/snes/ActRaiser\ 2.smc"
snes9x4p_20101111.pnd -e snes9x "/media/SDHC/roms/snes/ActRaiser\ 2.smc"
snes9x4p_20101111.pnd -e "snes9x /media/SDHC/roms/snes/ActRaiser\ 2.smc"
maybe someone knows a other way of sending names with spaces in it throught command line other than between quotes like this "name space"