-
Notifications
You must be signed in to change notification settings - Fork 54
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
Comments
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. |
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. |
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) 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. |
Could you paste the entire log please, from the beginning? And could you also try running the ROM through PinMAME's setup.exe? |
Also, are you using the 64-bit or 32-bit version? |
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. |
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. |
Can you guys paste me your log with this one, please? |
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. |
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? |
I found two. Removing them, I still got the same error: [3] 2023/03/13 16:50:16.233 INFO | Successfully loaded config from C:\Visual Pinball\VPinMAME\DmdDevice.ini. |
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. |
@jwhitehead74 That is # 2 under the manual installation steps: 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 |
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 |
When using Freezy do not have these files in the VPinMame Folder |
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. |
Wow, great news. Let me try to include that in the installer, then. Cheers! |
Visual C++ Redistributable Runtimes All-in-One |
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
The text was updated successfully, but these errors were encountered: