Compiling SM64 for Dreamcast?

Place for discussing homebrew games, development, new releases and emulation.
Talkashie
noob
Posts: 2

Compiling SM64 for Dreamcast?

Post by Talkashie »

As most are aware by now, Super Mario 64 was recently decompiled and the source code is available to everyone. You can find the code (but not the assets to keep it legal!) here:https://github.com/n64decomp/sm64

My question is, would it be possible to compile SM64 for the Dreamcast? I believe the Dreamcast hardware is more than capable of running this game. A video surfaced of the Dreamcast emulating SM64 about 10 years ago at around 5-10 FPS, so I imagine running native code would run at full speed. The vast majority of the code is straight C.

I don't have any experience in porting games to Dreamcast, but if someone more experienced could weigh in on this that would be amazing! I don't picture this being simple at all, but it would surprise me if this was impossible now that the source code is available.

User avatar
fafadou
Leonard Nimoy
Posts: 1856

Re: Compiling SM64 for Dreamcast?

Post by fafadou »

It will be so awesome !!!
As Always the most difficult thing is to create the 1st_read.bin.

User avatar
Anthony817
Shark Patrol
Posts: 4033
Location: Fort Worth, Texas

Re: Compiling SM64 for Dreamcast?

Post by Anthony817 »

While I have been followi9ng this project closely, and I do think theoretically it will work, more time is needed. I am hopeful 007 will eventually be done sometime in the future. I had the same idea as yourself but wanted to hold off asking until it was more widely thought out. Yes we know the hardware is able to run it easily, but will the developers be able to optimize it? If NuQuake is any indication, I say yes. That is a hardware accelerated port of a PC game from 96. So a console game from 96, ported to PC, then to DC, I say why not?
Image

User avatar
Wombat
Vagabond
Posts: 769
Location: Netherlands

Re: Compiling SM64 for Dreamcast?

Post by Wombat »

It would be crazy seeing Mario 64 run natively on Dreamcast. Hopefully someone will be up for this task, but surely it will be a mammoth job.

mrneo240
Rank 9
Posts: 949
Dreamcast Games you play Online: Available to play any game, working on gathering them.
Location: East coast, USA

Re: Compiling SM64 for Dreamcast?

Post by mrneo240 »

Easier to wait for the PC port

MastaG
MegaDeath
Posts: 222

Re: Compiling SM64 for Dreamcast?

Post by MastaG »

The source code for sm64 targets the sdk and runtime libraries for the N64 hardware.
The Dreamcast would be more than capable but a good chunk of core has the be rewritten to target the Dreamcast sdk/hardware.

User avatar
Ian Micheal
Developer
Posts: 6277
Location: USA
Contact:

Re: Compiling SM64 for Dreamcast?

Post by Ian Micheal »

MastaG wrote:The source code for sm64 targets the sdk and runtime libraries for the N64 hardware.
The Dreamcast would be more than capable but a good chunk of core has the be rewritten to target the Dreamcast sdk/hardware.
Be so much work to do this might as well make your own game.

MastaG
MegaDeath
Posts: 222

Re: Compiling SM64 for Dreamcast?

Post by MastaG »

Ian Micheal wrote:
MastaG wrote:The source code for sm64 targets the sdk and runtime libraries for the N64 hardware.
The Dreamcast would be more than capable but a good chunk of core has the be rewritten to target the Dreamcast sdk/hardware.
Be so much work to do this might as well make your own game.
Perhaps someone will stand up and make a port for a platform targeting more general methods and API's (OpenGL(ES) for example).
Then another someone could use that for a DC port..

Now both someone's need to have absolutely no life, since SM64 runs on each and every N64 emulator out there.
I remember playing it on UltraHLE with 3dfx glide back when I was a teenager.

User avatar
Ragfish
St.Jimmy
Posts: 395
Dreamcast Games you play Online: PSO
Quake 3
Chu Chu Rocket
AFO
NBA 2K2
NFL 2K2
WSB 2K2
Internet Game Pack
Pool

Re: Compiling SM64 for Dreamcast?

Post by Ragfish »

N64 hardware is very weird compared to other consoles and PCs, so even if we have the source code it's likely going to take tons of work to get it running properly on a Dreamcast. As mentioned above, it'd probably be easier to port a PC reworking of the game rather than the actual N64 game.

MastaG
MegaDeath
Posts: 222

Re: Compiling SM64 for Dreamcast?

Post by MastaG »

https://github.com/sm64pc/sm64pc

There seems to be somebody who did a SDL2/OpenGL port of the game.
@Ian Micheal could you take a look at this?

  • Similar Topics
    Replies
    Views
    Last post