Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.29 KB

File metadata and controls

46 lines (32 loc) · 1.29 KB

Cube World for Nintendo 64

This is an experimental game to test my skills of Nintendo 64 developer! This is a MIPS assembly coded game, so it's pretty optimized and hard to read/write/maintain, but it's fun!

Do you want to build it on your PC anyway? Ok, follow this:

Tools

  • Bass: assembler program
  • libdragon: contains chksum64 tool required for CRC computation
  • MAME: cycle-accurate emulator
  • cen64: another wonderful cycle-accurate emulator but no debugger included yet

Assemble the game

bass src/main -strict -benchmark
chksum64 build/cubeworld.n64

Run the game

Actually you can run the game with any emulator (like Project64 for example). MAME is just the emulator which with I make the game.

mame64 n64 -window -cart build/cubeworld.n64 -switchres -nofilter

Maybe you'll have to adapt the paths in this command...

Debug the game

With MAME, the same with extra parameters:

mame64 n64 -debug -log -verbose -window -cart build/cubeworld.n64 -switchres -nofilter

You can set a breakpoint to address $80001000 where the game code starts.