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

(Request) Add Libretro Neogeo CD Emulator

Scheduled Pinned Locked Moved Ideas and Development
neogeo cdlibretro core
59 Posts 12 Posters 15.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.
  • A
    akafox
    last edited by 15 Feb 2019, 12:27

    okay when I do that without changing the -march flag (I leave it "native" like you have ) I get this:

    Scanning dependencies of target neocd_libretro
    [ 2%] Building CXX object CMakeFiles/neocd_libretro.dir/src/3rdparty/musashi/m68kopdm.cpp.o
    *** Error in `/usr/bin/c++': double free or corruption (top): 0x0070c0a0 ***
    CMakeFiles/neocd_libretro.dir/build.make:62: recipe for target 'CMakeFiles/neocd_libretro.dir/src/3rdparty/musashi/m68kopdm.cpp.o' failed
    make[2]: *** [CMakeFiles/neocd_libretro.dir/src/3rdparty/musashi/m68kopdm.cpp.o] Aborted
    CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/neocd_libretro.dir/all' failed
    make[1]: *** [CMakeFiles/neocd_libretro.dir/all] Error 2
    Makefile:83: recipe for target 'all' failed
    make: *** [all] Error 2

    People want things easy...but then complain that life is boring...

    M M 2 Replies Last reply 15 Feb 2019, 14:44 Reply Quote 0
    • M
      MajorDangerNine @akafox
      last edited by 15 Feb 2019, 14:44

      @akafox Eh, I'm at a loss. Well, unless you are overclocking your Pi and haven't made sure it is stable.

      I just did my best to follow what was HERE and produced that one binary for the RPi3B that I posted near the beginning topic.

      Good luck. Hopefully the developer will add CHD support soon and polish whatever else needs polishing so that it can be made an official Libretro core.

      SBCGaming | Unofficial RetroPie Discord

      D 1 Reply Last reply 15 Feb 2019, 23:48 Reply Quote 0
      • M
        mitu Global Moderator @akafox
        last edited by 15 Feb 2019, 16:52

        @akafox -march=native is not supported by the gcc compiler on the Pi (hence the crash). You can take a look at the compilation flags used by the RetroPie-Setup script for various platforms here.

        1 Reply Last reply Reply Quote 0
        • D
          Darksavior @MajorDangerNine
          last edited by Darksavior 15 Feb 2019, 23:48

          @MajorDangerNine It's not an official libretro core for legal reasons. https://github.com/fabrice-martinez/neocd_libretro/issues/1

          If you can figure out how to make samsho3 not freeze up, then please post an updated binary, thanks.

          M 1 Reply Last reply 13 Mar 2019, 21:26 Reply Quote 0
          • A
            akafox
            last edited by akafox 16 Feb 2019, 01:47

            -- The C compiler identification is GNU 4.9.2
            -- The CXX compiler identification is GNU 4.9.2

            cmake -G "Unix Makefiles" passes no error

            make fails

            c++: error: unrecognized argument in option '-march=rpi3'
            c++: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc iwmmxt iwmmxt2 native
            CMakeFiles/neocd_libretro.dir/build.make:62: recipe for target 'CMakeFiles/neocd_libretro.dir/src/3rdparty/musashi/m68kopdm.cpp.o' failed
            -cut-

            when i use armv7 for -march= i get:

            /home/pi/neocd_libretro/src/3rdparty/musashi/m68kopdm.cpp:1:0: error: target CPU does not support ARM mode

            (This card is still raspian jessie)

            @mitu said in (Request) Add Libretro Neogeo CD Emulator:

            @akafox -march=native is not supported by the gcc compiler on the Pi (hence the crash). You can take a look at the compilation flags used by the RetroPie-Setup script for various platforms here.

            I am not using the retropie-set up script. I am just ssh in and compiling

            People want things easy...but then complain that life is boring...

            D 1 Reply Last reply 16 Feb 2019, 07:02 Reply Quote 0
            • D
              Darksavior @akafox
              last edited by Darksavior 16 Feb 2019, 07:02

              I just compiled it on my own, yay. The default options @MajorDangerNine provided works but I also tried on my pi3b+:
              set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=armv8-a+crc -mtune=cortex-a53 ${BASE_CXX_OPTIONS}")

              @akafox Maybe upgrade to stretch? My setup is always up-to date.
              -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.0

              1 Reply Last reply Reply Quote 1
              • W
                wmarcio
                last edited by wmarcio 17 Feb 2019, 15:26

                Hi.
                Someone can do me a favor and compile it to run on a retropie lubuntu install? I am a total noob on do that.
                Thxs.

                A 1 Reply Last reply 17 Feb 2019, 17:58 Reply Quote 0
                • A
                  akafox @wmarcio
                  last edited by akafox 17 Feb 2019, 17:58

                  @wmarcio compile it to run on ulbuntu? it would be the same as any other compile build. Makes no difference I would think except for maybe needing a lot of dependencies. However are you asking if it can be done (I assume yes) or are you asking for the compiled core? I doubt anyone here will share the core..for various reasons.

                  @ Darksavior THANK YOU! for that cmake line! I thought the RPi3 was arm7..guess I was wrong? Anyway I got it working! Works great. I did have to upgrade to stretch (retropie 4.4) my "main" sd card is on the old jessie because I am working on a project. I used the card out of my RPi1 (yes a raspberry pi 1) and just had to install some dependencies and it worked great. (No I put the card in my RPi3 and compiled it..yes I know it will not work with the pi1..)

                  So my question here is why use the "Generic x64 options" to compile and not the "All architectures, optimized for the machine NeoCD is compiled on" line?
                  Just curious that is all!

                  So I set it up as a system in Retropie and it works from the GUI just like everything else does. Where does the .info file go? (I can't find them anywhere.) Now we just need a NEOGEO CD Theme for Retropie. (Hint!) Again thanks..cheers! :D

                  Edit: I compiled using the "All architectures..." line. No errors compiled fine. Have not had the chance to "test the difference" I will report back when i can. So I can not tell a difference and yes samsho3 still locks up my pi no matter which one i use

                  People want things easy...but then complain that life is boring...

                  1 Reply Last reply Reply Quote 0
                  • D
                    Darksavior
                    last edited by 19 Feb 2019, 04:25

                    I reported the problem with samsho3 and it got fixed rather quickly. I can verify it works now.

                    1 Reply Last reply Reply Quote 1
                    • B
                      barbudreadmon
                      last edited by 21 Feb 2019, 14:09

                      @MajorDangerNine said in (Request) Add Libretro Neogeo CD Emulator:

                      Now if only either added CHD support

                      A bounty is open about it, feel free to back it : https://www.bountysource.com/issues/70116022-request-chd-support-for-neo-geo-cd

                      FBNeo developer - github - forum

                      M 1 Reply Last reply 21 Feb 2019, 16:37 Reply Quote 1
                      • M
                        MajorDangerNine @barbudreadmon
                        last edited by MajorDangerNine 21 Feb 2019, 16:37

                        @barbudreadmon Nice. Thanks for informing me about this. Still, I'd probably be more inclined to donate to the PSX one.

                        https://www.bountysource.com/issues/57712065

                        Just a personal preference. PSX is probably one of my favorite systems, while Neo Geo CD is a novelty to me at best.

                        SBCGaming | Unofficial RetroPie Discord

                        B 1 Reply Last reply 21 Feb 2019, 16:45 Reply Quote 0
                        • B
                          barbudreadmon @MajorDangerNine
                          last edited by 21 Feb 2019, 16:45

                          @MajorDangerNine No problem :), i was just informing you about this.

                          FBNeo developer - github - forum

                          1 Reply Last reply Reply Quote 1
                          • W
                            Winklepicker
                            last edited by 12 Mar 2019, 20:57

                            Can anyone tell me a way to make it so I can edit the "opt" folder to add the "lr-neocd" folder,

                            I tried following the info in the text file, by changing the password so I can use WinSCP, but it still says "permission denied".

                            Any ideas? or know an easy way I can get it working?

                            D 1 Reply Last reply 13 Mar 2019, 03:30 Reply Quote 0
                            • D
                              Darksavior @Winklepicker
                              last edited by 13 Mar 2019, 03:30

                              @Winklepicker You need to enable the root account and log in with that. It's how I do it.

                              W 2 Replies Last reply 13 Mar 2019, 19:14 Reply Quote 0
                              • W
                                Winklepicker @Darksavior
                                last edited by 13 Mar 2019, 19:14

                                @Darksavior said in (Request) Add Libretro Neogeo CD Emulator:

                                @Winklepicker You need to enable the root account and log in with that. It's how I do it.

                                Can you tell me what I would need to do? I've tried to follow tutorials on youtube, but never seem to work.

                                If you could tell me the method how you did it, would be great.

                                D 1 Reply Last reply 13 Mar 2019, 19:51 Reply Quote 0
                                • D
                                  Darksavior @Winklepicker
                                  last edited by 13 Mar 2019, 19:51

                                  @Winklepicker https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#why-cant-i-ssh-as-root-anymore

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    markwkidd @Darksavior
                                    last edited by 13 Mar 2019, 21:26

                                    @Darksavior said in (Request) Add Libretro Neogeo CD Emulator:

                                    @MajorDangerNine It's not an official libretro core for legal reasons. https://github.com/fabrice-martinez/neocd_libretro/issues/1

                                    If you can figure out how to make samsho3 not freeze up, then please post an updated binary, thanks.

                                    There is nothing in that discussion to suggest that it can't be ported to libretro for legal or other reasons. The way I read it is that the developer would like it to happen but if working on other things at the moment. Maybe a bounty would help!

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      Winklepicker @Darksavior
                                      last edited by 14 Mar 2019, 15:25

                                      @Darksavior said in (Request) Add Libretro Neogeo CD Emulator:

                                      @Winklepicker You need to enable the root account and log in with that. It's how I do it.

                                      Thanks for the info, I got it working and its really fantastic. The CD soundtrack is absolutely fantastic for these games.

                                      A bug:
                                      I noticed though is when a game is loaded, normally the Neogeo CD console would dislpay a "Now loading" screen.

                                      It does display the short loading screen for about 1 second, but its cut in half.

                                      1.jpg
                                      3.jpg
                                      2.jpg

                                      Its not a big deal tbh, and does not effect gameplay. But I thought I would mention it anyway, thank you for again for adding this wonderful emulator.

                                      B D 2 Replies Last reply 14 Mar 2019, 17:44 Reply Quote 0
                                      • B
                                        barbudreadmon @Winklepicker
                                        last edited by 14 Mar 2019, 17:44

                                        @Winklepicker it's most likely related to your choice of bios/iso for the neocd emulator, i'm unable to reproduce this on my side. If this issue is bothering you, you can also try running those ngcd games with fbalpha.

                                        FBNeo developer - github - forum

                                        W 1 Reply Last reply 14 Mar 2019, 18:45 Reply Quote 0
                                        • W
                                          Winklepicker @barbudreadmon
                                          last edited by Winklepicker 14 Mar 2019, 18:45

                                          @barbudreadmon said in (Request) Add Libretro Neogeo CD Emulator:

                                          @Winklepicker it's most likely related to your choice of bios/iso for the neocd emulator, i'm unable to reproduce this on my side. If this issue is bothering you, you can also try running those ngcd games with fbalpha.

                                          Thanks for letting me know about that. Your right its probably a version of the bios or images.

                                          I checked the bios I am using and its called "neocd_z.rom". I did have a massive problem trying to locate a neogeo cd bios.

                                          Also the images of the games I'm running are "Img" and "cue" files, via a "TruRip" set.

                                          it really isnt a big deal with the image cut in half. Its just something I noticed when I was playing some of the games. But thought I would mention it here for future documentation etc.

                                          B 1 Reply Last reply 15 Mar 2019, 07:09 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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]