Jump to content

Recommended Posts

  • Content Provider

Hi all,

 

since my solution using dmd-extension as a plugin for my dmddevice.dll was done in a rush, to quickly address some problems, time has shown that this approach has some drawbacks like pup-packs based on scaled-down screenshots of large sega dmds not working. 
Freezy recommended to implement a coloring API into his dmd extensions code which my coloring code connects to. So I spent the last weeks to implement this coloring API into the dmd-extensions code.  I moved the coloring code from my dmddevice.dll into a pin2color.dll plugin library which connects to this API. Just like with my first solution the frames are colored and forwarded  to  the devices supported by the latest official dmd-extensions release.
Of course this solution also supports all the latest colorizations methods and file formats and removes the problems which still existed in the dmd-extensions coloring code. The coloring API changes are made to the codebase of the last official release and until freezy pulls these changes into the official repository, in respect to the GPL license, the code changes necessary are made public here.
https://github.com/lucky01/dmd-extensions

 

For your convenience I attached all the files needed. 

Depending on wether you have VPinMame.dll or VPinMame64.dll installed you need to install the contents of the x86 or x64 folder. For installation just copy the contents of the zip file to your vpinmame installation folder. You may be asked to overwrite a previous installation of dmddevice.dll. If you previously used freezy DmdDevice.dll and want to keep your settings just keep  your DmdDevice.ini.

 

If you want to use PinballFX3 tables with PinUP Packs and have set scaletohd = true in the global settings

You need to add scaletohd = false for every table to make the PinUp Pack work.

 

Here is a list of the current tables

https://vpuniverse.com/forums/topic/7504-new-version-dmd-extensions-with-pin2dmd-coloring-plugin-and-pac-file-support/?do=findComment&comment=64271

 

Update 31. July

- fix issue with simple palette file and DataEast 128x16 tables 

Update 01. August

- add colorization support to alphanumeric tables

- add alphanumeric dump function to alphadump folder

- fix pup output for 128x16 if colorization is active

- fix pup retriggering issue

Update 02. August

- fix pup issue with 128x16 tables and scaletohd = true

 

Please test. I hope everything works now.

 

 

P.S.

If you have a real pin2dmd you may use 
enabled = native

instead of

enabled = true 
in the pin2dmd section of the dmddevice.ini for optimized performance.

 

 

 

 

 

 

dmd-extensions_with_pin2color_plugin.zip

Link to comment
Share on other sites

Everything I've tested has worked perfectly @lucky1 Even the sega 192x64 colorized dmd games work great with pup packs! Flex/Ultradmd, no problems. .pac, vin/pal all work seamlessly. Thanks so much!

Link to comment
Share on other sites

18 hours ago, Cliffy said:

Everything I've tested has worked perfectly @lucky1 Even the sega 192x64 colorized dmd games work great with pup packs! Flex/Ultradmd, no problems. .pac, vin/pal all work seamlessly. Thanks so much!

I'm getting the same result (worked perfectly) with everything I've tried so far

Thank you

Link to comment
Share on other sites

@lucky1
Testing update if I use the new DmdDevice.dll with Baywatch When using this Rom - bay_401
VP crashes but it works with the other 3 games with the same DMD's

-

Update Working when using the BayWatch Rom

Link to comment
Share on other sites

Thanks for this, @lucky1. I haven't had a chance to look at it yet, but will try to do so this weekend. Would you mind creating a pull request with your changes in my repo? Cheers!

Link to comment
Share on other sites

  • Content Provider
45 minutes ago, freezy said:

Thanks for this, @lucky1. I haven't had a chance to look at it yet, but will try to do so this weekend. Would you mind creating a pull request with your changes in my repo? Cheers!

 

Funkyman is currently checking my code and looking for possible improvements. When he is done we can create a pull request.

Link to comment
Share on other sites

2 hours ago, Ericg384 said:

when I change these files pac files work but i loses my dmd  underlays and my backglasss what am i missing ?

Are you on a cab or desktop? Are you referring to pup packs or the b2s backglass?

One thing I've noticed, since I run desktop, is external dmd (F1) must be checked for a bs2 glass to stay on top (when "bring BG form to top" is checked).  If not using the Freezy/Lucky1 dmddevice/pin2color.dll package like for non-dmd games then I have to use Xenonph's b2sDT.exe and script add-ins to force a b2s backglass on top. 

When it comes to dmd games the only way to get the BG on top is with the external dmd and I havent seen any difference whether the colorized dmd was in .pac or .pal/.vni format. They all just work (for me :)

Link to comment
Share on other sites

Cab and everything is running fine till I replace the drill files then it takes out my backglass pup pack or b2s and my dmd screens  just turns both monitors black but the pac file works on my dmd screen but it takes out my dmd underlay

Link to comment
Share on other sites

3 minutes ago, Ericg384 said:

Cab and everything is running fine till I replace the drill files then it takes out my backglass pup pack or b2s and my dmd screens  just turns both monitors black but the pac file works on my dmd screen but it takes out my dmd underlay

Did you keep your original DmdDevice.ini file

Link to comment
Share on other sites

  • Content Provider
On 7/15/2022 at 6:22 PM, Cliffy said:

One thing I've noticed, since I run desktop, is external dmd (F1) must be checked for a bs2 glass to stay on top (when "bring BG form to top" is checked). 

 

Did you try this ?

Link to comment
Share on other sites

  • Content Provider
16 minutes ago, BurtMacklin said:

FX3 pup packs when using the new dmddevice.dll files and the setup mentioned in this article don't seem to work.

 

https://www.nailbuster.com/wikipinup/doku.php?id=pupdmd_fx3

 

However with the older dll files that come with freezy install work fine.

 

Any Logfile ? I see no reason why it should not work.

Link to comment
Share on other sites

1 hour ago, lucky1 said:

 

Any Logfile ? I see no reason why it should not work.

DmdDevice WIITH Freezy DLL.logDmdDevice WITH LUCKY1 DLL.log

 

Here ae the dmddevice.log files.  One with the DLL from the freezy installer and the other one is from the DLL on this thread. 

 

This is what I see in the log when using the dmddevice.dll from this thread.  it looks like a DMD resize is occuring

 

[8] 2022/07/18 12:21:19.774  INFO | Creating FBOs for 128x32 
 [1] 2022/07/18 12:21:19.904  INFO | VPM RGB24 Source received new dimensions: 128x32 => 256x64. 
 [1] 2022/07/18 12:21:19.904  INFO | Resizing virtual DMD to 256x64 
 [8] 2022/07/18 12:21:19.904  INFO | Creating FBOs for 256x64 
 [1] 2022/07/18 12:22:40.394  INFO | [vpm] Close(0) 
 [1] 2022/07/18 12:22:40.394  INFO | Closing up. 

 

 

Link to comment
Share on other sites

  • Content Provider
31 minutes ago, BurtMacklin said:

DmdDevice WIITH Freezy DLL.log 2.58 kB · 1 download DmdDevice WITH LUCKY1 DLL.log 2.86 kB · 1 download

 

Here ae the dmddevice.log files.  One with the DLL from the freezy installer and the other one is from the DLL on this thread. 

 

This is what I see in the log when using the dmddevice.dll from this thread.  it looks like a DMD resize is occuring

 

[8] 2022/07/18 12:21:19.774  INFO | Creating FBOs for 128x32 
 [1] 2022/07/18 12:21:19.904  INFO | VPM RGB24 Source received new dimensions: 128x32 => 256x64. 
 [1] 2022/07/18 12:21:19.904  INFO | Resizing virtual DMD to 256x64 
 [8] 2022/07/18 12:21:19.904  INFO | Creating FBOs for 256x64 
 [1] 2022/07/18 12:22:40.394  INFO | [vpm] Close(0) 
 [1] 2022/07/18 12:22:40.394  INFO | Closing up. 

 

 

 

I added a missing scaler for RGB24 content.

Did you set "scaletohd = true " ?

Try setting to false.

Link to comment
Share on other sites

5 minutes ago, lucky1 said:

 

I added a missing scaler for RGB24 content.

Did you set "scaletohd = true " ?

Try setting to false.

Setting scaletohd from true to false seems to fix that issue.   With the other DLL it works fine with the scaletohd=true.  Is there a way to have scaletohd set to true with your DLL and it still work?  

Link to comment
Share on other sites

  • Content Provider
2 minutes ago, BurtMacklin said:

Setting scaletohd from true to false seems to fix that issue.   With the other DLL it works fine with the scaletohd=true.  Is there a way to have scaletohd set to true with your DLL and it still work?  

 

Try adding the following to your dmddevice.ini

 

[PINUP\Aliens]

scaletohd = false

Link to comment
Share on other sites

5 minutes ago, lucky1 said:

 

Try adding the following to your dmddevice.ini

 

[PINUP\Aliens]

scaletohd = false

that works even with scaletohd= true at the top.   So basically will need to manually add these for each FX3 video pup pack?

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
 Share

×
  • Create New...