Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freezy 2.0 error initializing colorizer #359

Closed
Jewer76 opened this issue Mar 8, 2023 · 21 comments
Closed

Freezy 2.0 error initializing colorizer #359

Jewer76 opened this issue Mar 8, 2023 · 21 comments
Labels

Comments

@Jewer76
Copy link

Jewer76 commented Mar 8, 2023

I have Freezy running and colored roms work with the pal/vni extensions. I never got pac files to work, no matter what I did. Have looked for help in the forums, but nothing worked.

Now I installed Freezy 2.0 and want to skip getting pac to work and move directly to serum.

Sadly this doesn't work either, no matter what I do. Below is my DmdDevice.log - hope someone can figure out why it makes an error. The sentence in Danish saying "Det angivne modul blev ikke fundet" translates in English to "The specified module was not found".

[6] 2023/03/07 23:33:35.901 INFO | Successfully loaded config from C:\Visual Pinball\VPinMAME\DmdDevice.ini.
[6] 2023/03/07 23:33:35.957 INFO | Determined color path from assembly path: C:\Visual Pinball\VPinMAME\altcolor
[6] 2023/03/07 23:33:35.959 INFO | Starting VPinMAME API 2.0.0 through VPinballX.exe.
[6] 2023/03/07 23:33:35.959 INFO | Assembly located at C:\Visual Pinball\VPinMAME\DmdDevice.dll
[6] 2023/03/07 23:33:35.959 INFO | [vpm] Open(0)
[6] 2023/03/07 23:33:35.959 INFO | [vpm] Set_4_Colors_Palette(0,...)
[6] 2023/03/07 23:33:35.959 INFO | Setting palette to 4 colors...
[6] 2023/03/07 23:33:35.959 INFO | [vpm] PM_GameSettings(0, SS_15, 1)
[6] 2023/03/07 23:33:35.959 INFO | Enabling game colorization
[6] 2023/03/07 23:33:35.959 INFO | Setting game name: SS_15
[6] 2023/03/07 23:33:35.959 INFO | Setting color: #FFFF5820
[6] 2023/03/07 23:33:35.976 WARN | Error initializing colorizer: Unable to load DLL 'serum.dll': Det angivne modul blev ikke fundet. (Exception from HRESULT: 0x8007007E) System.DllNotFoundException: Unable to load DLL 'serum.dll': Det angivne modul blev ikke fundet. (Exception from HRESULT: 0x8007007E)
at LibDmd.Converter.Serum.Serum.Serum_Load(String altcolorpath, String romname, Int32& width, Int32& height, UInt32& numColors, UInt32& triggernb)
at LibDmd.Converter.Serum.Serum..ctor(String altcolorPath, String romName) in C:\Development\dmd-extensions-v2022\LibDmd\Converter\Serum\Serum.cs:line 66
at LibDmd.DmdDevice.DmdDevice.SetupColorizer() in C:\Development\dmd-extensions-v2022\LibDmd\DmdDevice\DmdDevice.cs:line 212
[6] 2023/03/07 23:33:35.976 INFO | No palette file found at C:\Visual Pinball\VPinMAME\altcolor\SS_15[Pin2DMD uses stolen and/or infringes IP. PinDMD is the genuine product ;) ].pal.
[6] 2023/03/07 23:33:35.976 INFO | ScaleToHd = False
[6] 2023/03/07 23:33:35.976 INFO | Opening virtual display...
[11] 2023/03/07 23:33:36.020 INFO | Found B2S, moving behind DMD.
[11] 2023/03/07 23:33:36.036 INFO | Added VirtualDMD renderer.
[11] 2023/03/07 23:33:36.037 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False
[11] 2023/03/07 23:33:36.037 INFO | Applying palette to render graphs.
[11] 2023/03/07 23:33:36.037 INFO | Setting up 2-bit VPM Graph for 1 destination(s)
[11] 2023/03/07 23:33:36.037 INFO | Connecting VPM 2-bit Source to Dmd (Gray2 => Gray2)
[11] 2023/03/07 23:33:36.054 INFO | Setting up 4-bit VPM Graph for 1 destination(s)
[11] 2023/03/07 23:33:36.054 INFO | Connecting VPM 4-bit Source to Dmd (Gray4 => Gray4)
[11] 2023/03/07 23:33:36.054 INFO | Setting up RGB24-bit VPM Graph for 1 destination(s)
[11] 2023/03/07 23:33:36.054 INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24)
[11] 2023/03/07 23:33:36.054 INFO | Setting up Alphanumeric VPM Graph for 1 destination(s)
[11] 2023/03/07 23:33:36.200 INFO | Creating FBOs for 128x32
[6] 2023/03/07 23:33:44.861 INFO | [vpm] Close(0)
[6] 2023/03/07 23:33:44.861 INFO | Closing up.
[6] 2023/03/07 23:33:44.868 INFO | Source for 1 renderer(s) stopped.
[6] 2023/03/07 23:33:44.868 INFO | Source for 1 renderer(s) stopped.
[6] 2023/03/07 23:33:44.868 INFO | Source for 1 renderer(s) stopped.
[6] 2023/03/07 23:33:44.868 INFO | Source for 0 renderer(s) stopped.

It is the new Freezy 2.0 DmdDevice.dll that is installed.

Any help is appreciated. I see no logic in why the serum.dll part is not read or understood.

Cheers,
Jesper

@jwhitehead74
Copy link

jwhitehead74 commented Mar 13, 2023

I have the exact same error. PAC files and PAL/VNI both work fine for me. I have copied Serum.dll to the dmd extensions folder and vpinmame. No luck.

[3] 2023/03/13 07:58:29.825 INFO | Successfully loaded config from C:\Visual Pinball\VPinMAME\DmdDevice.ini.
[3] 2023/03/13 07:58:29.929 INFO | Determined color path from assembly path: C:\Visual Pinball\VPinMAME\altcolor
[3] 2023/03/13 07:58:29.929 INFO | Starting VPinMAME API 2.0.0 through VPinballX.exe.
[3] 2023/03/13 07:58:29.929 INFO | Assembly located at C:\Visual Pinball\VPinMAME\DmdDevice.dll
[3] 2023/03/13 07:58:29.929 INFO | [vpm] Open(0)
[3] 2023/03/13 07:58:29.929 INFO | [vpm] Set_4_Colors_Palette(0,...)
[3] 2023/03/13 07:58:29.929 INFO | Setting palette to 4 colors...
[3] 2023/03/13 07:58:29.929 INFO | [vpm] PM_GameSettings(0, SS_15, 1)
[3] 2023/03/13 07:58:29.929 INFO | Enabling game colorization
[3] 2023/03/13 07:58:29.929 INFO | Setting game name: SS_15
[3] 2023/03/13 07:58:29.929 INFO | Setting color: #FFFF5820
[3] 2023/03/13 07:58:29.939 WARN | Error initializing colorizer: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) System.DllNotFoundException: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at LibDmd.Converter.Serum.Serum.Serum_Load(String altcolorpath, String romname, Int32& width, Int32& height, UInt32& numColors, UInt32& triggernb)
at LibDmd.Converter.Serum.Serum..ctor(String altcolorPath, String romName) in C:\Development\dmd-extensions-v2022\LibDmd\Converter\Serum\Serum.cs:line 66
at LibDmd.DmdDevice.DmdDevice.SetupColorizer() in C:\Development\dmd-extensions-v2022\LibDmd\DmdDevice\DmdDevice.cs:line 212
[3] 2023/03/13 07:58:29.939 INFO | No palette file found at C:\Visual Pinball\VPinMAME\altcolor\SS_15\pin2dmd.pal.
[3] 2023/03/13 07:58:29.939 INFO | ScaleToHd = False
[3] 2023/03/13 07:58:29.939 INFO | Opening virtual display...
[8] 2023/03/13 07:58:30.025 INFO | Found B2S, moving behind DMD.
[8] 2023/03/13 07:58:30.043 INFO | PinDMDv1 device not found.
[8] 2023/03/13 07:58:30.095 INFO | PinDMDv2 device not found.
[8] 2023/03/13 07:58:30.095 INFO | PinDMDv3 device not found.
[8] 2023/03/13 07:58:30.110 INFO | Added VirtualDMD renderer.
[8] 2023/03/13 07:58:30.110 ERROR | [PinUpOutput] Attempt to find PuP_Trigger function but dmddevicePUP.dll is outdated
[8] 2023/03/13 07:58:30.110 INFO | PinUP DLL starting SS_15...
[8] 2023/03/13 07:58:30.110 INFO | Added PinUP renderer.
[8] 2023/03/13 07:58:30.110 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False
[8] 2023/03/13 07:58:30.110 INFO | Applying palette to render graphs.
[8] 2023/03/13 07:58:30.125 INFO | Setting up 2-bit VPM Graph for 2 destination(s)
[8] 2023/03/13 07:58:30.125 INFO | Connecting VPM 2-bit Source to Dmd (Gray2 => Gray2)
[8] 2023/03/13 07:58:30.125 INFO | Connecting VPM 2-bit Source to PinUP Writer (Gray2 => Gray2)
[8] 2023/03/13 07:58:30.125 INFO | Setting up 4-bit VPM Graph for 2 destination(s)
[8] 2023/03/13 07:58:30.125 INFO | Connecting VPM 4-bit Source to Dmd (Gray4 => Gray4)
[8] 2023/03/13 07:58:30.125 INFO | Connecting VPM 4-bit Source to PinUP Writer (Gray4 => Gray4)
[8] 2023/03/13 07:58:30.125 INFO | Setting up RGB24-bit VPM Graph for 2 destination(s)
[8] 2023/03/13 07:58:30.125 INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24)
[8] 2023/03/13 07:58:30.125 INFO | Connecting VPM RGB24 Source to PinUP Writer (Rgb24 => Bitmap)
[8] 2023/03/13 07:58:30.125 INFO | Setting up Alphanumeric VPM Graph for 2 destination(s)
[8] 2023/03/13 07:58:30.435 INFO | Creating FBOs for 128x32
[3] 2023/03/13 07:58:50.951 INFO | [vpm] Close(0)
[3] 2023/03/13 07:58:50.951 INFO | Closing up.
[3] 2023/03/13 07:58:50.969 INFO | Source for 2 renderer(s) stopped.
[3] 2023/03/13 07:58:50.969 INFO | Source for 2 renderer(s) stopped.
[3] 2023/03/13 07:58:50.969 INFO | Source for 2 renderer(s) stopped.
[3] 2023/03/13 07:58:50.969 INFO | Source for 0 renderer(s) stopped.

@Jewer76
Copy link
Author

Jewer76 commented Mar 13, 2023

What if you delete the serum.dll? I was told somewhere that serum.dll is contained in the dmddevice.dll and should not be present on its own.

For me, PAC never worked, only PAL/VNI

@jwhitehead74
Copy link

What if you delete the serum.dll? I was told somewhere that serum.dll is contained in the dmddevice.dll and should not be present on its own.

For me, PAC never worked, only PAL/VNI

It doesn't work either way for me.

@freezy
Copy link
Owner

freezy commented Mar 13, 2023

Can you try to download serum.dll and place it at the same location as DmdDevice.dll?

@jwhitehead74
Copy link

Can you try to download serum.dll and place it at the same location as DmdDevice.dll?

I placed it in my C:\Visual Pinball\VPinMame folder and tried and also tried placing it in C:\Program Files (x86)\DMD Extensions folder and both times received the same errors in the log.

[21] 2023/03/13 13:16:29.591 INFO | [vpm] Open(0)
[21] 2023/03/13 13:16:29.591 INFO | [vpm] Set_4_Colors_Palette(0,...)
[21] 2023/03/13 13:16:29.591 INFO | Setting palette to 4 colors...
[21] 2023/03/13 13:16:29.591 INFO | [vpm] PM_GameSettings(0, SS_15, 1)
[21] 2023/03/13 13:16:29.591 INFO | Enabling game colorization
[21] 2023/03/13 13:16:29.623 INFO | Setting palette to 4 colors...
[21] 2023/03/13 13:16:29.623 INFO | Reloading config from C:\Visual Pinball\VPinMAME\DmdDevice.ini.
[21] 2023/03/13 13:16:29.625 INFO | Setting game name: SS_15
[21] 2023/03/13 13:16:29.625 INFO | Setting color: #FFFF5820
[21] 2023/03/13 13:16:29.625 INFO | Loading color rom file at C:\Visual Pinball\VPinMAME\altcolor\SS_15\SS_15.cRZ...
[21] 2023/03/13 13:16:29.625 WARN | Error initializing colorizer: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) System.DllNotFoundException: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at LibDmd.Converter.Serum.Serum.Serum_Load(String altcolorpath, String romname, Int32& width, Int32& height, UInt32& nocolors, UInt32& triggernb)
at LibDmd.Converter.Serum.Serum..ctor(String altcolorpath, String romname) in F:\STM32\git\dmd-extensions\LibDmd\Converter\Serum\Serum.cs:line 121
at LibDmd.DmdDevice.DmdDevice.SetupColorizer() in F:\STM32\git\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:line 214
[21] 2023/03/13 13:16:29.625 INFO | Opening virtual display...
[22] 2023/03/13 13:16:29.639 INFO | Found B2S, moving behind DMD.
[22] 2023/03/13 13:16:29.639 INFO | PinDMDv1 device not found.
[22] 2023/03/13 13:16:29.639 INFO | PinDMDv2 device not found.
[22] 2023/03/13 13:16:29.639 INFO | PinDMDv3 device not found.
[22] 2023/03/13 13:16:29.639 INFO | Added VirtualDMD renderer.
[22] 2023/03/13 13:16:29.639 ERROR | [PinUpOutput] Attempt to find PuP_Trigger function but dmddevicePUP.dll is outdated
[22] 2023/03/13 13:16:29.639 INFO | PinUP DLL starting SS_15...
[22] 2023/03/13 13:16:29.657 INFO | Added PinUP renderer.
[22] 2023/03/13 13:16:29.657 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False
[22] 2023/03/13 13:16:29.657 INFO | Applying palette to render graphs.
[22] 2023/03/13 13:16:29.657 INFO | Setting up 2-bit VPM Graph for 2 destination(s)
[22] 2023/03/13 13:16:29.657 INFO | Connecting VPM 2-bit Source to Dmd (Gray2 => Gray2)
[22] 2023/03/13 13:16:29.657 INFO | Connecting VPM 2-bit Source to PinUP Writer (Gray2 => Gray2)
[22] 2023/03/13 13:16:29.657 INFO | Setting up 4-bit VPM Graph for 2 destination(s)
[22] 2023/03/13 13:16:29.657 INFO | Connecting VPM 4-bit Source to Dmd (Gray4 => Gray4)
[22] 2023/03/13 13:16:29.657 INFO | Connecting VPM 4-bit Source to PinUP Writer (Gray4 => Gray4)
[22] 2023/03/13 13:16:29.657 INFO | Setting up RGB24-bit VPM Graph for 2 destination(s)
[22] 2023/03/13 13:16:29.657 INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24)
[22] 2023/03/13 13:16:29.657 INFO | Connecting VPM RGB24 Source to PinUP Writer (Rgb24 => Bitmap)
[22] 2023/03/13 13:16:29.657 INFO | Setting up colored RGB24-bit VPM Graph for 2 destination(s)
[22] 2023/03/13 13:16:29.657 INFO | Setting up Alphanumeric VPM Graph for 2 destination(s)
[22] 2023/03/13 13:16:29.831 INFO | Creating FBOs for 128x32
[21] 2023/03/13 13:16:43.230 INFO | [vpm] Close(0)
[21] 2023/03/13 13:16:43.230 INFO | Closing up.
[21] 2023/03/13 13:16:43.238 INFO | Source for 2 renderer(s) stopped.
[21] 2023/03/13 13:16:43.238 INFO | Source for 2 renderer(s) stopped.
[21] 2023/03/13 13:16:43.238 INFO | Source for 2 renderer(s) stopped.
[21] 2023/03/13 13:16:43.238 INFO | Source for 0 renderer(s) stopped.
[21] 2023/03/13 13:16:43.238 INFO | Source for 0 renderer(s) stopped.

I have tried this with a clean install of 2.0 and also with the DLLs from Lucky overwritten so that PAC files will work.

@freezy
Copy link
Owner

freezy commented Mar 13, 2023

Could you paste the entire log please, from the beginning?

And could you also try running the ROM through PinMAME's setup.exe?

@freezy
Copy link
Owner

freezy commented Mar 13, 2023

Also, are you using the 64-bit or 32-bit version?

@jwhitehead74
Copy link

I'm using the 32-bit version. I don't have any x64 components installed whatsoever.

Testing from the Vpinmame setup did the same thing.

I removed everything from everywhere and reinstalled from the 2.0 msi installer. PAL/VNI work fine. PAC do not work. Serum error persists. Here's the whole log file:

[3] 2023/03/13 13:45:28.155 INFO | Successfully loaded config from C:\Visual Pinball\VPinMAME\DmdDevice.ini.
[3] 2023/03/13 13:45:28.263 INFO | Determined color path from assembly path: C:\Visual Pinball\VPinMAME\altcolor
[3] 2023/03/13 13:45:28.266 INFO | Starting VPinMAME API 2.0.0 through VPinballX.exe.
[3] 2023/03/13 13:45:28.266 INFO | Assembly located at C:\Visual Pinball\VPinMAME\DmdDevice.dll
[3] 2023/03/13 13:45:28.266 INFO | [vpm] Open(0)
[3] 2023/03/13 13:45:28.266 INFO | [vpm] Set_4_Colors_Palette(0,...)
[3] 2023/03/13 13:45:28.266 INFO | Setting palette to 4 colors...
[3] 2023/03/13 13:45:28.266 INFO | [vpm] PM_GameSettings(0, SS_15, 1)
[3] 2023/03/13 13:45:28.266 INFO | Enabling game colorization
[3] 2023/03/13 13:45:28.266 INFO | Setting game name: SS_15
[3] 2023/03/13 13:45:28.266 INFO | Setting color: #FFFF5820
[3] 2023/03/13 13:45:28.266 WARN | Error initializing colorizer: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) System.DllNotFoundException: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at LibDmd.Converter.Serum.Serum.Serum_Load(String altcolorpath, String romname, Int32& width, Int32& height, UInt32& numColors, UInt32& triggernb)
at LibDmd.Converter.Serum.Serum..ctor(String altcolorPath, String romName) in C:\Development\dmd-extensions-v2022\LibDmd\Converter\Serum\Serum.cs:line 66
at LibDmd.DmdDevice.DmdDevice.SetupColorizer() in C:\Development\dmd-extensions-v2022\LibDmd\DmdDevice\DmdDevice.cs:line 212
[3] 2023/03/13 13:45:28.266 INFO | No palette file found at C:\Visual Pinball\VPinMAME\altcolor\SS_15\pin2dmd.pal.
[3] 2023/03/13 13:45:28.266 INFO | ScaleToHd = False
[3] 2023/03/13 13:45:28.266 INFO | Opening virtual display...
[8] 2023/03/13 13:45:28.370 INFO | Found B2S, moving behind DMD.
[8] 2023/03/13 13:45:28.385 INFO | Added VirtualDMD renderer.
[8] 2023/03/13 13:45:28.385 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False
[8] 2023/03/13 13:45:28.385 INFO | Applying palette to render graphs.
[8] 2023/03/13 13:45:28.391 INFO | Setting up 2-bit VPM Graph for 1 destination(s)
[8] 2023/03/13 13:45:28.391 INFO | Connecting VPM 2-bit Source to Dmd (Gray2 => Gray2)
[8] 2023/03/13 13:45:28.391 INFO | Setting up 4-bit VPM Graph for 1 destination(s)
[8] 2023/03/13 13:45:28.391 INFO | Connecting VPM 4-bit Source to Dmd (Gray4 => Gray4)
[8] 2023/03/13 13:45:28.391 INFO | Setting up RGB24-bit VPM Graph for 1 destination(s)
[8] 2023/03/13 13:45:28.405 INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24)
[8] 2023/03/13 13:45:28.405 INFO | Setting up Alphanumeric VPM Graph for 1 destination(s)
[8] 2023/03/13 13:45:28.680 INFO | Creating FBOs for 128x32
[3] 2023/03/13 13:45:53.695 INFO | [vpm] Close(0)
[3] 2023/03/13 13:45:53.695 INFO | Closing up.
[3] 2023/03/13 13:45:53.702 INFO | Source for 1 renderer(s) stopped.
[3] 2023/03/13 13:45:53.702 INFO | Source for 1 renderer(s) stopped.
[3] 2023/03/13 13:45:53.702 INFO | Source for 1 renderer(s) stopped.
[3] 2023/03/13 13:45:53.702 INFO | Source for 0 renderer(s) stopped.
[4] 2023/03/13 13:46:07.162 INFO | [vpm] Open(0)
[4] 2023/03/13 13:46:07.162 INFO | [vpm] Set_4_Colors_Palette(0,...)
[4] 2023/03/13 13:46:07.162 INFO | Setting palette to 4 colors...
[4] 2023/03/13 13:46:07.162 INFO | [vpm] PM_GameSettings(0, dh_lx2, 1)
[4] 2023/03/13 13:46:07.162 INFO | Enabling game colorization
[4] 2023/03/13 13:46:07.162 INFO | Reloading config from C:\Visual Pinball\VPinMAME\DmdDevice.ini.
[4] 2023/03/13 13:46:07.162 INFO | Setting game name: dh_lx2
[4] 2023/03/13 13:46:07.162 INFO | Setting color: #FFFF5820
[4] 2023/03/13 13:46:07.162 INFO | No palette file found at C:\Visual Pinball\VPinMAME\altcolor\dh_lx2\pin2dmd.pal.
[4] 2023/03/13 13:46:07.162 INFO | ScaleToHd = False
[4] 2023/03/13 13:46:07.162 INFO | Opening virtual display...
[14] 2023/03/13 13:46:07.177 INFO | Found B2S, moving behind DMD.
[14] 2023/03/13 13:46:07.177 INFO | Added VirtualDMD renderer.
[14] 2023/03/13 13:46:07.177 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False
[14] 2023/03/13 13:46:07.177 INFO | Applying palette to render graphs.
[14] 2023/03/13 13:46:07.177 INFO | Setting up 2-bit VPM Graph for 1 destination(s)
[14] 2023/03/13 13:46:07.177 INFO | Connecting VPM 2-bit Source to Dmd (Gray2 => Gray2)
[14] 2023/03/13 13:46:07.177 INFO | Setting up 4-bit VPM Graph for 1 destination(s)
[14] 2023/03/13 13:46:07.177 INFO | Connecting VPM 4-bit Source to Dmd (Gray4 => Gray4)
[14] 2023/03/13 13:46:07.177 INFO | Setting up RGB24-bit VPM Graph for 1 destination(s)
[14] 2023/03/13 13:46:07.177 INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24)
[14] 2023/03/13 13:46:07.177 INFO | Setting up Alphanumeric VPM Graph for 1 destination(s)
[14] 2023/03/13 13:46:07.340 INFO | Creating FBOs for 128x32
[4] 2023/03/13 13:46:16.538 INFO | [vpm] Close(0)
[4] 2023/03/13 13:46:16.538 INFO | Closing up.
[4] 2023/03/13 13:46:16.538 INFO | Source for 1 renderer(s) stopped.
[4] 2023/03/13 13:46:16.538 INFO | Source for 1 renderer(s) stopped.
[4] 2023/03/13 13:46:16.538 INFO | Source for 1 renderer(s) stopped.
[4] 2023/03/13 13:46:16.538 INFO | Source for 0 renderer(s) stopped.
[3] 2023/03/13 13:46:32.137 INFO | [vpm] Open(0)
[3] 2023/03/13 13:46:32.137 INFO | [vpm] Set_4_Colors_Palette(0,...)
[3] 2023/03/13 13:46:32.137 INFO | Setting palette to 4 colors...
[3] 2023/03/13 13:46:32.137 INFO | [vpm] PM_GameSettings(0, cc_13, 1)
[3] 2023/03/13 13:46:32.137 INFO | Enabling game colorization
[3] 2023/03/13 13:46:32.137 INFO | Reloading config from C:\Visual Pinball\VPinMAME\DmdDevice.ini.
[3] 2023/03/13 13:46:32.137 INFO | Setting game name: cc_13
[3] 2023/03/13 13:46:32.137 INFO | Setting color: #FFFF5820
[3] 2023/03/13 13:46:32.137 INFO | Loading palette file at C:\Visual Pinball\VPinMAME\altcolor\cc_13\pin2dmd.pal...
[3] 2023/03/13 13:46:32.140 INFO | Loading virtual animation file at C:\Visual Pinball\VPinMAME\altcolor\cc_13\pin2dmd.vni...
[3] 2023/03/13 13:46:32.282 INFO | Loaded animation set VPIN v5, 205 animation(s)
[3] 2023/03/13 13:46:32.282 INFO | Animation Dimensions: 128x32
[3] 2023/03/13 13:46:32.282 INFO | ScaleToHd = False
[3] 2023/03/13 13:46:32.282 INFO | Opening virtual display...
[16] 2023/03/13 13:46:32.302 INFO | Found B2S, moving behind DMD.
[16] 2023/03/13 13:46:32.302 INFO | Added VirtualDMD renderer.
[16] 2023/03/13 13:46:32.302 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False
[16] 2023/03/13 13:46:32.302 INFO | Just clearing palette, colorization is done by converter.
[16] 2023/03/13 13:46:32.302 INFO | Setting up 2-bit Colored VPM Graph for 1 destination(s)
[16] 2023/03/13 13:46:32.302 INFO | Connecting 2-Bit Colorizer to Dmd (ColoredGray2 => ColoredGray2)
[16] 2023/03/13 13:46:32.302 INFO | Connecting 2-Bit Colorizer to Dmd (ColoredGray4 => ColoredGray4)
[16] 2023/03/13 13:46:32.302 INFO | Connecting 2-Bit Colorizer to Dmd (ColoredGray6 => ColoredGray6)
[16] 2023/03/13 13:46:32.302 INFO | Setting up 4-bit Colored VPM Graph for 1 destination(s)
[16] 2023/03/13 13:46:32.302 INFO | Connecting 4-Bit Colorizer to Dmd (ColoredGray2 => ColoredGray2)
[16] 2023/03/13 13:46:32.302 INFO | Connecting 4-Bit Colorizer to Dmd (ColoredGray4 => ColoredGray4)
[16] 2023/03/13 13:46:32.302 INFO | Connecting 4-Bit Colorizer to Dmd (ColoredGray6 => ColoredGray6)
[16] 2023/03/13 13:46:32.302 INFO | Setting up RGB24-bit VPM Graph for 1 destination(s)
[16] 2023/03/13 13:46:32.302 INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24)
[16] 2023/03/13 13:46:32.302 INFO | Setting up Alphanumeric VPM Graph for 1 destination(s)
[16] 2023/03/13 13:46:32.457 INFO | Creating FBOs for 128x32
[3] 2023/03/13 13:46:45.851 INFO | [vpm] Close(0)
[3] 2023/03/13 13:46:45.851 INFO | Closing up.
[3] 2023/03/13 13:46:45.860 INFO | Source for 4 renderer(s) stopped.
[3] 2023/03/13 13:46:45.860 INFO | Source for 4 renderer(s) stopped.
[3] 2023/03/13 13:46:45.860 INFO | Source for 1 renderer(s) stopped.
[3] 2023/03/13 13:46:45.860 INFO | Source for 0 renderer(s) stopped.

@Jewer76
Copy link
Author

Jewer76 commented Mar 13, 2023

Hi freezy, thanks for taking the time with our issue - they are the same.

I too have tried with the serum.dll in the VpinMAME folder and are running 32 bit only.

Just to give you a tiny bit of backstory, I had installed your dmddevice.dll and then the lucky1 ontop, and got a couple of tables running - one PAL/VNI and one PAC colorization. Couldn't get more to run, so copied a backup of the VpinMAME folder pre-freezydmd back into my Visual Pinball folder and started over, and from then on only the PAL/VNI colorizations are working. No PAC and no serum.

I am the OP of this post and you can see my dmddevice.log at the top of this topic.

@freezy
Copy link
Owner

freezy commented Mar 13, 2023

Can you guys paste me your log with this one, please?

DmdDevice-r1.zip

@jwhitehead74
Copy link

Can you guys paste me your log with this one, please?

DmdDevice-r1.zip

Here's mine. Thanks for being so responsive. Let me know if you need anything else. I can jump on a zoom or something and let you see in realtime or whatever.

[3] 2023/03/13 16:25:33.314 INFO | Successfully loaded config from C:\Visual Pinball\VPinMAME\DmdDevice.ini.
[3] 2023/03/13 16:25:33.420 INFO | Determined color path from assembly path: C:\Visual Pinball\VPinMAME\altcolor
[3] 2023/03/13 16:25:33.423 INFO | Starting VPinMAME API 2.0.1-SNAPSHOT through VPinballX.exe.
[3] 2023/03/13 16:25:33.423 INFO | Assembly located at C:\Visual Pinball\VPinMAME\DmdDevice.dll
[3] 2023/03/13 16:25:33.423 INFO | Running in C:\Visual Pinball\Tables
[3] 2023/03/13 16:25:33.423 INFO | [vpm] Open(0)
[3] 2023/03/13 16:25:33.423 INFO | [vpm] Set_4_Colors_Palette(0,...)
[3] 2023/03/13 16:25:33.423 INFO | Setting palette to 4 colors...
[3] 2023/03/13 16:25:33.423 INFO | [vpm] PM_GameSettings(0, SS_15, 1)
[3] 2023/03/13 16:25:33.423 INFO | Enabling game colorization
[3] 2023/03/13 16:25:33.423 INFO | Setting game name: SS_15
[3] 2023/03/13 16:25:33.423 INFO | Setting color: #FFFF5820
[3] 2023/03/13 16:25:33.423 WARN | Error initializing colorizer: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) System.DllNotFoundException: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at LibDmd.Converter.Serum.Serum.Serum_Load(String altcolorpath, String romname, Int32& width, Int32& height, UInt32& numColors, UInt32& triggernb)
at LibDmd.Converter.Serum.Serum..ctor(String altcolorPath, String romName) in C:\Development\dmd-extensions\LibDmd\Converter\Serum\Serum.cs:line 70
at LibDmd.DmdDevice.DmdDevice.SetupColorizer() in C:\Development\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:line 213
[3] 2023/03/13 16:25:33.438 INFO | No palette file found at C:\Visual Pinball\VPinMAME\altcolor\SS_15\pin2dmd.pal.
[3] 2023/03/13 16:25:33.438 INFO | ScaleToHd = False
[3] 2023/03/13 16:25:33.438 INFO | Opening virtual display...
[8] 2023/03/13 16:25:33.495 INFO | Found B2S, moving behind DMD.
[8] 2023/03/13 16:25:33.513 INFO | PinDMDv1 device not found.
[8] 2023/03/13 16:25:33.565 INFO | PinDMDv2 device not found.
[8] 2023/03/13 16:25:33.565 INFO | PinDMDv3 device not found.
[8] 2023/03/13 16:25:33.580 INFO | Added VirtualDMD renderer.
[8] 2023/03/13 16:25:33.580 ERROR | [PinUpOutput] Attempt to find PuP_Trigger function but dmddevicePUP.dll is outdated
[8] 2023/03/13 16:25:33.580 INFO | PinUP DLL starting SS_15...
[8] 2023/03/13 16:25:33.580 INFO | Added PinUP renderer.
[8] 2023/03/13 16:25:33.580 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False
[8] 2023/03/13 16:25:33.580 INFO | Applying palette to render graphs.
[8] 2023/03/13 16:25:33.595 INFO | Setting up 2-bit VPM Graph for 2 destination(s)
[8] 2023/03/13 16:25:33.595 INFO | Connecting VPM 2-bit Source to Dmd (Gray2 => Gray2)
[8] 2023/03/13 16:25:33.595 INFO | Connecting VPM 2-bit Source to PinUP Writer (Gray2 => Gray2)
[8] 2023/03/13 16:25:33.595 INFO | Setting up 4-bit VPM Graph for 2 destination(s)
[8] 2023/03/13 16:25:33.595 INFO | Connecting VPM 4-bit Source to Dmd (Gray4 => Gray4)
[8] 2023/03/13 16:25:33.595 INFO | Connecting VPM 4-bit Source to PinUP Writer (Gray4 => Gray4)
[8] 2023/03/13 16:25:33.595 INFO | Setting up RGB24-bit VPM Graph for 2 destination(s)
[8] 2023/03/13 16:25:33.595 INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24)
[8] 2023/03/13 16:25:33.595 INFO | Connecting VPM RGB24 Source to PinUP Writer (Rgb24 => Bitmap)
[8] 2023/03/13 16:25:33.608 INFO | Setting up Alphanumeric VPM Graph for 2 destination(s)
[8] 2023/03/13 16:25:33.937 INFO | Creating FBOs for 128x32
[3] 2023/03/13 16:25:52.212 INFO | [vpm] Close(0)
[3] 2023/03/13 16:25:52.212 INFO | Closing up.
[3] 2023/03/13 16:25:52.224 INFO | Source for 2 renderer(s) stopped.
[3] 2023/03/13 16:25:52.224 INFO | Source for 2 renderer(s) stopped.
[3] 2023/03/13 16:25:52.224 INFO | Source for 2 renderer(s) stopped.
[3] 2023/03/13 16:25:52.224 INFO | Source for 0 renderer(s) stopped.

@freezy
Copy link
Owner

freezy commented Mar 13, 2023

Thanks, I have no idea why you're getting this. Serum.dll is embedded in DmdDevice.dll, so my only hint is that it tries to load another serum.dll and fails, because the API changed. Can you search your C: drive for serum.dll to be sure there is no other version?

@jwhitehead74
Copy link

I found two. Removing them, I still got the same error:

image

[3] 2023/03/13 16:50:16.233 INFO | Successfully loaded config from C:\Visual Pinball\VPinMAME\DmdDevice.ini.
[3] 2023/03/13 16:50:16.335 INFO | Determined color path from assembly path: C:\Visual Pinball\VPinMAME\altcolor
[3] 2023/03/13 16:50:16.335 INFO | Starting VPinMAME API 2.0.1-SNAPSHOT through VPinballX.exe.
[3] 2023/03/13 16:50:16.335 INFO | Assembly located at C:\Visual Pinball\VPinMAME\DmdDevice.dll
[3] 2023/03/13 16:50:16.335 INFO | Running in C:\Visual Pinball\Tables
[3] 2023/03/13 16:50:16.335 INFO | [vpm] Open(0)
[3] 2023/03/13 16:50:16.335 INFO | [vpm] Set_4_Colors_Palette(0,...)
[3] 2023/03/13 16:50:16.335 INFO | Setting palette to 4 colors...
[3] 2023/03/13 16:50:16.335 INFO | [vpm] PM_GameSettings(0, SS_15, 1)
[3] 2023/03/13 16:50:16.335 INFO | Enabling game colorization
[3] 2023/03/13 16:50:16.335 INFO | Setting game name: SS_15
[3] 2023/03/13 16:50:16.335 INFO | Setting color: #FFFF5820
[3] 2023/03/13 16:50:16.344 WARN | Error initializing colorizer: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) System.DllNotFoundException: Unable to load DLL 'serum.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at LibDmd.Converter.Serum.Serum.Serum_Load(String altcolorpath, String romname, Int32& width, Int32& height, UInt32& numColors, UInt32& triggernb)
at LibDmd.Converter.Serum.Serum..ctor(String altcolorPath, String romName) in C:\Development\dmd-extensions\LibDmd\Converter\Serum\Serum.cs:line 70
at LibDmd.DmdDevice.DmdDevice.SetupColorizer() in C:\Development\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:line 213
[3] 2023/03/13 16:50:16.344 INFO | No palette file found at C:\Visual Pinball\VPinMAME\altcolor\SS_15\pin2dmd.pal.
[3] 2023/03/13 16:50:16.344 INFO | ScaleToHd = False
[3] 2023/03/13 16:50:16.344 INFO | Opening virtual display...
[8] 2023/03/13 16:50:16.408 INFO | Found B2S, moving behind DMD.
[8] 2023/03/13 16:50:16.425 INFO | PinDMDv1 device not found.
[8] 2023/03/13 16:50:16.477 INFO | PinDMDv2 device not found.
[8] 2023/03/13 16:50:16.477 INFO | PinDMDv3 device not found.
[8] 2023/03/13 16:50:16.492 INFO | Added VirtualDMD renderer.
[8] 2023/03/13 16:50:16.492 ERROR | [PinUpOutput] Attempt to find PuP_Trigger function but dmddevicePUP.dll is outdated
[8] 2023/03/13 16:50:16.492 INFO | PinUP DLL starting SS_15...
[8] 2023/03/13 16:50:16.501 INFO | Added PinUP renderer.
[8] 2023/03/13 16:50:16.501 INFO | Transformation options: Resize=Fit, HFlip=False, VFlip=False
[8] 2023/03/13 16:50:16.501 INFO | Applying palette to render graphs.
[8] 2023/03/13 16:50:16.501 INFO | Setting up 2-bit VPM Graph for 2 destination(s)
[8] 2023/03/13 16:50:16.501 INFO | Connecting VPM 2-bit Source to Dmd (Gray2 => Gray2)
[8] 2023/03/13 16:50:16.520 INFO | Connecting VPM 2-bit Source to PinUP Writer (Gray2 => Gray2)
[8] 2023/03/13 16:50:16.520 INFO | Setting up 4-bit VPM Graph for 2 destination(s)
[8] 2023/03/13 16:50:16.520 INFO | Connecting VPM 4-bit Source to Dmd (Gray4 => Gray4)
[8] 2023/03/13 16:50:16.520 INFO | Connecting VPM 4-bit Source to PinUP Writer (Gray4 => Gray4)
[8] 2023/03/13 16:50:16.520 INFO | Setting up RGB24-bit VPM Graph for 2 destination(s)
[8] 2023/03/13 16:50:16.520 INFO | Connecting VPM RGB24 Source to Dmd (Rgb24 => Rgb24)
[8] 2023/03/13 16:50:16.520 INFO | Connecting VPM RGB24 Source to PinUP Writer (Rgb24 => Bitmap)
[8] 2023/03/13 16:50:16.520 INFO | Setting up Alphanumeric VPM Graph for 2 destination(s)
[8] 2023/03/13 16:50:16.870 INFO | Creating FBOs for 128x32
[3] 2023/03/13 16:50:37.826 INFO | [vpm] Close(0)
[3] 2023/03/13 16:50:37.826 INFO | Closing up.
[3] 2023/03/13 16:50:37.836 INFO | Source for 2 renderer(s) stopped.
[3] 2023/03/13 16:50:37.836 INFO | Source for 2 renderer(s) stopped.
[3] 2023/03/13 16:50:37.836 INFO | Source for 2 renderer(s) stopped.
[3] 2023/03/13 16:50:37.836 INFO | Source for 0 renderer(s) stopped.

@jwhitehead74
Copy link

I was able to solve the issue here. I googled the "Exception from HRESULT: 0x8007007E" and stack overflow response said that it meant that it was found but could not be loaded. I didn't have dumpbin to figure out what was missing, but I started installing other versions of Visual C++ runtimes. In this case, the 2015+ version (linked below) solved my issue.

https://aka.ms/vs/17/release/vc_redist.x86.exe

@xantari
Copy link
Contributor

xantari commented Mar 14, 2023

@jwhitehead74 That is # 2 under the manual installation steps:

image

It sounds like that step was missed

@jwhitehead74
Copy link

@jwhitehead74 That is # 2 under the manual installation steps:

image

It sounds like that step was missed

I didn’t do a manual install. I used the MSI installer, as stated above.

+1 for condescension / -1 for comprehension

@xantari
Copy link
Contributor

xantari commented Mar 14, 2023

Thanks for keeping stats, LOL. It is hard to tell with several people involved in this thread. Got this from the start of the thread:

Now I installed Freezy 2.0 and want to skip getting pac to work and move directly to serum.

So from that it doesn't explicitly say how it was installed.

Several postings later I do see this:

I removed everything from everywhere and reinstalled from the 2.0 msi installer. PAL/VNI work fine. PAC do not work. Serum error persists. Here's the whole log file:

From that it says you used the installer after "reinstalled", doesn't specify how you initially installed, but that you did ultimately use the .msi.

+1 mind reader / -1 documentation specialist

@outhere
Copy link

outhere commented Mar 14, 2023

Hi freezy, thanks for taking the time with our issue - they are the same.

I too have tried with the serum.dll in the VpinMAME folder and are running 32 bit only.

Just to give you a tiny bit of backstory, I had installed your dmddevice.dll and then the lucky1 ontop, and got a couple of tables running - one PAL/VNI and one PAC colorization. Couldn't get more to run, so copied a backup of the VpinMAME folder pre-freezydmd back into my Visual Pinball folder and started over, and from then on only the PAL/VNI colorizations are working. No PAC and no serum.

I am the OP of this post and you can see my dmddevice.log at the top of this topic.

When using Freezy do not have these files in the VPinMame Folder
serum.dll, pin2color.dll, dmdscreen.dll

@Jewer76
Copy link
Author

Jewer76 commented Mar 14, 2023

I was able to solve the issue here. I googled the "Exception from HRESULT: 0x8007007E" and stack overflow response said that it meant that it was found but could not be loaded. I didn't have dumpbin to figure out what was missing, but I started installing other versions of Visual C++ runtimes. In this case, the 2015+ version (linked below) solved my issue.

https://aka.ms/vs/17/release/vc_redist.x86.exe

Oh my, that was it. I never stumbled upon this small step and no one was able to pinpoint this as the problem.

Thank you so much for that insight, and thank you to Freezy, for all the great work and the quick replies here. I have a post going on VPForums about this and will go and post the solution for future reference.

@freezy
Copy link
Owner

freezy commented Mar 14, 2023

Wow, great news. Let me try to include that in the installer, then.

Cheers!

@outhere
Copy link

outhere commented Mar 14, 2023

Wow, great news. Let me try to include that in the installer, then.

Cheers!

Visual C++ Redistributable Runtimes All-in-One
https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/

@freezy freezy added the doc label Apr 18, 2023
freezy added a commit to GyroJoe/dmd-extensions that referenced this issue Apr 20, 2023
@freezy freezy closed this as completed in 2da5f63 Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants