mpf icon indicating copy to clipboard operation
mpf copied to clipboard

Extract information from vpx and directb2s to generate parts of hardware.yml

Open arthurlutz opened this issue 4 years ago • 1 comments

Am a bit new to this, but there seems to be a fair bit of information and logic data in emulated pinball machines using pinmame and other emulators.

Am looking into extracting symbols or more information from these game emulations, has anyone done something similar ?

  • directb2s seems to be an xml format for describing backglasses
  • vpx is a binary format but extracting using the strings command shows some potentially usable information and some code.

In my example https://vpinball.com/VPBdownloads/four-seasons-gottlieb-1968/ (requires registration to download file) I see :

$ strings Four\ Seasons\ \(Gottlieb\ 1968\).vpx  | grep points                                gottlieb1000pointsbonus
gottlieb1000points
gottlieb500points
gottlieb100points
gottlieb10points

I haven't yet found the tools used to create or edit theses types of files, but if there was an opensource library, it would be a nice kickstart to mod a table.

arthurlutz avatar Oct 09 '19 06:10 arthurlutz

Not sure if that is possible. I usually consult the manual. Are you looking for something specific?

jabdoa2 avatar Oct 09 '19 07:10 jabdoa2