• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • R
    rsaurer
    last edited by 9 Oct 2020, 21:30

    does it work with your script on pi 3b+?
    what steps for install after install standard retropie?

    many thanks!

    1 Reply Last reply Reply Quote 0
    • A
      AJenbo
      last edited by 17 Oct 2020, 08:10

      @rsaurer said in Diablo 1 ported to PI:

      does it work with your script on pi 3b+?

      I build and test each release on a pi 3b+. I don't know anything about retropi though so can't help with that part. I would have expected it to be able to find installed application so if you install via the .deb it might work with out you haveing to do anything special.

      We just released a new verison 6 days ago with widescreen support amonst many other improvments.

      Have fun.

      1 Reply Last reply Reply Quote 2
      • P
        pjmcphizzle
        last edited by 23 Mar 2021, 20:55

        Sorry if this topic is too old, but I feel like it would be more tidy to keep things in one topic rather than create a new one.

        I'm having an issue installing this on my Pi 4. RetroPie-Setup script says version 4.7.11, last commit 2 days ago, so I'm nice and updated.

        Anyways, here is the end portion of the log file after compiling fails:

        [ 44%] Building CXX object CMakeFiles/devilution.dir/Source/multi.cpp.o
        [ 45%] Building CXX object CMakeFiles/devilution.dir/Source/nthread.cpp.o
        /home/pi/RetroPie-Setup/tmp/build/devilutionx/Source/multi.cpp: In function ‘dvl::BOOL dvl::NetInit(dvl::BOOL, dvl::BOOL*)’:
        /home/pi/RetroPie-Setup/tmp/build/devilutionx/Source/multi.cpp:741:54: error: expected primary-expression before ‘;’ token
           sgGameInitInfo.versionMajor = PROJECT_VERSION_MAJOR;
                                                              ^
        /home/pi/RetroPie-Setup/tmp/build/devilutionx/Source/multi.cpp:742:54: error: expected primary-expression before ‘;’ token
           sgGameInitInfo.versionMinor = PROJECT_VERSION_MINOR;
                                                              ^
        /home/pi/RetroPie-Setup/tmp/build/devilutionx/Source/multi.cpp:743:54: error: expected primary-expression before ‘;’ token
           sgGameInitInfo.versionPatch = PROJECT_VERSION_PATCH;
                                                              ^
        make[2]: *** [CMakeFiles/devilution.dir/build.make:570: CMakeFiles/devilution.dir/Source/multi.cpp.o] Error 1
        make[2]: *** Waiting for unfinished jobs....
        make[1]: *** [CMakeFiles/Makefile2:147: CMakeFiles/devilution.dir/all] Error 2
        make: *** [Makefile:152: all] Error 2
        /home/pi
        /home/pi/RetroPie-Setup/tmp/build/devilutionx /home/pi
        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
        
        Log ended at: Tue Mar 23 17:45:27 ADT 2021
        Total running time: 0 hours, 0 mins, 40 secs
        

        Thanks in advance to anyone that can help me out.

        E 1 Reply Last reply 23 Mar 2021, 21:20 Reply Quote 0
        • E
          ExarKunIv @pjmcphizzle
          last edited by 23 Mar 2021, 21:20

          @pjmcphizzle i was just messing with that this moring

          the install script is now wrong. the devs for the diablo port changed things up.

          i updated mine after doing some tests
          give it a shot and let me know

          https://pastebin.com/6XZjdtg4

          you will need to go in and replace all that it is in the install script thats on your pie with what is in the link.

          if you dont know how. ill make a link on my Git page to install it tomorrow

          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 .

          P 1 Reply Last reply 23 Mar 2021, 21:57 Reply Quote 1
          • P
            pjmcphizzle @ExarKunIv
            last edited by 23 Mar 2021, 21:57

            @exarkuniv Thanks for the quick reply!

            I was able to replace the script, and even made a slight change to rp_module_help just to make sure that I replaced the correct file, but I'm still not getting past 45%.

            I may try again with a fresh image, but for now, I am defeated.

            E 2 Replies Last reply 24 Mar 2021, 12:52 Reply Quote 0
            • E
              ExarKunIv @pjmcphizzle
              last edited by ExarKunIv 24 Mar 2021, 12:52

              @pjmcphizzle Sorry about that, i thought i got it.
              im messing with it now. ill post a update once/if i get it.

              UPDATE
              i do see what is going on with the script. Now how to get it to play nice is something different, but they say knowing is half the battle. Guess we will see

              UPDATE UPDATE
              im asking one of the Devs for devilutionXfor somehelp on this as i still cant figure it out.
              if you run the commands by hand it compiles just fine.
              use the script and it fails. which has the same commands

              so for now you can use the wiki page that show how to install it and what not

              https://github.com/diasurgical/devilutionX/wiki/Retropie-Guide

              this time i did test it and the guide works

              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
              • E
                ExarKunIv @pjmcphizzle
                last edited by 24 Mar 2021, 17:53

                @pjmcphizzle try this

                https://pastebin.com/0xu9d4K4

                i have it working for me now

                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 .

                R P 3 Replies Last reply 25 Mar 2021, 19:05 Reply Quote 0
                • R
                  Riverstorm @ExarKunIv
                  last edited by 25 Mar 2021, 19:05

                  @exarkuniv - Thanks for updating the script for such a classic game. I've been following along and decided to try and install Diablo with your latest script on an old stretch build in case things went south.

                  This is the error I receive during the build step, if it helps. I had to change the cmake_minimum_version from 3.13 to 3.7.2 or it would fail immediately or do I need a specific version for this to work?

                  = = = = = = = = = = = = = = = = = = = = =
                  Building 'devilutionx' : devilutionx - Diablo Engine
                  = = = = = = = = = = = = = = = = = = = = =
                  
                  -- The C compiler identification is GNU 6.3.0
                  -- The CXX compiler identification is GNU 6.3.0
                  -- Check for working C compiler: /usr/bin/cc
                  -- Check for working C compiler: /usr/bin/cc -- works
                  -- Detecting C compiler ABI info
                  -- Detecting C compiler ABI info - done
                  -- Detecting C compile features
                  -- Detecting C compile features - done
                  -- Check for working CXX compiler: /usr/bin/c++
                  -- Check for working CXX compiler: /usr/bin/c++ -- works
                  -- Detecting CXX compiler ABI info
                  -- Detecting CXX compiler ABI info - done
                  -- Detecting CXX compile features
                  -- Detecting CXX compile features - done
                  CMake Error at CMakeLists.txt:76 (include):
                    include could not find load file:
                  
                      CheckIPOSupported
                  
                  
                  CMake Error at CMakeLists.txt:77 (check_ipo_supported):
                    Unknown CMake command "check_ipo_supported".
                  
                  
                  -- Configuring incomplete, errors occurred!
                  See also "/home/pi/RetroPie-Setup/tmp/build/devilutionx/build/CMakeFiles/CMakeOutput.log".
                  make: *** No targets specified and no makefile found.  Stop.
                  /home/pi
                  /home/pi/RetroPie-Setup/tmp/build/devilutionx /home/pi
                  
                  = = = = = = = = = = = = = = = = = = = = =
                  Installing 'devilutionx' : devilutionx - Diablo Engine
                  = = = = = = = = = = = = = = = = = = = = =
                  
                  cp: cannot stat '/home/pi/RetroPie-Setup/tmp/build/devilutionx/CharisSILB.ttf': No such file or directory
                  /home/pi
                  Could not successfully install devilutionx - Diablo Engine (/home/pi/RetroPie-Setup/tmp/build/devilutionx/build/devilutionx not found).
                  
                  Log ended at: Thu Mar 25 13:53:35 CDT 2021
                  Total running time: 0 hours, 0 mins, 10 secs
                  
                  1 Reply Last reply Reply Quote 0
                  • R
                    Riverstorm @ExarKunIv
                    last edited by 25 Mar 2021, 21:34

                    @exarkuniv - Sorry, the Pi 3 is a mess of issues to get it working. I hooked up my Pi 4 and it worked on the first go. I also tested Hellfire and it seems to work fine too. The widescreen patch filled out the monitor and looks good. Thanks a bunch for the update!

                    E 1 Reply Last reply 27 Mar 2021, 05:00 Reply Quote 0
                    • E
                      ExarKunIv @Riverstorm
                      last edited by 27 Mar 2021, 05:00

                      @riverstorm glad that you got it to work. I only have my Pi4 hooked so that's all I can play with. So I did not think about messing with my pi3

                      I think the pi3 could work but you would have to manually install a higher version of cmake.

                      It can be done. I have done it when I was trying to get the duke nukem 2 port to work.

                      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
                      • P
                        pjmcphizzle @ExarKunIv
                        last edited by 29 Mar 2021, 21:43

                        @exarkuniv Thanks so much! I finally got it to compile! I ended up having the font issue others had, but once I moved the font to the truetype folder, all is good :D

                        1 Reply Last reply Reply Quote 1
                        • ectoE
                          ecto @zerojay
                          last edited by 9 Jun 2021, 11:07

                          @zerojay Hi, I just wanted to report, that your scriptmodule isn't working anymore (for me at last). I searched around a little and I was able to compile again when I changed-DBINARY_RELEASE=ON to -DVERSION_NUM=1.2.0 in the cmake options of your scriptmodule.
                          The problem is described here and probably an easy fix.

                          I think it would be best to compile the masterbranch, but so far I coudn't figure out, how ^_^;

                          E 1 Reply Last reply 9 Jun 2021, 12:52 Reply Quote 0
                          • E
                            ExarKunIv @ecto
                            last edited by 9 Jun 2021, 12:52

                            @ecto so it changed again, lol. yes getting it to use master would be better, but even when i ask them on github a few months back i was told to do it the same way you found.
                            just at the time it was a version 1.1.0.

                            i think for now this is what we need to do.

                            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 .

                            M 1 Reply Last reply 24 Feb 2022, 17:40 Reply Quote 0
                            • M
                              MumboJumbo @ExarKunIv
                              last edited by 24 Feb 2022, 17:40

                              @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"
                              }
                              
                              
                              E 1 Reply Last reply 24 Feb 2022, 18:46 Reply Quote 1
                              • E
                                ExarKunIv @MumboJumbo
                                last edited by ExarKunIv 24 Feb 2022, 18:46

                                @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 6 Oct 2023, 20:29

                                  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

                                  E 1 Reply Last reply 6 Oct 2023, 20:57 Reply Quote 0
                                  • E
                                    ExarKunIv @Addison
                                    last edited by 6 Oct 2023, 20:57

                                    @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 6 Oct 2023, 20:58

                                      Thanks!

                                      Was hoping to get this to run today. :)

                                      E 1 Reply Last reply 6 Oct 2023, 20:59 Reply Quote 0
                                      • E
                                        ExarKunIv @Addison
                                        last edited by 6 Oct 2023, 20:59

                                        @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 10 Jul 2023, 00:23 6 Oct 2023, 23:16

                                          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

                                          E 1 Reply Last reply 6 Oct 2023, 23:39 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received