DMD Extensions Installer

Viewing 20 posts - 1 through 20 (of 36 total)
  • Author
    Posts
  • #112837
    freezy
    Participant
      @freezy

      Hey guys,

      I spent some time working on an installer and automatic builds recently. If anyone happens to be on anything other than Windows 10 64-bit, a quick test would be appreciated.

      The installer does the following:

      • Searches for VPM and copies the DLL to the VPM folder
      • Also copies DmdExt.ini to the VPM folder if not there yet, and sets the DMDDEVICE_CONFIG environment variable so it’s always found
      • Searches for Pro Pinball and copies the launcher .bat file to Pro Pinball folder
      • Installs dmdext.exe into the Program Files folder and adds it to the environment PATH

      More info here.

      Once I merge this you’ll also get automatic builds by the CI. For example, the build of the last commit can be found here (click on the platform you’re interested in and under Artifacts you’ll see the downloads, the installer is the .msi file, but a zip file with all the files gets created as well).

      Any feedback welcome!

      Cheers,

      -freezy

      #112840
      Thalamus
      Moderator
        @thalamus
        ContributorMemberModerator

        Uh. This means you will only distribute via an installer ? :cry:

        #112842
        freezy
        Participant
          @freezy

          but a zip file with all the files gets created as well

          Installer will still save you time though.

          #112844
          Thalamus
          Moderator
            @thalamus
            ContributorMemberModerator

            Yeah. I understand the reason behind using a installer. Hopefully less dumb questions :) I’m just not so happy with running installers when I’m trying to find a problem. I see that you explain exactly what it does and that is always a good thing.

            #112845
            freezy
            Participant
              @freezy

              Duh.

              First, there will always be a zip file. Second, the difficulty of dmdext is not really the installation. It’s to understand and configure all the programs using it, and the installer doesn’t do that. What the installer does is save you time and encourages people to upgrade because you don’t need to re-read all the installation instructions on every upgrade, you just double click and hit next until you’re done.

              #112848
              Queniart
              Participant
                @queniart62
                Member

                Re encore Merci  Thalamus pour la traduction  :good:

                #112984
                TerryRed
                Moderator
                  @terryred
                  MemberContributorModerator

                  Yes…I always thought that having both an installer and a zip option for most anything is always the best option…. at least for software that is constantly updated.

                  We’re going through debating this for 1.4 of PinupSystem as well. Not sure about using an installer still, or only zip files, or having Popper and PuP separate,etc… For us it can be a nightmare for support because it uses so many other components that (like freezy mentions) needs to be “correctly” setup.

                  This biggest problem for us NOT using an installer is the files can be blocked by Windows, and people refuse to use 7zip, etc to be sure they aren’t blocked when installing or setting up PuP/Popper. An installer takes care of that problem no matter what. However with updated zips…people can still screw things up. Even with the installer they still screw up not knowing where their VPinMAME folder is, or their B2S plug-ins folder.

                  This is why I refuse to do Teamviewer and remote assistance. If someone can’t get it setup on their own at some point, then they will ALWAYS be asking for someone else to fix their problems. This hobby isn’t “hard”, but it won’t hold your hand.

                   

                  #112994
                  freezy
                  Participant
                    @freezy

                    Well, creating an installer wasn’t trivial because I’m using the WiX toolset which has a relatively high learning curve (but is super powerful). But dmdext is downloaded around 1.5k times, so if it saves everybody two minutes for every release, it’s well worth the effort.

                    Anyway, if anyone at all is interested in testing this, let me know.

                    #112998
                    freezy
                    Participant
                      @freezy

                      @TerryRed VPM folder is pretty easy to obtain by looking at the registry where VPinMAME.dll is registered. If you’re going with WiX here‘s how you do it. Honestly, I’ll be using the installer for my cab even though I know what it’s doing.

                      #113000
                      CarnyPriest
                      Participant
                        @carnypriest
                        Member

                        I wind up downloading both. If the installer does not overwrite the ini file, that’s fine but I still want to know if there are any new sections or keys.

                        1. Update the old installed ini with any new sections or keys in the zipped ini.
                        2. Run the installer.

                        Installer works, but I still have yet to do any testing.

                        #113001
                        freezy
                        Participant
                          @freezy

                          @CarnyPriest Thanks for giving it a try! In any case there are release notes on the page where you download the installer where such things are noted. It’s a difficult topic because if I wanted to automate this, I would probably end up with a difftool, and I’m not sure many will be familiar with it.

                          #113004
                          CarnyPriest
                          Participant
                            @carnypriest
                            Member

                            Yes. I read the instructions. That’s why I’m installing this way. Otherwise, I might naively overwrite the ini, and I’d have to configure it over again. Or I might miss out on added features. I am using a diff tool but making my edits “manually”. I don’t know what the answer is except that this is not a consumer product. It’s a hobby that rewards experience. Still, I appreciate that the installer saves some effort. Same reason why I appreciate MJR’s DOF installer. I can follow instructions and extract files to the right folder, but it is still a nice convenience not having to worry about it.

                            #113017
                            outhere
                            Moderator
                              @outhere
                              MemberContributorvipModerator

                              I went under Artifacts down loaded the 32-bit

                              I run the installer But it Did not install or update any files in VPM

                              #113018
                              freezy
                              Participant
                                @freezy

                                @outhere Was VPM selected when you installed? What does it say under product version when you right-click on DmdDevice.dll in the details tab?

                                #113025
                                outhere
                                Moderator
                                  @outhere
                                  MemberContributorvipModerator

                                  Product version 1.7.1
                                  When I started the installer It asked me to agree with the license I click agree hit install, it installs But doesn’t ask about select VPM
                                  There is nowhere to select VPM

                                  #129498
                                  mon72
                                  Participant
                                    @mon72
                                    Member

                                    hi

                                    Im having trubel to get the dmdext to work properly

                                    When I choose FX3 from the popper wheel I get into the FX3 menu and here I can see the backbox image and DMD…
                                    but when I choose ALIENS then when the game starts I loose backbox and DMD to windows desktop instead. Playfield running game as intended.

                                    When testing with the CMD window I get the error on the picture attached. (like below)

                                    C:\Pinball\Visual Pinball\VPinMAME>dmdext mirror –source=pinballfx3 –no-virtual
                                    [1] 2019/05/26 15:19:17.738 ERROR | Error: The parameter is incorrect.
                                    [1] 2019/05/26 15:19:17.903 ERROR | No output devices available.

                                    I have the pinup start script i “FX3 script tab”  according to TerryReds instructions (DMDext and FX3.EXE not as admin)

                                    @echo off
                                    rem remove rem to setup your DMDEXT press “open examples for more info”
                                    cd “C:\pinball\Visual Pinball\VPinMAME”
                                    start /min “” “dmdext.exe” mirror –source=pinballfx3 –fx3-leagacy -q -d auto –virtual-hide-grip –virtual-position=7680 550 1280 –pinup PINUP\[GAMENAME]
                                    START “” “[STARTDIR]Launch\VPXSTARTER.exe” 5 5 60 “Pinball FX3”
                                    START “” “[DIREMU]\steam.exe” -applaunch 442120 -table_[GAMENAME]

                                    BR

                                    Mon72

                                    Ps. VPX works grate  :yahoo:

                                    Attachments:
                                    #129508
                                    outhere
                                    Moderator
                                      @outhere
                                      MemberContributorvipModerator

                                      Did you try without using –fx3-leagacy

                                      In order to attach a picture click on the button at the top right

                                      #129515
                                      NailBuster
                                      Moderator
                                        @nailbuster
                                        ModeratorMember

                                        important when asking for dmd help is to explain what hardware or lcd-dmd?

                                        see examples of dmdext on my fx3 page config.

                                        http://www.nailbuster.com/wikipinup/doku.php?id=emulator_fx_non_steam

                                        #129519
                                        mon72
                                        Participant
                                          @mon72
                                          Member

                                          Ahh off course!

                                          I have a LCD DMD 1280×390

                                          And @Outhere will try without leagacy later tonight!

                                          mon72

                                          #129649
                                          mon72
                                          Participant
                                            @mon72
                                            Member

                                            Hi

                                            Tested with out the leagacy… Did not really see any difference?
                                            I get this error window and FX3 hangs until I press yes or no… starts directly after I press yes or no…
                                            need to bring it to front by “Window button tab” to reach it

                                            COM_problem

                                            I have half the virtual DMD in the DMD screens top left corner. but stretching out over the whole length…
                                            It lays on top of POPPER DMD at start of popper front end… disappears after a few seconds in to the started frontend
                                            Choosing FX3 and the the DMD and backbox is visable while browsing through the games list…
                                            but both DMD and Backbox dies when FX3 game starts…

                                            BR
                                            mon72

                                             

                                          Viewing 20 posts - 1 through 20 (of 36 total)

                                          Forums are currently locked.

                                          ©2024 VPinBall.com

                                          Log in with your credentials

                                          Forgot your details?