GithubHelp home page GithubHelp logo

Comments (5)

xantari avatar xantari commented on June 21, 2024 1

@MikedaSpike there is a command line option for adding the key: --pac-key

from dmd-extensions.

halencarvalho avatar halencarvalho commented on June 21, 2024 1

Yes Xantari!!!

The command line is:

mirror --source=pinballfx3 --virtual-stay-on-top --fps 60 --virtual-position 2195 580 805 130 --colorize ----pac-key xxxxxxxxxxx

from dmd-extensions.

sundogak avatar sundogak commented on June 21, 2024

You need to set the PAC key in the DmdDevice.ini file as it notes in error. It won't open PAC format files without the key. See https://vpuniverse.com/forums/topic/9051-new-release-v220-final/

from dmd-extensions.

MikedaSpike avatar MikedaSpike commented on June 21, 2024

this is a bit of odd one, but figured it out
@sundogak is right, but by default DMDEXT.EXE isn't configured to use an INI file.
This can be added to the DMDEXT parameter.
If I add --use-ini "c:\pinball\visual Pinball\Vpinmame\DMDdevice.ini" to my DMD launch parameter PAC files are working to FX3

Here's the first part of my log :

2023-08-24 06:41:56.0674|DEBUG|LibDmd.RenderGraph|Disposing Pinball FX3 Render Graph...
2023-08-24 06:41:56.0674|INFO|LibDmd.RenderDisposable|Source for 4 renderer(s) stopped.
2023-08-24 06:44:53.5343|INFO|DmdExt.DmdExt|Launching console tool v2.2.1-SNAPSHOT-r11 (bb35e25)
2023-08-24 06:44:53.5838|INFO|LibDmd.DmdDevice.Configuration|Successfully loaded config from c:\pinball\visual Pinball\Vpinmame\DMDdevice.ini.
2023-08-24 06:44:54.8962|INFO|LibDmd.Output.PinDmd3.PinDmd3|Checking port COM1 for PinDMDv3...
2023-08-24 06:44:55.0463|INFO|LibDmd.Output.PinDmd3.PinDmd3|Trusting that PinDMDv3 sits on port COM1.
2023-08-24 06:44:55.0463|DEBUG|LibDmd.Output.PinDmd3.PinDmd3|   Firmware:    REV-vPin-01014
2023-08-24 06:44:55.0463|DEBUG|LibDmd.Output.PinDmd3.PinDmd3|   Resolution:  128x32
2023-08-24 06:44:55.0463|DEBUG|LibDmd.Output.PinDmd3.PinDmd3|   Revision:    1014
2023-08-24 06:44:55.0463|INFO|LibDmd.Output.PinDmd3.PinDmd3|Colored 4-bit frames for PinDMDv3 enabled.
2023-08-24 06:44:55.1649|INFO|DmdExt.Common.BaseCommand|Added PinDMDv3 renderer.
2023-08-24 06:44:55.1649|INFO|LibDmd.Common.PathUtil|[serum] Determined altcolor path from VPinMAME registry: C:\pinball\Visual Pinball\VPinMAME\altcolor
2023-08-24 06:44:55.1892|WARN|DmdExt.DmdExt|Error opening PinUP output: ROM name must not be null.
2023-08-24 06:44:55.2151|INFO|LibDmd.RenderGraph|Setting up Pinball FX3 Render Graph for 1 destination(s) [ PinDMD v3 ]
2023-08-24 06:44:55.2151|INFO|LibDmd.RenderGraph|  == Listening to Pinball FX3 for Switching Converter (Passthrough) (Gray2)
2023-08-24 06:44:55.2151|INFO|LibDmd.Input.MemoryGrabber`1|Waiting for Pinball FX3 process to start...
2023-08-24 06:44:55.2399|INFO|LibDmd.RenderGraph|  ** Linking converter Switching Converter (Passthrough) to PinDMD v3...
2023-08-24 06:44:55.2536|INFO|LibDmd.RenderGraph|    -> Connecting Switching Converter (Passthrough) to PinDMD v3 (ColoredGray2 -> ColoredGray2)
2023-08-24 06:44:55.2668|INFO|LibDmd.RenderGraph|    -> Connecting Switching Converter (Passthrough) to PinDMD v3 (ColoredGray4 -> ColoredGray4)
2023-08-24 06:44:55.2668|WARN|LibDmd.RenderGraph|    -- Destination doesn't support colored 6-bit frames from converter, converting to RGB source.
2023-08-24 06:44:55.2668|INFO|LibDmd.RenderGraph|    -> Connecting Switching Converter (Passthrough) to PinDMD v3 (ColoredGray6 -> Rgb24)
2023-08-24 06:44:55.2668|INFO|DmdExt.DmdExt|Press CTRL+C to close.
2023-08-24 06:44:55.2850|INFO|LibDmd.Input.MemoryGrabber`1|Process found, starting capturing...
2023-08-24 06:44:55.2850|INFO|LibDmd.Input.MemoryGrabber`1|Reading DMD data from Pinball FX3's memory at 25 fps...
2023-08-24 06:44:55.2850|INFO|LibDmd.RenderGraph|Frames coming in from Pinball FX3.
2023-08-24 06:45:00.0791|INFO|LibDmd.Input.MemoryGrabber`1|Found Pinball FX3 game: BALLY_BlackRose
2023-08-24 06:45:00.0791|INFO|LibDmd.Converter.Vni.ColorizationLoader|[serum] No colorization found at C:\pinball\Visual Pinball\VPinMAME\altcolor\BALLY_BlackRose...
2023-08-24 06:45:00.0938|INFO|LibDmd.Converter.Vni.VniLoader|[vni] Loading PAC file at C:\pinball\Visual Pinball\VPinMAME\altcolor\BALLY_BlackRose\BALLY_BlackRose.pac...
2023-08-24 06:45:00.1020|TRACE|LibDmd.Converter.Vni.PalFile|[vni] PAL[1] Read version as 2
2023-08-24 06:45:00.1020|TRACE|LibDmd.Converter.Vni.PalFile|[vni] PAL[3] Read number of palettes as 25
2023-08-24 06:45:00.1020|TRACE|LibDmd.Converter.Vni.PalFile|[vni] PAL[4930] Read number of mappings as 164
2023-08-24 06:45:00.1020|TRACE|LibDmd.Converter.Vni.PalFile|[vni] PAL[6735] Read number of masks as 23
2023-08-24 06:45:00.1391|TRACE|LibDmd.Converter.Vni.AnimationSet|[vni] VNI[8] Skipping 468 bytes of animation indexes.
2023-08-24 06:45:00.1391|DEBUG|LibDmd.Converter.Vni.AnimationSet|[vni] VNI[476] Reading 117 animations from VPIN v5...
2023-08-24 06:45:00.1391|DEBUG|LibDmd.Converter.Vni.FrameSeq|[vni] VNI[1050] Reading 1 frame for animation "Status Report Most Ship Sunk"...
2023-08-24 06:45:00.1391|DEBUG|LibDmd.Converter.Vni.FrameSeq|[vni] VNI[5215] Reading 1 frame for animation "High Score Award 1"...
2023-08-24 06:45:00.1391|DEBUG|LibDmd.Converter.Vni.FrameSeq|[vni] VNI[9368] Reading 1 frame for animation "3 Ball"...
2023-08-24 06:45:00.1391|DEBUG|LibDmd.Converter.Vni.FrameSeq|[vni] VNI[13532] Reading 5 frames for animation "Coin Treasure LCM"...
2023-08-24 06:45:00.1391|DEBUG|LibDmd.Converter.Vni.FrameSeq|[vni] VNI[32101] Reading 1 frame for animation "Great Score Player"...

I can't find an option to add directly the vni.key to the parameter and nor that the environment variable is working to get the dmddevice.ini.
@freezy whats your opinion

  • Should DMDext.exe by default use the dmddevice.ini from the system environment variable ?
  • Should DMDext.exe have a command line parameter for adding the vni key ? (so FX3 and TPA can use it)
  • Or should just DMDext.exe be use with '--use-ini'

Let me know your thoughts, and I can create a feature request as well if one of the first 2 options should be added (or both)

from dmd-extensions.

halencarvalho avatar halencarvalho commented on June 21, 2024

Thanks Mike.
Now the colorize for Pinball FX3 is working but does not positioning the DMD. The command line --virtual-position 2204 633 845 122 is not working.

I try to add a line in dmddevice.ini:

[BALLY_Attack_from_Mars]
virtualdmd left = 2204
virtualdmd top = 633
virtualdmd width = 845
virtualdmd height = 122

I click on the dmd with the right mouse button and tried to save the position but it only shows the option to save globally.

The dmd works wiht global parameters set in dmddevice.ini. The DMDEXT dont read the position. If you have a 3 screens the position is not the problem you work with global position.

from dmd-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.