Closed MattTW closed 1 year ago
Yes, everything is ready on dmdext side for a pin2color plugin. But @lucky01 didn't release it yet. I tested with a gutted version that doesn't support PAC, so all we can do it wait for @lucky01 to hold up his end of the deal.
That's what I thought, just wanted to confirm. Thanks again!
@freezy i know this is closed, but wanted to check the state of this before suggesting someone open a bug ticket.
Was trying to help someone that wants to use PAC colorizations
got lucky's pin2color DLL's pin2color.dll, pin2color64.dll libusbK.dll and libusbK64.dll put in vpinmame folder
Edited dmddevice.ini
; put your plugins here, up to 10 plugins can be defined. ; since they are native plugins, you need to define them ; for both 32-bit and 64-bit versions. plugin.0.path = D:\Pinball\VPX\VpinMAME\pin2color.dll plugin.0.path64 = D:\Pinball\VPX\VpinMAME\pin2color64.dll plugin.0.passthrough = false
Went to test it out, set rom to use external DLL, check colored
no color
Looked in dmddevice.log
[1] 2023/09/03 14:23:25.898 INFO | Starting DmdDevice API 2.2.0-PLUGINS-r112 (35aabb1) (x64) through Setup64.exe. [1] 2023/09/03 14:23:25.948 INFO | Assembly located at D:\Pinball\VPX\VpinMAME\DmdDevice64.dll [1] 2023/09/03 14:23:25.948 INFO | Running in D:\Pinball\VPX\VpinMAME [1] 2023/09/03 14:23:26.014 INFO | Successfully loaded config from D:\Pinball\VPX\VpinMAME\DmdDevice.ini. [1] 2023/09/03 14:23:26.145 INFO | [serum] Determined altcolor path from assembly path: D:\Pinball\VPX\VpinMAME\altcolor [1] 2023/09/03 14:23:27.859 INFO | [dll] Open(0) [1] 2023/09/03 14:23:27.859 INFO | [dll] Set_4_Colors_Palette(0, #000000, #0600D6, #E10FC1, #FF5820) [1] 2023/09/03 14:23:27.859 INFO | Setting palette to 4 colors... [1] 2023/09/03 14:23:27.859 INFO | [dll] PM_GameSettings(0, mm_109c, 1) [1] 2023/09/03 14:23:27.859 INFO | Enabling game colorization [1] 2023/09/03 14:23:27.859 INFO | Setting game name: mm_109c [1] 2023/09/03 14:23:27.859 INFO | Setting color: #FFFF5820 [1] 2023/09/03 14:23:27.868 INFO | [serum] No colorization found at D:\Pinball\VPX\VpinMAME\altcolor\mm_109c\mm_109c.cRZ... [1] 2023/09/03 14:23:27.934 ERROR | [plugin] Error loading plugin, disabling: Cannot map function Open in D:\Pinball\VPX\VpinMAME\pin2color64.dll [1] 2023/09/03 14:23:27.934 INFO | [vni] Loading palette file at D:\Pinball\VPX\VpinMAME\altcolor\mm_109c\pin2dmd.pal... [1] 2023/09/03 14:23:27.934 INFO | [vni] Loading animation file at D:\Pinball\VPX\VpinMAME\altcolor\mm_109c\pin2dmd.vni... [1] 2023/09/03 14:23:28.055 INFO | [vni] Loaded animation set VPIN v4, 978 animation(s) [1] 2023/09/03 14:23:28.069 INFO | [vni] Animation Dimensions: 128x32 [1] 2023/09/03 14:23:28.069 INFO | Opening virtual display... [9] 2023/09/03 14:23:28.224 INFO | Added VirtualDMD renderer. [9] 2023/09/03 14:23:28.226 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False [9] 2023/09/03 14:23:28.226 INFO | Just clearing palette, colorization is done by converter. [9] 2023/09/03 14:23:28.226 INFO | Applying default color to render graphs (#FFFF5820). [9] 2023/09/03 14:23:28.243 INFO | Setting up 2-bit Colorization Graph for 1 destination(s) [ Virtual DMD ] [9] 2023/09/03 14:23:28.243 INFO | == Listening to DmdDevice 2-bit Source for VNI Colorizer (Gray2) [9] 2023/09/03 14:23:28.243 INFO | ** Linking converter VNI Colorizer to Virtual DMD... [9] 2023/09/03 14:23:28.243 INFO | -> Connecting VNI Colorizer to Virtual DMD (ColoredGray2 => ColoredGray2) [9] 2023/09/03 14:23:28.262 INFO | -> Connecting VNI Colorizer to Virtual DMD (ColoredGray4 => ColoredGray4) [9] 2023/09/03 14:23:28.262 INFO | -> Connecting VNI Colorizer to Virtual DMD (ColoredGray6 => ColoredGray6) [9] 2023/09/03 14:23:28.262 INFO | Setting up 4-bit Colorization Graph for 1 destination(s) [ Virtual DMD ] [9] 2023/09/03 14:23:28.262 INFO | == Listening to DmdDevice 4-bit Source for VNI Colorizer (Gray4) [9] 2023/09/03 14:23:28.262 INFO | ** Linking converter VNI Colorizer to Virtual DMD... [9] 2023/09/03 14:23:28.262 INFO | Setting up RGB24 Passthrough Graph for 1 destination(s) [ Virtual DMD ] [9] 2023/09/03 14:23:28.262 INFO | -> Connecting DmdDevice RGB24 Source to Virtual DMD (Rgb24 => Rgb24) [9] 2023/09/03 14:23:28.262 INFO | Setting up Alphanumeric Passthrough Graph for 1 destination(s) [ Virtual DMD ] [9] 2023/09/03 14:23:28.523 INFO | Creating FBOs for 128x32 [1] 2023/09/03 14:24:18.380 INFO | [dll] Close(0) [1] 2023/09/03 14:24:18.380 INFO | Closing up. [1] 2023/09/03 14:24:18.390 INFO | Source for 4 renderer(s) stopped. [1] 2023/09/03 14:24:18.390 INFO | Source for 1 renderer(s) stopped. [1] 2023/09/03 14:24:18.390 INFO | Source for 1 renderer(s) stopped. [1] 2023/09/03 14:24:18.390 INFO | Source for 0 renderer(s) stopped.
The error [1] 2023/09/03 14:23:27.934 ERROR | [plugin] Error loading plugin, disabling: Cannot map function Open in D:\Pinball\VPX\VpinMAME\pin2color64.dll
Is that due to a lucky1 issue?
Freezys DMD extensions is dmdext-2.2.0-PLUGINS-r11
@freezy Disregard above.
I had to help him find a VNI key which does not seem to be documented in Lucky1's crap and then add that to dmddevice.ini
lord i hate PAC
Wanted to verify the intention/state with you guys @freezy and @lucky01:
When I run latest 2.2 beta 2 with --colorize I can see from the logging it is looking for serum and pal/vni files in the expected locations.
In the past, if we wanted pal file support, we had to obtain lucky's latest dll file replacements for dmd-ext that were up to date with freezy's codebase.
Now, there is a new plugin system, we should expect at some point a plugin that we can add that supports pac color files? Is that right? Until then 2.2 beta doesn't support them?
Thanks for any clarifications! And thank you guys for your work on this stuff!