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

    Diablo 1 ported to PI

    Scheduled Pinned Locked Moved Ideas and Development
    ports retropiediablo
    70 Posts 15 Posters 13.1k 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.
    • ExarKunIvE
      ExarKunIv @Addison
      last edited by

      @Addison DevilutionX is now running at 1.5.1.

      you will need to update the script and reinstall.
      it does take a few min since you will not be compiling it from source

      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
      Maintainer of RetroPie-Extra .

      1 Reply Last reply Reply Quote 2
      • AddisonA
        Addison
        last edited by

        I chose Update RetroPie-Setup script.

        Then did a full Update.

        Then Manage packages

        Manage experimental packages

        devilutionx

        Install from source

        dev.png

        Somehow I think I did that all wrong. lol

        S 1 Reply Last reply Reply Quote 0
        • S
          sleve_mcdichael @Addison
          last edited by

          @Addison said in Diablo 1 ported to PI:

          I chose Update RetroPie-Setup script.

          Then did a full Update.

          This doesn't touch the RetroPie-Extra scripts which exist outside of RetroPie-proper.

          You need to:

          cd
          
          cd RetroPie-Extra
          
          ./update-extras.sh
          
          ./install-extras.sh
          

          Select choose which modules to install.

          All of the currently-installed RetroPie-Extra modules will be pre-selected. Just choose OK to reinstall the latest scripts for the selected modules.

          This only "installs" them into the RetroPie-Setup script. You still need to go into the setup script and actually install the game to your system (the part what you did before with manage packages.)

          1 Reply Last reply Reply Quote 1
          • AddisonA
            Addison
            last edited by

            Thanks!

            1 Reply Last reply Reply Quote 0
            • AddisonA
              Addison
              last edited by

              Seems like I'm missing a file. :/

              pi@retropie:~ $ cd RetroPie-Extra
              pi@retropie:~/RetroPie-Extra $ ./update-extras.sh
              -bash: ./update-extras.sh: No such file or directory
              pi@retropie:~/RetroPie-Extra $ dir
              install-extras.sh  LICENSE  README.md  scriptmodules  TODO.md
              
              S 1 Reply Last reply Reply Quote 0
              • S
                sleve_mcdichael @Addison
                last edited by

                @Addison said in Diablo 1 ported to PI:

                Seems like I'm missing a file. :/

                I think you still have the old Extra repo. You tried to fix this once before, and wound up here by updating from the wrong directory. You changed the origin URL for the Setup repo when you meant to do it for the Extra repo.

                https://retropie.org.uk/forum/topic/34617/update-failed-solved

                Try:

                cd ~/RetroPie-Extra
                git remote set-url origin https://github.com/Exarkuniv/RetroPie-Extra
                git fetch --all
                git reset --hard master
                

                Make sure you run the git commands from in RetroPie-Extra, not RetroPie-Setup.

                Alternatively, just wipe out the Extra directory and re-clone it from the correct URL:

                cd
                rm -rf RetroPie-Extra
                git clone https://github.com/Exarkuniv/RetroPie-Extra
                

                ...or, backup the directory instead of wiping it:

                cd
                mv RetroPie-Extra RetroPie-Extra.old
                git clone https://github.com/Exarkuniv/RetroPie-Extra
                
                AddisonA 1 Reply Last reply Reply Quote 1
                • AddisonA
                  Addison @sleve_mcdichael
                  last edited by

                  @sleve_mcdichael

                  I feel like I'm so close to getting this correct.

                  dia2.png

                  dia.png

                  I did the ./install-extras.sh

                  It takes me to the menu prompts and I find my way to devilutionx but greeted with that last screenshot.

                  I really thought I got your instructions right.

                  I can't think of the error I made.

                  Even did a reboot.

                  dia3.png

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sleve_mcdichael @Addison
                    last edited by

                    It takes me to the menu prompts and I find my way to devilutionx but greeted with that last screenshot.

                    Press Space to "select" one or more scripts before you press Enter to copy all of the selections.

                    AddisonA 1 Reply Last reply Reply Quote 1
                    • AddisonA
                      Addison @sleve_mcdichael
                      last edited by

                      @sleve_mcdichael

                      Using PuTTY on PC, the SPACE bar functions the same as an Enter key.

                      No difference was seen doing that.

                      Log started at: Wed 11 Oct 2023 08:34:46 PM EDT
                      
                      RetroPie-Setup version: 4.8.5 (a43e29c1)
                      System: rpi4 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux
                      
                      = = = = = = = = = = = = = = = = = = = = =
                      Installing dependencies for 'devilutionx' : devilutionx - Diablo Engine
                      = = = = = = = = = = = = = = = = = = = = =
                      
                      /home/pi/RetroPie-Setup/tmp/build/devilutionx /home/pi/RetroPie-Extra
                      
                      = = = = = = = = = = = = = = = = = = = = =
                      Getting sources for 'devilutionx' : devilutionx - Diablo Engine
                      = = = = = = = = = = = = = = = = = = = = =
                      
                      git clone --recursive --depth 1 --shallow-submodules --branch master "https://github.com/diasurgical/devilutionX" "/home/pi/RetroPie-Setup/tmp/build/devilutionx"
                      Cloning into '/home/pi/RetroPie-Setup/tmp/build/devilutionx'...
                      HEAD is now in branch 'master' at commit '41c5175444c531d07f4237b18c595a59cd2fedb8'
                      /home/pi/RetroPie-Extra
                      /home/pi/RetroPie-Setup/tmp/build/devilutionx /home/pi/RetroPie-Extra
                      
                      = = = = = = = = = = = = = = = = = = = = =
                      Building 'devilutionx' : devilutionx - Diablo Engine
                      = = = = = = = = = = = = = = = = = = = = =
                      
                      /home/pi/RetroPie-Setup/scriptmodules/ports/devilutionx.sh: line 28: cd: build: No such file or directory
                      CMake Error: The source directory "/home/pi/RetroPie-Setup/tmp/build/devilutionx/CMAKE_INSTALL_PREFIX=/opt/retropie/ports/devilutionx" does not exist.
                      Specify --help for usage, or press the help button on the CMake GUI.
                      make: *** No targets specified and no makefile found.  Stop.
                      /home/pi/RetroPie-Extra
                      /home/pi/RetroPie-Setup/tmp/build/devilutionx /home/pi/RetroPie-Extra
                      cp: cannot stat '/home/pi/RetroPie-Setup/tmp/build/devilutionx/CharisSILB.ttf': No such file or directory
                      Could not successfully install devilutionx - Diablo Engine (/home/pi/RetroPie-Setup/tmp/build/devilutionx/build/devilutionx not found).
                      /home/pi/RetroPie-Extra
                      
                      Log ended at: Wed 11 Oct 2023 08:34:51 PM EDT
                      Total running time: 0 hours, 0 mins, 5 secs
                      
                      ExarKunIvE S 2 Replies Last reply Reply Quote 0
                      • ExarKunIvE
                        ExarKunIv @Addison
                        last edited by

                        @Addison you still have a old install script
                        I know this because you I see '''CharisSILB.ttf''' in your log
                        That script was changed over a year ago

                        That file is no longer needed now and even when I was using version 1.3.0 it was not needed

                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                        Maintainer of RetroPie-Extra .

                        1 Reply Last reply Reply Quote 1
                        • S
                          sleve_mcdichael @Addison
                          last edited by

                          @Addison said in Diablo 1 ported to PI:

                          @sleve_mcdichael

                          Using PuTTY on PC, the SPACE bar functions the same as an Enter key.

                          No difference was seen doing that.

                          I don't know what to tell you here. I'm not familiar with PuTTY. Using Termius on iOS, or with a keyboard plugged in the RPi itself, Space selects and de-selects an option:

                          037BB396-9887-4B1B-9CFA-00524E5E0CD4.jpeg

                          8AA6E0F7-96EE-4FA6-A886-B7400B889313.jpeg

                          ...and then Enter acts upon the selected options:

                          2BD63CC1-EFE5-43BB-85CB-F7C6CD28C44F.jpeg

                          ...

                          cp: cannot stat '/home/pi/RetroPie-Setup/tmp/build/devilutionx/CharisSILB.ttf': No such file or directory

                          This still looks like the old deleted scriptmodule version. You will either need to work out how to select the module(s) to be installed, or you can use the -a option with the new installer script to add all of the Extra modules at once:

                          ./install-extras.sh -a
                          
                          AddisonA 1 Reply Last reply Reply Quote 1
                          • AddisonA
                            Addison @sleve_mcdichael
                            last edited by Addison

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • AddisonA
                              Addison
                              last edited by

                              I followed Mitu's suggestion:

                              cd
                              mv RetroPie-Setup RetroPie-Setup.old
                              git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
                              

                              "You can then follow the installation instructions for @ExarKunIv's extra repository."

                              So.....

                              ./install-extras.sh

                              This time I was in the menu system for Retropie Extras and not Retropie Setup.

                              From there, the SPACE key worked correctly. :)

                              Left that menu and went back to Retropie Setup and it's currently building from source.

                              Joy!

                              Sorry for being so difficult.

                              1 Reply Last reply Reply Quote 1
                              • AddisonA
                                Addison
                                last edited by

                                Last question though.

                                Can I change the save file location?

                                On my Pi 4s I have everything stored in /home/pi/RetroPie/saves

                                I use Rclone to sync these with my many devices.

                                Would be nice if I could do that as well with Diablo.

                                The Diablo.ini file only seems to be used for custom commands in chat.

                                ExarKunIvE S 2 Replies Last reply Reply Quote 0
                                • ExarKunIvE
                                  ExarKunIv @Addison
                                  last edited by ExarKunIv

                                  @Addison

                                  the saves are in /opt/retropie/configs/ports/devilutionx

                                  but you can edit the emulators.cfg file in

                                  /opt/retropie/configs/ports/devilutionx
                                  

                                  and just change where the save goes since thats how i told it to save in the config folder

                                  the Diablo.ini is the config file for devilutionX
                                  there you can do a bunch of things,

                                  https://github.com/diasurgical/devilutionX/wiki/DevilutionX-diablo.ini-configuration-guide

                                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                                  Maintainer of RetroPie-Extra .

                                  1 Reply Last reply Reply Quote 1
                                  • S
                                    sleve_mcdichael @Addison
                                    last edited by

                                    @Addison @ExarKunIv said in Diablo 1 ported to PI:

                                    @Addison

                                    but you can edit the emulators.cfg file in

                                    /opt/retropie/configs/ports/devilutionx
                                    

                                    and just change where the save goes since thats how i told it to save in the config folder

                                    Adding on to this: if you merely alter the devilutionx entry that's already there, you risk it being overwritten and reverted back if you ever update or reinstall the port.

                                    Instead, I would make a duplicate devilutionx-custom entry, and set the default line to use that also. Then the "regular" version can get overwritten all you want, and it won't matter at all.

                                    1 Reply Last reply Reply Quote 1
                                    • AddisonA
                                      Addison
                                      last edited by

                                      Thank you!

                                      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.