[HELP] Building RetroArch core (fuse-libretro)

Discussion in '3DS - Homebrew Development and Emulators' started by XXLuigiMario, Jan 28, 2017.

  1. XXLuigiMario
    OP

    XXLuigiMario Newbie

    Newcomer
    2
    2
    Jan 28, 2017
    As there aren't any working ZX Spectrum emulators for 3DS, I've decided to try compiling fuse-libretro for it, since it supports ARM architectures and already works on most other platforms. I'm aware it may just crash but I think it's worth a try.
    I managed to build it with Devkitpro and a custom Makefile getting a fuse_libretro.ctr.a file.
    Does anyone know how to load it with RetroArch? Or build a .3dsx or .cia instead?

    PS: I'm aware of ZXDS but it won't run using nds-bootstrap in TWLoader for now and it wouldn't utilize the whole screen anyway.
     
    Last edited by XXLuigiMario, Jan 28, 2017
    CaptainSwag101 and confounded like this.
  2. BL4Z3D247

    BL4Z3D247 GBAtemp Stoner

    Member
    1,674
    411
    Oct 22, 2008
    United States
    I'm so high, I don't even know!
    CaptainSwag101 likes this.
  3. MrHuu

    MrHuu GBAtemp Regular

    Member
    124
    98
    Sep 19, 2015
    Netherlands
    The supported cores are build by placing the *CORE*_libretro.ctr.a file in the /retroarch/dist-scripts/ folder.
    From /retroarch/dist-scripts/ execute: './dist-cores.sh ctr'
    This will build the cores defined in /retroarch/ctr/Makefile.cores in bulk.

    You could try to add an entry for your core to the Makefile.cores file.


    *Replace *CORE* with the name of your core: 'fuse' in your case.
    Link to libretro's 3DS Compilation / Development guide:

    https://bot.libretro.com/docs/compilation/3ds/
     
    Last edited by MrHuu, Jan 28, 2017
  4. confounded

    confounded Newbie

    Newcomer
    7
    0
    Feb 27, 2016
    Did you get this working? I'd love to have a portable speccy emulator again.
     
  5. confounded

    confounded Newbie

    Newcomer
    7
    0
    Feb 27, 2016
    I managed to get it to compile but it crashes when loading a tape image. Here are the files I modified if anyone else wants to have a go.
     

    Attached Files:

  6. MrHuu

    MrHuu GBAtemp Regular

    Member
    124
    98
    Sep 19, 2015
    Netherlands
    I also have a compiled version, but didn't get anything to load. Besides that, no keyboard mapper available.
     
  7. XXLuigiMario
    OP

    XXLuigiMario Newbie

    Newcomer
    2
    2
    Jan 28, 2017
    I never got it to work either but forgot to report on it.
    I ended up just using ZXDS with a flashcard, it's a shame there isn't a proper spectrum emulator for 3DS but then again I guess there isn't that much demand for one.