Homebrew [Release] DevilutionX for 3DS

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
0hfUXhs.png

DevilutionX for 3DS

Info

- New3DS only


Installation instructions:

Get full game, either CD or GOG release.
Download 'devilutionx-n3ds.zip', available here:

https://github.com/diasurgical/devilutionX/releases/latest

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


Build instructions:

Code:
- cd build
- cmake .. -DNIGHTLY_BUILD=ON -DCMAKE_TOOLCHAIN_FILE=/opt/devkitpro/3ds.cmake
- make



Screenshots



Releases:

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

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, qndel & glebm - For maintaining, improving and supporting Devilution
All others involved with the Devilution / DevilutionX projects

Wintermute & fincs - For creating and maintaining devkitPro / devkitARM
All other involved with devkitPro and 3DS libraries
 
Last edited by MrHuu,

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,301
Country
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,

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,260
Country
United States
Chances are this has very little GPU acceleration, just like the original game, so yeah CPU speed is the main thing.
 

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,301
Country
Italy
I tried testing this and after character creation and the inital loading it freezes and I get this.
 

Attachments

  • 2019-11-16_02-25-54.468_bot.bmp
    225.1 KB · Views: 427
  • 2019-11-16_02-25-54.468_top.bmp
    281.3 KB · Views: 383

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
Netherlands
I tried testing this and after character creation and the inital loading it freezes and I get this.

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.

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.

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..
 
  • Like
Reactions: Nutez

Zense

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
1,977
Trophies
2
XP
4,301
Country
Italy
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..
Yeah I was only able to write ;;;;; so I used that. I'll try getting a pregenerated name then.
 

Poluson

Member
Newcomer
Joined
Jul 6, 2019
Messages
5
Trophies
0
Age
40
XP
55
Country
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,

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
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.
 

MrHuu

Well-Known Member
OP
Member
Joined
Sep 19, 2015
Messages
562
Trophies
0
Age
37
XP
1,588
Country
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,

BEEMOO

Active Member
Newcomer
Joined
Nov 8, 2019
Messages
36
Trophies
0
Age
25
XP
91
Country
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
 

ChibiMofo

Elon Musk is my dog
Member
Joined
Jan 29, 2019
Messages
699
Trophies
0
XP
2,844
Country
Canada
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

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.
 

macia10

Well-Known Member
Member
Joined
Aug 13, 2012
Messages
123
Trophies
1
XP
775
Country
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
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,260
Country
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Black_Manta_8bit @ Black_Manta_8bit: hey