freezy / dmd-extensions

A toolbox for virtual pinball dot matrix displays.
GNU General Public License v2.0
120 stars 52 forks source link

Lost alt colors in DMD after upgrading DMDDevice64.dll #440

Closed julianmrodri closed 9 months ago

julianmrodri commented 9 months ago

HI, I upgraded my DmdDevice64.dll to the latest version 2.2.1, and to my surprise many of the DMDs I used to see with altcolors are now just a combination of orange and blue.

If I check on VPX when running the table I have Use external DMD and Colorize DMD both checked like before, but some reason is not picking up the colors.

I did not overwrite nor modify any .ini or config file. Why could I lost the color on the DMDs just by pasting the new DmdDevice64.dll ? Any ideas how to fix this? If I rollback to my previous version (1x) of the DLL everything works nicely.

Any help would be appreciated! Really want to upgrade!! Thanks!

freezy commented 9 months ago

Any way you could provide a log please?

julianmrodri commented 9 months ago

Any way you could provide a log please?

Will do my best to get it! I only notice it on VPX 10.7 tables, does it make sense? For my 10.8 tables like the new GNR I see the colors in the DMD. All in 64 bit.

julianmrodri commented 9 months ago

Also im not overriding any .ini or config files just pasting the new dll.

freezy commented 9 months ago

The colorizations that don't work, are they VNI/PAL, or PAC?

julianmrodri commented 9 months ago

[6] 2023/10/01 17:37:38.991 WARN | Error initializing colorizer: [vni] No PAC key found. Set it in DmdDevice.ini under vni.key. System.ArgumentException: [vni] No PAC key found. Set it in DmdDevice.ini under vni.key. at LibDmd.Converter.Vni.VniLoader.LoadPac(String vniKey) at LibDmd.Converter.Vni.VniLoader.Load(String vniKey) at LibDmd.Converter.Vni.ColorizationLoader.LoadVniColorizer(String gameName, ScalerMode scalerMode, String vniKey)

julianmrodri commented 9 months ago

In my case the funny thing is I dont have settings in dmddevice.ini seems like they are in dmdext.ini. Not sure why, I did not do the original setup. How can I fix this? Thanks!

freezy commented 9 months ago

Yeah, see here.

Your use case is the reason why PAC is now natively supported.

julianmrodri commented 9 months ago

@freezy thanks for the link. But Im still not sure what should I do.

Is it enough to add that key that you state in the post? Sorry im kind of new im not familiar with all that discussion.

freezy commented 9 months ago

Yes, adding the key should do it.

julianmrodri commented 9 months ago

Freezy! Adding the key fixed the issue. However I had to add it to dmddevice.ini. But ALL the other configs I have them in dmdext.ini. Do you know why I have this setting instead of a plain dmddevice.ini with everything there?

Adding the key to dmdext.ini did not work. I had to include it in dmddevice.ini Thanks!

freezy commented 9 months ago

No problem!

Not sure what you're dmdext.ini using for - if you want to use dmddevice.ini with dmdext.exe, just use the --use-ini option.