N64Recomp / N64Recomp

Tool to statically recompile N64 games into native executables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile an N64 game with existing source to run on PC

silveropensource opened this issue · comments

Is it possible to use the system developed here to compile a game with known source as an N64 derived PC game?

By known source I mean something like this: https://github.com/meeq/FlappyBird-N64

Would you be able to compile against the known source or would you have to compile it into a ROM and decompile it to be used? Or would you have to rebase it against RT64 manually?

Sorry if this isn't detailed enough or in the wrong place, I just wanted to know the answer to this and noone else seems to have asked as far as I could see.

I feel like it would be really useful to be able to develop an N64 game with a PC version in this way, as RT64 claims to behave in the same way as N64 hardware for rendering so debugging might be easier. Also being able to provide a PC version using the same code base with additional features would be nice.

The N64Recomp tool expects an elf targeting the N64, so you would need to build that repo targeting the N64.

The repo you posted seems to use the libdragon SDK instead of Nintendo's libultra SDK, so you wouldn't be able to reuse existing runtime used by the Zelda64Recompiled project, you would need to write your own runtime replacement functions (reimplement a big chunk of libdragon by hand).

Given that said project is source available it would be better to do a native port instead of a recomp port and hook RT64. RT64 can be used for both recomp and native ports.