Repository navigation
Take the colorization of the ROM PinMAME plays - #7
Merged
Merged
Conversation
PinMAME can play a compatible ROM in place of the one the table was made for. Automatic selection now looks for that ROM's colorization first, then the table ROM's. The plugin prepares after PinMAME, which decides the ROM.
[Medium impact] The PR appears safe to merge; the previous library lookup issue is fixed. SummaryThe plugin follows the ROM PinMAME actually plays when choosing an automatic colorization.
|
The library imported from DmdDevice.ini is the table ROM's, so it hid the altcolor of the ROM that plays. The library is now resolved per ROM: the one the user saved, else that ROM's section of the ini, else the default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The PinMAME plugin can now play a compatible ROM in place of the one a table was made for, when that one isn't in the user's ROM folder (VisualPinball/VisualPinball.Engine.PinMAME, branch
feat/compatible-roms). Colorizations are made per ROM, so the DMD plugin should look for the one of the ROM that actually plays.IRomNameProvider. PinMAME prepares first, and the descriptor now also declaresAfter = org.visualpinball.pinmame.Without a substitute ROM, nothing changes: the running ROM is the table's.
Tested in the player: with the substitute ROM's own PAC in its altcolor folder, the plugin loaded it ("Colorization for (table ROM
)").