Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
01538 Interface Feature Always Mar 17, 2008, 00:12 Mar 17, 2008, 09:21
Tester mbarnes View Status Public Platform SDLMAME
Assigned To Resolution Fixed OS Linux
Status [?] Resolved Driver
Version 0.123u2 Fixed in Version 0.123u6 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 01538: -verifysamples: Inconsistent handling of missing sample sets
Description Running "mame -verifysamples" does not print "sampleset xxx not found!" for missing sample sets. It only prints "NOT FOUND" messages for each sound file in that sample set.

"mame -verifysamples xxx", however, /does/ print "sampleset xxx not found!".

This confuses front-ends that try to parse this output.
Steps To Reproduce Pick a missing sample set, or move one out of the way.
I'll use "zaxxon" in the following examples.

mame -verifysamples zaxxon

  zaxxon : 03.wav - NOT FOUND
  zaxxon : 02.wav - NOT FOUND
  zaxxon : 01.wav - NOT FOUND
  zaxxon : 00.wav - NOT FOUND
  zaxxon : 11.wav - NOT FOUND
  zaxxon : 10.wav - NOT FOUND
  zaxxon : 08.wav - NOT FOUND
  zaxxon : 23.wav - NOT FOUND
  zaxxon : 21.wav - NOT FOUND
  zaxxon : 20.wav - NOT FOUND
  zaxxon : 05.wav - NOT FOUND
  zaxxon : 04.wav - NOT FOUND
  sampleset "zaxxon" not found! <-- "not found!" line is printed


mame -verifysamples

  ...
  zaxxon : 03.wav - NOT FOUND
  zaxxon : 02.wav - NOT FOUND
  zaxxon : 01.wav - NOT FOUND
  zaxxon : 00.wav - NOT FOUND
  zaxxon : 11.wav - NOT FOUND
  zaxxon : 10.wav - NOT FOUND
  zaxxon : 08.wav - NOT FOUND
  zaxxon : 23.wav - NOT FOUND
  zaxxon : 21.wav - NOT FOUND
  zaxxon : 20.wav - NOT FOUND
  zaxxon : 05.wav - NOT FOUND
  zaxxon : 04.wav - NOT FOUND
  ... <- "not found!" line is never printed
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.00192
zsoltvasvari
Developer
Mar 17, 2008, 00:46
Just curious -- are you relying on the "sampleset not found" message for some external tool?
User avatar
No.00197
mbarnes
Tester
Mar 17, 2008, 02:20
Yes, a front-end I maintain [1] relies on it to display a simple sample status to the user. In particular, the parsing routine looks for lines of the form:

   [sampleset|romset] GAME [good|bad|best available|not supported|not found]

The problem this creates for the front-end is -- from this data alone -- it can't tell whether a particular game doesn't /use/ samples or if the sample set is just not available, since neither case prints a message of the above form.

[1] http://www.gnomefiles.org/app.php/GNOME_Video_Arcade