Homebrew [RELEASE] DaedalusX64 (N64 Emulator)

  • Thread starter Thread starter MasterFeizz
  • Start date Start date
  • Views Views 512,291
  • Replies Replies 1,337
  • Likes Likes 121
I haven't been able to get Super Mario 64 running on my 3DS. Smash Bros and Mario Kart work, but Super Mario 64 boots back to the Homebrew Launcher.
You need the EUR version of the ROM.

EDIT: The O2 Reduced Lag patch for the USA version will work as well.
 
Last edited by RocketRobz,
I wonder if a source port of Super Mario 64 is possible using this as the graphics renderer, but have the game logic be native: akin to how the work in progress PC port uses GlideN64 as the graphics renderer but the game logic is native.I also wonder if an O2 SM64 ROM would perform any better on this...
 
I'm trying to build what is currently on the github. I am lacking a makefile for compiling the .3dsx, is it missing from the repo?
 
This is awesome! Thanks for sharing.

I'm also trying to compile it. It looks like there is a 3dstoolchain.cmake file in the Tools directory but it doesn't seem to work for me:
Code:
cmake -DCMAKE_TOOLCHAIN_FILE=../Tools/3dstoolchain.cmake ../Source
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message):
  The C compiler "/usr/bin/cc" is not able to compile a simple test program.
  It fails with the following output:
   Change Dir: /home/darkweb/projects/daedalusx64-3DS/Source/CMakeFiles/CMakeTmp
 
  Run Build Command:"/usr/bin/make" "cmTC_b9279/fast"
  /usr/bin/make -f CMakeFiles/cmTC_b9279.dir/build.make
  CMakeFiles/cmTC_b9279.dir/build
  make[1]: Entering directory
  '/home/darkweb/projects/daedalusx64-3DS/Source/CMakeFiles/CMakeTmp'
  Building C object CMakeFiles/cmTC_b9279.dir/testCCompiler.c.o
  /usr/bin/cc -o CMakeFiles/cmTC_b9279.dir/testCCompiler.c.o -c
  /home/darkweb/projects/daedalusx64-3DS/Source/CMakeFiles/CMakeTmp/testCCompiler.c
  Linking C executable cmTC_b9279
  /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b9279.dir/link.txt
  --verbose=1
  /usr/bin/cc CMakeFiles/cmTC_b9279.dir/testCCompiler.c.o -o cmTC_b9279
  /usr/bin/ld: cannot find Scrt1.o: No such file or directory
  /usr/bin/ld: cannot find crti.o: No such file or directory
  collect2: error: ld returned 1 exit status
  CMakeFiles/cmTC_b9279.dir/build.make:97: recipe for target 'cmTC_b9279'
  failed
  make[1]: *** [cmTC_b9279] Error 1
  make[1]: Leaving directory
  '/home/darkweb/projects/daedalusx64-3DS/Source/CMakeFiles/CMakeTmp'
  Makefile:126: recipe for target 'cmTC_b9279/fast' failed
  make: *** [cmTC_b9279/fast] Error 2
 
 
  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:14 (project)
CMake Error at CMakeLists.txt:14 (project):
  No CMAKE_CXX_COMPILER could be found.
  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!

It looks like it uses the DEVKITPRO environment variable in the file but it doesn't appear to be working for me even though mine is set correctly.
 
Tried the O2 Reduced Lag patch for SM64, and the speed seems to be the same.
I did find some areas that run mostly full speed, such as the castle's back yard, and the save menu.
 
  • Like
Reactions: peteruk
This is awesome! Thanks for sharing.

I'm also trying to compile it. It looks like there is a 3dstoolchain.cmake file in the Tools directory but it doesn't seem to work for me:
Code:
cmake -DCMAKE_TOOLCHAIN_FILE=../Tools/3dstoolchain.cmake ../Source
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- broken
CMake Error at /usr/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message):
  The C compiler "/usr/bin/cc" is not able to compile a simple test program.
  It fails with the following output:
   Change Dir: /home/darkweb/projects/daedalusx64-3DS/Source/CMakeFiles/CMakeTmp
 
  Run Build Command:"/usr/bin/make" "cmTC_b9279/fast"
  /usr/bin/make -f CMakeFiles/cmTC_b9279.dir/build.make
  CMakeFiles/cmTC_b9279.dir/build
  make[1]: Entering directory
  '/home/darkweb/projects/daedalusx64-3DS/Source/CMakeFiles/CMakeTmp'
  Building C object CMakeFiles/cmTC_b9279.dir/testCCompiler.c.o
  /usr/bin/cc -o CMakeFiles/cmTC_b9279.dir/testCCompiler.c.o -c
  /home/darkweb/projects/daedalusx64-3DS/Source/CMakeFiles/CMakeTmp/testCCompiler.c
  Linking C executable cmTC_b9279
  /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b9279.dir/link.txt
  --verbose=1
  /usr/bin/cc CMakeFiles/cmTC_b9279.dir/testCCompiler.c.o -o cmTC_b9279
  /usr/bin/ld: cannot find Scrt1.o: No such file or directory
  /usr/bin/ld: cannot find crti.o: No such file or directory
  collect2: error: ld returned 1 exit status
  CMakeFiles/cmTC_b9279.dir/build.make:97: recipe for target 'cmTC_b9279'
  failed
  make[1]: *** [cmTC_b9279] Error 1
  make[1]: Leaving directory
  '/home/darkweb/projects/daedalusx64-3DS/Source/CMakeFiles/CMakeTmp'
  Makefile:126: recipe for target 'cmTC_b9279/fast' failed
  make: *** [cmTC_b9279/fast] Error 2
 
 
  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:14 (project)
CMake Error at CMakeLists.txt:14 (project):
  No CMAKE_CXX_COMPILER could be found.
  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!

It looks like it uses the DEVKITPRO environment variable in the file but it doesn't appear to be working for me even though mine is set correctly.
I was able to get it to compile these when trying what you did:
upload_2020-4-12_15-11-7.png


But I'm unsure how to properly build from here.
 
I mean this is great and all but why do we really need N64 emulation on the Nintendo 3DS? Most of Nintendo 64's greatest games could already be played on the Nintendo 3DS through the superior remasters that were made.

Legend of Zelda Ocarina of time- We literally have a Nintendo 3DS remake of this game that is superior to the original.
Legend of Zelda Majora's mask- Same thing we have a superior port
Mario Kart 64- We have our very own Mario Kart 7 game on the 3DS that has much better graphics and gameplay than the 64 version.
Super Mario 64- As the 3DS is backwards compatible with the original DS we could always play Super Mario 64 DS which has updated visuals.
Super Smash Bros- We have a Super Smash Bros game on the 3DS with arguably better visuals and more characters.
Donkey Kong Country- We have the Wii port which is great
Diddy Kong Racing- We have the Nintendo DS version we could natively play.
Rayman 2- Was already remade on the 3DS as Rayman 3DS
Goldenye 64- We have a superior version of this game already on the Wii. I believe it was also remade on the DS so you can play that.
 
I mean this is great and all but why do we really need N64 emulation on the Nintendo 3DS? Most of Nintendo 64's greatest games could already be played on the Nintendo 3DS through the superior remasters that were made.

Legend of Zelda Ocarina of time- We literally have a Nintendo 3DS remake of this game that is superior to the original.
Legend of Zelda Majora's mask- Same thing we have a superior port
Mario Kart 64- We have our very own Mario Kart 7 game on the 3DS that has much better graphics and gameplay than the 64 version.
Super Mario 64- As the 3DS is backwards compatible with the original DS we could always play Super Mario 64 DS which has updated visuals.
Super Smash Bros- We have a Super Smash Bros game on the 3DS with arguably better visuals and more characters.
Donkey Kong Country- We have the Wii port which is great
Diddy Kong Racing- We have the Nintendo DS version we could natively play.
Rayman 2- Was already remade on the 3DS as Rayman 3DS
Goldenye 64- We have a superior version of this game already on the Wii. I believe it was also remade on the DS so you can play that.
Why? Because it can be done, that's why :rofl2:
 
I haven't been able to get Super Mario 64 running on my 3DS. Smash Bros and Mario Kart work, but Super Mario 64 boots back to the Homebrew Launcher.
People have said to use the EU version of the rom to get it to work. I am using a clean dumped U version of SM64 and haven't had any issues. You could also try the O2 reduced-lag patch as well. That might work!
 
  • Like
Reactions: RocketRobz
People have said to use the EU version of the rom to get it to work. I am using a clean dumped U version of SM64 and haven't had any issues. You could also try the O2 reduced-lag patch as well. That might work!
The O2 patched ROM works great for me, despite the regular SM64 USA rom not working lmao
 
I mean this is great and all but why do we really need N64 emulation on the Nintendo 3DS? Most of Nintendo 64's greatest games could already be played on the Nintendo 3DS through the superior remasters that were made.

Legend of Zelda Ocarina of time- We literally have a Nintendo 3DS remake of this game that is superior to the original.
Legend of Zelda Majora's mask- Same thing we have a superior port
Mario Kart 64- We have our very own Mario Kart 7 game on the 3DS that has much better graphics and gameplay than the 64 version.
Super Mario 64- As the 3DS is backwards compatible with the original DS we could always play Super Mario 64 DS which has updated visuals.
Super Smash Bros- We have a Super Smash Bros game on the 3DS with arguably better visuals and more characters.
Donkey Kong Country- We have the Wii port which is great
Diddy Kong Racing- We have the Nintendo DS version we could natively play.
Rayman 2- Was already remade on the 3DS as Rayman 3DS
Goldenye 64- We have a superior version of this game already on the Wii. I believe it was also remade on the DS so you can play that.
But then there's the greatest games which don't have DS or 3DS ports, such as:
  • Banjo Kazooie
  • Banjo Tooie
  • Conker's Bad Fur Day
  • F-Zero X
  • Jet Force Gemini
  • Kirby 64: The Crystal Shards
  • Pokemon Snap
  • Pokemon Stadium 1&2
  • Yoshi's Story
and many others!
So it would make sense to have an N64 emulator for those games. :P
 
Last edited by RocketRobz,
Killer Instinct Gold runs almost watchable :lol:

If anyone is wondering, I have recorded a "little" test.



804MHz through Rosalina makes the performance much worse, for some reason.

Great work. Is this related to the ARM port of Rinnegatamante or to vitaGL specifically?

Thinking maybe the emulator already makes use of 804mhz and when you force it in Rosalina, you're disabling L2 cache which can have a bigger effect than the clock speed itself.
 
Tried some SM64 ROM Hacks on this. All my console compatible and decomp hacks seem to run. Most noteably a decomp tech demo I made last year runs at a solid 30fps only with lag when a transition like loading happens.
 

Site & Scene News

Popular threads in this forum