Jump to content

New version: dmd-extensions with pin2dmd coloring plugin and pac file support !


lucky1

Recommended Posts

Hi

I'm having a problem getting the CRZ file to work. The table is Scared Stiff. This is what I've done....

 

Downloaded Lucky's latest files, unblocked and opened the zip. Except for the dmd device ini file I copied everything in the x86 and x64 folders into my VPinMame folder.  Put the ss_15crz  file in the ss_15 folder in the Altcolor folder.

 

Also have the latest VPinmame installed as well.  Is there something else that has to be done?  Any help would be greatly appreciated!

Link to comment
Share on other sites

4 hours ago, apinbalwiz said:

Hi

I'm having a problem getting the CRZ file to work. The table is Scared Stiff. This is what I've done....

 

Downloaded Lucky's latest files, unblocked and opened the zip. Except for the dmd device ini file I copied everything in the x86 and x64 folders into my VPinMame folder.  Put the ss_15crz  file in the ss_15 folder in the Altcolor folder.

 

Also have the latest VPinmame installed as well.  Is there something else that has to be done?  Any help would be greatly appreciated!

Press F1 while the table is running and verify you have check marked "Colorize Dmd"

Link to comment
Share on other sites

1 hour ago, apinbalwiz said:

Thanks for your reply. Yes the box is checked. I have pin2dmd.pal and vni files in the folder which work, but when I replace them with the crz file the dmd reverts to the 4 colors.

I found this
I believe part of the problem comes from the various ways Freezy gets installed by different users.
If one takes the defaults when installing using the MSI package the files go inside the Program Files(x86) folder, which itself is restricted to Windows Administrator access.

If you install using Nailbuster's Baller Installer some files go into a DMDext subfolder that branches from VpinMAME, and others land in the VpinMAME root folder.

Locating the correct place to overwrite the DLLs with Lucky1's versions can be tricky because of this, and it had me scratching my head for a bit.  Once I learned how my particular folders were structured I had no difficulty repeating the process and getting the PAC versions to work.

Link to comment
Share on other sites

  • Content Provider

Hello, i have a strange problem with a pin2dmd

 

VPX (10.7.3) crash when i try scared stiff serum colorization.

Dmddevice.ini - > pin2dmd set to "native" when i try to set it to "true", my pin2dmd is not working anymore. scaletohd is set to false.

Pin2dmd with the 4.5 drivers.

I'm using the files of the first message.
 

 

The log crash don't give me any information

Quote

Crash report VPX rev388 (f6d9f7b)
============
Process: VPinballX.exe
Reason: 0xC0000005 - EXCEPTION_ACCESS_VIOLATION at 0023:08B3C474
Attempt to read from 0x00000000
Thread ID: 0x19C [412]

Is someone experiencing the same problem ?

Link to comment
Share on other sites

1 hour ago, leeoneil said:

Hello, i have a strange problem with a pin2dmd

 

VPX (10.7.3) crash when i try scared stiff serum colorization.

Dmddevice.ini - > pin2dmd set to "native" when i try to set it to "true", my pin2dmd is not working anymore. scaletohd is set to false.

Pin2dmd with the 4.5 drivers.

I'm using the files of the first message.
 

 

The log crash don't give me any information

Is someone experiencing the same problem ?

Can you also post the contents of your DmdDevice.log after playing Scared Stiff and getting the crash?  it might provide clues as well...

 

Link to comment
Share on other sites

  • Content Provider

edit 2 : I was with vpinmame3.4, but same problem with Vpinmame 3.5. 😕

 

Oh sorry, i didn't know there were a log for dmddevice !

 

Here is the result with pind2dmd set on "true" (with this mode, impossible to have something on other table, the pin2dmd is not working)

 

Quote

 [7] 2023/03/10 13:55:39.300  INFO | Successfully loaded config from E:\Visual Pinball\VPINMAME\DmdDevice.ini.
 [7] 2023/03/10 13:55:39.300  INFO | Determined color path from assembly path: E:\Visual Pinball\VPinMAME\altcolor
 [7] 2023/03/10 13:55:39.300  INFO | Starting VPinMAME API 1.9.0 through VPinballX.exe.
 [7] 2023/03/10 13:55:39.300  INFO | Assembly located at E:\Visual Pinball\VPinMAME\DmdScreen.dll
 [7] 2023/03/10 13:55:39.300  INFO | [vpm] Open(0)
 [7] 2023/03/10 13:55:39.300  INFO | [vpm] Set_4_Colors_Palette(0,...)
 [7] 2023/03/10 13:55:39.300  INFO | Setting palette to 4 colors...
 [7] 2023/03/10 13:55:39.300  INFO | [vpm] PM_GameSettings(0, SS_15, 1)
 [7] 2023/03/10 13:55:39.300  INFO | Enabling game colorization
 [7] 2023/03/10 13:55:39.300  INFO | Setting palette to 4 colors...
 [7] 2023/03/10 13:55:39.300  INFO | Setting game name: SS_15
 [7] 2023/03/10 13:55:39.300  INFO | Setting color: #FFFF5820
 [7] 2023/03/10 13:55:39.300  INFO | Loading color rom file at E:\Visual Pinball\VPinMAME\altcolor\SS_15\SS_15.cRZ...
 [7] 2023/03/10 13:55:39.826 ERROR | No renderers found, exiting.
 [7] 2023/03/10 13:55:44.809 ERROR | System.NullReferenceException: Object reference not set to an instance of an object.
   at LibDmd.Converter.Serum.Serum.Convert(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\Converter\Serum\Serum.cs:line 225
   at LibDmd.DmdDevice.DmdDevice.RenderGray2(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:line 766
   at PinMameDevice.DmdDevice.InternalRenderRaw2Device(DeviceInstance device, UInt16 width, UInt16 height, IntPtr currbuffer, UInt16 noOfRawFrames, IntPtr currrawbuffer)
   at PinMameDevice.DmdDevice.RenderRaw2(UInt16 width, UInt16 height, IntPtr currbuffer, UInt16 noOfRawFrames, IntPtr currrawbuffer)
 [7] 2023/03/10 13:55:45.350 ERROR | System.NullReferenceException: Object reference not set to an instance of an object.
   at LibDmd.Converter.Serum.Serum.Convert(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\Converter\Serum\Serum.cs:line 225
   at LibDmd.DmdDevice.DmdDevice.RenderGray2(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:line 766
   at PinMameDevice.DmdDevice.InternalRenderRaw2Device(DeviceInstance device, UInt16 width, UInt16 height, IntPtr currbuffer, UInt16 noOfRawFrames, IntPtr currrawbuffer)
   at PinMameDevice.DmdDevice.RenderRaw2(UInt16 width, UInt16 height, IntPtr currbuffer, UInt16 noOfRawFrames, IntPtr currrawbuffer)

 

What is this "F:\STM32" ? I don't have any "F" drive

 

Look like the same when pin2dmd is set on "native" (with this mode, everything working fine except Scared Stiff serum) ->
 

Quote

 [7] 2023/03/10 14:00:40.978  INFO | Successfully loaded config from E:\Visual Pinball\VPINMAME\DmdDevice.ini.
 [7] 2023/03/10 14:00:40.978  INFO | Determined color path from assembly path: E:\Visual Pinball\VPinMAME\altcolor
 [7] 2023/03/10 14:00:40.978  INFO | Starting VPinMAME API 1.9.0 through VPinballX.exe.
 [7] 2023/03/10 14:00:40.978  INFO | Assembly located at E:\Visual Pinball\VPinMAME\DmdScreen.dll
 [7] 2023/03/10 14:00:40.978  INFO | [vpm] Open(0)
 [7] 2023/03/10 14:00:40.978  INFO | [vpm] Set_4_Colors_Palette(0,...)
 [7] 2023/03/10 14:00:40.978  INFO | Setting palette to 4 colors...
 [7] 2023/03/10 14:00:41.088  INFO | [vpm] PM_GameSettings(0, SS_15, 1)
 [7] 2023/03/10 14:00:41.088  INFO | Enabling game colorization
 [7] 2023/03/10 14:00:41.088  INFO | Setting palette to 4 colors...
 [7] 2023/03/10 14:00:41.192  INFO | Setting game name: SS_15
 [7] 2023/03/10 14:00:41.192  INFO | Setting color: #FFFF5820
 [7] 2023/03/10 14:00:41.192  INFO | Loading color rom file at E:\Visual Pinball\VPinMAME\altcolor\SS_15\SS_15.cRZ...
 [7] 2023/03/10 14:00:41.711 ERROR | Value "native" for "enabled" under [pin2dmd] must be either "true" or "false".
 [7] 2023/03/10 14:00:41.711 ERROR | No renderers found, exiting.
 [7] 2023/03/10 14:00:46.753 ERROR | System.NullReferenceException: Object reference not set to an instance of an object.
   at LibDmd.Converter.Serum.Serum.Convert(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\Converter\Serum\Serum.cs:line 225
   at LibDmd.DmdDevice.DmdDevice.RenderGray2(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:line 766
   at PinMameDevice.DmdDevice.InternalRenderRaw2Device(DeviceInstance device, UInt16 width, UInt16 height, IntPtr currbuffer, UInt16 noOfRawFrames, IntPtr currrawbuffer)
   at PinMameDevice.DmdDevice.RenderRaw2(UInt16 width, UInt16 height, IntPtr currbuffer, UInt16 noOfRawFrames, IntPtr currrawbuffer)
 [7] 2023/03/10 14:00:47.285 ERROR | System.NullReferenceException: Object reference not set to an instance of an object.
   at LibDmd.Converter.Serum.Serum.Convert(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\Converter\Serum\Serum.cs:line 225
   at LibDmd.DmdDevice.DmdDevice.RenderGray2(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:line 766
   at PinMameDevice.DmdDevice.InternalRenderRaw2Device(DeviceInstance device, UInt16 width, UInt16 height, IntPtr currbuffer, UInt16 noOfRawFrames, IntPtr currrawbuffer)
   at PinMameDevice.DmdDevice.RenderRaw2(UInt16 width, UInt16 height, IntPtr currbuffer, UInt16 noOfRawFrames, IntPtr currrawbuffer)

 

Link to comment
Share on other sites

On 3/9/2023 at 5:51 AM, outhere said:

I found this
I believe part of the problem comes from the various ways Freezy gets installed by different users.
If one takes the defaults when installing using the MSI package the files go inside the Program Files(x86) folder, which itself is restricted to Windows Administrator access.

If you install using Nailbuster's Baller Installer some files go into a DMDext subfolder that branches from VpinMAME, and others land in the VpinMAME root folder.

Locating the correct place to overwrite the DLLs with Lucky1's versions can be tricky because of this, and it had me scratching my head for a bit.  Once I learned how my particular folders were structured I had no difficulty repeating the process and getting the PAC versions to work.

can you please elaborate how you did it? i f*** up my whole system...having naiulbusters structure

Link to comment
Share on other sites

On 3/10/2023 at 7:01 AM, leeoneil said:

edit 2 : I was with vpinmame3.4, but same problem with Vpinmame 3.5. 😕

 

Oh sorry, i didn't know there were a log for dmddevice !

 

Here is the result with pind2dmd set on "true" (with this mode, impossible to have something on other table, the pin2dmd is not working)

 

 

What is this "F:\STM32" ? I don't have any "F" drive

 

Look like the same when pin2dmd is set on "native" (with this mode, everything working fine except Scared Stiff serum) ->
 

 

Yes using native for SS_15.cRZ not working
Add this per game
pin2dmd enabled = true

 

Her are my 2 logs

 

DmdDevice - native.log DmdDevice - true.log

Link to comment
Share on other sites

3 hours ago, hitman12 said:

Copied all files from Lucky1 zip file and PAC files don't work. Pal and Vmi working ok, i copied Lucky1 dll over Freezy dmd ext.

Make sure you used the 32 bit version. This happened to me because I accidentally used the 64 but version. 

Link to comment
Share on other sites

It appears this version skips the checks in the dmdext.ini for specific tables.  I have a lot of 80's tables with alpha numeric scoring that i disable virtual dmd with.  Do i need to update all of these in the registry to set to windmd instead of pindmd?

 

great work so far!


thanks!

Link to comment
Share on other sites

15 minutes ago, digable said:

It appears this version skips the checks in the dmdext.ini for specific tables.  I have a lot of 80's tables with alpha numeric scoring that i disable virtual dmd with.  Do i need to update all of these in the registry to set to windmd instead of pindmd?

 

great work so far!


thanks!

dmdext.ini Is no longer used and that happen a long time ago
Rename it  - DmdDevice.ini

Link to comment
Share on other sites

  • Content Provider
On 3/11/2023 at 3:02 PM, outhere said:

Yes using native for SS_15.cRZ not working
Add this per game
pin2dmd enabled = true

Thank's but not working with the pin2dmd, crash every time before loading the table
I put that in my dmddevice.ini :
 

Quote

[ss_15]
pin2dmd enabled = true

[trn_174h]
pin2dmd enabled = true
virtualdmd enabled = false

 

Message error :

Quote

[7] 2023/03/14 17:15:07.911  INFO | Loading color rom file at E:\Visual Pinball\VPinMAME\altcolor\trn_174h\trn_174h.cRZ...
 [7] 2023/03/14 17:15:08.995 ERROR | No renderers found, exiting.
 [7] 2023/03/14 17:15:16.082 ERROR | System.NullReferenceException: Object reference not set to an instance of an object.
   at LibDmd.Converter.Serum.Serum.Convert(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\Converter\Serum\Serum.cs:line 225
   at LibDmd.DmdDevice.DmdDevice.RenderGray4(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:line 887
   at PinMameDevice.DmdDevice.InternalRenderGray4Device(DeviceInstance device, UInt16 width, UInt16 height, IntPtr currbuffer)
   at PinMameDevice.DmdDevice.RenderGray4(UInt16 width, UInt16 height, IntPtr currbuffer)
 [7] 2023/03/14 17:15:16.716 ERROR | System.NullReferenceException: Object reference not set to an instance of an object.
   at LibDmd.Converter.Serum.Serum.Convert(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\Converter\Serum\Serum.cs:line 225
   at LibDmd.DmdDevice.DmdDevice.RenderGray4(DMDFrame frame) in F:\STM32\git\dmd-extensions\LibDmd\DmdDevice\DmdDevice.cs:line 887
   at PinMameDevice.DmdDevice.InternalRenderGray4Device(DeviceInstance device, UInt16 width, UInt16 height, IntPtr currbuffer)
   at PinMameDevice.DmdDevice.RenderGray4(UInt16 width, UInt16 height, IntPtr currbuffer)

 

If i use the virtualdmd it's ok, it's working !

If i enable the pinup option VPX does not crash but I have nothing on the pin2dmd (but the game is working)
 

Quote

[pinup]

; if enabled, send frames to PinUP.
enabled = true

 

Very strange.

PAC and VN are ok, 64 colors are ok, i'm now up to date on Vpinmame....

Link to comment
Share on other sites

  • Content Provider
22 hours ago, leeoneil said:

Thank's but not working with the pin2dmd, crash every time before loading the table
I put that in my dmddevice.ini :
 

 

Message error :

 

If i use the virtualdmd it's ok, it's working !

If i enable the pinup option VPX does not crash but I have nothing on the pin2dmd (but the game is working)
 

 

Very strange.

PAC and VN are ok, 64 colors are ok, i'm now up to date on Vpinmame....

 

Very strange. Had no problem with Serum on my pin2dmd. Maybe post the dmddevice.ini. Which firmware version are you running on your pin2dmd ? Which USB driver ?

Link to comment
Share on other sites

Sorry guys, I'm still confused as to how this all works. If I download the latest freezy dmd extensions, they are version 2.0 (both x86 and x64). If I download your dmd extension, your DmdDevice.dll file is a lower version. If I put the contents of all three folders (yours, and the two of freezy) inside the VpinMAME folder, and click on FlexDMDUI, it tells me that there are two ddl files which are of different versions. What should I do ?

Link to comment
Share on other sites

  • Content Provider
18 hours ago, slydog43 said:

put lucky's 64 and 32 bit versions of dmddevice.dll in the vpinMAME folder.  Rerun the flexDMDui and it should be all good now.  (I just did that this morning)

Thanks for verifying

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...