Go to file
Jay Oster 88473a8dd9 Fix minor bug in readCheatFile()
- This bug won't cause any trouble unless you use the minimal YAML example or smaller.
2014-08-26 12:42:04 -07:00
doc Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
filesystem Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
font_patch Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
.gitignore Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
ALT64.INI Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
Makefile Initial GS code engine implementation 2014-08-26 10:27:07 -07:00
README.md Initial GS code engine implementation 2014-08-26 10:27:07 -07:00
chksum64.c Fix compiler warnings in chksum64.c 2014-08-15 23:41:37 -07:00
disk.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
disk.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
errors.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
everdrive.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
everdrive.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
fat.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
fat.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
header.ed64 Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
ini.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
ini.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
mem.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
mem.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
menu.c Fix minor bug in readCheatFile() 2014-08-26 12:42:04 -07:00
menu.h Initial GS code engine implementation 2014-08-26 10:27:07 -07:00
mp3.c Fix mp3 warnings. 2014-06-30 00:16:08 -07:00
mp3.h Fix mp3 warnings. 2014-06-30 00:16:08 -07:00
sram.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
sram.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
stb_image.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
stb_truetype.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
strlib.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
strlib.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
sys.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
sys.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
types.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
upload.sh Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
usb.c Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
usb.h Initial Commit: v0.186 2014-06-28 22:10:11 -07:00
utils.c Initial GS code engine implementation 2014-08-26 10:27:07 -07:00
utils.h Initial GS code engine implementation 2014-08-26 10:27:07 -07:00

README.md

alt64

Alternative Everdrive64 menu

Kuroneko!

       :\     /;               _
      ;  \___/  ;             ; ;
     ,:-"'   `"-:.            / ;
_   /,---.   ,---.\   _     _; /
_:>((  |  ) (  |  ))<:_ ,-""_,"
    \`````   `````/""""",-""
     '-.._ v _..-'      )
       / ___   ____,..  \
      / /   | |   | ( \. \
ctr  / /    | |    | |  \ \
     `"     `"     `"    `"

nyannyannyannyannyannyannyannyannyannyannyannyannyannyannyannyannyan

alt64 is an open source menu for Everdrive64. It was originally written by saturnu, and released on the Everdrive64 forum.

Building

If you want to build the menu, you need an n64 toolchain. We'll use the toolchain recommended by libdragon, with some updated versions.

Dependencies

Build the Toolchain

You may skip this step if it's already installed.

Clone the libdragon repo and create a directory for the build.

$ git clone https://github.com/parasyte/libdragon.git
$ mkdir libdragon/build_gcc
$ cp libdragon/tools/build libdragon/build_gcc
$ cd libdragon/build_gcc

Modify the build script to set your installation path. Here is the default:

# EDIT THIS LINE TO CHANGE YOUR INSTALL PATH!
export INSTALL_PATH=/usr/local/mips64-elf

Build it! This can take an hour or more.

$ ./build

Configure your Environment

Add the following environment variable to your ~/.bash_profile or ~/.bashrc Be sure to use the same path that you configured in the build script!

export N64_INST=/usr/local/mips64-elf

Build libdragon

Make sure you are in the libdragon top-level directory, and make sure libpng is installed:

$ make && make install
$ make tools && make tools-install

Build libmikmod

Clone libmikmod-n64 and build:

$ git clone https://github.com/parasyte/libmikmod-n64.git
$ cd libmikmod-n64
$ make
$ make install

Build libmad-n64

Clone libmad-n64 and build, be sure to set the path according to your toolchain installation path:

$ git clone https://github.com/parasyte/libmad-n64.git
$ cd libmad-n64
$ export PATH=$PATH:$(N64_INST)/bin
$ CFLAGS="-march=vr4300 -mtune=vr4300 -mno-extern-sdata" \
  LDFLAGS="-L$(N64_INST)/lib" LIBS="-lc -lnosys" \
  ./configure --host=mips64-elf --disable-shared \
  --prefix=$(N64_INST) --enable-speed --enable-fpm=mips
$ make
$ make install

Build libyaml

Download libyaml 0.1.6 and build, be sure to set the path according to your toolchain installation path:

$ hg clone https://bitbucket.org/xi/libyaml
$ cd libyaml
$ hg update 0.1.6
$ ./bootstrap
$ export PATH=$PATH:$(N64_INST)/bin
$ CFLAGS="-std=gnu99 -march=vr4300 -mtune=vr4300" \
  LDFLAGS="-L$(N64_INST)/lib -Tn64ld.x" \
  LIBS="-ldragon -lc -ldragonsys -lnosys" \
  ./configure --host=mips64-elf --prefix=$(N64_INST)
$ make
$ make install

Build alt64

Finally, we can clone alt64 and build it!

$ git clone https://github.com/parasyte/alt64.git
$ make

If it all worked, you will find OS64.v64 in the alt64 top-level directory.