When I do this, it still changes the altsound settings for everything using the original rom. For instance marty02 has a King of rock and Roll table that uses elvis rom. I make a VPMAlias entry ElvisM,elvis and I placed altsound file in ElvisM folder in the altsound folder. I changed the cGameName to ElvisM. But when I hit f1 on either table it bring up the setting for the original rom only. I can choose altsound 1 for 1 table but it affects them both. Is there something else I need to do?
What I did, so people could have another NFL table from different author work as intended, was I added script command to call the Sound Mode in Table Init sub.
Then I add script command in Table Exit sub to shut it off when table is closed.
This turns on Altsound when table is started, and shuts it off when table is closed.
Here is what the script command looks like...(Change "nfl" to the rom you are using. Not the VPMAlias name.)
Add this to Table Init Sub..
Controller.Games("nfl").Settings.Value("sound_mode") =1
And then add this to Table Exit Sub...
Controller.Games("nfl").Settings.Value("sound_mode") =0
So you are controlling when to turn on and off Altsound per table.
As soon as you exit table, Altsound is turned off.