apartmentEmulator / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Console UI misinterprets spaces in rom file names #339

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Operating System (be specific): Mac OS X 10.6.2
 - Machine type (32-bit or 64-bit): 64-bit
 - Mupen64Plus version: 1.9.9.3
 - Plugins used: rice, the rest default

For visual artifacts, give:
- game name and CRC/MD5 hash (printed on console)
- description of the artifact (missing polygons, flashing, wrong colors,
etc)

Describe the problem:

When launching a rom from the console UI, if a rom file name contains 
spaces--even when 
prefaced with a "\"--all words before "xxx.N64" are passed as parameters 
instead of part of the 
file name.

Please provide any additional information below.

The command "./run_rice.sh Rom\ name\ with\ spaces.N64" results in the 
following:

Warning: unrecognized command-line parameter 'Rom'
Warning: unrecognized command-line parameter 'name'
Warning: unrecognized command-line parameter 'with'
Error: couldn't open ROM file 'spaces.N64' for reading.

Original issue reported on code.google.com by i...@consoleemu.com on 24 Feb 2010 at 3:57

GoogleCodeExporter commented 8 years ago
Try:
./run_rice.sh "Rom\ name\ with\ spaces.N64"

Original comment by dorian.f...@gmail.com on 24 Feb 2010 at 10:56

GoogleCodeExporter commented 8 years ago
Where did you get run_rice.sh from? And it isn't a ui problem, but a problem 
from
that script.

Original comment by sven@narfation.org on 24 Feb 2010 at 12:19

GoogleCodeExporter commented 8 years ago
Change $1 in that script to "$1"

Original comment by sven@narfation.org on 24 Feb 2010 at 12:40

GoogleCodeExporter commented 8 years ago
D'oh! Sorry for making such a basic in my script. I guess this shows that my
scripting skills are still basic.
I guess this can be closed.

Original comment by auria...@gmail.com on 24 Feb 2010 at 3:28

GoogleCodeExporter commented 8 years ago

Original comment by richard...@gmail.com on 25 Feb 2010 at 2:25

GoogleCodeExporter commented 8 years ago
Thanks a lot for helping me with this.  I'd just like to point out that this is 
an issue with all of the Mac GFX 
plugins (run_glide.sh, run_arach.sh, and run_rice.sh).  

Original comment by i...@consoleemu.com on 25 Feb 2010 at 2:42