[Release] DevilutionX for 3DS

Discussion in '3DS - Homebrew Development and Emulators' started by MrHuu, Nov 15, 2019.

  1. MrHuu
    OP

    MrHuu GBAtemp Fan

    Member
    5
    Sep 19, 2015
    Netherlands
    [​IMG]
    DevilutionX for 3DS

    Info

    - .cia only. Expect bugs!
    - Slow on old3DS


    Build instructions:

    From inside the build folder:

    - cmake .. -DBINARY_RELEASE=ON -DCMAKE_TOOLCHAIN_FILE=../CMake/ctr/devkitarm-libctru.cmake
    - make


    Installation instructions:

    Get full game, either CD or GOG release.
    Download CIA: https://github.com/MrHuu/devilutionX-3ds/releases

    - Create a 'DevilutionX' folder to your SD, here: 'sdmc:/3ds/DevilutionX/'
    - From the full game, copy 'DIABDAT.MPQ', to: 'sdmc:/3ds/DevilutionX/'
    - Install and run .cia
    - ???
    - Profit!


    Screenshots



    Releases:

    https://github.com/MrHuu/devilutionX-3ds/releases

    Sources:

    DevilutionX:
    https://github.com/diasurgical/devilutionX

    DevilutionX 3DS:
    https://github.com/MrHuu/devilutionX-3ds

    SDL 1.2:
    https://gbatemp.net/threads/release-sdl-3ds-1-2-15-simple-directmedia-layer-for-3ds.459291/

    Credits:

    galaxyhaxz - For reverse-engineering Diablo, and creating Devilution
    AJenbo & glebm - For maintaining DevilutionX, and support
    All others involved
     
    Last edited by MrHuu, Nov 30, 2019
  2. Zense

    Zense GBAtemp Advanced Fan

    Member
    8
    Apr 20, 2008
    Italy
    Wow! I did not think this was possible after having seen how it performs on the Vita.
     
  3. Rahkeesh

    Rahkeesh GBAtemp Maniac

    Member
    7
    Apr 3, 2018
    United States
    Contrary to popular belief, new 3DS does have an overall stronger CPU than vita, as comparable emulators have shown time and again.

    I hope long-term goal is to move the HUD to the bottom screen and resize view area to 1:1 pixel mapping. Still, very cool to have this on 3DS.
     
  4. Zense

    Zense GBAtemp Advanced Fan

    Member
    8
    Apr 20, 2008
    Italy
    Huh, I didn't know. Obviously you're talking about the New 3DS though. I guess what makes the difference in performance between them is the graphics processor and the ram of the Vita?

    I take it this relies mostly on the CPU then?

    Diablo is a game that got me intrigued solely because of the Tristram village theme that I discovered recently, since I was never really into these sorts of games on the PC.
     
    Last edited by Zense, Nov 17, 2019
  5. Rahkeesh

    Rahkeesh GBAtemp Maniac

    Member
    7
    Apr 3, 2018
    United States
    Chances are this has very little GPU acceleration, just like the original game, so yeah CPU speed is the main thing.
     
  6. Zense

    Zense GBAtemp Advanced Fan

    Member
    8
    Apr 20, 2008
    Italy
    I tried testing this and after character creation and the inital loading it freezes and I get this.
     

    Attached Files:

  7. MrHuu
    OP

    MrHuu GBAtemp Fan

    Member
    5
    Sep 19, 2015
    Netherlands
    At character creation, did you enter a name of some sort?

    I believe early switch / vita ports used a per-entered name to prevent this, before keyboard support.

    With the limited knowledge and experience on developing from my side, my goal would be having a 3ds port supported upstream by the diasugical team.

    A lot of progress has been made in making devilutionx more suitable for consoles. And with the recently added SDL1 support, this build was incredibly easy to accomplish with limited changes. Easier than petting kittens.

    I do believe features mentioned and others can be achieved eventually, but it probably requires a more talented developer than i am. Or maybe an actual developer..
     
    Nutez likes this.
  8. Zense

    Zense GBAtemp Advanced Fan

    Member
    8
    Apr 20, 2008
    Italy
    Yeah I was only able to write ;;;;; so I used that. I'll try getting a pregenerated name then.
     
  9. Poluson

    Poluson Newbie

    Newcomer
    1
    Jul 6, 2019
    Russia
    I made everything as in the description but for some reason the game can not open the carrissilb.ttf file. Why?
     
    Last edited by Poluson, Nov 16, 2019
  10. Zense

    Zense GBAtemp Advanced Fan

    Member
    8
    Apr 20, 2008
    Italy
    How far do you get in playing the game? Sounds similar to my issue.
     
  11. MrHuu
    OP

    MrHuu GBAtemp Fan

    Member
    5
    Sep 19, 2015
    Netherlands
    The OP has been updated with a new build which fixes the issue.

    This does introduce a annoying issue with controller support, the screen doesn't get updated after a button press. So you have to use the touchpad (mouse) for now, instead of the buttons. sorry..

    You can delete the 'CharisSILB.ttf' file from your sd, as it is included in the build now.
     
  12. James_

    James_ *Meowstic noises*

    Member
    2
    Oct 2, 2019
    United Kingdom
    Meowstic Land
    Huh, this is quite interesting. Kinda surprised that it works on New 3DS. Great job.
     
  13. MrHuu
    OP

    MrHuu GBAtemp Fan

    Member
    5
    Sep 19, 2015
    Netherlands
    Last edited by MrHuu, Nov 16, 2019
    Vulpes-Vulpeos likes this.
  14. MrHuu
    OP

    MrHuu GBAtemp Fan

    Member
    5
    Sep 19, 2015
    Netherlands
    Turns out the full game is running fine as-well.
    To use it, compile source, and copy over DIABDAT.MPQ.

    After character creation it will give an 'out of memory' error.
    Reboot, load existing character and the game starts without error.


    Edit: Fixed small oversight, should not encounter error at all now.
     
    Last edited by MrHuu, Nov 17, 2019
    Traace and Zense like this.
  15. BEEMOO

    BEEMOO Member

    Newcomer
    1
    Nov 8, 2019
    Netherlands
    Wow, nice job porting this.

    A bit off topic but could I request a game port which is pretty light.
    It's called The Binding Of Isaac Afterbirth
    If you could port it to the ds it would be awesome! I know this is no small request
     
  16. 1MiinMofo

    1MiinMofo GBAtemp Regular

    Member
    3
    Jan 29, 2019
    Canada
    You're requesting that a 3DS game be ported to the DS? Is the source code to the original game somewhere? Might be more convenient for you to buy a 2DS directly from Nintendo for $49.
     
  17. macia10

    macia10 GBAtemp Regular

    Member
    5
    Aug 13, 2012
    Poland
    I'm wondering why the poor performance on old3ds. The game run fine on pentium 60 and this is not elulated but build from soirce. So what is happening here?

    Wysłane z mojego MI 9 przy użyciu Tapatalka
     
  18. BORTZ

    BORTZ The Amazing

    Supervisor
    23
    GBAtemp Patron
    BORTZ is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Dec 2, 2007
    United States
    Pittsburgh
    This is very very cool, good work.
     
  19. BEEMOO

    BEEMOO Member

    Newcomer
    1
    Nov 8, 2019
    Netherlands
    Sorry for the confusion but I'm asking for this game that is available on pc to be ported to the 3ds.
     
  20. Rahkeesh

    Rahkeesh GBAtemp Maniac

    Member
    7
    Apr 3, 2018
    United States
    The source code for Binding of Issac is not available. Rebirth is already on the 3DS e-shop. The series creator said Afterbirth would not be ported because it raised the system requirements too much for the 3DS and Vita.
     
Quick Reply
Draft saved Draft deleted
Loading...