Content Provider Popular Post lucky1 Posted July 12, 2022 Content Provider Popular Post Share Posted July 12, 2022 (edited) 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 dmd-extensions release v1.10.2. 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 GPLV2 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 Update 16. August - fix SuperMario (smb3) colorization Update 18. August - add color support to AVI file output Update 9. September - fix issue with flexdmd tables and pin2dmd HD (256x64) set to native - add game specific options if pin2dmd global setting is native Update 9.October - fix colorization not working if pin2dmd enable set to true Update 12.October - fix issue with flexdmd using non realistic dmd resolutions set flexdmd width/height to 128x32,192x64 or 256x64 in table script to make real pin2dmd work in native mode Update 18.November - add workaround for PUP issue not triggering first frames Update 24.November - remove previous workaround for PUP as it did introduce new problems. - merge latest freezy changes into codebase - fix some layout problems with alphanumeric tables e.g. Gottlieb 2x20 display, Riverboat Gambler, Police Force etc. Update 27.November - reverted back the change made on 1.August to fix the pup trigger delay as it seems not to work with some pup packs. This needs to be fixed on the pup side by nailbuster. - added support for upcoming 64bit version of PUP Update 07.December - updated to latest coloring code with support for "Replace No Retrigger" coloring mode Update 29.December - added support for "ColorMask Loop" coloring mode Update 30.December - fix issue with SWDE Update 21. January 2023 - fix REPLACE_NO_RETRIGGER new coloring mode replay lag Update 02. March 2023 - added a version with support for serum coloring plugin by Zedrummer - supports color rotation on all output devices . Original serum only supports virtual and zedmd - fixes the pup triggering bug with Tron serum colorization - supports keyframe triggering for upcoming dmddevicePUP.dll with pin2dmd colorizations. - support for 64bit DLL versions like dmdevicePUP64.dll, serum64.dll and libusbK64.dll - please set pin2dmd enabled = true for serum tables Update 05. March 2023 - add serum scaling fix from Zedrummer - fix issue with dmddevice.ini beeing overwritten Update 08. March 2023 -fix alphanumeric issue Update 03. May 2023 - update to latest freezy codebase which adds coloring support for dmdext (e.g. pinballarcade and FX3) added by GyroJoe - add support for Sega 192x64 pinballarcade tables like Frankenstein - supports pac/vni/fsq/crz coloring for dmdext and dmddevice.dll - fix 16 shade table rendering in dmdext when colorize option is set and no colorization found. - minor bug fixes Update 04. May 2023 - fix HD scaling issue Update 05. May 2023 - fix issue with 128x16 tables - fix pinballbrowser colorizations Update 06. May 2023 - fix Serum flickering Update 26. May 2023 - update to latest freezy codebase - fix conflict with b2sserver and pinup Update 22. June 2023 - fix simple palette colorization for 128x16 Update 14. August 2023 - fix Maverick colorization Update 27. August 2023 - update Serum.dll and switched back to my own fork of freezy due to too many problems reported Update 09.October 2023 - fix PuPTrigger For 64bit serum64.dll it might be necessary to install https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 https://aka.ms/vs/17/release/vc_redist.x64.exe . 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 This gives you better performance. FlexDMD and Serum tables might need pin2dmd enabled = true either in the table specific settings or globally X64 https://mega.nz/file/QE0RiRrA#xx3sNLVJQhsXDh-JhE7umCJvhFLvD2lgj_X1AWIf1UU X86 https://mega.nz/file/RZ9XFbDS#Eiq7-W9K8ufhsa6vnwfTxV0cXKk0C3ohRd8u5ac777g Edited October 10, 2023 by lucky1 Link to comment Share on other sites More sharing options...
Cliffy Posted July 13, 2022 Share Posted July 13, 2022 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 More sharing options...
hargabyte Posted July 13, 2022 Share Posted July 13, 2022 Works great for me. First time setting up colorization. Looks awesome. Thanks! Link to comment Share on other sites More sharing options...
outhere Posted July 13, 2022 Share Posted July 13, 2022 On 7/12/2022 at 8:00 PM, 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 For more help See - For NEW Pac Fileshttps://vpuniverse.com/forums/topic/3370-attack-from-mars-colorization/page/3/?tab=comments#comment-42753 Link to comment Share on other sites More sharing options...
Pcast Posted July 13, 2022 Share Posted July 13, 2022 oh wow that was easy, worked perfect. thanks Link to comment Share on other sites More sharing options...
Content Provider Smaug Posted July 13, 2022 Content Provider Share Posted July 13, 2022 Thank you very much for the info, and providing the files! Link to comment Share on other sites More sharing options...
rodneyfitz Posted July 13, 2022 Share Posted July 13, 2022 works great thanks so much love to see a dmd for em tables Link to comment Share on other sites More sharing options...
outhere Posted July 14, 2022 Share Posted July 14, 2022 @lucky1 Testing update if I use the new DmdDevice.dll with Baywatch When using this Rom - bay_401VP 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 More sharing options...
Cliffy Posted July 14, 2022 Share Posted July 14, 2022 I realize its not much help but it's working great for me @outhere Link to comment Share on other sites More sharing options...
msm1976 Posted July 14, 2022 Share Posted July 14, 2022 Everything ist perfect now and no Problems anymore. Great work again👍 Link to comment Share on other sites More sharing options...
freezy Posted July 14, 2022 Share Posted July 14, 2022 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 More sharing options...
Content Provider lucky1 Posted July 14, 2022 Author Content Provider Share Posted July 14, 2022 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 More sharing options...
Ericg384 Posted July 15, 2022 Share Posted July 15, 2022 when I change these files pac files work but i loses my dmd underlays and my backglasss what am i missing ? Link to comment Share on other sites More sharing options...
Cliffy Posted July 15, 2022 Share Posted July 15, 2022 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 More sharing options...
Ericg384 Posted July 15, 2022 Share Posted July 15, 2022 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 More sharing options...
outhere Posted July 15, 2022 Share Posted July 15, 2022 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 More sharing options...
Ericg384 Posted July 15, 2022 Share Posted July 15, 2022 yes Link to comment Share on other sites More sharing options...
Content Provider lucky1 Posted July 18, 2022 Author Content Provider Share Posted July 18, 2022 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 More sharing options...
Content Provider BurtMacklin Posted July 18, 2022 Content Provider Share Posted July 18, 2022 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. Link to comment Share on other sites More sharing options...
Content Provider lucky1 Posted July 18, 2022 Author Content Provider Share Posted July 18, 2022 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 More sharing options...
Content Provider BurtMacklin Posted July 18, 2022 Content Provider Share Posted July 18, 2022 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 More sharing options...
Content Provider lucky1 Posted July 18, 2022 Author Content Provider Share Posted July 18, 2022 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 More sharing options...
Content Provider BurtMacklin Posted July 18, 2022 Content Provider Share Posted July 18, 2022 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 More sharing options...
Content Provider lucky1 Posted July 18, 2022 Author Content Provider Share Posted July 18, 2022 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 More sharing options...
Content Provider BurtMacklin Posted July 18, 2022 Content Provider Share Posted July 18, 2022 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now