Ideas for Playback additional functionality
Posted: Wed Oct 30, 2002 7:27 am
Hi,
I posted the message below to the MAME board, and haven't received any major replies yet. So I thought I'd post here to see what the view of people here is. What I basically want to know is whether anyone would be interested in the additional functionality proposed.
If there are any MAME Devs on this board who would have a general idea of whether such functionality would be accepted into MAME, then I'd be interested to hear your response.
The message:
I've been considering the following ideas for an additional menu item
for 'Playback', for a while now. Please let me know whether these
could be added to MAME (I would be willing to help program them if
the MAME devs think these would be suitable additions).
The 'Playback' menu option will only appear if a game is being
played back (-playback option) and would have the following sub menu
items:
1) Stop playback
2) Show playback percent
3) Set pause percentage
4) Show playback text
I will now describe each suggested option in more detail.
1) Stop Playback
This option is simple. It is designed to stop MAME taking input from
the playback file and allow the user to begin to provide their own
input (via keyboard, etc...). I.e. playback is stopped, and the user
can continue to play the game from the current point in the game.
This would be useful in helping MAME Devs and bug fixers to be able
to stop playback at a certain time and to experience the bug for
themselves, rather than being stuck with the recorded input for the
whole gameplay (if the user continued to play, rather than stop
recording when the 'bug' occurred that is).
It also enables other users to check the validility of a specific
INPut file, by checking that the recorder did not use an invinicibility
cheat or other bug in the arcade game to their own advantage, etc...
2) Show playback percent
This would show the current position of playback in the INPut file as
a percentage of the total size of that playback file. I.e. so we can
see how far through the playback we are.
This assumes that we can obtain the file size of the INPut file, and the
current position that we have reached in it, irrespective of the
operating system (Mac, Windows, DOS, Linux, etc...). I'm not sure
if we can do this in all operating systems that MAME works on - any ideas?
My idea is that once this option will allow the percentage figure to be
permanantly shown on the screen at the location specified by the user
(in the same way as the cheat Watchpoints are displayed). The user
will be prompted to specify whether the percentage figure is displayed
or not (toggle), and at which X and Y co-ordinate location the values
should be displayed. The percentage will be shown to 2 decimal places.
And ENDED will be displayed when the playback file has ended (or when
option 1) [above] has been specified).
This would be useful in helping MAME Devs and bug fixers to be able to
know where abouts in the playback the 'bug' occurs. I.e. the MAME
Tester could post that the 'bug' occurs at 76.43% of playback,
enabling the MAME dev to locate the bug more easily.
It will also benefit normal users of MAME, as they can find out
aproximately how far they are through the playback, and how much
longer playback should continue for.
Also, if we can calculate elapsed time, then we can estimate the
amount of time left before the playback completes.
3) Set pause percentage
This option will enable the user to type in a percentage figure
(between 0.00 and 100.00%) at which MAME should automatically
pause the playback.
The default percentage figure will be the current playback percent
(as described in option 2) above). This enables a user to pause the
playback at the current position.
This is the same as pressing the
[PAUSE] key, except that if a future TG version of MAME is produced,
without a [PAUSE] key, then playback can still be paused using this
function. This should be acceptable, to allow anyone viewing the
recording to take a break - after all TG versions prevent users
and recorders from being able to do anything that they couldn't do
in an Arcade - but it should still allow playback to be paused - as
it isn't actual real-time gameplay (IMO that is).
The main function, however, is to enable someone playing back the
recording to be able to specify the point (percentage) in gameplay
which that are interested in, and to be able to leave MAME running to
that point, wiithout fear of missing anything that they want to see.
Once paused, the game can be unpaused as normal - this will automatically
clear the set pause value. Except in possible future
TG versions, where functionality may need to be added to this option,
so that when the set pause value is changed, MAME will continue
playback as if the [PAUSE] key has been pressed again.
This would be useful in helping MAME Devs and bug fixers to be able to
stop playback at the point they are interested in seeing the action.
So they they can leave MAME running to the point of the 'bug' without
fear of missing anything (as long as they know the percentage of gameplay
in which the 'bug' occurs, that is).
4) Show playback text
They are many situations when it would be nice to be able to comment
or read information about a particular playback file.
I.e.: Details of 'MAME bugs' during gameplay, details of game specifics,
details of levels completed, details of any tricks or leeching performed,
documentation concerning the game, playback requirements, etc...)
I suggest that all .INP files should have the option of being accomplanied
by an .INT file which will contain playback text concerning one or
many of the possible details that can be reported on about the recording.
This option should display any text found in an .INT file with the same
filename as the .INP file. The text should be shown in a similar mannor
to the Game History/Mame Info text.
As MAME does not have a text editor, the user cannot add any text, only
view existing text.
It will be up to any individuals providing recordings, or any site
which allows recordings to be uploaded/downloaded, to maintain and
distribute any such .INT files.
I.e.: Preferably, sites should allow the .INT files to be downloaded
alongside the .INP files, and to have an 'Add Comment' option, in which
any registered user of the site may add a comment to the end of the
existing .INT file for the specified playback file.
The site should automatically maintain the .INT file, by automatically
allowing any comments to be added to the end of the current file (along
with details of the user which made the comment).
This will help document recordings, and to give more information
about any bugs found in the gameplay - which would help MAME Devs,
MAME Fixers and MAME Testers.
Of course, there would be no requirement to provide an .INT file
for every .INP file, only a option to if user which to comment.
-----
Well, that's it. I think these ideas wouldn't take too much to program.
And that they would benifit .INP files and MAME in general. Please
post any comments or ideas that you may have, and let me know if these
ideas would be suitable for MAME.
Thanks,
Kranser.
I posted the message below to the MAME board, and haven't received any major replies yet. So I thought I'd post here to see what the view of people here is. What I basically want to know is whether anyone would be interested in the additional functionality proposed.
If there are any MAME Devs on this board who would have a general idea of whether such functionality would be accepted into MAME, then I'd be interested to hear your response.
The message:
I've been considering the following ideas for an additional menu item
for 'Playback', for a while now. Please let me know whether these
could be added to MAME (I would be willing to help program them if
the MAME devs think these would be suitable additions).
The 'Playback' menu option will only appear if a game is being
played back (-playback option) and would have the following sub menu
items:
1) Stop playback
2) Show playback percent
3) Set pause percentage
4) Show playback text
I will now describe each suggested option in more detail.
1) Stop Playback
This option is simple. It is designed to stop MAME taking input from
the playback file and allow the user to begin to provide their own
input (via keyboard, etc...). I.e. playback is stopped, and the user
can continue to play the game from the current point in the game.
This would be useful in helping MAME Devs and bug fixers to be able
to stop playback at a certain time and to experience the bug for
themselves, rather than being stuck with the recorded input for the
whole gameplay (if the user continued to play, rather than stop
recording when the 'bug' occurred that is).
It also enables other users to check the validility of a specific
INPut file, by checking that the recorder did not use an invinicibility
cheat or other bug in the arcade game to their own advantage, etc...
2) Show playback percent
This would show the current position of playback in the INPut file as
a percentage of the total size of that playback file. I.e. so we can
see how far through the playback we are.
This assumes that we can obtain the file size of the INPut file, and the
current position that we have reached in it, irrespective of the
operating system (Mac, Windows, DOS, Linux, etc...). I'm not sure
if we can do this in all operating systems that MAME works on - any ideas?
My idea is that once this option will allow the percentage figure to be
permanantly shown on the screen at the location specified by the user
(in the same way as the cheat Watchpoints are displayed). The user
will be prompted to specify whether the percentage figure is displayed
or not (toggle), and at which X and Y co-ordinate location the values
should be displayed. The percentage will be shown to 2 decimal places.
And ENDED will be displayed when the playback file has ended (or when
option 1) [above] has been specified).
This would be useful in helping MAME Devs and bug fixers to be able to
know where abouts in the playback the 'bug' occurs. I.e. the MAME
Tester could post that the 'bug' occurs at 76.43% of playback,
enabling the MAME dev to locate the bug more easily.
It will also benefit normal users of MAME, as they can find out
aproximately how far they are through the playback, and how much
longer playback should continue for.
Also, if we can calculate elapsed time, then we can estimate the
amount of time left before the playback completes.
3) Set pause percentage
This option will enable the user to type in a percentage figure
(between 0.00 and 100.00%) at which MAME should automatically
pause the playback.
The default percentage figure will be the current playback percent
(as described in option 2) above). This enables a user to pause the
playback at the current position.
This is the same as pressing the
[PAUSE] key, except that if a future TG version of MAME is produced,
without a [PAUSE] key, then playback can still be paused using this
function. This should be acceptable, to allow anyone viewing the
recording to take a break - after all TG versions prevent users
and recorders from being able to do anything that they couldn't do
in an Arcade - but it should still allow playback to be paused - as
it isn't actual real-time gameplay (IMO that is).
The main function, however, is to enable someone playing back the
recording to be able to specify the point (percentage) in gameplay
which that are interested in, and to be able to leave MAME running to
that point, wiithout fear of missing anything that they want to see.
Once paused, the game can be unpaused as normal - this will automatically
clear the set pause value. Except in possible future
TG versions, where functionality may need to be added to this option,
so that when the set pause value is changed, MAME will continue
playback as if the [PAUSE] key has been pressed again.
This would be useful in helping MAME Devs and bug fixers to be able to
stop playback at the point they are interested in seeing the action.
So they they can leave MAME running to the point of the 'bug' without
fear of missing anything (as long as they know the percentage of gameplay
in which the 'bug' occurs, that is).
4) Show playback text
They are many situations when it would be nice to be able to comment
or read information about a particular playback file.
I.e.: Details of 'MAME bugs' during gameplay, details of game specifics,
details of levels completed, details of any tricks or leeching performed,
documentation concerning the game, playback requirements, etc...)
I suggest that all .INP files should have the option of being accomplanied
by an .INT file which will contain playback text concerning one or
many of the possible details that can be reported on about the recording.
This option should display any text found in an .INT file with the same
filename as the .INP file. The text should be shown in a similar mannor
to the Game History/Mame Info text.
As MAME does not have a text editor, the user cannot add any text, only
view existing text.
It will be up to any individuals providing recordings, or any site
which allows recordings to be uploaded/downloaded, to maintain and
distribute any such .INT files.
I.e.: Preferably, sites should allow the .INT files to be downloaded
alongside the .INP files, and to have an 'Add Comment' option, in which
any registered user of the site may add a comment to the end of the
existing .INT file for the specified playback file.
The site should automatically maintain the .INT file, by automatically
allowing any comments to be added to the end of the current file (along
with details of the user which made the comment).
This will help document recordings, and to give more information
about any bugs found in the gameplay - which would help MAME Devs,
MAME Fixers and MAME Testers.
Of course, there would be no requirement to provide an .INT file
for every .INP file, only a option to if user which to comment.
-----
Well, that's it. I think these ideas wouldn't take too much to program.
And that they would benifit .INP files and MAME in general. Please
post any comments or ideas that you may have, and let me know if these
ideas would be suitable for MAME.
Thanks,
Kranser.