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 11.5k 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.
    • M
      MumboJumbo @ExarKunIv
      last edited by

      @exarkuniv i just updatet to version 1.3 they only have a zip and prebuild deb on their seit for pi but i changed your script a little and it works so far i can say. I started the game and walked around a bit.
      Here's the script of yours with some changes

      #!/usr/bin/env bash
      
      # This file is part of The RetroPie Project
      # 
      # The RetroPie Project is the legal property of its developers, whose names are
      # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
      # 
      # See the LICENSE.md file at the top-level directory of this distribution and 
      # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
      #
      
      rp_module_id="devilutionx"
      rp_module_desc="devilutionx - Diablo Engine"
      rp_module_licence="https://raw.githubusercontent.com/diasurgical/devilutionX/master/LICENSE"
      rp_module_help="Copy your original diabdat.mpq file from Diablo to $romdir/ports/devilutionx."
      rp_module_section="exp"
      rp_module_flags="!x86 !mali"
      
      function depends_devilutionx() {
          echo 42
      }
      
      function sources_devilutionx() {
           wget https://github.com/diasurgical/devilutionX/releases/download/1.3.0/devilutionx-linux-armhf.zip
           unzip devilutionx-linux-armhf.zip
           }
      
      function install_devilutionx() {
        cd devilutionx-linux-armhf
      dpkg -i ./devilutionx_1.3.0_armhf.deb
          md_ret_files=(
                	devilutionx-linux-armhf/devilutionx
      		devilutionx-linux-armhf/devilutionx.mpq
      		devilutionx-linux-armhf/README.txt 
      		devilutionx-linux-armhf/LICENSE.CC-BY.txt
      		devilutionx-linux-armhf/LICENSE.OFL.txt)
      }
      
      function configure_devilutionx() {
          mkRomDir "ports"
          mkRomDir "ports/devilutionx"
          cp -r "$md_inst/devilutionx.mpq" "$romdir/ports/$md_id"
          addPort "$md_id" "devilutionx" "devilutionx - Diablo Engine" "$md_inst/devilutionx --data-dir $romdir/ports/devilutionx --save-dir $md_conf_root/devilutionx"
      }
      
      
      ExarKunIvE 1 Reply Last reply Reply Quote 1
      • ExarKunIvE
        ExarKunIv @MumboJumbo
        last edited by ExarKunIv

        @mumbojumbo i will update on my end. thanks

        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 0
        • AddisonA
          Addison
          last edited by

          Is 1.4.0 the most updated source to be used?

          It's the only release that's showing linux-armhf.7z to be available.

          Trying to use the following guide for setup:
          https://github.com/diasurgical/devilutionX/wiki/Retropie-Guide

          ExarKunIvE 1 Reply Last reply Reply Quote 0
          • ExarKunIvE
            ExarKunIv @Addison
            last edited by

            @Addison yes that's the last version that they released with linux-armhf.7z

            i updated the script to that version

            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
            • AddisonA
              Addison
              last edited by

              Thanks!

              Was hoping to get this to run today. :)

              ExarKunIvE 1 Reply Last reply Reply Quote 0
              • ExarKunIvE
                ExarKunIv @Addison
                last edited by

                @Addison at some point ill look to see if i can compile a newer version

                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
                • AddisonA
                  Addison
                  last edited by Addison

                  Ended up with a black screen for a few seconds then a return to Emulation Station.

                  ---------------
                  2023-10-06T19:02:22-0400: started sync for 
                  2023-10-06T19:02:22-0400: starting download...
                  2023-10-06T19:02:22-0400: command = /home/pi/rclone-v1.56.0-linux-arm/rclone copy remote:/ /home/pi/RetroPie/saves/ --include ".*" --log-level "INFO" --log-file /home/pi/log.txt
                  2023/10/06 19:02:23 INFO  : There was nothing to transfer
                  2023/10/06 19:02:23 INFO  : 
                  Transferred:   	          0 / 0 Byte, -, 0 Byte/s, ETA -
                  Elapsed time:         0.9s
                  
                  2023-10-06T19:02:23-0400: finished sync for 
                  ---------------
                  2023-10-06T19:02:26-0400: started sync for 
                  2023-10-06T19:02:26-0400: starting upload...
                  2023-10-06T19:02:26-0400: command = /home/pi/rclone-v1.56.0-linux-arm/rclone copy /home/pi/RetroPie/saves/ remote:/ --include ".*" --log-level "INFO" --log-file /home/pi/log.txt
                  2023/10/06 19:02:36 INFO  : There was nothing to transfer
                  2023/10/06 19:02:36 INFO  : 
                  Transferred:   	          0 / 0 Byte, -, 0 Byte/s, ETA -
                  Elapsed time:         9.1s
                  
                  2023-10-06T19:02:36-0400: finished sync for
                  

                  That was all that showed in the log file.

                  Have I somehow misplaced where the required files need to be?

                  alt text

                  Also, no diablo.ini was generated in /home/pi/RetroPie/roms/ports/diablo/gamedata

                  ExarKunIvE 1 Reply Last reply Reply Quote 0
                  • ExarKunIvE
                    ExarKunIv @Addison
                    last edited by ExarKunIv

                    @Addison the ini file won't be generated yet

                    As far as the rest of it I don't know. I'll have to try it tomorrow and see what I get

                    If you always want you can edit the script file and change 1.4 to 1.3 and it still should work like before.

                    It's possible I tried that version and it didn't work.
                    I don't remember.n

                    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
                    • AddisonA
                      Addison
                      last edited by

                      Thank you.

                      1.3.0 is working. :D

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

                        @Addison awesome.

                        I will take a look as see what's up with 1.4

                        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
                        • ExarKunIvE
                          ExarKunIv @Addison
                          last edited by

                          @Addison so version 1.4 and up need libfmt 7 or higher
                          Buster only has version 5.2.1.
                          so that's why it doesn't work

                          im looking into what can be done, if anything

                          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 .

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

                            @ExarKunIv

                            Think you might be able to get all the way up to 1.5.1?

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

                              @Addison I hoping so.

                              Right now I get half way in compiling and it errors out.
                              The problem is that we need gcc 10.1 or higher since there is something included in that. That we need to compile.

                              But buster only have 8.3.
                              I'm looking onto how to bring it up. But it might or might not break something else within Retropie when someone tries to build something else

                              But one thing at a time, right

                              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
                              • 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
                                            • 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.