RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Suggestions for ports

    Scheduled Pinned Locked Moved Ideas and Development
    portsports retropieideas
    483 Posts 35 Posters 254.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • EfriimE
      Efriim @quicksilver
      last edited by

      @quicksilver

      It would work, there is an android build. I think the prerequisite libraries are all available.

      https://wiki.vcmi.eu/How_to_build_VCMI_(Linux)#Prerequisites

      quicksilverQ 1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver @Efriim
        last edited by

        @Efriim Yea it look like it should work on linux as well. Doesnt look like its fully feature complete though which is a shame.

        1 Reply Last reply Reply Quote 0
        • quicksilverQ
          quicksilver
          last edited by

          So I'm trying to get VCMI installed. The installation instructions say that VCMI is part of the raspbian contrib repository but when I sudo apt-get install vcmi it says it can't locate the package. http://raspbian.raspberrypi.org/raspbian/pool/contrib/v/ if you click on the link you can see vcmi is there so I'm not sure what the issue is.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @quicksilver
            last edited by mitu

            @quicksilver The web folder contains just the source package, there's no binary to install.

            quicksilverQ 1 Reply Last reply Reply Quote 0
            • quicksilverQ
              quicksilver @mitu
              last edited by

              @mitu so if I understand correctly I can remove the # from the deb-src line in the sources.list to get source packages?

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @quicksilver
                last edited by

                @quicksilver Yes, that way you'd be able to download/compile and obtain an installable .deb from the sources.

                quicksilverQ 1 Reply Last reply Reply Quote 0
                • quicksilverQ
                  quicksilver @mitu
                  last edited by

                  So I uncommented

                  deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

                  And it still says vcmi not found. What am I doing wrong?

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by

                    @quicksilver said in Suggestions for ports:

                    And it still says vcmi not found. What am I doing wrong?

                    You need to use apt-src to install a source package - https://wiki.debian.org/apt-src.

                    quicksilverQ 1 Reply Last reply Reply Quote 0
                    • quicksilverQ
                      quicksilver @mitu
                      last edited by

                      @mitu ok cool I installed apt-src and started building vcmi however as it's building I noticed an error saying unmet build dependencies. It flashed by so fast I couldn't see what they were. I tried to shift+page-up to scroll back up but it only lets me go back so far. Is there a way to see what the missing dependencies were and install them?

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @quicksilver
                        last edited by

                        @quicksilver Usually you don't install dependencies manually, but through apt-get build-dep <src_package> - this will install all the needed packages for building the source package.

                        quicksilverQ 1 Reply Last reply Reply Quote 0
                        • quicksilverQ
                          quicksilver @mitu
                          last edited by quicksilver

                          @mitu when I run that it says nothing 0 packages updated/installed. So I guess its ok?

                          The next problem Im having is running "vcmibuilder" which is the next step in the installation process. You are supposed to run one of these depending on what type of game files you have.

                          vcmibuilder --cd1 /path/to/iso/or/cd --cd2 /path/to/second/cd
                          vcmibuilder --gog /path/to/gog.com/installer
                          vcmibuilder --data /path/to/h3/data
                          

                          I am using the third line but I get vcmibuilder not found. I made sure to change directories to where vcmibuilder is located before running that command but it still says command not found.

                          edit: I was able to get it to work running

                          sudo ./vcmibuilder --data /home/pi/RetroPie/roms/ports/Heroes\ of\ Might\ and\ Magic\ 3\ Complete/
                          
                          

                          So the last thing needed to run the game is from commandline running either vcmilauncher or vcmiclient (Not sure of the difference). Both of those options return a command not find error. Im following the instructions here btw : https://wiki.vcmi.eu/Installation_on_Linux

                          1 Reply Last reply Reply Quote 0
                          • quicksilverQ
                            quicksilver
                            last edited by

                            Turns out I'm following the wrong part of the guide. I should be following the source install instructions. Looks like I installed but never built vcmi. I'll see how much further I can get now and report back.

                            1 Reply Last reply Reply Quote 0
                            • quicksilverQ
                              quicksilver
                              last edited by

                              So following the instructions here: https://wiki.vcmi.eu/How_to_build_VCMI_(Linux)

                              I installed dependencies (actually they were already all installed). Then I tried to configure the makefiles:

                              mkdir build && cd build
                              cmake ../vcmi
                              

                              but I get a configuring incomplete errors occurred message. It recommends looking at CMakeOutput.log (https://pastebin.com/DcYey5ci) and CMakeError.log (https://pastebin.com/YcVbxaUM) for more info but Im not quite sure what Im looking at/what the issue is.

                              mituM 1 Reply Last reply Reply Quote 0
                              • mituM
                                mitu Global Moderator @quicksilver
                                last edited by

                                @quicksilver That's weird, since the pthread library should be present on any modern Linux system. Clean up your build folder and re-try, but if you want to debug this further post the cmake output as you invoke it, not the log files (they're not very useful).

                                quicksilverQ 1 Reply Last reply Reply Quote 0
                                • quicksilverQ
                                  quicksilver @mitu
                                  last edited by

                                  @mitu It failed again. Here is the output from the terminal: https://pastebin.com/eEpuaxXE

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @quicksilver
                                    last edited by

                                    @quicksilver The vcmi repository has 2 sub-modules, which you're missing. Run

                                    git submodule init
                                    git submodule update
                                    

                                    from the source folder and re-run cmake .

                                    quicksilverQ 1 Reply Last reply Reply Quote 0
                                    • quicksilverQ
                                      quicksilver @mitu
                                      last edited by

                                      @mitu It still produces the same error. To be clear Im running those commands from the vcmi folder correct?

                                      mituM 1 Reply Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @quicksilver
                                        last edited by

                                        @quicksilver said in Suggestions for ports:

                                        . To be clear Im running those commands from the vcmi folder correct?

                                        Yes. What does git submodule says when you run it ?

                                        quicksilverQ 1 Reply Last reply Reply Quote 0
                                        • quicksilverQ
                                          quicksilver @mitu
                                          last edited by quicksilver

                                          @mitu nothing.

                                          edit: though I do have two VCMI folders. One is called vcmi-0.99+dfsg+git20190113.f06c8a87, and it was the original one. Early at one point I tried to run the install again and it said something about getting the latest updates that may not be in the repo so I did what it said and it seem it made another duplicate folder named vcmi but it has the same contents. When I run git submodule from vcmi-0.99+dfsg+git20190113.f06c8a87 it says "fatal: not a git repository (or any of the parent directories): .git"

                                          mituM 1 Reply Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator @quicksilver
                                            last edited by

                                            @quicksilver Don't mix compilation of the .deb package with the install instructions given on the project's page. You either use the Debian packaging tools or compile from source directly. If you installed the needed build dependencies via apt-source, then clone the repository via git and follow the installation instructions.

                                            quicksilverQ 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.