Update of /cvsroot/freevo/freevo/src/games
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4377
Modified Files:
genericitem.py genesisitem.py snesitem.py mameitem.py
Log Message:
use list version of command for better options parsing regarding things with spaces in
there names
Index: mameitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/mameitem.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** mameitem.py 24 Feb 2004 18:05:19 -0000 1.19
--- mameitem.py 6 Jun 2004 16:53:39 -0000 1.20
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.20 2004/06/06 16:53:39 mikeruelle
+ # use list version of command for better options parsing regarding things with
spaces in there names
+ #
# Revision 1.19 2004/02/24 18:05:19 mikeruelle
# make the info retreival a lot better
***************
*** 101,107 ****
self.image = os.path.splitext(file)[0] + ".png"
! command = '--prio=%s %s %s' % (config.GAMES_NICE,
! cmd,
! args)
# Some files needs special arguments to mame, they can be
--- 104,109 ----
self.image = os.path.splitext(file)[0] + ".png"
! command = ['--prio=%s' % config.GAMES_NICE, cmd]
! command.extend(args.split())
# Some files needs special arguments to mame, they can be
***************
*** 111,123 ****
# regular mame arguments.
if os.path.isfile(file + '.mame'):
! command += (' ' + open(filename + '.mame').read().strip())
! if DEBUG: print 'Read options, command = "%s"' % command
! romname = os.path.basename(file)
! romdir = os.path.dirname(file)
! command = '%s %s' % (command, file)
self.command = command
- print "Command for MAME : %s" % self.command
self.game_player = game.get_singleton()
--- 113,123 ----
# regular mame arguments.
if os.path.isfile(file + '.mame'):
! addargs = open(filename + '.mame').read().strip()
! command.extend(addargs.split())
! if DEBUG: print 'Read additional options = "%s"' % addargs
! command.append(file)
self.command = command
self.game_player = game.get_singleton()
Index: genesisitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/genesisitem.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** genesisitem.py 19 Jan 2004 21:33:02 -0000 1.7
--- genesisitem.py 6 Jun 2004 16:53:39 -0000 1.8
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.8 2004/06/06 16:53:39 mikeruelle
+ # use list version of command for better options parsing regarding things with
spaces in there names
+ #
# Revision 1.7 2004/01/19 21:33:02 mikeruelle
# a patch from Sylvian to use the new set_url stuff
***************
*** 126,136 ****
self.image = os.path.splitext(file)[0] + ".png"
! command = '--prio=%s %s %s' % (config.GAMES_NICE,
! cmd,
! args)
!
! romname = os.path.basename(file)
! romdir = os.path.dirname(file)
! command = '%s "%s"' % (command, file)
self.command = command
--- 129,135 ----
self.image = os.path.splitext(file)[0] + ".png"
! command = ['--prio=%s' % config.GAMES_NICE, cmd]
! command.extend(args.split())
! command.append(file)
self.command = command
Index: snesitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/snesitem.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** snesitem.py 24 Feb 2004 17:04:39 -0000 1.18
--- snesitem.py 6 Jun 2004 16:53:39 -0000 1.19
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.19 2004/06/06 16:53:39 mikeruelle
+ # use list version of command for better options parsing regarding things with
spaces in there names
+ #
# Revision 1.18 2004/02/24 17:04:39 mikeruelle
# Add some info to the info area where we have it
***************
*** 304,314 ****
self.image = os.path.splitext(file)[0] + ".png"
! command = '--prio=%s %s %s' % (config.GAMES_NICE,
! cmd,
! args)
!
! romname = os.path.basename(file)
! romdir = os.path.dirname(file)
! command = '%s "%s"' % (command, file)
self.command = command
--- 307,313 ----
self.image = os.path.splitext(file)[0] + ".png"
! command = ['--prio=%s' % config.GAMES_NICE, cmd]
! command.extend(args.split())
! command.append(file)
self.command = command
Index: genericitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/genericitem.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** genericitem.py 19 Jan 2004 21:32:58 -0000 1.6
--- genericitem.py 6 Jun 2004 16:53:39 -0000 1.7
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.7 2004/06/06 16:53:39 mikeruelle
+ # use list version of command for better options parsing regarding things with
spaces in there names
+ #
# Revision 1.6 2004/01/19 21:32:58 mikeruelle
# a patch from Sylvian to use the new set_url stuff
***************
*** 90,100 ****
self.image = os.path.splitext(file)[0] + ".png"
! command = '--prio=%s %s %s' % (config.GAMES_NICE,
! cmd,
! args)
!
! romname = os.path.basename(file)
! romdir = os.path.dirname(file)
! command = '%s "%s"' % (command, file)
self.command = command
--- 93,99 ----
self.image = os.path.splitext(file)[0] + ".png"
! command = ['--prio=%s' % config.GAMES_NICE, cmd]
! command.extend(args.split())
! command.append(file)
self.command = command
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog